binutils-gdb/ld/testsuite/ld-elf
Maciej W. Rozycki c9f02c3e29 readelf: Fix incorrect "Version definition past end of section" message
Fix a commit 74e1a04b97 ("More fixes for reading corrupt ELF files.")
`readelf --version-info' regression that caused "Version definition past
end of section" to be always printed at the end, even with good section
data.

For example with the `mips-linux' target we get:

$ cat ver_def.s
	.data
	.globl	new_foo
	.type	new_foo, %object
new_foo:
	.symver	new_foo, foo@@ver_foo
$ cat ver_def.ver
{ global: *foo*; local: *; };
$ as -o ver_def.o ver_def.s
$ ld -e 0 --export-dynamic --version-script=ver_def.ver -o ver_def ver_def.o
$ readelf -V ver_def

Version symbols section '.gnu.version' contains 4 entries:
 Addr: 000000000000007e  Offset: 0x01007e  Link: 2 (.dynsym)
  000:   0 (*local*)       2 (ver_foo)       1 (*global*)      2 (ver_foo)

Version definition section '.gnu.version_d' contains 2 entries:
  Addr: 0x0000000000000088  Offset: 0x010088  Link: 3 (.dynstr)
  000000: Rev: 1  Flags: BASE   Index: 1  Cnt: 1  Name: ver_def
  0x001c: Rev: 1  Flags: none  Index: 2  Cnt: 1  Name: ver_foo
  Version definition past end of section
$

The cause is the `if (idx + ent.vd_next <= idx)' condition introduced to
ensure forward progress, which however always triggers for good version
definition section data as the last entry will have its `vd_next' value
set to 0.

