diff options
author | Alan Modra <amodra@gmail.com> | 2015-02-18 17:02:39 +1030 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2015-02-19 13:36:34 +1030 |
commit | d983c8c5503d680c6d4955ceb610a9beebc64460 (patch) | |
tree | 328f5687e73b6db52f604b3596c0b1cc03fd515a /ld/testsuite/ld-elf/ehdr_start-weak.d | |
parent | 8545136955641adbf35e121fbbfc8cd5fd06e4a7 (diff) | |
download | fsf-binutils-gdb-d983c8c5503d680c6d4955ceb610a9beebc64460.zip fsf-binutils-gdb-d983c8c5503d680c6d4955ceb610a9beebc64460.tar.gz fsf-binutils-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-elf/ehdr_start-weak.d')
-rw-r--r-- | ld/testsuite/ld-elf/ehdr_start-weak.d | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/ld/testsuite/ld-elf/ehdr_start-weak.d b/ld/testsuite/ld-elf/ehdr_start-weak.d index 24ae34c..5644d05 100644 --- a/ld/testsuite/ld-elf/ehdr_start-weak.d +++ b/ld/testsuite/ld-elf/ehdr_start-weak.d @@ -4,6 +4,7 @@ #target: *-*-linux* *-*-gnu* *-*-nacl* #xfail: frv-*-* +#failif +#... +.* __ehdr_start #... -\s+[wU] __ehdr_start -#pass |