From d983c8c5503d680c6d4955ceb610a9beebc64460 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Wed, 18 Feb 2015 17:02:39 +1030 Subject: Strip undefined symbols from .symtab bfd/ PR ld/4317 * elflink.c (elf_link_input_bfd): Drop undefined local syms. (elf_link_output_extsym): Drop local and global undefined syms. Tidy. Expand comment. ld/testsuite/ PR ld/4317 * ld-aarch64/gc-tls-relocs.d, * ld-cris/locref2.d, * ld-elf/ehdr_start-weak.d, * ld-elf/group1.d, * ld-i386/compressed1.d, * ld-ia64/error1.d, * ld-ia64/error2.d, * ld-ia64/error3.d, * ld-mips-elf/pic-and-nonpic-1.nd, * ld-mmix/undef-3.d, * ld-powerpc/tlsexe.r, * ld-powerpc/tlsexetoc.r, * ld-powerpc/tlsso.r, * ld-powerpc/tlstocso.r, * ld-x86-64/compressed1.d, * ld-x86-64/pie1.d: Update. --- ld/testsuite/ld-aarch64/gc-tls-relocs.d | 1 - 1 file changed, 1 deletion(-) (limited to 'ld/testsuite/ld-aarch64') diff --git a/ld/testsuite/ld-aarch64/gc-tls-relocs.d b/ld/testsuite/ld-aarch64/gc-tls-relocs.d index 191647c..480d869 100644 --- a/ld/testsuite/ld-aarch64/gc-tls-relocs.d +++ b/ld/testsuite/ld-aarch64/gc-tls-relocs.d @@ -17,7 +17,6 @@ SYMBOL TABLE: 0+9000 l d \.got 0+ \.got 0+0000 l df \*ABS\* 0+ .* 0+0000 l df \*ABS\* 0+ -0+0000 l \*UND\* 0+ __tls_get_addr 0+9000 l O \.got 0+ _GLOBAL_OFFSET_TABLE_ 0+8000 g \.text 0+ _start -- cgit v1.1