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
221 B
ArmAsm
16 lines
221 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"
|