binutils-gdb/binutils/testsuite/binutils-all/symbols-1.d
Alan Modra c8373ebb4e Tweak binutils testsuite
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.
2015-08-11 23:29:36 +09:30

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