binutils-gdb/ld/testsuite/ld-pe/exclude-symbols-embedded-i386.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
181 B
Makefile

#source: exclude-symbols-embedded-i386.s
#target: i?86-*-cygwin* i?86-*-pe i?86-*-mingw*
#ld: -shared
#objdump: -p
#...
.*\[[ ]*0\] sym1
.*\[[ ]*1\] sym3
.*\[[ ]*2\] sym5
#pass