mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-27 04:52:05 +08:00
c8373ebb4e
Some targets provide aligned .bss sections, so explicitly align. msp430 and rl78 emit "magic" symbols when assembling symbol.s, and mips targets emit STT_OBJECT rather than STT_NOTYPE syms. * binutils-all/strip-12.s: Align .bss section. * binutils-all/strip-12.d: Adjust. * binutils-all/symbols-1.d: Allow extraneous symbols. * binutils-all/symbols-2.d: Likewise, and V for weakened syms. * binutils-all/symbols-3.d: Likewise. * binutils-all/symbols-4.d: Likewise.
16 lines
183 B
Makefile
16 lines
183 B
Makefile
#name: localize 'fo*' but not 'foo'
|
|
#PROG: objcopy
|
|
#objcopy: -w -L !foo -L fo*
|
|
#source: symbols.s
|
|
#DUMPPROG: nm
|
|
#nm: -n
|
|
|
|
#...
|
|
0+ D bar
|
|
0+ d foa
|
|
0+ d fob
|
|
0+ D foo
|
|
0+ d foo1
|
|
0+ d foo2
|
|
|