old-cross-binutils/ld/testsuite/ld-elf
H.J. Lu 43a8475ca0 Adjust LOAD segment to generate GNU_RELRO segment
This patch fixes 2 GNU_RELRO segment bugs:

1. lang_size_sections didn't properly align base to the maximum
alignment power of sections between DATA_SEGMENT_ALIGN and
DATA_SEGMENT_RELRO_END.
2. ld failed to adjust LOAD segment to generate GNU_RELRO segment
when LOAD segment doesn't fit GNU_RELRO segment.  This is

https://sourceware.org/bugzilla/show_bug.cgi?id=14207

We "fixed" ld by not generating GNU_RELRO segment.  This patch
adjusts LOAD segment to generate GNU_RELRO segment.  It fixes
PR ld/16322 and at the same time it also fixes PR binutils/16323
since now we can adjust LOAD segment if it is too small.

bfd/

	PR ld/14207
	PR ld/16322
	PR binutils/16323
	* elf.c (_bfd_elf_map_sections_to_segments): Don't check section
	size for PT_GNU_RELRO segment.
	(assign_file_positions_for_load_sections): If PT_LOAD segment
	doesn't fit PT_GNU_RELRO segment, adjust its p_filesz and p_memsz.

ld/

	PR ld/14207
	PR ld/16322
	PR binutils/16323
	* ldlang.c (lang_size_sections): Properly align RELRO base.

ld/testsuite/

	PR ld/14207
	PR ld/16322
	PR binutils/16323
	* ld-elf/pr16322.d: New file.
	* ld-elf/pr16322.s: Likewise.

	* ld-x86-64/pr14207.d: Expect PT_GNU_RELRO segment.
