mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-15 04:31:49 +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
215 B
D
16 lines
215 B
D
#name: weaken 'fo*' but not 'foo', localize foo.
|
|
#PROG: objcopy
|
|
#objcopy: -w -W !foo -W fo* -L foo
|
|
#source: symbols.s
|
|
#DUMPPROG: nm
|
|
#nm: -n
|
|
|
|
#...
|
|
0+ D bar
|
|
0+ [VW] foa
|
|
0+ [VW] fob
|
|
0+ d foo
|
|
0+ [VW] foo1
|
|
0+ [VW] foo2
|
|
|