mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-21 01:12:32 +08:00
a7b16ceb92
bfd/ 2010-07-13 H.J. Lu <hongjiu.lu@intel.com> PR ld/11812 * elf32-i386.c (elf_i386_size_dynamic_sections): Don't allocate .got.plt section if there are no GOT nor PLT entries. * elf64-x86-64.c (elf64_x86_64_size_dynamic_sections): Likewise. ld/testsuite/ 2010-07-13 H.J. Lu <hongjiu.lu@intel.com> PR ld/11812 * ld-elf/exclude3b.d: Don't run on ia64-*-*. Replace .got with .dynamic. * ld-elf/exclude3d.d: New. * ld-i386/nogot1.d: Likewise. * ld-i386/nogot1.s: Likewise. * ld-x86-64/nogot1.d: Likewise. * ld-x86-64/nogot1.s: Likewise. * ld-i386/i386.exp: Run nogot1. * ld-x86-64/x86-64.exp: Likewise.
10 lines
162 B
Makefile
10 lines
162 B
Makefile
#source: exclude3.s
|
|
#ld: --shared
|
|
#readelf: -S --wide
|
|
#target: x86_64-*-* i?86-*-*
|
|
|
|
#...
|
|
[ ]*\[.*\][ ]+\.dynamic[ ]+DYNAMIC.*
|
|
[ ]*\[.*\][ ]+.*STRTAB.*
|
|
#pass
|