binutils-gdb/ld/testsuite/ld-pe/exclude-symbols-embedded-x86_64.d
Martin Storsjö 37513c1efb ld: Add support for a new option, -exclude-symbols, in COFF object file directives
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.
2022-08-01 23:17:56 +03:00

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