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-cris | |
parent | 8545136955641adbf35e121fbbfc8cd5fd06e4a7 (diff) | |
download | gdb-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-cris')
-rw-r--r-- | ld/testsuite/ld-cris/locref2.d | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/ld/testsuite/ld-cris/locref2.d b/ld/testsuite/ld-cris/locref2.d index 735b10e..0cf5394 100644 --- a/ld/testsuite/ld-cris/locref2.d +++ b/ld/testsuite/ld-cris/locref2.d @@ -12,8 +12,6 @@ SYMBOL TABLE: #... 0+82088 l O \.got 0+ _GLOBAL_OFFSET_TABLE_ -0+ w \*UND\* 0+ expfn -0+ w \*UND\* 0+ expobj #... Disassembly of section \.text: #... |