mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-11 02:38:51 +08:00

PR binutils/28926 * objcopy.c (filter_symbols): Apply weaken to STB_GNU_UNIQUE symbols * NEWS: Mention feature. * testsuite/binutils-all/objcopy.exp (objcopy_test_symbol_manipulation): New test. * testsuite/binutils-all/weaken-gnu-unique.s: New.
9 lines
169 B
Makefile
9 lines
169 B
Makefile
#name: weaken STB_GNU_UNIQUE symbols
|
|
#PROG: objcopy
|
|
#objcopy: -W foo
|
|
#source: unique.s
|
|
#readelf: -s
|
|
|
|
#...
|
|
+[0-9]+: +[0-9a-f]+ +[0-9]+ +OBJECT +WEAK +DEFAULT +[1-9] foo
|