old-cross-binutils/ld/testsuite/ld-powerpc/aix-glink-3.dd
Richard Sandiford 94313f361f bfd/
* coff-rs6000.c (xcoff_ppc_relocate_section): Allow undefined
	symbols to be left unimported when linking statically.
	* xcofflink.c (xcoff_link_add_symbols): Ignore global linkage
	code when linking statically.

ld/testsuite/
	* ld-powerpc/aix-glink-3.s, ld-powerpc/aix-glink-3a.s,
	ld-powerpc/aix-glink-3b.s, ld-powerpc/aix-glink-3.dd,
	ld-powerpc/aix-glink-3-32.d, ld-powerpc/aix-glink-3-64.d: New tests.
	* ld-powerpc/aix52.exp: Run them.  Move the lineno tests to maintain
	alphabetical order.
2009-06-02 18:51:34 +00:00

14 lines
224 B
Text

.*
Disassembly of section \.text:
0*10000000 <\.f>:
*10000000: 48 00 00 05 bl 10000004 <\.g>
0*10000004 <\.g>:
*10000004: 4e 80 00 20 bl?r
0*10000008 <__start>:
*10000008: 4b ff ff f9 bl 10000000 <\.f>