aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-ia64
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2015-02-18 17:02:39 +1030
committerAlan Modra <amodra@gmail.com>2015-02-19 13:36:34 +1030
commitd983c8c5503d680c6d4955ceb610a9beebc64460 (patch)
tree328f5687e73b6db52f604b3596c0b1cc03fd515a /ld/testsuite/ld-ia64
parent8545136955641adbf35e121fbbfc8cd5fd06e4a7 (diff)
downloadgdb-d983c8c5503d680c6d4955ceb610a9beebc64460.zip
gdb-d983c8c5503d680c6d4955ceb610a9beebc64460.tar.gz
gdb-d983c8c5503d680c6d4955ceb610a9beebc64460.tar.bz2
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.
Diffstat (limited to 'ld/testsuite/ld-ia64')
-rw-r--r--ld/testsuite/ld-ia64/error1.d2
-rw-r--r--ld/testsuite/ld-ia64/error2.d2
-rw-r--r--ld/testsuite/ld-ia64/error3.d2
3 files changed, 0 insertions, 6 deletions
diff --git a/ld/testsuite/ld-ia64/error1.d b/ld/testsuite/ld-ia64/error1.d
index 82142b6..7b2476f 100644
--- a/ld/testsuite/ld-ia64/error1.d
+++ b/ld/testsuite/ld-ia64/error1.d
@@ -2,6 +2,4 @@
#ld: -unresolved-symbols=ignore-all
#readelf: -s
-#...
-[ ]+[0-9]+:[ ]+[0]+[ ]+0[ ]+NOTYPE[ ]+GLOBAL DEFAULT[ ]+UND[ ]+foo
#pass
diff --git a/ld/testsuite/ld-ia64/error2.d b/ld/testsuite/ld-ia64/error2.d
index 764ba66..ae74eaa 100644
--- a/ld/testsuite/ld-ia64/error2.d
+++ b/ld/testsuite/ld-ia64/error2.d
@@ -2,6 +2,4 @@
#ld: -pie -unresolved-symbols=ignore-all
#readelf: -s
-#...
-[ ]+[0-9]+:[ ]+[0]+[ ]+0[ ]+NOTYPE[ ]+GLOBAL DEFAULT[ ]+UND[ ]+foo
#pass
diff --git a/ld/testsuite/ld-ia64/error3.d b/ld/testsuite/ld-ia64/error3.d
index e14d451..256a6fd 100644
--- a/ld/testsuite/ld-ia64/error3.d
+++ b/ld/testsuite/ld-ia64/error3.d
@@ -2,6 +2,4 @@
#ld: -pie -shared
#readelf: -s
-#...
-[ ]+[0-9]+:[ ]+[0]+[ ]+0[ ]+NOTYPE[ ]+GLOBAL DEFAULT[ ]+UND[ ]+foo
#pass