binutils-gdb/ld/testsuite/ld-elf
H.J. Lu 11cba4accf Provide __executable_start for PIE
ld/

	PR ld/14525
	* scripttempl/elf.sc: Also provide __executable_start for PIE.

ld/testsuite/

	PR ld/14525
	* ld-elf/elf.exp: Run pr14525.

	* ld-elf/pr14525.c: New.
	* ld-elf/pr14525.out: Likewise.
2012-08-31 02:52:14 +00:00
..
audit.exp
audit.rd
begin.c
beginwarn.c
binutils.exp Add support for 64-bit ARM architecture: AArch64 2012-08-13 14:52:54 +00:00
comm-data.exp bfd/ 2012-04-03 16:01:38 +00:00
comm-data1.s PR ld/10144 2011-11-29 12:42:10 +00:00
comm-data1.sd PR ld/10144 2011-11-29 12:42:10 +00:00
comm-data2.rd PR ld/10144 2011-11-29 12:42:10 +00:00
comm-data2.s PR ld/10144 2011-11-29 12:42:10 +00:00
comm-data2.sd PR ld/10144 2011-11-29 12:42:10 +00:00
comm-data2.xd PR ld/10144 2011-11-29 12:42:10 +00:00
comm1.c
commonpage1.d Improve binutils testsuite coverage for GNU/Hurd. 2010-11-08 06:43:40 +00:00
commonpage2.d
compress.exp Add compressed debug section support to binutils and ld. 2010-10-29 12:10:39 +00:00
compress1.s Add compressed debug section support to binutils and ld. 2010-10-29 12:10:39 +00:00
compress1a.d Include compressed DWARF debug sections in ELF linker scripts. 2010-11-02 13:47:44 +00:00
compress1b.d Include compressed DWARF debug sections in ELF linker scripts. 2010-11-02 13:47:44 +00:00
compress1c.d Improve binutils testsuite coverage for GNU/Hurd. 2010-11-08 06:43:40 +00:00
data1.c
data1.h
data2.c Add a test for weak alias 2012-07-02 14:40:19 +00:00
del.cc
depaudit.rd
depaudit2.rd
discard.ld
discard1.d Improve binutils testsuite coverage for GNU/Hurd. 2010-11-08 06:43:40 +00:00
discard1.s
discard2.d Improve binutils testsuite coverage for GNU/Hurd. 2010-11-08 06:43:40 +00:00
discard2.s
discard3.d Improve binutils testsuite coverage for GNU/Hurd. 2010-11-08 06:43:40 +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
dynamic1.d Add a testcase for PR ld/12516. 2011-02-25 15:53:24 +00:00
dynamic1.ld Add a testcase for PR ld/12516. 2011-02-25 15:53:24 +00:00
dynamic1.s Add a testcase for PR ld/12516. 2011-02-25 15:53:24 +00:00
dynbss1.c
dynsym1.d Improve binutils testsuite coverage for GNU/Hurd. 2010-11-08 06:43:40 +00:00
eh-frame-hdr.d * ld-elf/eh-frame-hdr.d: xfail avr. 2011-04-11 05:12:08 +00:00
eh-frame-hdr.s
eh-group.exp
eh-group1.s
eh-group2.s
eh1.d Don't skip ld-elf/eh[1-4].d for x32 2012-05-22 21:52:07 +00:00
eh1.s
eh1a.s
eh2.d Don't skip ld-elf/eh[1-4].d for x32 2012-05-22 21:52:07 +00:00
eh2a.s
eh3.d Don't skip ld-elf/eh[1-4].d for x32 2012-05-22 21:52:07 +00:00
eh3.s
eh3a.s
eh4.d Don't skip ld-elf/eh[1-4].d for x32 2012-05-22 21:52:07 +00:00
eh4.s
eh4a.s
eh5.d * Makefile.am (ALL_MACHINES): Add cpu-tilegx.lo and cpu-tilepro.lo. 2011-06-13 15:18:54 +00:00
eh5.s
eh5a.s
eh5b.s
eh6.d Improve binutils testsuite coverage for GNU/Hurd. 2010-11-08 06:43:40 +00:00
eh6.s
ehdr_start.d ld-elf/ehdr_start.d (target): Add *-*-nacl*. 2012-06-27 01:26:33 +00:00
ehdr_start.s * ld-elf/ehdr_start.s: Use data rather than rodata. 2012-06-27 01:18:09 +00:00
elf.exp Provide __executable_start for PIE 2012-08-31 02:52:14 +00:00
empty.d
empty.s
empty2.d * lib/ld-lib.exp (check_gc_sections_available): Fail more targets. 2010-09-18 02:30:41 +00:00
empty2.s
end.c
endhidden.c
endprotected.c
exclude.exp * config/default.exp (ld_assemble): Pass flags parameter to 2011-05-12 10:00:06 +00:00
exclude1.s
exclude2.s
exclude3.s Implement generic SHF_EXCLUDE. 2010-05-18 03:31:07 +00:00
exclude3a.d Use failif on ld-elf/exclude3 tests 2012-08-24 18:24:52 +00:00
exclude3b.d Use failif on ld-elf/exclude3 tests 2012-08-24 18:24:52 +00:00
exclude3c.d Implement generic SHF_EXCLUDE. 2010-05-18 03:31:07 +00:00
export-class-def.s * ld-elf/export-class.sd: New test. 2012-08-28 20:29:19 +00:00
export-class-dep.s * ld-elf/export-class.sd: New test. 2012-08-28 20:29:19 +00:00
export-class-lib.s * ld-elf/export-class.sd: New test. 2012-08-28 20:29:19 +00:00
export-class-lib.ver * ld-elf/export-class.sd: New test. 2012-08-28 20:29:19 +00:00
export-class-ref.s * ld-elf/export-class.sd: New test. 2012-08-28 20:29:19 +00:00
export-class.exp * ld-elf/export-class.sd: New test. 2012-08-28 20:29:19 +00:00
export-class.sd * ld-elf/export-class.sd: New test. 2012-08-28 20:29:19 +00:00
export-class.vd * ld-elf/export-class.sd: New test. 2012-08-28 20:29:19 +00:00
expr1.d
expr1.s
expr1.t
extract-symbol-1.ld
extract-symbol-1.s
extract-symbol-1sec.d
extract-symbol-1sym.d
fini.c
fini.out
fini0.s Update PR ld/14156 tests 2012-07-31 20:45:01 +00:00
fini1.s Add SORT_NONE and don't sort sort .init/.fini sections 2012-07-10 06:50:57 +00:00
fini2.s Add SORT_NONE and don't sort sort .init/.fini sections 2012-07-10 06:50:57 +00:00
fini3.s Add SORT_NONE and don't sort sort .init/.fini sections 2012-07-10 06:50:57 +00:00
finin.s Add SORT_NONE and don't sort sort .init/.fini sections 2012-07-10 06:50:57 +00:00
flags1.d * ld-elf/flags1.d: Don't xfail tic6x. 2011-05-13 04:19:18 +00:00
flags1.ld
flags1.s * ld-elf/flags1.s: Use arm compatible .type syntax. 2010-10-28 06:21:49 +00:00
foo.c
foo.map
foo0.s Update PR ld/14156 tests 2012-07-31 20:45:01 +00:00
foo1.s * ld-elf/foo0.s: Use ARM-compatible .section syntax. 2012-07-13 21:43:16 +00:00
foo2.s * ld-elf/foo0.s: Use ARM-compatible .section syntax. 2012-07-13 21:43:16 +00:00
foo3.s * ld-elf/foo0.s: Use ARM-compatible .section syntax. 2012-07-13 21:43:16 +00:00
foon.s * ld-elf/foo0.s: Use ARM-compatible .section syntax. 2012-07-13 21:43:16 +00:00
frame.exp * config/default.exp (ld_assemble): Pass flags parameter to 2011-05-12 10:00:06 +00:00
frame.s
func1.c
group.ld
group1.d * lib/ld-lib.exp (check_gc_sections_available): Fail more targets. 2010-09-18 02:30:41 +00:00
group1a.s
group1b.s
group2.d 2010-10-23 Mark Mitchell <mark@codesourcery.com> 2010-10-23 18:05:10 +00:00
group3a.d
group3a.s
group3b.d * lib/ld-lib.exp (check_gc_sections_available): Fail more targets. 2010-09-18 02:30:41 +00:00
group3b.s
group4.d * ld-elf/elf.exp: Don't run --gc-sections tls var test on v850. 2010-09-23 12:24:41 +00:00
group5.d * ld-elf/elf.exp: Don't run --gc-sections tls var test on v850. 2010-09-23 12:24:41 +00:00
group6.d * ld-elf/elf.exp: Don't run --gc-sections tls var test on v850. 2010-09-23 12:24:41 +00:00
group7.d 2010-10-23 Mark Mitchell <mark@codesourcery.com> 2010-10-23 18:05:10 +00:00
group8.s
group8a.d Add support for 64-bit ARM architecture: AArch64 2012-08-13 14:52:54 +00:00
group8b.d Add support for 64-bit ARM architecture: AArch64 2012-08-13 14:52:54 +00:00
group9.s
group9a.d Add support for 64-bit ARM architecture: AArch64 2012-08-13 14:52:54 +00:00
group9b.d Add support for 64-bit ARM architecture: AArch64 2012-08-13 14:52:54 +00:00
group10.d 2010-10-23 Mark Mitchell <mark@codesourcery.com> 2010-10-23 18:05:10 +00:00
group10.s
hash.d Improve binutils testsuite coverage for GNU/Hurd. 2010-11-08 06:43:40 +00:00
header.d Improve binutils testsuite coverage for GNU/Hurd. 2010-11-08 06:43:40 +00:00
header.s
header.t
hidden.out
indirect.exp Properly handle indirect symbols 2012-07-03 14:44:35 +00:00
indirect1a.c Properly handle indirect symbols 2012-07-03 14:44:35 +00:00
indirect1b.c Properly handle indirect symbols 2012-07-03 14:44:35 +00:00
indirect1c.c Properly handle indirect symbols 2012-07-03 14:44:35 +00:00
indirect2.c Properly handle indirect symbols 2012-07-03 14:44:35 +00:00
indirect3.out Properly handle indirect symbols 2012-07-03 14:44:35 +00:00
indirect3a.c Properly handle indirect symbols 2012-07-03 14:44:35 +00:00
indirect3b.c Properly handle indirect symbols 2012-07-03 14:44:35 +00:00
indirect3c.c Properly handle indirect symbols 2012-07-03 14:44:35 +00:00
indirect4.out Properly handle indirect symbols 2012-07-03 14:44:35 +00:00
indirect4a.c Properly handle indirect symbols 2012-07-03 14:44:35 +00:00
indirect4b.c Properly handle indirect symbols 2012-07-03 14:44:35 +00:00
indirect4c.c Properly handle indirect symbols 2012-07-03 14:44:35 +00:00
init-fini-arrays.d * ld-elf/elf.exp: Don't run --gc-sections tls var test on v850. 2010-09-23 12:24:41 +00:00
init-fini-arrays.s
init-mixed.c * ld-elf/init-mixed.c: Include config.h first. 2012-05-18 02:05:23 +00:00
init-mixed.out Add SORT_BY_INIT_PRIORITY. 2010-12-15 14:56:40 +00:00
init.c
init.out
init0.s Update PR ld/14156 tests 2012-07-31 20:45:01 +00:00
init1.s Add SORT_NONE and don't sort sort .init/.fini sections 2012-07-10 06:50:57 +00:00
init2.s Add SORT_NONE and don't sort sort .init/.fini sections 2012-07-10 06:50:57 +00:00
init3.s Add SORT_NONE and don't sort sort .init/.fini sections 2012-07-10 06:50:57 +00:00
initn.s Add SORT_NONE and don't sort sort .init/.fini sections 2012-07-10 06:50:57 +00:00
linkonce1.d
linkonce1a.s
linkonce1b.s
linkonce2.d * lib/ld-lib.exp (check_gc_sections_available): Fail more targets. 2010-09-18 02:30:41 +00:00
linkoncerdiff.d * ld-elf/linkoncerdiff.d: Don't run for hppa64-hpux. 2012-02-14 01:02:04 +00:00
linkoncerdiff1.s
linkoncerdiff2.s
lma.lnk
lma.s
loadaddr.s
loadaddr.t
loadaddr1.d Improve binutils testsuite coverage for GNU/Hurd. 2010-11-08 06:43:40 +00:00
loadaddr1.t
loadaddr2.d Improve binutils testsuite coverage for GNU/Hurd. 2010-11-08 06:43:40 +00:00
loadaddr2.t
loadaddr3.t
loadaddr3a.d Improve binutils testsuite coverage for GNU/Hurd. 2010-11-08 06:43:40 +00:00
loadaddr3b.d Improve binutils testsuite coverage for GNU/Hurd. 2010-11-08 06:43:40 +00:00
local1.d Improve binutils testsuite coverage for GNU/Hurd. 2010-11-08 06:43:40 +00:00
local1.map
local1.s
main.c
maxpage1.d Improve binutils testsuite coverage for GNU/Hurd. 2010-11-08 06:43:40 +00:00
maxpage1.s
maxpage2.d Improve binutils testsuite coverage for GNU/Hurd. 2010-11-08 06:43:40 +00:00
maxpage3.t
maxpage3a.d Improve binutils testsuite coverage for GNU/Hurd. 2010-11-08 06:43:40 +00:00
maxpage3b.d
maxpage3c.d
maxpage4.d
maxpage4.t
merge.d
merge.ld
merge.s
merge2.d * lib/ld-lib.exp (check_gc_sections_available): Fail more targets. 2010-09-18 02:30:41 +00:00
merge2.s
multibss1.d Improve binutils testsuite coverage for GNU/Hurd. 2010-11-08 06:43:40 +00:00
multibss1.s
new.cc Don't include <exception_defines.h> 2011-02-23 22:37:48 +00:00
nobits-1.d * lib/ld-lib.exp (check_gc_sections_available): Fail more targets. 2010-09-18 02:30:41 +00:00
nobits-1.s
nobits-1.t
noload-1.d
noload-1.s
noload-1.t
noload-2.d Improve binutils testsuite coverage for GNU/Hurd. 2010-11-08 06:43:40 +00:00
noload-3.d
noload-3.s
noload-3.t
normal.out
note-1.d * lib/ld-lib.exp (check_gc_sections_available): Fail more targets. 2010-09-18 02:30:41 +00:00
note-1.s
note-1.t
note-2.d * lib/ld-lib.exp (check_gc_sections_available): Fail more targets. 2010-09-18 02:30:41 +00:00
note-2.s
note-2.t
note-3.l * elflink.c (_bfd_elf_link_create_dynamic_sections): If the 2011-06-10 14:04:25 +00:00
note-3.s * elflink.c (_bfd_elf_link_create_dynamic_sections): If the 2011-06-10 14:04:25 +00:00
note-3.t * elflink.c (_bfd_elf_link_create_dynamic_sections): If the 2011-06-10 14:04:25 +00:00
orphan-region.d * ld-elf/orphan-region.d: xfail frv-*-*. 2010-10-11 09:12:25 +00:00
orphan-region.ld * lib/ld-lib.exp (check_gc_sections_available): Fail more targets. 2010-09-18 02:30:41 +00:00
orphan-region.s
orphan.d * lib/ld-lib.exp (check_gc_sections_available): Fail more targets. 2010-09-18 02:30:41 +00:00
orphan.ld * lib/ld-lib.exp (check_gc_sections_available): Fail more targets. 2010-09-18 02:30:41 +00:00
orphan.s
orphan2.d * ld-elf/elf.exp: Don't run --gc-sections tls var test on v850. 2010-09-23 12:24:41 +00:00
orphan2.s
orphan3.d * lib/ld-lib.exp (check_gc_sections_available): Fail more targets. 2010-09-18 02:30:41 +00:00
orphan3a.s
orphan3b.s
orphan3c.s
orphan3d.s
orphan3e.s
orphan3f.s
orphan4.d
orphan4.ld
orphan4.s
overlay.d
overlay.s
overlay.t
pass.out
pr349-1.s
pr349-2.s
pr349.d * lib/ld-lib.exp (check_gc_sections_available): Fail more targets. 2010-09-18 02:30:41 +00:00
pr9676-1.c
pr9676-2.c
pr9676-3.c
pr9676-4.c
pr9676.rd ld: elfvers tests: support symbol prefixed targets 2010-12-10 06:08:11 +00:00
pr9679-1.c
pr9679-2.c
pr9679.rd ld: elfvers tests: support symbol prefixed targets 2010-12-10 06:08:11 +00:00
pr11138-1.c
pr11138-1.map
pr11138-2.c
pr11138-2.map
pr11138.out
pr11304.d
pr11304a.s * ld-elf/linkoncerdiff.d: Don't run for hppa64-hpux. 2012-02-14 01:02:04 +00:00
pr11304b.s * ld-elf/linkoncerdiff.d: Don't run for hppa64-hpux. 2012-02-14 01:02:04 +00:00
pr12851.d Add support for 64-bit ARM architecture: AArch64 2012-08-13 14:52:54 +00:00
pr12851.s Check relocations in note sections for --gc-sections. 2011-06-09 04:52:15 +00:00
pr12975.d Add support for 64-bit ARM architecture: AArch64 2012-08-13 14:52:54 +00:00
pr12975.s Check if a symbol is hidden by linker script. 2011-09-16 01:15:20 +00:00
pr12975.t Check if a symbol is hidden by linker script. 2011-09-16 01:15:20 +00:00
pr13177.d Add support for 64-bit ARM architecture: AArch64 2012-08-13 14:52:54 +00:00
pr13177.s Only run pr12975/pr13177 for *-*-linux* and *-*-gnu* targets. 2011-09-16 16:07:16 +00:00
pr13195.c Fix --gc-sections failure with symbol versioning. 2011-09-29 00:13:14 +00:00
pr13195.d Add support for 64-bit ARM architecture: AArch64 2012-08-13 14:52:54 +00:00
pr13195.s Fix --gc-sections failure with symbol versioning. 2011-09-29 00:13:14 +00:00
pr13195.t Fix --gc-sections failure with symbol versioning. 2011-09-29 00:13:14 +00:00
pr13250-1.c Preserve the maximum alignment/size for common symbols. 2011-10-08 16:51:11 +00:00
pr13250-2.c Preserve the maximum alignment/size for common symbols. 2011-10-08 16:51:11 +00:00
pr13250-3.c Preserve the maximum alignment/size for common symbols. 2011-10-08 16:51:11 +00:00
pr13839.d Add a testcase for PR ld/13839 2012-03-14 15:56:13 +00:00
pr13839.s Add a testcase for PR ld/13839 2012-03-14 15:56:13 +00:00
pr13839.t Add a testcase for PR ld/13839 2012-03-14 15:56:13 +00:00
pr14052.d Add a testcase for PR ld/14052 2012-05-05 14:15:21 +00:00
pr14052.t Add a testcase for PR ld/14052 2012-05-05 14:15:21 +00:00
pr14156a.d Add SORT_NONE and don't sort sort .init/.fini sections 2012-07-10 06:50:57 +00:00
pr14156b.d Add SORT_NONE and don't sort sort .init/.fini sections 2012-07-10 06:50:57 +00:00
pr14156c.d Add SORT_NONE and don't sort sort .init/.fini sections 2012-07-10 06:50:57 +00:00
pr14156c.t Update PR ld/14156 tests 2012-07-31 20:45:01 +00:00
pr14170a.s PR ld/14170 2012-05-28 04:08:53 +00:00
pr14170b.s Add a test for PR ld/14170 2012-05-27 14:45:41 +00:00
pr14170c.s Add a test for PR ld/14170 2012-05-27 14:45:41 +00:00
pr14323-1.c Add testcases for PR ld/14323 2012-07-10 04:51:53 +00:00
pr14323-2.c Add testcases for PR ld/14323 2012-07-10 04:51:53 +00:00
pr14525.c Provide __executable_start for PIE 2012-08-31 02:52:14 +00:00
pr14525.out Provide __executable_start for PIE 2012-08-31 02:52:14 +00:00
preinit.c
preinit.out
relocatable.d * ld-elf/orphan-region.d: xfail for spu. 2010-09-16 10:51:41 +00:00
relocatable.t
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 include/elf/ 2011-03-31 08:58:28 +00:00
sec-to-seg1.s
sec-to-seg2.s
sec64k.exp * ld-elf/elf.exp: Don't run --gc-sections tls var test on v850. 2010-09-23 12:24:41 +00:00
seg.d Improve binutils testsuite coverage for GNU/Hurd. 2010-11-08 06:43:40 +00:00
seg.s
seg.t
shared.exp Add testcases for PR ld/14323 2012-07-10 04:51:53 +00:00
simple.s
stab.d
start.s
symbol1ref.s
symbol1w.s
symbol2ref.s
symbol2w.s
symbol3.s Add a testcase for warning on common symbol in archive. 2011-06-08 04:47:04 +00:00
symbol3w.s Add a testcase for warning on common symbol in archive. 2011-06-08 04:47:04 +00:00
table.s
tbss.s
tbss1.s
tbss2.s
tbss3.s PR 12763 2011-05-20 15:33:29 +00:00
tdata1.s
tdata2.s
tdata3.s PR 12763 2011-05-20 15:33:29 +00:00
textaddr1.d Improve binutils testsuite coverage for GNU/Hurd. 2010-11-08 06:43:40 +00:00
textaddr2.d PR ld/13258 2011-01-08 09:38:17 +00:00
textaddr3.d Improve binutils testsuite coverage for GNU/Hurd. 2010-11-08 06:43:40 +00:00
textaddr4.d Improve binutils testsuite coverage for GNU/Hurd. 2010-11-08 06:43:40 +00:00
textaddr5.d Improve binutils testsuite coverage for GNU/Hurd. 2010-11-08 06:43:40 +00:00
textaddr6.d PR ld/13258 2011-01-08 09:38:17 +00:00
textaddr7.d Improve binutils testsuite coverage for GNU/Hurd. 2010-11-08 06:43:40 +00:00
tls_common.exp bfd/ 2012-04-03 16:01:38 +00:00
tls_common.s
tls_gc.s
unknown.d
unknown2.d Improve binutils testsuite coverage for GNU/Hurd. 2010-11-08 06:43:40 +00:00
unknown2.s
warn.out
warn1.d
warn2.d PR ld/14052 2012-05-05 04:51:16 +00:00
warn3.d * ld-elf/elf.exp: Don't attempt to build symbol3.a for hppa64-hpux. 2011-06-14 02:55:29 +00:00
weak-dyn-1.ld
weak-dyn-1.rd
weak-dyn-1a.s
weak-dyn-1b.s
weakdef1.c Add a test for weak alias 2012-07-02 14:40:19 +00:00
wrap.exp
wrap1.c
wrap1.out
wrap1a.c
wrap1b.c