old-cross-binutils/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
commonpage1.d
commonpage2.d
data1.c
data1.h
del.cc
depaudit.rd bfd/ 2009-09-23 13:54:29 +00:00
depaudit2.rd bfd/ 2009-09-23 13:54:29 +00:00
discard.ld Remove relocation against discarded sections for relocatable link. 2010-04-30 18:27:32 +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
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
dwarf.exp
dwarf1.c
dwarf1.h
dwarf1.out
dwarf1main.c
dynbss1.c
dynsym1.d Add --dyn-syms to readelf 2010-01-11 14:45:42 +00:00
eh-frame-hdr.d
eh-frame-hdr.s
eh-group.exp update copyright dates 2009-09-02 07:25:43 +00:00
eh-group1.s
eh-group2.s
eh1.d
eh1.s
eh1a.s
eh2.d
eh2a.s
eh3.d
eh3.s
eh3a.s
eh4.d
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
eh6.d ld/testsuite/ 2009-09-21 19:11:50 +00:00
eh6.s
elf.exp update copyright dates 2009-09-02 07:25:43 +00:00
empty.d Tolerate some whitespace differences in readelf output. 2009-09-23 03:12:28 +00:00
empty.s
empty2.d
empty2.s
end.c
endhidden.c
endprotected.c
exclude.exp update copyright dates 2009-09-02 07:25:43 +00:00
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
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
group.ld bfd/ 2010-02-19 01:47:16 +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
group5.d
group6.d
group7.d
group8.s
group8a.d
group8b.d
group9.s
group9a.d
group9b.d
group10.d bfd/ 2010-02-19 01:47:16 +00:00
group10.s 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
linkonce1a.s
linkonce1b.s
linkonce2.d
linkoncerdiff.d
linkoncerdiff1.s
linkoncerdiff2.s
lma.lnk
lma.s
loadaddr.s
loadaddr.t
loadaddr1.d
loadaddr1.t
loadaddr2.d
loadaddr2.t
loadaddr3.t
loadaddr3a.d
loadaddr3b.d
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
maxpage4.t
merge.d bfd: 2010-03-25 21:12:36 +00:00
merge.ld
merge.s
merge2.d
merge2.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
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
orphan2.d
orphan2.s
orphan3.d bfd: 2010-06-16 00:36:04 +00:00
orphan3a.s
orphan3b.s
orphan3c.s
orphan3d.s
orphan3e.s
orphan3f.s
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
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
pr9676-2.c
pr9676-3.c
pr9676-4.c
pr9676.rd bfd/ 2009-09-24 15:56:52 +00:00
pr9679-1.c
pr9679-2.c
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
sec-to-seg-script-adjoining-pages.t
sec-to-seg-script-disjoint-pages.t
sec-to-seg-script-same-page.t
sec-to-seg.exp bfd: 2010-03-25 21:12:36 +00:00
sec-to-seg1.s
sec-to-seg2.s
sec64k.exp * ld-elf/sec64k.exp: For frv-linux use "aw" sections. 2009-09-09 12:13:42 +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
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
tbss.s
tbss1.s
tbss2.s
tdata1.s
tdata2.s
textaddr1.d
textaddr2.d
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
unknown.d
unknown2.d
unknown2.s
warn.out
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
weak-dyn-1.ld
weak-dyn-1.rd
weak-dyn-1a.s
weak-dyn-1b.s
wrap.exp
wrap1.c
wrap1.out
wrap1a.c
wrap1b.c