diff options
author | Richard Sandiford <rdsandiford@googlemail.com> | 2009-06-02 18:51:34 +0000 |
---|---|---|
committer | Richard Sandiford <rdsandiford@googlemail.com> | 2009-06-02 18:51:34 +0000 |
commit | 94313f361f6116eb48c1f07e82ec7c4ae1dfe2a8 (patch) | |
tree | a0651b295dcf1292cda691524a14355144fda04f /ld/testsuite/ld-powerpc/aix-glink-3-32.d | |
parent | 7afd84dc1f020ccc7e867f41ef49656314ec4338 (diff) | |
download | gdb-94313f361f6116eb48c1f07e82ec7c4ae1dfe2a8.zip gdb-94313f361f6116eb48c1f07e82ec7c4ae1dfe2a8.tar.gz gdb-94313f361f6116eb48c1f07e82ec7c4ae1dfe2a8.tar.bz2 |
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.
Diffstat (limited to 'ld/testsuite/ld-powerpc/aix-glink-3-32.d')
-rw-r--r-- | ld/testsuite/ld-powerpc/aix-glink-3-32.d | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ld/testsuite/ld-powerpc/aix-glink-3-32.d b/ld/testsuite/ld-powerpc/aix-glink-3-32.d new file mode 100644 index 0000000..754789f --- /dev/null +++ b/ld/testsuite/ld-powerpc/aix-glink-3-32.d @@ -0,0 +1,5 @@ +#name: Glink test 3 (error) (32-bit) +#source: aix-glink-3.s +#as: -a32 +#ld: -b32 -bnoautoimp tmpdir/aix-glink-3b.so +#error: undefined reference to `\.g' |