forked from Imagelibrary/binutils-gdb
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
|