bfd/
authorRichard Sandiford <rdsandiford@googlemail.com>
Tue, 2 Jun 2009 18:51:34 +0000 (18:51 +0000)
committerRichard Sandiford <rdsandiford@googlemail.com>
Tue, 2 Jun 2009 18:51:34 +0000 (18:51 +0000)
commit94313f361f6116eb48c1f07e82ec7c4ae1dfe2a8
treea0651b295dcf1292cda691524a14355144fda04f
parent7afd84dc1f020ccc7e867f41ef49656314ec4338
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.
bfd/ChangeLog
bfd/coff-rs6000.c
bfd/xcofflink.c
ld/testsuite/ChangeLog
ld/testsuite/ld-powerpc/aix-glink-3-32.d [new file with mode: 0644]
ld/testsuite/ld-powerpc/aix-glink-3-64.d [new file with mode: 0644]
ld/testsuite/ld-powerpc/aix-glink-3.dd [new file with mode: 0644]
ld/testsuite/ld-powerpc/aix-glink-3.s [new file with mode: 0644]
ld/testsuite/ld-powerpc/aix-glink-3a.s [new file with mode: 0644]
ld/testsuite/ld-powerpc/aix-glink-3b.s [new file with mode: 0644]
ld/testsuite/ld-powerpc/aix52.exp