binutils-gdb/ld/testsuite/ld-elf
H.J. Lu a7b16ceb92 Don't allocate .got.plt section if there are no GOT nor PLT entries.
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.
2010-07-14 00:30:57 +00:00
..
audit.exp bfd/ 2009-09-23 13:54:29 +00:00
audit.rd bfd/ 2009-09-23 13:54:29 +00:00
begin.c
beginwarn.c
binutils.exp update copyright dates 2009-09-02 07:25:43 +00:00
comm1.c bfd/ 2008-09-16 14:09:34 +00:00
commonpage1.d
commonpage2.d PR ld/10569 2009-08-30 05:48:56 +00:00
data1.c
data1.h
del.cc
depaudit2.rd bfd/ 2009-09-23 13:54:29 +00:00
depaudit.rd bfd/ 2009-09-23 13:54:29 +00:00
discard1.d Remove relocation against discarded sections for relocatable link. 2010-04-30 18:27:32 +00:00
discard1.s Remove relocation against discarded sections for relocatable link. 2010-04-30 18:27:32 +00:00
discard2.d Remove relocation against discarded sections for relocatable link. 2010-04-30 18:27:32 +00:00
discard2.s Remove relocation against discarded sections for relocatable link. 2010-04-30 18:27:32 +00:00
discard3.d Remove relocation against discarded sections for relocatable link. 2010-04-30 18:27:32 +00:00
discard.ld Remove relocation against discarded sections for relocatable link. 2010-04-30 18:27:32 +00:00
dl1.c
dl1.list
dl1.out
dl1main.c
dl2.c
dl2.list
dl2a.list
dl2a.out
dl2b.out
dl2main.c
dl2xxx.c
dl2xxx.list
dl3.cc
dl3.list
dl3a.out
dl3b.out
dl3header.h
dl3main.cc
dl4.c
dl4.list
dl4a.out
dl4b.out
dl4main.c
dl4xxx.c
dl4xxx.list
dl5.cc
dl5.out
dl6.c
dl6a.out
dl6amain.c
dl6b.out
dl6bmain.c
dl6cmain.c
dl6dmain.c
dummy.c
dwarf1.c
dwarf1.h
dwarf1.out
dwarf1main.c
dwarf.exp
dynbss1.c
dynsym1.d Add --dyn-syms to readelf 2010-01-11 14:45:42 +00:00
eh1.d * dwarf.c (display_debug_frames): Change text for uniformity. 2008-10-06 16:27:35 +00:00
eh1.s
eh1a.s
eh2.d * dwarf.c (display_debug_frames): Change text for uniformity. 2008-10-06 16:27:35 +00:00
eh2a.s
eh3.d * dwarf.c (display_debug_frames): Change text for uniformity. 2008-10-06 16:27:35 +00:00
eh3.s
eh3a.s
eh4.d * dwarf.c (display_debug_frames): Change text for uniformity. 2008-10-06 16:27:35 +00:00
eh4.s
eh4a.s
eh5.d * ld-elf/eh5.d: Don't run on hppa64. Allow non-pcrel encoding. 2009-09-08 01:15:50 +00:00
eh5.s
eh5a.s
eh5b.s * ld-elf/eh-group.exp: Only run on ELF targets. 2008-09-25 03:16:42 +00:00
eh6.d ld/testsuite/ 2009-09-21 19:11:50 +00:00
eh6.s
eh-frame-hdr.d Provide virtual target "cfi" for targets supporting CFI. 2008-09-20 08:42:53 +00:00
eh-frame-hdr.s
eh-group1.s Provide virtual target "cfi" for targets supporting CFI. 2008-09-20 08:42:53 +00:00
eh-group2.s bfd/ 2009-02-01 12:05:25 +00:00
eh-group.exp update copyright dates 2009-09-02 07:25:43 +00:00
elf.exp update copyright dates 2009-09-02 07:25:43 +00:00
empty2.d * ld-elf/empty2.d: Remove xfail for hppa*-*-*. 2009-03-07 23:42:28 +00:00
empty2.s
empty.d Tolerate some whitespace differences in readelf output. 2009-09-23 03:12:28 +00:00
empty.s
end.c
endhidden.c
endprotected.c
exclude1.s
exclude2.s
exclude3.s Implement generic SHF_EXCLUDE. 2010-05-18 03:31:07 +00:00
exclude3a.d Implement generic SHF_EXCLUDE. 2010-05-18 03:31:07 +00:00
exclude3b.d Don't allocate .got.plt section if there are no GOT nor PLT entries. 2010-07-14 00:30:57 +00:00
exclude3c.d Implement generic SHF_EXCLUDE. 2010-05-18 03:31:07 +00:00
exclude3d.d Don't allocate .got.plt section if there are no GOT nor PLT entries. 2010-07-14 00:30:57 +00:00
exclude.exp update copyright dates 2009-09-02 07:25:43 +00:00
expr1.d
expr1.s
expr1.t
extract-symbol-1.ld
extract-symbol-1.s
extract-symbol-1sec.d bfd/ 2010-04-22 01:51:01 +00:00
extract-symbol-1sym.d * ld-elf/sec64k.exp: For frv-linux use "aw" sections. 2009-09-09 12:13:42 +00:00
fini.c
fini.out
flags1.d bfd: 2010-03-25 21:12:36 +00:00
flags1.ld
flags1.s
foo.c
foo.map
frame.exp update copyright dates 2009-09-02 07:25:43 +00:00
frame.s
func1.c bfd/ 2008-09-16 14:09:34 +00:00
group1.d Tolerate some whitespace differences in readelf output. 2009-09-23 03:12:28 +00:00
group1a.s
group1b.s
group2.d
group3a.d Tolerate some whitespace differences in readelf output. 2009-09-23 03:12:28 +00:00
group3a.s
group3b.d Tolerate some whitespace differences in readelf output. 2009-09-23 03:12:28 +00:00
group3b.s
group4.d 2008-10-03 H.J. Lu <hongjiu.lu@intel.com> 2008-10-03 14:08:38 +00:00
group5.d binutils/testsuite/ 2008-10-03 15:08:22 +00:00
group6.d binutils/testsuite/ 2008-10-03 15:08:22 +00:00
group7.d 2008-10-04 H.J. Lu <hongjiu.lu@intel.com> 2008-10-04 14:55:47 +00:00
group8.s bfd/ 2009-01-14 21:52:49 +00:00
group8a.d * ldgram.y: Add support for REGION_ALIAS operator. 2009-03-02 17:27:36 +00:00
group8b.d * ldgram.y: Add support for REGION_ALIAS operator. 2009-03-02 17:27:36 +00:00
group9.s 2009-01-19 H.J. Lu <hongjiu.lu@intel.com> 2009-01-19 15:52:19 +00:00
group9a.d * ldgram.y: Add support for REGION_ALIAS operator. 2009-03-02 17:27:36 +00:00
group9b.d * ldgram.y: Add support for REGION_ALIAS operator. 2009-03-02 17:27:36 +00:00
group10.d bfd/ 2010-02-19 01:47:16 +00:00
group10.s bfd/ 2010-02-19 01:47:16 +00:00
group.ld bfd/ 2010-02-19 01:47:16 +00:00
hash.d Tolerate some whitespace differences in readelf output. 2009-09-23 03:12:28 +00:00
header.d
header.s
header.t
hidden.out
init-fini-arrays.d Support 64bit target in ld-elf/init-fini-arrays.d. 2010-02-27 23:23:20 +00:00
init-fini-arrays.s * scripttempl/armbpabi.sc: Don't combine .init_array.* or 2010-02-27 12:34:25 +00:00
init.c
init.out
linkonce1.d * ld-elf/linkonce1.d: Accept "UNUSED" as part of the name of an 2009-08-17 09:22:18 +00:00
linkonce1a.s
linkonce1b.s
linkonce2.d * ld-elf/linkonce1.d: Accept "UNUSED" as part of the name of an 2009-08-17 09:22:18 +00:00
linkoncerdiff1.s bfd/ 2009-01-11 21:09:49 +00:00
linkoncerdiff2.s bfd/ 2009-01-11 21:09:49 +00:00
linkoncerdiff.d bfd/ 2009-01-11 21:09:49 +00:00
lma.lnk PR 6473 2008-05-05 01:43:55 +00:00
lma.s PR 6473 2008-05-05 01:43:55 +00:00
loadaddr1.d * ld-elf/loadaddr.t: New, extracted from.. 2008-01-26 02:57:06 +00:00
loadaddr1.t * ld-elf/loadaddr.t: New, extracted from.. 2008-01-26 02:57:06 +00:00
loadaddr2.d * ld-elf/loadaddr.t: New, extracted from.. 2008-01-26 02:57:06 +00:00
loadaddr2.t * ld-elf/loadaddr.t: New, extracted from.. 2008-01-26 02:57:06 +00:00
loadaddr3.t
loadaddr3a.d
loadaddr3b.d
loadaddr.s
loadaddr.t * ld-elf/loadaddr.t: New, extracted from.. 2008-01-26 02:57:06 +00:00
local1.d Checked in the missing testcases. 2009-10-07 18:33:20 +00:00
local1.map Checked in the missing testcases. 2009-10-07 18:33:20 +00:00
local1.s Checked in the missing testcases. 2009-10-07 18:33:20 +00:00
main.c
maxpage1.d
maxpage1.s
maxpage2.d
maxpage3.t
maxpage3a.d
maxpage3b.d
maxpage3c.d
maxpage4.d PR ld/10569 2009-08-30 05:48:56 +00:00
maxpage4.t PR ld/10569 2009-08-30 05:48:56 +00:00
merge2.d
merge2.s
merge.d bfd: 2010-03-25 21:12:36 +00:00
merge.ld
merge.s
multibss1.d
multibss1.s
new.cc
nobits-1.d
nobits-1.s
nobits-1.t
noload-1.d
noload-1.s
noload-1.t
noload-2.d
noload-3.d
noload-3.s
noload-3.t
normal.out
note-1.d
note-1.s
note-1.t
note-2.d
note-2.s
note-2.t
orphan2.d
orphan2.s
orphan3.d bfd: 2010-06-16 00:36:04 +00:00
orphan3a.s * ld-elf/orphan3.d, * ld-elf/orphan3a.s, * ld-elf/orphan3b.s, 2009-05-16 01:56:44 +00:00
orphan3b.s * ld-elf/orphan3.d, * ld-elf/orphan3a.s, * ld-elf/orphan3b.s, 2009-05-16 01:56:44 +00:00
orphan3c.s * ld-elf/orphan3.d, * ld-elf/orphan3a.s, * ld-elf/orphan3b.s, 2009-05-16 01:56:44 +00:00
orphan3d.s * ld-elf/orphan3.d, * ld-elf/orphan3a.s, * ld-elf/orphan3b.s, 2009-05-16 01:56:44 +00:00
orphan3e.s * ld-elf/orphan3.d, * ld-elf/orphan3a.s, * ld-elf/orphan3b.s, 2009-05-16 01:56:44 +00:00
orphan3f.s * ld-elf/orphan3.d, * ld-elf/orphan3a.s, * ld-elf/orphan3b.s, 2009-05-16 01:56:44 +00:00
orphan4.d * ld-elf/orphan4.d: Allow for other sections to be present in the 2010-02-23 16:56:39 +00:00
orphan4.ld * emultempl/elf32.em (_place_orphan): If an input section doesn't 2010-01-14 04:56:12 +00:00
orphan4.s * emultempl/elf32.em (_place_orphan): If an input section doesn't 2010-01-14 04:56:12 +00:00
orphan-region.d * ld-elf/orphan-region.d: Use ld -N. 2010-05-06 20:04:27 +00:00
orphan-region.ld Add missing newline. 2010-03-16 14:18:06 +00:00
orphan-region.s * ldlang.c (lang_insert_orphan): Place loadable orphans in the same 2010-03-16 14:14:40 +00:00
orphan.d
orphan.ld
orphan.s
overlay.d
overlay.s
overlay.t
pass.out
pr349-1.s * ld-elf/pr349-1.s, * ld-elf/pr349-2.s, * ld-elf/pr349.d: New. 2009-10-14 10:52:54 +00:00
pr349-2.s * ld-elf/pr349-1.s, * ld-elf/pr349-2.s, * ld-elf/pr349.d: New. 2009-10-14 10:52:54 +00:00
pr349.d * ld-elf/pr349-1.s, * ld-elf/pr349-2.s, * ld-elf/pr349.d: New. 2009-10-14 10:52:54 +00:00
pr9676-1.c bfd/ 2009-01-02 16:48:11 +00:00
pr9676-2.c bfd/ 2009-01-02 16:48:11 +00:00
pr9676-3.c bfd/ 2009-01-02 16:48:11 +00:00
pr9676-4.c bfd/ 2009-01-02 16:48:11 +00:00
pr9676.rd bfd/ 2009-09-24 15:56:52 +00:00
pr9679-1.c bfd/ 2009-01-02 19:29:38 +00:00
pr9679-2.c bfd/ 2009-01-02 19:29:38 +00:00
pr9679.rd bfd/ 2009-09-24 15:56:52 +00:00
pr11138-1.c Fix PR ld/11138 2010-01-08 03:03:16 +00:00
pr11138-1.map Fix PR ld/11138 2010-01-08 03:03:16 +00:00
pr11138-2.c Fix PR ld/11138 2010-01-08 03:03:16 +00:00
pr11138-2.map Fix PR ld/11138 2010-01-08 03:03:16 +00:00
pr11138.out Fix PR ld/11138 2010-01-08 03:03:16 +00:00
pr11304.d PR ld/11304 2010-03-19 14:49:46 +00:00
pr11304a.s PR ld/11304 2010-03-19 14:49:46 +00:00
pr11304b.s PR ld/11304 2010-03-19 14:49:46 +00:00
preinit.c
preinit.out
relocatable.d 2009-10-09 H.J. Lu <hongjiu.lu@intel.com> 2009-10-09 13:32:50 +00:00
relocatable.t 2009-10-09 H.J. Lu <hongjiu.lu@intel.com> 2009-10-09 13:32:50 +00:00
relro1.s
relro2.s
sec64k.exp * ld-elf/sec64k.exp: For frv-linux use "aw" sections. 2009-09-09 12:13:42 +00:00
sec-to-seg1.s * ld-elf/sec-to-seg1.s: Shorten test data to align the section to 2008-08-17 20:42:53 +00:00
sec-to-seg2.s * ld-elf/sec-to-seg.exp: New test: Checks the assignment of 2008-07-30 10:28:31 +00:00
sec-to-seg-script-adjoining-pages.t * ld-elf/sec-to-seg.exp: New test: Checks the assignment of 2008-07-30 10:28:31 +00:00
sec-to-seg-script-disjoint-pages.t * ld-elf/sec-to-seg.exp: New test: Checks the assignment of 2008-07-30 10:28:31 +00:00
sec-to-seg-script-same-page.t * ld-elf/sec-to-seg.exp: New test: Checks the assignment of 2008-07-30 10:28:31 +00:00
sec-to-seg.exp bfd: 2010-03-25 21:12:36 +00:00
seg.d * ld-elf/sec64k.exp: For frv-linux use "aw" sections. 2009-09-09 12:13:42 +00:00
seg.s
seg.t
shared.exp Fix PR ld/11138 2010-01-08 03:03:16 +00:00
simple.s 2009-10-09 H.J. Lu <hongjiu.lu@intel.com> 2009-10-09 13:32:50 +00:00
stab.d 2008-10-03 Tristan Gingold <gingold@adacore.com> 2008-10-03 14:13:37 +00:00
start.s
symbol1ref.s * ld-elf/sec64k.exp: For frv-linux use "aw" sections. 2009-09-09 12:13:42 +00:00
symbol1w.s
symbol2ref.s * ld-elf/sec64k.exp: For frv-linux use "aw" sections. 2009-09-09 12:13:42 +00:00
symbol2w.s
table.s
tbss1.s
tbss2.s
tbss.s
tdata1.s
tdata2.s
textaddr1.d ld/ 2009-01-16 14:14:07 +00:00
textaddr2.d ld/ 2009-01-16 14:14:07 +00:00
textaddr3.d Warn if value of SEGMENT_START isn't multiple of maximum page size. 2010-05-26 14:10:15 +00:00
textaddr4.d Warn if value of SEGMENT_START isn't multiple of maximum page size. 2010-05-26 14:10:15 +00:00
textaddr5.d Warn if value of SEGMENT_START isn't multiple of maximum page size. 2010-05-26 14:10:15 +00:00
textaddr6.d Warn if value of SEGMENT_START isn't multiple of maximum page size. 2010-05-26 14:10:15 +00:00
textaddr7.d Warn if value of SEGMENT_START isn't multiple of maximum page size. 2010-05-26 14:10:15 +00:00
tls_common.exp
tls_common.s
tls_gc.s
unknown2.d
unknown2.s
unknown.d
warn1.d Tolerate some whitespace differences in readelf output. 2009-09-23 03:12:28 +00:00
warn2.d Tolerate some whitespace differences in readelf output. 2009-09-23 03:12:28 +00:00
warn.out
weak-dyn-1.ld
weak-dyn-1.rd
weak-dyn-1a.s
weak-dyn-1b.s
wrap1.c
wrap1.out
wrap1a.c
wrap1b.c
wrap.exp