2013-11-20 02:54:00 +08:00
|
|
|
#source: ehdr_start.s
|
2016-11-23 19:10:39 +08:00
|
|
|
#ld: -e _start -T ehdr_start-missing.t --no-dynamic-linker
|
2013-11-20 02:54:00 +08:00
|
|
|
#nm: -n
|
2018-04-19 04:55:29 +08:00
|
|
|
#target: *-*-linux* *-*-gnu* *-*-nacl* arm*-*-uclinuxfdpiceabi
|
2014-01-15 19:20:55 +08:00
|
|
|
#xfail: frv-*-*
|
2013-11-20 02:54:00 +08:00
|
|
|
|
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.
2015-02-18 14:32:39 +08:00
|
|
|
#failif
|
|
|
|
#...
|
|
|
|
.* __ehdr_start
|
2013-11-20 02:54:00 +08:00
|
|
|
#...
|