mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-21 04:42:53 +08:00
37513c1efb
This maps to the same as ld's --exclude-symbols command line option, but allowing specifying the option via directives embedded in the object files instead of passed manually on the command line.
11 lines
189 B
Makefile
11 lines
189 B
Makefile
#source: exclude-symbols-embedded-x86_64.s
|
|
#target: x86_64-*-cygwin* x86_64-*-pe x86_64-*-mingw*
|
|
#ld: -shared
|
|
#objdump: -p
|
|
|
|
#...
|
|
.*\[[ ]*0\] sym1
|
|
.*\[[ ]*1\] sym3
|
|
.*\[[ ]*2\] sym5
|
|
#pass
|