2014-01-08 05:57:21 -08: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 bfd/ 2012-10-23 09:33:56 +00:00
comm-data.exp * ld-elf/comm-data.exp: Use check_shared_lib_support rather than 2013-08-24 22:37:18 +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.ld * ld-elf/comm-data.exp: Use check_shared_lib_support rather than 2013-08-24 22:37:18 +00:00
comm-data2.rd PR ld/10144 2011-11-29 12:42:10 +00:00
comm-data2.s * ld-elf/comm-data.exp: Use check_shared_lib_support rather than 2013-08-24 22:37:18 +00:00
comm-data2.sd PR ld/10144 2011-11-29 12:42:10 +00:00
comm-data2.xd * ld-elf/comm-data.exp: Use check_shared_lib_support rather than 2013-08-24 22:37:18 +00:00
comm-data2r.rd * ld-elf/comm-data.exp: Use check_shared_lib_support rather than 2013-08-24 22:37:18 +00:00
comm-data2r.sd * ld-elf/comm-data.exp: Use check_shared_lib_support rather than 2013-08-24 22:37:18 +00:00
comm-data2r.xd * ld-elf/comm-data.exp: Use check_shared_lib_support rather than 2013-08-24 22:37:18 +00:00
comm-data3.sd Properly handle common symbol and weak function 2012-09-19 00:53:30 +00:00
comm-data3a.s Properly handle common symbol and weak function 2012-09-19 00:53:30 +00:00
comm-data3b.s Properly handle common symbol and weak function 2012-09-19 00:53:30 +00:00
comm-data4.d * ld-elf/comm-data4.d, ld-elf/comm-data4.s: New test. 2012-12-06 00:10:41 +00:00
comm-data4.s * ld-elf/comm-data4.d, ld-elf/comm-data4.s: New test. 2012-12-06 00:10:41 +00:00
comm-data5.d * ld-elf/comm-data.exp: Revert last change. 2012-12-07 06:00:06 +00:00
comm-data5.s * ld-elf/comm-data4.d, ld-elf/comm-data4.s: New test. 2012-12-06 00:10:41 +00:00
comm1.c
commonpage1.d Improve binutils testsuite coverage for GNU/Hurd. 2010-11-08 06:43:40 +00:00
commonpage2.d PR ld/10569 2009-08-30 05:48:56 +00:00
compress.exp binutils/testsuite/ 2012-11-27 17:26:11 +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 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 Run more tests on x86_64-*-linux-gnu*/i?86-*-linux-gnu 2012-11-21 13:53:23 +00:00
discard1.s Remove relocation against discarded sections for relocatable link. 2010-04-30 18:27:32 +00:00
discard2.d Run more tests on x86_64-*-linux-gnu*/i?86-*-linux-gnu 2012-11-21 13:53:23 +00:00
discard2.s Remove relocation against discarded sections for relocatable link. 2010-04-30 18:27:32 +00:00
discard3.d Run more tests on x86_64-*-linux-gnu*/i?86-*-linux-gnu 2012-11-21 13:53:23 +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 * lib/ld-lib.exp (run_ld_link_tests): Add another argument, pass 2013-02-19 01:10:06 +00:00
eh-group1.s
eh-group2.s
eh1.d * dwarf.c (dwarf_vmatoa): Rename to dwarf_vmatoa_1 and add a 2013-09-12 09:14:47 +00:00
eh1.s
eh1a.s
eh2.d * dwarf.c (dwarf_vmatoa): Rename to dwarf_vmatoa_1 and add a 2013-09-12 09:14:47 +00:00
eh2a.s
eh3.d * dwarf.c (dwarf_vmatoa): Rename to dwarf_vmatoa_1 and add a 2013-09-12 09:14:47 +00:00
eh3.s
eh3a.s
eh4.d * dwarf.c (dwarf_vmatoa): Rename to dwarf_vmatoa_1 and add a 2013-09-12 09:14:47 +00:00
eh4.s
eh4a.s
eh5.d * dwarf.c (dwarf_vmatoa): Rename to dwarf_vmatoa_1 and add a 2013-09-12 09:14:47 +00:00
eh5.s
eh5a.s
eh5b.s
eh6.d * dwarf.c (dwarf_vmatoa): Rename to dwarf_vmatoa_1 and add a 2013-09-12 09:14:47 +00:00
eh6.s
ehdr_start-missing.d Fix references to __ehdr_start when it cannot be defined 2013-11-19 10:54:00 -08:00
ehdr_start-missing.t Fix references to __ehdr_start when it cannot be defined 2013-11-19 10:54:00 -08:00
ehdr_start-strongref.s Fix references to __ehdr_start when it cannot be defined 2013-11-19 10:54:00 -08:00
ehdr_start-userdef.d Add "#..." 2013-12-12 14:01:28 -08:00
ehdr_start-userdef.t Fix references to __ehdr_start when it cannot be defined 2013-11-19 10:54:00 -08:00
ehdr_start-weak.d Fix references to __ehdr_start when it cannot be defined 2013-11-19 10:54:00 -08:00
ehdr_start.d gold/ 2013-05-03 15:19:27 +00:00
ehdr_start.s ld/testsuite/ 2012-11-30 21:14:02 +00:00
elf.exp * lib/ld-lib.exp (run_ld_link_tests): Add another argument, pass 2013-02-19 01:10:06 +00:00
empty.d Tolerate some whitespace differences in readelf output. 2009-09-23 03:12:28 +00:00
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 * lib/ld-lib.exp (run_ld_link_tests): Add another argument, pass 2013-02-19 01:10:06 +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 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
fini0.s * ld-elf/init0.s: Add alloc attribute to .section directive. 2013-03-22 09:40:06 +00:00
fini1.s * ld-elf/init0.s: Add alloc attribute to .section directive. 2013-03-22 09:40:06 +00:00
fini2.s * ld-elf/init0.s: Add alloc attribute to .section directive. 2013-03-22 09:40:06 +00:00
fini3.s * ld-elf/init0.s: Add alloc attribute to .section directive. 2013-03-22 09:40:06 +00:00
finin.s * ld-elf/init0.s: Add alloc attribute to .section directive. 2013-03-22 09:40:06 +00:00
flags1.d * archures.c: Add some more MSP430 machine numbers. 2013-05-02 21:06:15 +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 Add copyright notices 2012-12-17 16:56:12 +00:00
frame.s
func1.c
global1.d Implement ELF linker -z global option 2012-11-20 22:16:05 +00:00
group.ld bfd/ 2010-02-19 01:47:16 +00:00
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 Tolerate some whitespace differences in readelf output. 2009-09-23 03:12:28 +00:00
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 Enable --gc-sections test cases for aarch64*-*-* 2013-03-20 14:57:38 +00:00
group8b.d Enable --gc-sections test cases for aarch64*-*-* 2013-03-20 14:57:38 +00:00
group9.s
group9a.d Enable --gc-sections test cases for aarch64*-*-* 2013-03-20 14:57:38 +00:00
group9b.d Enable --gc-sections test cases for aarch64*-*-* 2013-03-20 14:57:38 +00:00
group10.d 2010-10-23 Mark Mitchell <mark@codesourcery.com> 2010-10-23 18:05:10 +00:00
group10.s bfd/ 2010-02-19 01:47:16 +00:00
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 2013-02-06 Sandra Loosemore <sandra@codesourcery.com> 2013-02-06 23:22:26 +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 * archures.c: Add some more MSP430 machine numbers. 2013-05-02 21:06:15 +00:00
init-fini-arrays.s * scripttempl/armbpabi.sc: Don't combine .init_array.* or 2010-02-27 12:34:25 +00:00
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 * ld-elf/init0.s: Add alloc attribute to .section directive. 2013-03-22 09:40:06 +00:00
init1.s * ld-elf/init0.s: Add alloc attribute to .section directive. 2013-03-22 09:40:06 +00:00
init2.s * ld-elf/init0.s: Add alloc attribute to .section directive. 2013-03-22 09:40:06 +00:00
init3.s * ld-elf/init0.s: Add alloc attribute to .section directive. 2013-03-22 09:40:06 +00:00
initn.s * ld-elf/init0.s: Add alloc attribute to .section directive. 2013-03-22 09:40:06 +00:00
libbarw.rd Check .gnu.warning section in shared library 2013-07-24 17:24:20 +00:00
linkinfo1.s Set SHF_INFO_LINK bit for SHT_REL/SHT_RELA sections 2013-12-19 11:34:47 -08:00
linkinfo1a.d Set SHF_INFO_LINK bit for SHT_REL/SHT_RELA sections 2013-12-19 11:34:47 -08:00
linkinfo1b.d Set SHF_INFO_LINK bit for SHT_REL/SHT_RELA sections 2013-12-19 11:34:47 -08:00
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 * 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 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 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 ld/testsuite/ 2012-12-15 10:28:17 +00:00
maxpage4.d ld/testsuite/ 2012-12-15 10:28:17 +00:00
maxpage4.t PR ld/10569 2009-08-30 05:48:56 +00:00
maxpage5.d ld/testsuite/ 2012-12-15 10:28:17 +00:00
maxpage5.s Set output maxpagesize when rewriting program header 2012-11-21 21:31:18 +00:00
maxpage5.t Set output maxpagesize when rewriting program header 2012-11-21 21:31:18 +00:00
merge.d * archures.c: Add some more MSP430 machine numbers. 2013-05-02 21:06:15 +00:00
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
needed1.out Add tests for --add-needed/--copy-dt-needed-entries 2012-12-04 17:44:43 +00:00
needed1a.c Add tests for --add-needed/--copy-dt-needed-entries 2012-12-04 17:44:43 +00:00
needed1b.c Add tests for --add-needed/--copy-dt-needed-entries 2012-12-04 17:44:43 +00:00
needed1c.c Add tests for --add-needed/--copy-dt-needed-entries 2012-12-04 17:44:43 +00:00
needed2.ver Add a test for --as-needed with symbol versioning 2013-12-11 08:00:34 -08:00
needed2a.c Add a test for --as-needed with symbol versioning 2013-12-11 08:00:34 -08:00
needed2b.c Add a test for --as-needed with symbol versioning 2013-12-11 08:00:34 -08:00
needed2c.c Add a test for --as-needed with symbol versioning 2013-12-11 08:00:34 -08:00
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
now-1.d Add tests for ELF DT_XXX 2013-02-06 16:21:51 +00:00
now-2.d Add tests for ELF DT_XXX 2013-02-06 16:21:51 +00:00
now-3.d Add tests for ELF DT_XXX 2013-02-06 16:21:51 +00:00
now-4.d Add tests for ELF DT_XXX 2013-02-06 16:21:51 +00:00
orphan-region.d ld/testsuite/ 2012-11-27 17:20:29 +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 * ldlang.c (lang_insert_orphan): Place loadable orphans in the same 2010-03-16 14:14:40 +00:00
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 * 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
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 * 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 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 * 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 Enable --gc-sections test cases for aarch64*-*-* 2013-03-20 14:57:38 +00:00
pr12851.s Check relocations in note sections for --gc-sections. 2011-06-09 04:52:15 +00:00
pr12975.d Enable --gc-sections test cases for aarch64*-*-* 2013-03-20 14:57:38 +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 Enable --gc-sections test cases for aarch64*-*-* 2013-03-20 14:57:38 +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 Enable --gc-sections test cases for aarch64*-*-* 2013-03-20 14:57:38 +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
pr14862-1.c Remove ref_dynamic_nonweak added by accident 2012-11-20 22:17:27 +00:00
pr14862-2.c Remove ref_dynamic_nonweak added by accident 2012-11-20 22:17:27 +00:00
pr14862.map Remove ref_dynamic_nonweak added by accident 2012-11-20 22:17:27 +00:00
pr14862.out PR ld/12549 2013-03-18 02:47:03 +00:00
pr14926.d * ld-elf/pr14926.d: Disable for d10v, msp, xstormy. 2013-01-14 13:23:05 +00:00
pr14926.s Add a testase for PR ld/14926 2012-12-07 12:32:50 +00:00
pr16322.d Adjust LOAD segment to generate GNU_RELRO segment 2014-01-08 05:57:21 -08:00
pr16322.s Adjust LOAD segment to generate GNU_RELRO segment 2014-01-08 05:57:21 -08:00
preinit.c
preinit.out
provide-hidden-1.ld * ld-elf/provide-hidden-s.nd: New test. 2013-05-03 14:57:15 +00:00
provide-hidden-1.s * ld-elf/provide-hidden-s.nd: New test. 2013-05-03 14:57:15 +00:00
provide-hidden-2.ld * ld-elf/provide-hidden-s.nd: New test. 2013-05-03 14:57:15 +00:00
provide-hidden-2.s * ld-elf/provide-hidden-s.nd: New test. 2013-05-03 14:57:15 +00:00
provide-hidden-3.s * ld-elf/provide-hidden-s.nd: New test. 2013-05-03 14:57:15 +00:00
provide-hidden-4.s * ld-elf/provide-hidden-s.nd: New test. 2013-05-03 14:57:15 +00:00
provide-hidden-abs.nd * ld-elf/provide-hidden-s.nd: New test. 2013-05-03 14:57:15 +00:00
provide-hidden-def.nd * ld-elf/provide-hidden-s.nd: New test. 2013-05-03 14:57:15 +00:00
provide-hidden-dyn.nd * ld-elf/provide-hidden-s.nd: New test. 2013-05-03 14:57:15 +00:00
provide-hidden-dynabs.nd * ld-elf/provide-hidden-s.nd: New test. 2013-05-03 14:57:15 +00:00
provide-hidden-dynsec.nd * ld-elf/provide-hidden-s.nd: New test. 2013-05-03 14:57:15 +00:00
provide-hidden-s.ld * ld-elf/provide-hidden-s.nd: New test. 2013-05-03 14:57:15 +00:00
provide-hidden-s.nd * ld-elf/provide-hidden-s.nd: New test. 2013-05-03 14:57:15 +00:00
provide-hidden-sec.nd * ld-elf/provide-hidden-s.nd: New test. 2013-05-03 14:57:15 +00:00
provide-hidden.exp * ld-elf/provide-hidden-s.nd: New test. 2013-05-03 14:57:15 +00:00
rel.c bfd/ 2013-03-20 03:44:56 +00:00
relmain.c bfd/ 2013-03-20 03:44:56 +00:00
relmain.out bfd/ 2013-03-20 03:44:56 +00:00
relocatable.d * ld-elf/orphan-region.d: xfail for spu. 2010-09-16 10:51:41 +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
rpath-1.d Add tests for ELF DT_XXX 2013-02-06 16:21:51 +00:00
rpath-2.d Add tests for ELF DT_XXX 2013-02-06 16:21:51 +00:00
runpath-1.d Add tests for ELF DT_XXX 2013-02-06 16:21:51 +00:00
runpath-2.d Add tests for ELF DT_XXX 2013-02-06 16:21:51 +00:00
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 * ld-elf/pr14926.d: Disable for d10v, msp, xstormy. 2013-01-14 13:23:05 +00:00
sec-to-seg1.s
sec-to-seg2.s
sec64k.exp * archures.c: Add some more MSP430 machine numbers. 2013-05-02 21:06:15 +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 a test for --as-needed with symbol versioning 2013-12-11 08:00:34 -08:00
simple.s 2009-10-09 H.J. Lu <hongjiu.lu@intel.com> 2009-10-09 13:32:50 +00:00
stab.d
stack-exec.rd bfd/ 2012-10-23 09:33:56 +00:00
stack-size.rd bfd/ 2012-10-23 09:33:56 +00:00
stack.s * ld-scripts/empty-aligned.d: Revert last change. Allow more 2012-10-24 23:22:48 +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
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
var1.d Remove the leading zero 2012-12-17 17:20:07 +00:00
var1.s Update PR ld/14962 testcase 2012-12-17 15:37:40 +00:00
var1.t Add a testcase for PR ld/14962 2012-12-17 14:53:35 +00:00
warn.out
warn1.d Tolerate some whitespace differences in readelf output. 2009-09-23 03:12:28 +00:00
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