mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-01-12 12:16:04 +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.
16 lines
211 B
ArmAsm
16 lines
211 B
ArmAsm
.global sym1
|
|
.global sym2
|
|
.global sym3
|
|
.global sym4
|
|
.global sym5
|
|
sym1:
|
|
sym2:
|
|
sym3:
|
|
sym4:
|
|
sym5:
|
|
ret
|
|
|
|
.section .drectve,"yn"
|
|
.ascii " -exclude-symbols:sym2,unknownsym"
|
|
.ascii " -exclude-symbols:unknownsym,sym4"
|