Adjust the condition then, to say `if (idx + ent.vd_next < idx)' instead
and to ensure forward progress limit the number of entries processed to
the size of the version definition section, removing the problematic
message from output quoted above, while ensuring the original PR 17531
test case is still handled gracefully.

Add a suitable test case so that we have `readelf --version-info'
coverage; due to the lack of infrastructure needed to run the linker in
the `binutils' test suite and limited justification to implement it add
a new `readelf.exp' script to the `ld' test suite instead, intended to
gather any `readelf' test cases that require the linker to be run.  If
ever we decide to have linker infrastructure added to the `binutils'
test suite, then the script can be moved between the test suites.

	binutils/
	* readelf.c (process_version_sections) <SHT_GNU_verdef>: Limit
	the number of entries processed by the section size.  Don't
	break out of the loop if `ent.vd_next' is 0.

	ld/
	* testsuite/ld-elf/ver_def.d: New test.
	* testsuite/ld-elf/ver_def.ld: New test linker script.
	* testsuite/ld-elf/ver_def.ver: New test version script.
	* testsuite/ld-elf/ver_def.s: New test source.
	* testsuite/ld-elf/readelf.exp: New test script.
2017-02-24 13:48:10 +00:00
..
attributes.d Add test to ensure that ternary linker script operators copy symbol flags. 2015-10-19 14:32:54 +01:00
attributes.ld Add test to ensure that ternary linker script operators copy symbol flags. 2015-10-19 14:32:54 +01:00
attributes.s Add test to ensure that ternary linker script operators copy symbol flags. 2015-10-19 14:32:54 +01:00
audit.exp Check for shared lib support before running ld tests with -shared 2017-01-04 09:39:12 +10:30
audit.rd bfd/ 2009-09-23 13:54:29 +00:00
begin.c
beginwarn.c bfd/ 2007-02-14 14:15:52 +00:00
binutils.exp Run more ld tests when not native 2017-01-02 23:48:08 +10:30
check-ptr-eq.c ld testsuite function pointer comparisons vs. hppa 2017-02-16 23:10:09 +10:30
comm-data.exp Update year range in copyright notice of all files. 2017-01-02 14:08:56 +10:30
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 bfd/ 2008-09-16 14:09:34 +00:00
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 [ld, testsuite] Don't print to stdout for "readelf -w" to avoid buffer overflow 2017-02-06 15:25:18 +00:00
compress1.s Update year range in copyright notice of all files. 2017-01-02 14:08:56 +10:30
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
compressed1a.d Add SHF_COMPRESSED support to gas and objcopy 2015-04-08 07:54:09 -07:00
compressed1b.d Limit ld-elf/compressed1b.d to Linux/GNU targets 2016-04-27 15:51:29 -07:00
compressed1c.d Pass --compress-debug-sections=none to ld 2016-04-27 05:28:08 -07:00
compressed1d.d [ARC] Fixed-linker-related-testsuite-for-ARC 2016-05-19 15:06:51 +02:00
compressed1e.d Correct ld-elf/compressed1e.d to use notarget and for cris-elf, not cris-*. 2015-04-24 06:10:19 +02:00
data1.c 2007-05-15 H.J. Lu <hongjiu.lu@intel.com> 2007-05-15 13:57:03 +00:00
data1.h 2007-05-15 H.J. Lu <hongjiu.lu@intel.com> 2007-05-15 13:57:03 +00:00
data2.c Add a test for weak alias 2012-07-02 14:40:19 +00:00
del.cc bfd/ 2007-01-16 14:56:32 +00:00
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 bfd/ 2006-09-07 17:16:34 +00:00
dl1.list bfd/ 2006-09-07 17:16:34 +00:00
dl1.out bfd/ 2006-09-07 17:16:34 +00:00
dl1main.c 2007-01-16 H.J. Lu <hongjiu.lu@intel.com> 2007-01-16 18:55:06 +00:00
dl2.c bfd/ 2006-09-07 17:16:34 +00:00
dl2.list bfd/ 2006-09-07 17:16:34 +00:00
dl2a.list * emultempl/ppc64elf.em (gld${EMULATION_NAME}_new_vers_pattern): 2007-05-14 08:53:23 +00:00
dl2a.out bfd/ 2006-09-07 17:16:34 +00:00
dl2b.out bfd/ 2006-09-07 17:16:34 +00:00
dl2main.c bfd/ 2006-09-07 17:16:34 +00:00
dl2xxx.c bfd/ 2006-09-07 17:16:34 +00:00
dl2xxx.list bfd/ 2006-09-07 17:16:34 +00:00
dl3.cc bfd/ 2006-09-07 17:16:34 +00:00
dl3.list bfd/ 2006-09-07 17:16:34 +00:00
dl3a.out bfd/ 2006-09-07 17:16:34 +00:00
dl3b.out bfd/ 2006-09-07 17:16:34 +00:00
dl3header.h bfd/ 2006-09-07 17:16:34 +00:00
dl3main.cc bfd/ 2006-09-07 17:16:34 +00:00
dl4.c 2006-10-18 H.J. Lu <hongjiu.lu@intel.com> 2006-10-18 16:23:24 +00:00
dl4.list 2006-10-18 H.J. Lu <hongjiu.lu@intel.com> 2006-10-18 16:23:24 +00:00
dl4a.out 2006-10-18 H.J. Lu <hongjiu.lu@intel.com> 2006-10-18 16:23:24 +00:00
dl4b.out 2006-10-18 H.J. Lu <hongjiu.lu@intel.com> 2006-10-18 16:23:24 +00:00
dl4main.c 2006-10-18 H.J. Lu <hongjiu.lu@intel.com> 2006-10-18 16:23:24 +00:00
dl4xxx.c 2006-10-18 H.J. Lu <hongjiu.lu@intel.com> 2006-10-18 16:23:24 +00:00
dl4xxx.list 2006-10-18 H.J. Lu <hongjiu.lu@intel.com> 2006-10-18 16:23:24 +00:00
dl5.cc bfd/ 2007-01-16 14:56:32 +00:00
dl5.out bfd/ 2007-01-16 14:56:32 +00:00
dl6.c ld/ 2007-01-19 15:13:29 +00:00
dl6a.out ld/ 2007-01-19 15:13:29 +00:00
dl6amain.c ld/ 2007-01-19 15:13:29 +00:00
dl6b.out ld/ 2007-01-19 15:13:29 +00:00
dl6bmain.c ld/ 2007-01-19 15:13:29 +00:00
dl6cmain.c ld/ 2007-01-19 15:13:29 +00:00
dl6dmain.c ld/ 2007-01-19 15:13:29 +00:00
dummy.c bfd/ 2006-10-19 02:40:14 +00:00
dwarf.exp bfd/dwarf: Improve use of previously loaded dwarf information 2017-02-16 13:06:13 +00:00
dwarf1.c bfd/ 2006-10-19 02:40:14 +00:00
dwarf1.h bfd/ 2006-10-19 02:40:14 +00:00
dwarf1.out bfd/ 2006-10-19 02:40:14 +00:00
dwarf1main.c bfd/ 2006-10-19 02:40:14 +00:00
dwarf2.err Relax dwarf2 expected error match 2017-02-17 18:02:40 +10:30
dwarf2a.c bfd/dwarf: Improve use of previously loaded dwarf information 2017-02-16 13:06:13 +00:00
dwarf2b.c bfd/dwarf: Improve use of previously loaded dwarf information 2017-02-16 13:06:13 +00:00
dwarf3.c bfd/dwarf: Improve use of previously loaded dwarf information 2017-02-16 13:06:13 +00:00
dwarf3.err Relax dwarf3 expected error match 2017-02-17 17:41:03 +10:30
dynamic-1.c Mark symbol in executables if it matches dynamic_list 2014-02-10 08:05:54 -08:00
dynamic-1.rd Mark symbol in executables if it matches dynamic_list 2014-02-10 08:05:54 -08:00
dynamic-1.syms Mark symbol in executables if it matches dynamic_list 2014-02-10 08:05:54 -08:00
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 2007-05-15 H.J. Lu <hongjiu.lu@intel.com> 2007-05-15 13:57:03 +00:00
dynsym1.d Improve binutils testsuite coverage for GNU/Hurd. 2010-11-08 06:43:40 +00:00
eh-frame-hdr.d objdump: Better objdump section headers in wide mode 2017-01-20 09:05:41 +00:00
eh-frame-hdr.s bfd/ 2006-12-04 08:57:09 +00:00
eh-group.exp Run more ld tests when not native 2017-01-02 23:48:08 +10:30
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
eh1.d Discard zero address range eh_frame FDEs 2014-10-04 22:49:32 +09:30
eh1.s Discard zero address range eh_frame FDEs 2014-10-04 22:49:32 +09:30
eh1a.s
eh2.d Discard zero address range eh_frame FDEs 2014-10-04 22:49:32 +09:30
eh2a.s
eh3.d Discard zero address range eh_frame FDEs 2014-10-04 22:49:32 +09:30
eh3.s Discard zero address range eh_frame FDEs 2014-10-04 22:49:32 +09:30
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 * elf-bfd.h (struct eh_cie_fde): Add set_loc pointer. 2006-10-03 13:15:39 +00:00
eh4a.s * elf-bfd.h (struct eh_cie_fde): Add set_loc pointer. 2006-10-03 13:15:39 +00:00
eh5.d Add Visium support to ld 2014-12-06 16:45:22 +01:00
eh5.s * elf-eh-frame.c (struct cie): New type. 2006-11-21 11:25:17 +00:00
eh5a.s * elf-eh-frame.c (struct cie): New type. 2006-11-21 11:25:17 +00:00
eh5b.s * ld-elf/eh-group.exp: Only run on ELF targets. 2008-09-25 03:16:42 +00:00
eh6.d Check R_386_NONE/R_X86_64_NONE in eh6.d 2016-04-20 11:15:14 -07:00
eh6.s Replace .long with .dc.a on my_personality_v0 2016-04-20 04:27:47 -07:00
ehdr_start-missing.d Fix the linker so that it will not silently generate ELF binaries with invalid program headers. Fix readelf to report such invalid binaries. 2016-11-23 11:10:39 +00: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-shared.d non-PIC references to __ehdr_start in pie and shared 2014-01-15 22:23:16 +10:30
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 non-PIC references to __ehdr_start in pie and shared 2014-01-15 22:23:16 +10:30
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 the linker so that it will not silently generate ELF binaries with invalid program headers. Fix readelf to report such invalid binaries. 2016-11-23 11:10:39 +00:00
ehdr_start.d non-PIC references to __ehdr_start in pie and shared 2014-01-15 22:23:16 +10:30
ehdr_start.s ld/testsuite/ 2012-11-30 21:14:02 +00:00
elf.exp [ld, testsuite] XFAIL "pr20995-2", "Build pr20995-2.so" on arm*-*-eabi* 2017-01-27 23:06:28 +00:00
empty-implib.out Fix implib test failures 2016-07-21 11:30:34 +09:30
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
endsym.d PRU LD Port 2016-12-31 12:04:11 +10:30
endsym.s Don't PROVIDE over top of common symbols 2014-12-23 23:36:50 +10:30
exclude.exp Run more ld tests when not native 2017-01-02 23:48:08 +10:30
exclude1.s
exclude2.s Don't re-export common symbols 2015-10-05 14:45:17 -07:00
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 Update year range in copyright notice of all files. 2017-01-02 14:08:56 +10:30
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 ld/ 2007-04-02 16:32:04 +00:00
expr1.s ld/ 2007-04-02 16:32:04 +00:00
expr1.t ld/ 2007-04-02 16:32:04 +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 Don't fudge p_vaddr when PHDR in segment 2016-12-13 09:37:37 +10:30
flags1.ld Fix the linker so that it will not silently generate ELF binaries with invalid program headers. Fix readelf to report such invalid binaries. 2016-11-23 11:10:39 +00:00
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 Run more ld tests when not native 2017-01-02 23:48:08 +10:30
frame.s
func1.c bfd/ 2008-09-16 14:09:34 +00:00
gabiend.rt ld: relax alignment requirements of compressed .debug_* section checks 2015-12-07 17:52:25 +01:00
gabinormal.rt ld: relax alignment requirements of compressed .debug_* section checks 2015-12-07 17:52:25 +01:00
gap.s Assign file position for .strtab only if needed 2014-12-30 19:09:11 -08:00
global1.d Implement ELF linker -z global option 2012-11-20 22:16:05 +00:00
gnubegin.rS Add --compress-debug-sections=[none|zlib|zlib-gnu|zlib-gabi] 2015-04-14 22:01:38 -07:00
gnunormal.rS Add --compress-debug-sections=[none|zlib|zlib-gnu|zlib-gabi] 2015-04-14 22:01:38 -07:00
group.ld Fix the linker so that it will not silently generate ELF binaries with invalid program headers. Fix readelf to report such invalid binaries. 2016-11-23 11:10:39 +00:00
group1.d [ARC] Fix ld testsuite failures. 2016-04-05 13:46:44 +02: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 bfd/ 2006-12-07 13:32:02 +00:00
group3b.d [ARC] Fixed-linker-related-testsuite-for-ARC 2016-05-19 15:06:51 +02:00
group3b.s bfd/ 2006-12-07 13:32:02 +00:00
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 bfd/ 2009-01-14 21:52:49 +00:00
group8a.d PRU LD Port 2016-12-31 12:04:11 +10:30
group8b.d PRU LD Port 2016-12-31 12:04:11 +10:30
group9.s 2009-01-19 H.J. Lu <hongjiu.lu@intel.com> 2009-01-19 15:52:19 +00:00
group9a.d PRU LD Port 2016-12-31 12:04:11 +10:30
group9b.d PRU LD Port 2016-12-31 12:04:11 +10:30
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 * ld-elf/header.d: Reduce page size, restrict to linux & vxworks 2007-01-23 16:42:43 +00:00
header.t * ld-elf/header.d: Reduce page size, restrict to linux & vxworks 2007-01-23 16:42:43 +00:00
hidden.out
implib.rd Fix implib test failures 2016-07-21 11:30:34 +09:30
implib.s Fix implib test failures 2016-07-21 11:30:34 +09:30
indirect.exp Run more ld tests when not native 2017-01-02 23:48:08 +10:30
indirect1a.c Properly handle indirect symbols 2012-07-03 14:44:35 +00:00
indirect1b.c PowerPC64 dot-sym testsuite fixes 2016-12-03 20:59:43 +10:30
indirect1c.c Properly handle indirect symbols 2012-07-03 14:44:35 +00:00
indirect2.c PowerPC64 dot-sym testsuite fixes 2016-12-03 20:59:43 +10:30
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 PowerPC64 dot-sym testsuite fixes 2016-12-03 20:59:43 +10:30
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 PowerPC64 dot-sym testsuite fixes 2016-12-03 20:59:43 +10:30
indirect4c.c Properly handle indirect symbols 2012-07-03 14:44:35 +00:00
init-fini-arrays.d ld/testsuite/ld-elf/init-fini-arrays.d: Remove `ft32-*-*' xfail 2016-06-07 16:05:49 +01: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 Properly set sh_info for .rela.plt/rel.plt section 2015-03-30 04:40:49 -07:00
linkinfo1b.d Properly set sh_info for .rela.plt/rel.plt section 2015-03-30 04:40:49 -07:00
linkonce1.d New ARC implementation. 2015-10-07 14:20:19 +01:00
linkonce1a.s PR 3958 2007-03-07 08:54:35 +00:00
linkonce1b.s PR 3958 2007-03-07 08:54:35 +00:00
linkonce2.d ld/arc: Fix linker for big-endian arc targets 2016-04-05 23:08:28 +01:00
linkoncerdiff.d * ld-elf/linkoncerdiff.d: Don't run for hppa64-hpux. 2012-02-14 01:02:04 +00:00
linkoncerdiff1.s bfd/ 2009-01-11 21:09:49 +00:00
linkoncerdiff2.s 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
loadaddr.s 2006-09-15 H.J. Lu <hongjiu.lu@intel.com> 2006-09-15 14:48:46 +00:00
loadaddr.t * ld-elf/loadaddr.t: New, extracted from.. 2008-01-26 02:57:06 +00:00
loadaddr1.d hppa -z relro again 2017-02-16 23:09:38 +10:30
loadaddr1.t * ld-elf/loadaddr.t: New, extracted from.. 2008-01-26 02:57:06 +00:00
loadaddr2.d hppa -z relro again 2017-02-16 23:09:38 +10:30
loadaddr2.t * ld-elf/loadaddr.t: New, extracted from.. 2008-01-26 02:57:06 +00:00
loadaddr3.t New tests. 2006-08-29 01:24:17 +00:00
loadaddr3a.d hppa -z relro again 2017-02-16 23:09:38 +10:30
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 Fix the linker so that it will not silently generate ELF binaries with invalid program headers. Fix readelf to report such invalid binaries. 2016-11-23 11:10:39 +00:00
maxpage3a.d Improve binutils testsuite coverage for GNU/Hurd. 2010-11-08 06:43:40 +00:00
maxpage3b.d Early expression evaluation 2016-07-20 10:55:45 +09:30
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 PRU LD Port 2016-12-31 12:04:11 +10:30
merge.ld
merge.s
merge2.d [ARC] Local symbols relocation cleanup 2016-02-29 16:51:11 +01:00
merge2.s
merge3.d [ARC] Local symbols relocation cleanup 2016-02-29 16:51:11 +01:00
merge3.s Add aligned string merge test 2015-02-25 00:15:26 +10:30
multibss1.d Improve binutils testsuite coverage for GNU/Hurd. 2010-11-08 06:43:40 +00:00
multibss1.s 2007-05-17 Paul Brook <paul@codesourcery.com> 2007-05-17 16:54:38 +00:00
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
needed3.c PR 17287, DT_NEEDED of unneeded libraries affects --as-needed 2014-08-18 18:45:01 +09:30
new.cc Don't include <exception_defines.h> 2011-02-23 22:37:48 +00:00
nobits-1.d Don't add PHDR for objcopy/strip or ld script specifying PHDRS 2016-12-13 09:37:59 +10:30
nobits-1.s 2007-03-06 H.J. Lu <hongjiu.lu@intel.com> 2007-03-07 03:58:44 +00:00
nobits-1.t 2007-03-06 H.J. Lu <hongjiu.lu@intel.com> 2007-03-07 03:58:44 +00:00
noload-1.d
noload-1.s
noload-1.t Fix the linker so that it will not silently generate ELF binaries with invalid program headers. Fix readelf to report such invalid binaries. 2016-11-23 11:10:39 +00:00
noload-2.d Fix the linker so that it will not silently generate ELF binaries with invalid program headers. Fix readelf to report such invalid binaries. 2016-11-23 11:10:39 +00:00
noload-3.d bfd/ 2008-01-07 16:45:35 +00:00
noload-3.s bfd/ 2008-01-07 16:45:35 +00:00
noload-3.t bfd/ 2008-01-07 16:45:35 +00:00
normal.out
note-1.d Don't add PHDR for objcopy/strip or ld script specifying PHDRS 2016-12-13 09:37:59 +10:30
note-1.s * ld-elf/note-1.s: Increase .foo size. 2007-03-27 14:14:19 +00:00
note-1.t bfd/ 2007-03-22 15:50:38 +00:00
note-2.d Don't add PHDR for objcopy/strip or ld script specifying PHDRS 2016-12-13 09:37:59 +10:30
note-2.s bfd/ 2007-12-24 16:58:23 +00:00
note-2.t bfd/ 2007-12-24 16:58:23 +00:00
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-5.d ld: Extend options for altering orphan handling behaviour. 2015-09-04 22:30:55 +01:00
orphan-5.l ld/testing: Fix error and warning checks in run_dump_test 2016-03-30 17:58:05 +01:00
orphan-6.d ld: Extend options for altering orphan handling behaviour. 2015-09-04 22:30:55 +01:00
orphan-6.l ld/testing: Fix error and warning checks in run_dump_test 2016-03-30 17:58:05 +01:00
orphan-7.d ld: Extend options for altering orphan handling behaviour. 2015-09-04 22:30:55 +01:00
orphan-7.map ld: Fix failures in new orphan handling tests. 2015-09-07 23:28:04 +01:00
orphan-8.d ld: Extend options for altering orphan handling behaviour. 2015-09-04 22:30:55 +01:00
orphan-8.map ld: Create test object files based on source file name 2016-11-04 12:04:11 +00:00
orphan-region.d Fix lots of linker testsuite failures for the FT32 target. 2016-05-18 10:11:47 +01:00
orphan-region.ld [MIPS] Implement O32 FPXX, FP64 and FP64A ABI extensions 2014-07-29 11:27:59 +01: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 Fix lots of linker testsuite failures for the FT32 target. 2016-05-18 10:11:47 +01:00
orphan.ld Fix the linker so that it will not silently generate ELF binaries with invalid program headers. Fix readelf to report such invalid binaries. 2016-11-23 11:10:39 +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 Fix lots of linker testsuite failures for the FT32 target. 2016-05-18 10:11:47 +01: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 Fix the linker so that it will not silently generate ELF binaries with invalid program headers. Fix readelf to report such invalid binaries. 2016-11-23 11:10:39 +00:00
overlay.s 2006-08-23 H.J. Lu <hongjiu.lu@intel.com> 2006-08-23 14:43:56 +00:00
overlay.t Fix the linker so that it will not silently generate ELF binaries with invalid program headers. Fix readelf to report such invalid binaries. 2016-11-23 11:10:39 +00:00
pass.out 2007-05-15 H.J. Lu <hongjiu.lu@intel.com> 2007-05-15 13:57:03 +00:00
pie.d Set DF_1_PIE in gld${EMULATION_NAME}_after_parse 2015-09-22 06:08:55 -07:00
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 Fix lots of linker testsuite failures for the FT32 target. 2016-05-18 10:11:47 +01:00
pr2404.out Add a testcase for PR ld/2404 2014-01-20 04:50:47 -08:00
pr2404a.c Add a testcase for PR ld/2404 2014-01-20 04:50:47 -08:00
pr2404b.c Add a testcase for PR ld/2404 2014-01-20 04:50:47 -08: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 ld: elfvers tests: support symbol prefixed targets 2010-12-10 06:08:11 +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 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 PRU LD Port 2016-12-31 12:04:11 +10:30
pr12851.s Check relocations in note sections for --gc-sections. 2011-06-09 04:52:15 +00:00
pr12975.d [ARC] Fixed-linker-related-testsuite-for-ARC 2016-05-19 15:06:51 +02: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 [ARC] Fixed-linker-related-testsuite-for-ARC 2016-05-19 15:06:51 +02: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 [ARC] Fixed-linker-related-testsuite-for-ARC 2016-05-19 15:06:51 +02: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 Fix the linker so that it will not silently generate ELF binaries with invalid program headers. Fix readelf to report such invalid binaries. 2016-11-23 11:10:39 +00:00
pr14156a.d m68hc11/12 and xgate config.sub weirdness 2016-01-17 12:13:43 +10:30
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 PRU LD Port 2016-12-31 12:04:11 +10:30
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 ld: don't use ia64 register name in expression of pr16322 test 2015-01-28 10:04:51 +01:00
pr16452.map Add tests for PR ld/16452 and PR ld/16457 2014-12-01 06:06:21 -08:00
pr16452.od Add tests for PR ld/16452 and PR ld/16457 2014-12-01 06:06:21 -08:00
pr16452a.c Add tests for PR ld/16452 and PR ld/16457 2014-12-01 06:06:21 -08:00
pr16452b.c Add tests for PR ld/16452 and PR ld/16457 2014-12-01 06:06:21 -08:00
pr16457.od Add tests for PR ld/16452 and PR ld/16457 2014-12-01 06:06:21 -08:00
pr16496a.c Display symbol version when dumping dynrelocs 2014-11-25 06:47:44 -08:00
pr16496a.map Display symbol version when dumping dynrelocs 2014-11-25 06:47:44 -08:00
pr16496b.c Display symbol version when dumping dynrelocs 2014-11-25 06:47:44 -08:00
pr16496b.od Display symbol version when dumping dynrelocs 2014-11-25 06:47:44 -08:00
pr16498a.d Improve orphaned TLS section handling 2014-01-24 08:56:07 -08:00
pr16498a.s Replace .align with .p2align 2014-01-24 10:01:56 -08:00
pr16498a.t Improve orphaned TLS section handling 2014-01-24 08:56:07 -08:00
pr16498b.d Add another testcase for PR ld/16498 2014-01-24 09:03:21 -08:00
pr16498b.t Add another testcase for PR ld/16498 2014-01-24 09:03:21 -08:00
pr17068.s Reload --as-needed libraries inside groups 2014-07-03 17:05:42 +09:30
pr17068a.s Reload --as-needed libraries inside groups 2014-07-03 17:05:42 +09:30
pr17068b.s Reload --as-needed libraries inside groups 2014-07-03 17:05:42 +09:30
pr17068c.s Reload --as-needed libraries inside groups 2014-07-03 17:05:42 +09:30
pr17068d.s Reload --as-needed libraries inside groups 2014-07-03 17:05:42 +09:30
pr17068e.s Reload --as-needed libraries inside groups 2014-07-03 17:05:42 +09:30
pr17068ez.s Reload --as-needed libraries inside groups 2014-07-03 17:05:42 +09:30
pr17550-1.s Strip global symbol defined in discarded section 2016-05-06 09:46:50 -07:00
pr17550-2.s Strip global symbol defined in discarded section 2016-05-06 09:46:50 -07:00
pr17550-3.s Strip global symbol defined in discarded section 2016-05-06 09:46:50 -07:00
pr17550-4.s Strip global symbol defined in discarded section 2016-05-06 09:46:50 -07:00
pr17550a.d Strip global symbol defined in discarded section 2016-05-06 09:46:50 -07:00
pr17550b.d Strip global symbol defined in discarded section 2016-05-06 09:46:50 -07:00
pr17550c.d Strip global symbol defined in discarded section 2016-05-06 09:46:50 -07:00
pr17550d.d Strip global symbol defined in discarded section 2016-05-06 09:46:50 -07:00
pr17615.d [ARC] Fixed-linker-related-testsuite-for-ARC 2016-05-19 15:06:51 +02:00
pr17615.s Add a testcase for PR ld/17615 2015-01-19 09:23:29 -08:00
pr18458a.c Convert PLT reloc only if pointer equality isn't needed 2015-05-27 14:32:24 -07:00
pr18458b.c Convert PLT reloc only if pointer equality isn't needed 2015-05-27 14:32:24 -07:00
pr18458c.c Convert PLT reloc only if pointer equality isn't needed 2015-05-27 14:32:24 -07:00
pr18718.c ld testsuite function pointer comparisons vs. hppa 2017-02-16 23:10:09 +10:30
pr18720.out Properly merge hidden versioned symbol 2015-08-07 05:04:35 -07:00
pr18720.rd Properly hide hidden versioned symbol in executable 2016-11-28 08:03:46 -08:00
pr18720a.c ld testsuite function pointer comparisons vs. hppa 2017-02-16 23:10:09 +10:30
pr18720b.c PowerPC64 dot-sym testsuite fixes 2016-12-03 20:59:43 +10:30
pr18720c.c Properly merge hidden versioned symbol 2015-08-07 05:04:35 -07:00
pr18735.d Fix some AVR test failures. 2016-05-04 13:03:52 +01:00
pr18735.s Don't change the default symbol for relocatable link 2015-07-30 03:28:00 -07:00
pr19005.d Adjust the output section size to skip gap fills 2015-09-29 06:33:24 -07:00
pr19005.s Adjust the output section size to skip gap fills 2015-09-29 06:33:24 -07:00
pr19005.t Adjust the output section size to skip gap fills 2015-09-29 06:33:24 -07:00
pr19073.map Skip the unversioned definition after the default version 2015-10-12 04:57:16 -07:00
pr19073.rd Skip the unversioned definition after the default version 2015-10-12 04:57:16 -07:00
pr19073.s Skip the unversioned definition after the default version 2015-10-12 04:57:16 -07:00
pr19162.d Fix the linker so that it will not silently generate ELF binaries with invalid program headers. Fix readelf to report such invalid binaries. 2016-11-23 11:10:39 +00:00
pr19162a.s Add a testcase for PR ld/19162 2016-02-29 10:37:59 -08:00
pr19162b.s Add a testcase for PR ld/19162 2016-02-29 10:37:59 -08:00
pr19539.d Fix the linker so that it will not silently generate ELF binaries with invalid program headers. Fix readelf to report such invalid binaries. 2016-11-23 11:10:39 +00:00
pr19539.s Check reloc against IFUNC symbol only with dynamic symbols 2016-01-30 16:08:20 -08:00
pr19539.t Fix the linker so that it will not silently generate ELF binaries with invalid program headers. Fix readelf to report such invalid binaries. 2016-11-23 11:10:39 +00:00
pr19553.map Don't add DT_NEEDED for unmatched symbol 2016-02-01 15:49:52 -08:00
pr19553a.c Don't add DT_NEEDED for unmatched symbol 2016-02-01 15:49:52 -08:00
pr19553b.c Don't add DT_NEEDED for unmatched symbol 2016-02-01 15:49:52 -08:00
pr19553b.out Don't add DT_NEEDED for unmatched symbol 2016-02-01 15:49:52 -08:00
pr19553c.c PowerPC64 dot-sym testsuite fixes 2016-12-03 20:59:43 +10:30
pr19553c.out Don't add DT_NEEDED for unmatched symbol 2016-02-01 15:49:52 -08:00
pr19553d.c Don't add DT_NEEDED for unmatched symbol 2016-02-01 15:49:52 -08:00
pr19553d.out Don't add DT_NEEDED for unmatched symbol 2016-02-01 15:49:52 -08:00
pr19579a.c Treat common symbol in executable as definition 2016-03-04 06:37:54 -08:00
pr19579b.c Treat common symbol in executable as definition 2016-03-04 06:37:54 -08:00
pr19617.s Always create dynamic sections for -E/--dynamic-list 2016-02-18 03:13:51 -08:00
pr19617a.d Enable PR ld/19617 tests only for Linux/GNU/Solaris 2016-02-18 07:48:57 -08:00
pr19617b.d Enable PR ld/19617 tests only for Linux/GNU/Solaris 2016-02-18 07:48:57 -08:00
pr19617c.d Enable PR ld/19617 tests only for Linux/GNU/Solaris 2016-02-18 07:48:57 -08:00
pr19698.d Update symbol version for symbol from linker script 2016-02-24 15:13:48 -08:00
pr19698.s Update symbol version for symbol from linker script 2016-02-24 15:13:48 -08:00
pr19698.t Update symbol version for symbol from linker script 2016-02-24 15:13:48 -08:00
pr19719a.c [x86] Resolve non-PIC undefweak symbols in executable 2016-02-26 04:55:57 -08:00
pr19719b.c [x86] Resolve non-PIC undefweak symbols in executable 2016-02-26 04:55:57 -08:00
pr19719c.c [x86] Resolve non-PIC undefweak symbols in executable 2016-02-26 04:55:57 -08:00
pr19719d.c [x86] Resolve non-PIC undefweak symbols in executable 2016-02-26 04:55:57 -08:00
pr19789.d Don't create dynamic sections when relocatable 2016-03-08 20:45:52 -08:00
pr19789.s Don't create dynamic sections when relocatable 2016-03-08 20:45:52 -08:00
pr20513a.d Add tests for PR ld/20513 2016-09-01 12:01:11 -07:00
pr20513a.s Add tests for PR ld/20513 2016-09-01 12:01:11 -07:00
pr20513b.d Add tests for PR ld/20513 2016-09-01 12:01:11 -07:00
pr20513b.s Add tests for PR ld/20513 2016-09-01 12:01:11 -07:00
pr20513c.d Limit pr20513c/pr20513d to Linux and GNU targets 2016-09-02 07:58:24 -07:00
pr20513d.d Limit pr20513c/pr20513d to Linux and GNU targets 2016-09-02 07:58:24 -07:00
pr20513e.d Add tests for PR ld/20513 2016-09-01 12:01:11 -07:00
pr20513f.d Add tests for PR ld/20513 2016-09-01 12:01:11 -07:00
pr20528a.d Fix pr20528 testsuite 2016-09-30 17:51:07 +09:30
pr20528a.s Don't merge 2 sections with different SHF_EXCLUDE 2016-09-29 12:58:40 -07:00
pr20528b.d Fix pr20528 testsuite 2016-09-30 17:51:07 +09:30
pr20528b.s Don't merge 2 sections with different SHF_EXCLUDE 2016-09-29 12:58:40 -07:00
pr20828-a.sd PR ld/20828: Remove leading `_' from symbols used in tests 2017-01-23 11:26:06 +00:00
pr20828-b.sd PR ld/20828: Remove leading `_' from symbols used in tests 2017-01-23 11:26:06 +00:00
pr20828-c.sd PR ld/20828: Remove leading `_' from symbols used in tests 2017-01-23 11:26:06 +00:00
pr20828-d.sd PR ld/20828: Move symbol version processing ahead of GC symbol sweep 2017-02-22 18:16:28 +00:00
pr20828-e.sd PR ld/20828: Move symbol version processing ahead of GC symbol sweep 2017-02-22 18:16:28 +00:00
pr20828-v.ld PR ld/20828: Move symbol version processing ahead of GC symbol sweep 2017-02-22 18:16:28 +00:00
pr20828-v.od PR ld/20828: Move symbol version processing ahead of GC symbol sweep 2017-02-22 18:16:28 +00:00
pr20828-v.s PR ld/20828: Move symbol version processing ahead of GC symbol sweep 2017-02-22 18:16:28 +00:00
pr20828-v.ver PR ld/20828: Move symbol version processing ahead of GC symbol sweep 2017-02-22 18:16:28 +00:00
pr20828.ld PR ld/20828: Move symbol version processing ahead of GC symbol sweep 2017-02-22 18:16:28 +00:00
pr20828.s PR ld/20828: Fix linker script symbols wrongly forced local with section GC 2017-01-18 18:30:34 +00:00
pr20828.ver PR ld/20828: Remove leading `_' from symbols used in tests 2017-01-23 11:26:06 +00:00
pr20995-2so.r Use dynrelro for symbols in relro sections too 2016-12-28 22:10:38 +10:30
pr20995.r dynrelro section for read-only dynamic symbols copied into executable 2016-12-26 13:47:51 +10:30
pr20995a.s dynrelro section for read-only dynamic symbols copied into executable 2016-12-26 13:47:51 +10:30
pr20995b.s dynrelro section for read-only dynamic symbols copied into executable 2016-12-26 13:47:51 +10:30
pr20995c.s Use dynrelro for symbols in relro sections too 2016-12-28 22:10:38 +10:30
preinit.c
preinit.out
provide-hidden-1.ld Fix the linker so that it will not silently generate ELF binaries with invalid program headers. Fix readelf to report such invalid binaries. 2016-11-23 11:10:39 +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 Delay converting linker script defined symbols from absolute 2015-09-18 12:39:16 +09:30
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 Fix the linker so that it will not silently generate ELF binaries with invalid program headers. Fix readelf to report such invalid binaries. 2016-11-23 11:10:39 +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 Update year range in copyright notice of all files. 2017-01-02 14:08:56 +10:30
rdynamic-1.c Add rdynamic-1 test 2014-01-29 14:30:41 -08:00
rdynamic-1.rd Add rdynamic-1 test 2014-01-29 14:30:41 -08:00
readelf.exp readelf: Fix incorrect "Version definition past end of section" message 2017-02-24 13:48:10 +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 bfd/ 2007-09-18 00:25:07 +00:00
relro2.s bfd/ 2007-09-18 00:25:07 +00:00
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 * 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 Run more ld tests when not native 2017-01-02 23:48:08 +10:30
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
sec64k.exp Update year range in copyright notice of all files. 2017-01-02 14:08:56 +10:30
seg.d Improve binutils testsuite coverage for GNU/Hurd. 2010-11-08 06:43:40 +00:00
seg.s * ld-elf/seg.t: New. 2007-12-19 10:22:02 +00:00
seg.t * ld-elf/seg.t: New. 2007-12-19 10:22:02 +00:00
shared.exp PR ld/20828: Move symbol version processing ahead of GC symbol sweep 2017-02-22 18:16:28 +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
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
strtab.d Run ld-elf/strtab only on linux/gnu targets 2015-06-25 10:14:13 -07:00
strtab.s Use strtab with GC and suffix merging for .strtab 2015-06-25 08:16:14 -07:00
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 2006-11-07 Vladimir Prus <vladimir@codesourcery.com> 2006-11-08 10:21:12 +00:00
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
symbolic-func.r Enhance objdump so that it will use .got, .plt and .plt.got section symbols when disassembling, and it will use dynamic relocs to interpret entries in the PLT and GOT. 2016-10-11 13:50:10 +01:00
symbolic-func.s Fix broken -Bsymbolic-functions 2015-07-25 20:41:04 +09:30
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 Run more ld tests when not native 2017-01-02 23:48:08 +10:30
tls_common.s
tls_gc.s oops - omitted from previous delta 2007-11-20 16:58:47 +00:00
unknown.d
unknown2.d Improve binutils testsuite coverage for GNU/Hurd. 2010-11-08 06:43:40 +00:00
unknown2.s
var1.d Fix more linker testsuite failures. 2016-06-28 15:55:22 +01: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
ver_def-tic6x.vd readelf: Fix incorrect "Version definition past end of section" message 2017-02-24 13:48:10 +00:00
ver_def.ld readelf: Fix incorrect "Version definition past end of section" message 2017-02-24 13:48:10 +00:00
ver_def.s readelf: Fix incorrect "Version definition past end of section" message 2017-02-24 13:48:10 +00:00
ver_def.vd readelf: Fix incorrect "Version definition past end of section" message 2017-02-24 13:48:10 +00:00
ver_def.ver readelf: Fix incorrect "Version definition past end of section" message 2017-02-24 13:48:10 +00:00
warn.out bfd/ 2007-02-14 14:15:52 +00:00
warn1.d [ARC] Fix ld testsuite failures. 2016-04-05 13:46:44 +02:00
warn2.d Fix lots of linker testsuite failures for the FT32 target. 2016-05-18 10:11:47 +01:00
warn3.d [ARC] Fix ld testsuite failures. 2016-04-05 13:46:44 +02:00
weak-dyn-1.ld Fix the linker so that it will not silently generate ELF binaries with invalid program headers. Fix readelf to report such invalid binaries. 2016-11-23 11:10:39 +00:00
weak-dyn-1.rd ld/ 2007-07-29 12:33:38 +00:00
weak-dyn-1a.s Remove unnecessary symbols from last commit. 2007-07-23 10:04:01 +00:00
weak-dyn-1b.s Remove unnecessary symbols from last commit. 2007-07-23 10:04:01 +00:00
weakdef1.c Add a test for weak alias 2012-07-02 14:40:19 +00:00
wrap.exp Check for shared lib support before running ld tests with -shared 2017-01-04 09:39:12 +10:30
wrap1.c bfd/ 2006-12-29 17:56:32 +00:00
wrap1.out bfd/ 2006-12-29 17:56:32 +00:00
wrap1a.c bfd/ 2006-12-29 17:56:32 +00:00
wrap1b.c bfd/ 2006-12-29 17:56:32 +00:00
zlibbegin.rS Replace -g with -ggdb3 in ld compress tests 2015-07-24 04:16:56 -07:00
zlibnormal.rS Replace -g with -ggdb3 in ld compress tests 2015-07-24 04:16:56 -07:00