mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-21 04:42:53 +08:00
94313f361f
* 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.
6 lines
154 B
Makefile
6 lines
154 B
Makefile
#name: Glink test 3 (error) (64-bit)
|
|
#source: aix-glink-3.s
|
|
#as: -a64
|
|
#ld: -b64 -bnoautoimp tmpdir/aix64-glink-3b.so
|
|
#error: undefined reference to `\.g'
|