binutils-gdb/ld/testsuite/ld-scripts
Andrew Burgess eab62f2f01 ld: Fix issue where PROVIDE overrides defined symbol
In a linker script, a sequence like this:

  foo = ADDR (.some_section);
  bar = foo;
  PROVIDE (foo = 0);

will result in 'bar = ADDR (.some_section)' and 'foo = 0', which seems
like incorrect behaviour, foo is clearly defined elsewhere, and so the
PROVIDE should not trigger.

The problem is that an expression like this:

    foo = ADDR (.some_section);

can't be evaluated until a late phase of the linker, due to the need
for the section '.some_section' to have been placed, then the PROVIDE
was being marked as being used during an earlier phase.  At the end of
the link, both lines:

    foo = ADDR (.some_section);
    PROVIDE (foo = 0);

are active, and this causes the final value of 'foo' to be 0.

The solution proposed in this commit is that, during earlier phases of
the linker, when we see the expression 'foo = ADDR (.some_section);',
instead of ignoring the expression, we create a "fake" definition of
'foo'.  The existence of this "fake" definition prevents the PROVIDE
from being marked used, and during the final phase the real definition
of 'foo' will replace the "fake" definition.

The new test provide-6 covers the exact case described above.  The
provide-7 test is similar to the above, but using constant
expressions, this was never broken, but is added here to increase
coverage.

The provide-8 case also didn't fail before this commit, but I did
manage to break this case during development of this patch.  This case
was only covered by a mmix test before, so I've added this here to
increase coverage.

ld/ChangeLog:

	* ldexp.c (exp_fold_tree_1): Rework condition underwhich provide
	nodes are ignored in the tree walk, and move the location at which
	we change provide nodes into provided nodes.
	(exp_init_os): Add etree_provided.
	* testsuite/ld-scripts/provide-6.d: New file.
	* testsuite/ld-scripts/provide-6.t: New file.
	* testsuite/ld-scripts/provide-7.d: New file.
	* testsuite/ld-scripts/provide-7.t: New file.
	* testsuite/ld-scripts/provide-8.d: New file.
	* testsuite/ld-scripts/provide-8.t: New file.
2018-01-11 17:35:35 +00:00
..
align2.t * ld-elf/warn1.d: Specify -Ttext. 2005-02-21 08:18:49 +00:00
align2a.d Add x86_64-mingw64 target 2006-09-20 11:35:11 +00:00
align2a.s * ldexp.c (assigning_to_dot): New global flag. 2005-02-17 20:57:01 +00:00
align2b.d * ld-elf/warn1.d: Specify -Ttext. 2005-02-21 08:18:49 +00:00
align2b.s * ldexp.c (assigning_to_dot): New global flag. 2005-02-17 20:57:01 +00:00
align2c.d * ldexp.c (assigning_to_dot): New global flag. 2005-02-17 20:57:01 +00:00
align2c.s * ldexp.c (assigning_to_dot): New global flag. 2005-02-17 20:57:01 +00:00
align3.d Make some improvements to how SORT_* specifiers and EXCLUDE_FILE specifiers are handled in the linker script grammar. 2017-07-28 13:01:10 +01:00
align3.t Make some improvements to how SORT_* specifiers and EXCLUDE_FILE specifiers are handled in the linker script grammar. 2017-07-28 13:01:10 +01:00
align4.d Make some improvements to how SORT_* specifiers and EXCLUDE_FILE specifiers are handled in the linker script grammar. 2017-07-28 13:01:10 +01:00
align4.t Make some improvements to how SORT_* specifiers and EXCLUDE_FILE specifiers are handled in the linker script grammar. 2017-07-28 13:01:10 +01:00
align5.d Make some improvements to how SORT_* specifiers and EXCLUDE_FILE specifiers are handled in the linker script grammar. 2017-07-28 13:01:10 +01:00
align5.t Make some improvements to how SORT_* specifiers and EXCLUDE_FILE specifiers are handled in the linker script grammar. 2017-07-28 13:01:10 +01:00
align-with-input.d oops - omitted from previous delta 2013-07-23 07:40:46 +00:00
align-with-input.t * ldgram.y: Add ALIGN_WITH_INPUT output section attribute. 2013-07-19 10:39:51 +00:00
align.exp Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
align.s * ldgram.y (exp): Add two operand ALIGN. 2004-02-20 15:31:10 +00:00
align.t Fix linker testsuite failures for arm-pe targets. 2016-01-20 15:41:06 +00:00
alignof.exp Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
alignof.s * ldlex.l, ldgram.y: Add ALIGNOF. 2007-06-18 12:38:22 +00:00
alignof.t * ldlex.l, ldgram.y: Add ALIGNOF. 2007-06-18 12:38:22 +00:00
assert2.d Remove the extra `.'. 2011-01-10 15:03:15 +00:00
assert2.t Add a test for linker ASSERT. 2011-01-10 14:37:40 +00:00
assert.exp Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
assert.s gas/ 2004-04-15 01:49:22 +00:00
assert.t * ld-scripts/assert.t: Tweak to avoid relying on empty's VMA being 2007-07-13 09:09:25 +00:00
assign-loc.d rs6000 testsuite update 2017-07-12 19:31:26 +09:30
assign-loc.t * ld-scripts/assign-loc.d: New file. Test for assigning absolute 2012-09-19 02:51:09 +00:00
cross1.c
cross1.t Support different ld --hash-style in the ld testsuite 2017-08-07 22:10:51 +09:30
cross2.c
cross2.t Hack crossref tests for powerpc64 2016-05-19 14:07:06 +09:30
cross3.c
cross3.t Hack crossref tests for powerpc64 2016-05-19 14:07:06 +09:30
cross4.c 2005-10-04 H.J. Lu <hongjiu.lu@intel.com> 2005-10-04 19:54:08 +00:00
cross4.t Hack crossref tests for powerpc64 2016-05-19 14:07:06 +09:30
cross5.t Hack crossref tests for powerpc64 2016-05-19 14:07:06 +09:30
cross6.t Hack crossref tests for powerpc64 2016-05-19 14:07:06 +09:30
cross7.t Hack crossref tests for powerpc64 2016-05-19 14:07:06 +09:30
crossref.exp Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
data.d * ld-scripts/align.exp: Don't run on aix. 2004-04-08 00:51:37 +00:00
data.exp Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
data.s gas/ 2004-04-15 01:49:22 +00:00
data.t * ld-scripts/align.exp: Don't run on aix. 2004-04-08 00:51:37 +00:00
default-script1.d * ld-scripts/default-script.s (text): Globalize. 2009-07-29 06:47:48 +00:00
default-script2.d PR ld/12001 2010-12-20 06:27:11 +00:00
default-script3.d * ld-scripts/default-script.s (text): Globalize. 2009-07-29 06:47:48 +00:00
default-script4.d * ld-scripts/default-script.s (text): Globalize. 2009-07-29 06:47:48 +00:00
default-script.exp Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
default-script.s * ld-scripts/default-script.s (text): Globalize. 2009-07-29 06:47:48 +00:00
default-script.t ld/ 2007-01-19 14:51:27 +00:00
defined2.d rs6000 testsuite update 2017-07-12 19:31:26 +09:30
defined2.t * ld-scripts/defined2.d, ld-scripts/defined2.t: New test. 2003-10-08 12:35:18 +00:00
defined3.d rs6000 testsuite update 2017-07-12 19:31:26 +09:30
defined3.t * ld-scripts/defined3.d, ld-scripts/defined3.t: New test. 2003-10-11 09:18:58 +00:00
defined4.d rs6000 testsuite update 2017-07-12 19:31:26 +09:30
defined4.s Add testcases for PR ld/12327. 2010-12-28 18:04:10 +00:00
defined4.t Add testcases for PR ld/12327. 2010-12-28 18:04:10 +00:00
defined5.d rs6000 testsuite update 2017-07-12 19:31:26 +09:30
defined5.s * ld-scripts/defined.exp: Don't run defined5 for AOUT. 2011-02-10 08:04:22 +00:00
defined5.t * ld-scripts/defined.exp: Don't run defined5 for AOUT. 2011-02-10 08:04:22 +00:00
defined6.d Yet another DEFINED testcase 2014-12-24 11:56:51 +10:30
defined6.s Yet another DEFINED testcase 2014-12-24 11:56:51 +10:30
defined6.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
defined.exp Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
defined.s Missed from my 2009-04-16 commit 2009-05-21 06:13:28 +00:00
defined.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
dynamic-sections-1.s * ld-scripts/dynamic-sections*: New test. 2002-07-09 08:47:24 +00:00
dynamic-sections-2.s * ld-scripts/dynamic-sections*: New test. 2002-07-09 08:47:24 +00:00
dynamic-sections.d * ld-scripts/dynamic-sections*: New test. 2002-07-09 08:47:24 +00:00
dynamic-sections.exp Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
dynamic-sections.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
empty-address-1.d ld/ 2012-06-15 15:13:41 +00:00
empty-address-1.s bfd/ 2006-09-27 04:18:16 +00:00
empty-address-1.t bfd/ 2006-09-27 04:18:16 +00:00
empty-address-2.s bfd/ 2006-09-27 04:18:16 +00:00
empty-address-2a.d ld/ 2012-06-15 15:13:41 +00:00
empty-address-2a.t bfd/ 2006-09-27 04:18:16 +00:00
empty-address-2b.d ld/ 2012-06-15 15:13:41 +00:00
empty-address-2b.t bfd/ 2006-09-27 04:18:16 +00:00
empty-address-3.s bfd/ 2006-09-27 04:18:16 +00:00
empty-address-3a.d ld/ 2012-06-15 15:13:41 +00:00
empty-address-3a.t bfd/ 2006-09-27 04:18:16 +00:00
empty-address-3b.d ld/ 2012-06-15 15:13:41 +00:00
empty-address-3b.t bfd/ 2006-09-27 04:18:16 +00:00
empty-address-3c.d ld/ 2012-06-15 15:13:41 +00:00
empty-address-3c.t bfd/ 2006-09-27 04:18:16 +00:00
empty-address.exp Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
empty-aligned.d Make assignments to dot keep an empty output section. 2014-01-22 11:58:29 +10:30
empty-aligned.exp Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
empty-aligned.s * ld-elf/empty.s: Define "start". 2005-08-15 14:08:58 +00:00
empty-aligned.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
empty-orphan.d * ld-scripts/empty-orphan.d: Update again. 2006-05-19 11:50:31 +00:00
empty-orphan.exp Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
empty-orphan.s ld/ChangeLog: 2005-03-17 16:20:39 +00:00
empty-orphan.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
exclude-file-1.d ld: Allow EXCLUDE_FILE to be used outside of the section list 2016-11-04 12:04:11 +00:00
exclude-file-1.map ld: Allow EXCLUDE_FILE to be used outside of the section list 2016-11-04 12:04:11 +00:00
exclude-file-1.t ld: Allow EXCLUDE_FILE to be used outside of the section list 2016-11-04 12:04:11 +00:00
exclude-file-2.d ld: Allow EXCLUDE_FILE to be used outside of the section list 2016-11-04 12:04:11 +00:00
exclude-file-2.map ld: Allow EXCLUDE_FILE to be used outside of the section list 2016-11-04 12:04:11 +00:00
exclude-file-2.t ld: Allow EXCLUDE_FILE to be used outside of the section list 2016-11-04 12:04:11 +00:00
exclude-file-3.d ld: Allow EXCLUDE_FILE to be used outside of the section list 2016-11-04 12:04:11 +00:00
exclude-file-3.map ld: Allow EXCLUDE_FILE to be used outside of the section list 2016-11-04 12:04:11 +00:00
exclude-file-3.t ld: Allow EXCLUDE_FILE to be used outside of the section list 2016-11-04 12:04:11 +00:00
exclude-file-4.d ld: Allow EXCLUDE_FILE to be used outside of the section list 2016-11-04 12:04:11 +00:00
exclude-file-4.map ld: Allow EXCLUDE_FILE to be used outside of the section list 2016-11-04 12:04:11 +00:00
exclude-file-4.t ld: Allow EXCLUDE_FILE to be used outside of the section list 2016-11-04 12:04:11 +00:00
exclude-file-5.d Make some improvements to how SORT_* specifiers and EXCLUDE_FILE specifiers are handled in the linker script grammar. 2017-07-28 13:01:10 +01:00
exclude-file-5.map Make some improvements to how SORT_* specifiers and EXCLUDE_FILE specifiers are handled in the linker script grammar. 2017-07-28 13:01:10 +01:00
exclude-file-5.t Make some improvements to how SORT_* specifiers and EXCLUDE_FILE specifiers are handled in the linker script grammar. 2017-07-28 13:01:10 +01:00
exclude-file-6.d Make some improvements to how SORT_* specifiers and EXCLUDE_FILE specifiers are handled in the linker script grammar. 2017-07-28 13:01:10 +01:00
exclude-file-6.map Make some improvements to how SORT_* specifiers and EXCLUDE_FILE specifiers are handled in the linker script grammar. 2017-07-28 13:01:10 +01:00
exclude-file-6.t Make some improvements to how SORT_* specifiers and EXCLUDE_FILE specifiers are handled in the linker script grammar. 2017-07-28 13:01:10 +01:00
exclude-file-7.d Make some improvements to how SORT_* specifiers and EXCLUDE_FILE specifiers are handled in the linker script grammar. 2017-07-28 13:01:10 +01:00
exclude-file-7.map Make some improvements to how SORT_* specifiers and EXCLUDE_FILE specifiers are handled in the linker script grammar. 2017-07-28 13:01:10 +01:00
exclude-file-7.t Make some improvements to how SORT_* specifiers and EXCLUDE_FILE specifiers are handled in the linker script grammar. 2017-07-28 13:01:10 +01:00
exclude-file-a.s ld: Allow EXCLUDE_FILE to be used outside of the section list 2016-11-04 12:04:11 +00:00
exclude-file-b.s ld: Allow EXCLUDE_FILE to be used outside of the section list 2016-11-04 12:04:11 +00:00
exclude-file.exp Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
expr1.d ld/ 2007-01-06 22:03:46 +00:00
expr1.s ld/ 2007-01-06 22:03:46 +00:00
expr1.t ld/ 2007-01-06 22:03:46 +00:00
expr2.d rs6000 testsuite update 2017-07-12 19:31:26 +09:30
expr2.s Add testcases for PR ld/12327. 2010-12-28 18:04:10 +00:00
expr2.t Add testcases for PR ld/12327. 2010-12-28 18:04:10 +00:00
expr.exp Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
extern.exp Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
extern.s * ldlex.l: ASSERT is recognized in SCRIPT env. NAMES cannot 2007-05-24 09:24:09 +00:00
extern.t * ldlex.l: ASSERT is recognized in SCRIPT env. NAMES cannot 2007-05-24 09:24:09 +00:00
fill16_0.s LD/testsuite: Add 2**4 section alignment FILL script statement test 2017-07-19 13:11:59 +01:00
fill16_1.s LD/testsuite: Add 2**4 section alignment FILL script statement test 2017-07-19 13:11:59 +01:00
fill16_2.s LD/testsuite: Add 2**4 section alignment FILL script statement test 2017-07-19 13:11:59 +01:00
fill16.d LD/testsuite: Add 2**4 section alignment FILL script statement test 2017-07-19 13:11:59 +01:00
fill_0.s Pad sections according to current script FILL. 2014-04-04 19:06:35 +10:30
fill_1.s Pad sections according to current script FILL. 2014-04-04 19:06:35 +10:30
fill_2.s Pad sections according to current script FILL. 2014-04-04 19:06:35 +10:30
fill.d LD/testsuite: Add 2**4 section alignment FILL script statement test 2017-07-19 13:11:59 +01:00
fill.t Pad sections according to current script FILL. 2014-04-04 19:06:35 +10:30
include-1.d * ld-scripts/include.exp: Don't run test for aout. 2008-07-26 01:23:37 +00:00
include-1.t * ld.texinfo (File Commands): Document that INCLUDE can be used in 2008-07-06 13:38:37 +00:00
include-data.t * ld.texinfo (File Commands): Document that INCLUDE can be used in 2008-07-06 13:38:37 +00:00
include-mem.t * ld.texinfo (File Commands): Document that INCLUDE can be used in 2008-07-06 13:38:37 +00:00
include-ram.t * ld.texinfo (File Commands): Document that INCLUDE can be used in 2008-07-06 13:38:37 +00:00
include-sections.t * ld-scripts/include-sections.t: Discard all sections not 2008-07-21 08:38:35 +00:00
include-subdata.t * ld.texinfo (File Commands): Document that INCLUDE can be used in 2008-07-06 13:38:37 +00:00
include.exp Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
include.s * ld-scripts/include.exp: Don't run test for aout. 2008-07-26 01:23:37 +00:00
log2.exp Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
log2.s * ldexp.c: Add LOG2CEIL() builtin function to linker script language 2013-08-15 07:30:15 +00:00
log2.t * ldexp.c: Add LOG2CEIL() builtin function to linker script language 2013-08-15 07:30:15 +00:00
map-address.d * ldlang.c (lang_map): Increment lang_statement_iteration so that DEFINED() expressions are correctly computed. 2007-08-31 14:46:55 +00:00
map-address.exp Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
map-address.t * ldlang.c (lang_map): Increment lang_statement_iteration so that DEFINED() expressions are correctly computed. 2007-08-31 14:46:55 +00:00
memory_sym.t Allow symbols in MEMORY region specification 2015-01-28 15:06:48 +10:30
memory.t Allow symbols in MEMORY region specification 2015-01-28 15:06:48 +10:30
overlay-size-map.d * ldlang.c (print_output_section_statement): If the output section 2008-06-12 11:27:38 +00:00
overlay-size.d Fix RX and M68HC11 linker testsuite failures. 2016-06-28 12:43:14 +01:00
overlay-size.exp Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
overlay-size.s * lib/ld-lib.exp (run_dump_test): Add -L$srcdir/$subdir. 2002-05-07 11:08:57 +00:00
overlay-size.t [MIPS] Implement O32 FPXX, FP64 and FP64A ABI extensions 2014-07-29 11:27:59 +01:00
phdrs2.exp Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
phdrs2.s Fix phdrs2 test 2002-06-07 10:30:56 +00:00
phdrs2.t Fix phdrs2 test 2002-06-07 10:30:56 +00:00
phdrs3.d * ld-scripts/phdrs3.d: Allow colon in name of linker binary. 2009-10-14 23:12:16 +00:00
phdrs3.exp Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
phdrs3.t ld/ 2009-10-07 07:25:36 +00:00
phdrs3a.d Update linker tests after partial reversion of PR 20815 patch. 2016-11-28 17:51:57 +00:00
phdrs3a.t 2009-10-07 H.J. Lu <hongjiu.lu@intel.com> 2009-10-08 02:38:26 +00:00
phdrs.exp Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
phdrs.s
phdrs.t
pr14962-2.d Don't fudge p_vaddr when PHDR in segment 2016-12-13 09:37:37 +10:30
pr14962-2.t Correct script input section pattern 2016-05-09 17:07:33 +09:30
pr14962.d Don't fudge p_vaddr when PHDR in segment 2016-12-13 09:37:37 +10:30
pr14962.t PR ld/14962 2012-12-18 13:38:10 +00:00
pr14962a.s PR ld/14962 2012-12-18 13:38:10 +00:00
pr14962b.s PR ld/14962 2012-12-18 13:38:10 +00:00
pr18963.d Delay converting linker script defined symbols from absolute 2015-09-18 12:39:16 +09:30
pr18963.t Delay converting linker script defined symbols from absolute 2015-09-18 12:39:16 +09:30
pr20302.d Don't run ld-scripts/pr20302 on linuxaout 2016-06-28 19:09:11 +09:30
pr22267.d ld: Don't allow '~' as the first char in symbol name 2017-10-09 04:17:24 -07:00
pr22267.s ld: Don't allow '~' as the first char in symbol name 2017-10-09 04:17:24 -07:00
pr22267.t ld: Don't allow '~' as the first char in symbol name 2017-10-09 04:17:24 -07:00
print-memory-usage-1.l Fix failing print-memory-usage-1 on Windows 2017-02-01 11:55:19 +05:30
print-memory-usage-1.s Add new ld option: --print-memory-usage 2015-06-12 11:24:36 +02:00
print-memory-usage-1.t Add new ld option: --print-memory-usage 2015-06-12 11:24:36 +02:00
print-memory-usage-2.l Add new ld option: --print-memory-usage 2015-06-12 11:24:36 +02:00
print-memory-usage-2.t Add new ld option: --print-memory-usage 2015-06-12 11:24:36 +02:00
print-memory-usage-3.l Add new ld option: --print-memory-usage 2015-06-12 11:24:36 +02:00
print-memory-usage-3.s Add new ld option: --print-memory-usage 2015-06-12 11:24:36 +02:00
print-memory-usage-3.t Add new ld option: --print-memory-usage 2015-06-12 11:24:36 +02:00
print-memory-usage.exp Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
print-memory-usage.t Add new ld option: --print-memory-usage 2015-06-12 11:24:36 +02:00
provide-1.d * ld-scripts/align.exp: Don't run on aix. 2004-04-08 00:51:37 +00:00
provide-1.s * ld-scripts/align.exp: Don't run on aix. 2004-04-08 00:51:37 +00:00
provide-1.t * ld-scripts/align.exp: Don't run on aix. 2004-04-08 00:51:37 +00:00
provide-2.d * ld-crx/reloc-num8.d: Adjust for changed orphan placement. 2004-10-15 00:27:12 +00:00
provide-2.s * ld-scripts/align.exp: Don't run on aix. 2004-04-08 00:51:37 +00:00
provide-2.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
provide-3.d ld: Find and run some tests using a wildcard pattern 2018-01-11 17:35:34 +00:00
provide-3.s * ld-scripts/align.exp: Don't run on aix. 2004-04-08 00:51:37 +00:00
provide-3.t * ldlang.h (struct lang_output_section_state): Change processed 2004-02-23 10:10:02 +00:00
provide-4.d ld: Find and run some tests using a wildcard pattern 2018-01-11 17:35:34 +00:00
provide-4.map ld: Find and run some tests using a wildcard pattern 2018-01-11 17:35:34 +00:00
provide-4.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
provide-5.d ld: Find and run some tests using a wildcard pattern 2018-01-11 17:35:34 +00:00
provide-5.map ld: Find and run some tests using a wildcard pattern 2018-01-11 17:35:34 +00:00
provide-5.s ld: Don't evaluate unneeded PROVIDE expressions. 2015-01-20 09:49:27 +00:00
provide-5.t ld: Don't evaluate unneeded PROVIDE expressions. 2015-01-20 09:49:27 +00:00
provide-6.d ld: Fix issue where PROVIDE overrides defined symbol 2018-01-11 17:35:35 +00:00
provide-6.t ld: Fix issue where PROVIDE overrides defined symbol 2018-01-11 17:35:35 +00:00
provide-7.d ld: Fix issue where PROVIDE overrides defined symbol 2018-01-11 17:35:35 +00:00
provide-7.t ld: Fix issue where PROVIDE overrides defined symbol 2018-01-11 17:35:35 +00:00
provide-8.d ld: Fix issue where PROVIDE overrides defined symbol 2018-01-11 17:35:35 +00:00
provide-8.t ld: Fix issue where PROVIDE overrides defined symbol 2018-01-11 17:35:35 +00:00
provide.exp ld: Find and run some tests using a wildcard pattern 2018-01-11 17:35:34 +00:00
region-alias-1.d oops - omitted fromn previous delta 2013-07-22 13:04:57 +00:00
region-alias-1.t * ldgram.y: Add support for REGION_ALIAS operator. 2009-03-02 17:27:36 +00:00
region-alias-2.d oops - omitted fromn previous delta 2013-07-22 13:04:57 +00:00
region-alias-2.t * ldgram.y: Add support for REGION_ALIAS operator. 2009-03-02 17:27:36 +00:00
region-alias-3.d oops - omitted fromn previous delta 2013-07-22 13:04:57 +00:00
region-alias-3.t * ldgram.y: Add support for REGION_ALIAS operator. 2009-03-02 17:27:36 +00:00
region-alias-4.d oops - omitted fromn previous delta 2013-07-22 13:04:57 +00:00
region-alias-4.t * ldgram.y: Add support for REGION_ALIAS operator. 2009-03-02 17:27:36 +00:00
rgn-at1.d * ld-elf/extract-symbol-1sec.d: Expect to fail for the RX target. 2009-11-18 16:37:56 +00:00
rgn-at1.t * ldlang.c (lang_leave_output_section_statement): Set lma_region 2009-04-03 07:45:28 +00:00
rgn-at2.d Fix RX and M68HC11 linker testsuite failures. 2016-06-28 12:43:14 +01:00
rgn-at2.t * ldlang.c (lang_leave_output_section_statement): Set lma_region 2009-04-03 07:45:28 +00:00
rgn-at3.d bfd/ 2013-08-26 19:27:25 +00:00
rgn-at3.t * ldlang.c (lang_leave_output_section_statement): Set lma_region 2009-04-03 07:45:28 +00:00
rgn-at4.d * ld-elf/extract-symbol-1sec.d: Expect to fail for the RX target. 2009-11-18 16:37:56 +00:00
rgn-at4.t * ldlang.c (lang_check_section_addresses): Ignore non-loadable 2009-05-22 11:27:44 +00:00
rgn-at5.d hppa -z relro again 2017-02-16 23:09:38 +10:30
rgn-at5.s * ld-elf/group3b.d: Disable for generic linker targets. 2010-09-16 00:28:57 +00:00
rgn-at5.t Correct script input section pattern 2016-05-09 17:07:33 +09:30
rgn-at6.d Fix RX and M68HC11 linker testsuite failures. 2016-06-28 12:43:14 +01:00
rgn-at6.s PR ld/15222 2013-03-05 02:55:27 +00:00
rgn-at6.t PR ld/15222 2013-03-05 02:55:27 +00:00
rgn-at7.d Fix RX and M68HC11 linker testsuite failures. 2016-06-28 12:43:14 +01:00
rgn-at7.t PR ld/15222 2013-03-05 02:55:27 +00:00
rgn-at8.d Fix RX and M68HC11 linker testsuite failures. 2016-06-28 12:43:14 +01:00
rgn-at8.t oops - omitted from previous delta 2013-07-19 13:21:55 +00:00
rgn-at9.d Fix ALIGN_WITH_INPUT 2014-02-02 06:39:39 -08:00
rgn-at9.t Fix ALIGN_WITH_INPUT 2014-02-02 06:39:39 -08:00
rgn-at10.d Testsuite fixes for hppa64-hpux 2017-02-25 19:13:34 +10:30
rgn-at10.s Fix ALIGN_WITH_INPUT 2014-02-02 06:39:39 -08:00
rgn-at10.t Fix ALIGN_WITH_INPUT 2014-02-02 06:39:39 -08:00
rgn-at11.d Testsuite fixes for hppa64-hpux 2017-02-25 19:13:34 +10:30
rgn-at11.s Re-enable rgn-at11 test for MIPS targets with adjusted section alignment. 2016-01-18 13:00:33 +00:00
rgn-at11.t Fix ALIGN_WITH_INPUT 2014-02-02 06:39:39 -08:00
rgn-at.exp Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
rgn-at.s * ld-scripts/rgn-at.s: Use explicit .section pseudos. 2009-04-03 10:15:21 +00:00
rgn-over1.d * ldgram.y: Add support for REGION_ALIAS operator. 2009-03-02 17:27:36 +00:00
rgn-over1.t 2007-10-17 Zack Weinberg <zack@codesourcery.com> 2007-10-17 19:26:10 +00:00
rgn-over2.d * ldgram.y: Add support for REGION_ALIAS operator. 2009-03-02 17:27:36 +00:00
rgn-over2.t 2007-10-17 Zack Weinberg <zack@codesourcery.com> 2007-10-17 19:26:10 +00:00
rgn-over3.d * ldgram.y: Add support for REGION_ALIAS operator. 2009-03-02 17:27:36 +00:00
rgn-over3.t 2007-10-17 Zack Weinberg <zack@codesourcery.com> 2007-10-17 19:26:10 +00:00
rgn-over4.d * ldgram.y: Add support for REGION_ALIAS operator. 2009-03-02 17:27:36 +00:00
rgn-over4.t 2007-10-17 Zack Weinberg <zack@codesourcery.com> 2007-10-17 19:26:10 +00:00
rgn-over5.d * ldgram.y: Add support for REGION_ALIAS operator. 2009-03-02 17:27:36 +00:00
rgn-over5.t 2007-10-17 Zack Weinberg <zack@codesourcery.com> 2007-10-17 19:26:10 +00:00
rgn-over6.d * ldgram.y: Add support for REGION_ALIAS operator. 2009-03-02 17:27:36 +00:00
rgn-over6.t 2007-10-17 Zack Weinberg <zack@codesourcery.com> 2007-10-17 19:26:10 +00:00
rgn-over7.d PR18452, ld allows overlapping sections 2016-03-30 17:50:03 +10:30
rgn-over7.t 2007-10-17 Zack Weinberg <zack@codesourcery.com> 2007-10-17 19:26:10 +00:00
rgn-over8-ok.d bfd/ 2013-08-26 19:27:25 +00:00
rgn-over8.s * ld-scripts/rgn-over8.s: Tweak. 2008-04-28 14:08:15 +00:00
rgn-over8.t ld/ 2008-04-28 12:45:34 +00:00
rgn-over.exp Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
rgn-over.s 2007-10-17 Zack Weinberg <zack@codesourcery.com> 2007-10-17 19:26:10 +00:00
sane1.d rs6000 testsuite update 2017-07-12 19:31:26 +09:30
sane1.t * ld-scripts/sane1.d, * ld-scripts/sane1.t: New test. 2011-01-23 03:29:30 +00:00
script.exp Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
script.s
script.t
scriptm.t
section-flags-1.s include/ChangeLog 2011-07-11 15:03:09 +00:00
section-flags-1.t include/ChangeLog 2011-07-11 15:03:09 +00:00
section-flags-2.s include/ChangeLog 2011-07-11 15:03:09 +00:00
section-flags-2.t include/ChangeLog 2011-07-11 15:03:09 +00:00
section-flags.exp Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
section-match-1.d Fix spelling in comments in Assembler files (ld) 2016-11-27 15:07:26 +10:30
section-match-1.s * ld-scripts/section-match.exp: New file. Runs ths 2010-09-01 08:05:16 +00:00
section-match-1.t Correct script input section pattern 2016-05-09 17:07:33 +09:30
section-match.exp Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
size-1.d * ld-scripts/align.exp: Don't run on aix. 2004-04-08 00:51:37 +00:00
size-1.s * ld-scripts/align.exp: Don't run on aix. 2004-04-08 00:51:37 +00:00
size-1.t * ld-scripts/align.exp: Don't run on aix. 2004-04-08 00:51:37 +00:00
size-2.d Testsuite fixes for hppa64-hpux 2017-02-25 19:13:34 +10:30
size-2.s * ld-scripts/align.exp: Don't run on aix. 2004-04-08 00:51:37 +00:00
size-2.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
size.exp Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
sizeof.exp Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
sizeof.s
sizeof.t
sort_b_a_a-1.d * ld-elf/sec64k.exp: For frv-linux use "aw" sections. 2009-09-09 12:13:42 +00:00
sort_b_a_a-2.d * ld-elf/sec64k.exp: For frv-linux use "aw" sections. 2009-09-09 12:13:42 +00:00
sort_b_a_a-3.d * ld-elf/sec64k.exp: For frv-linux use "aw" sections. 2009-09-09 12:13:42 +00:00
sort_b_a_a.t ld/ 2004-10-04 16:45:51 +00:00
sort_b_a_n-1.d * ld-elf/sec64k.exp: For frv-linux use "aw" sections. 2009-09-09 12:13:42 +00:00
sort_b_a_n-2.d * ld-elf/sec64k.exp: For frv-linux use "aw" sections. 2009-09-09 12:13:42 +00:00
sort_b_a_n-3.d * ld-elf/sec64k.exp: For frv-linux use "aw" sections. 2009-09-09 12:13:42 +00:00
sort_b_a_n.t ld/ 2004-10-04 16:45:51 +00:00
sort_b_a-1.d * ld-elf/sec64k.exp: For frv-linux use "aw" sections. 2009-09-09 12:13:42 +00:00
sort_b_a-1.s ld/ 2006-08-08 15:07:16 +00:00
sort_b_a.d * ld-elf/sec64k.exp: For frv-linux use "aw" sections. 2009-09-09 12:13:42 +00:00
sort_b_a.s ld/ 2004-10-04 16:45:51 +00:00
sort_b_a.t ld/ 2004-10-04 16:45:51 +00:00
sort_b_n_a-1.d * ld-elf/sec64k.exp: For frv-linux use "aw" sections. 2009-09-09 12:13:42 +00:00
sort_b_n_a-2.d * ld-elf/sec64k.exp: For frv-linux use "aw" sections. 2009-09-09 12:13:42 +00:00
sort_b_n_a-3.d * ld-elf/sec64k.exp: For frv-linux use "aw" sections. 2009-09-09 12:13:42 +00:00
sort_b_n_a.t ld/ 2004-10-04 16:45:51 +00:00
sort_b_n_n-1.d * ld-elf/sec64k.exp: For frv-linux use "aw" sections. 2009-09-09 12:13:42 +00:00
sort_b_n_n-2.d * ld-elf/sec64k.exp: For frv-linux use "aw" sections. 2009-09-09 12:13:42 +00:00
sort_b_n_n-3.d * ld-elf/sec64k.exp: For frv-linux use "aw" sections. 2009-09-09 12:13:42 +00:00
sort_b_n_n.t ld/ 2004-10-04 16:45:51 +00:00
sort_b_n-1.d * ld-elf/sec64k.exp: For frv-linux use "aw" sections. 2009-09-09 12:13:42 +00:00
sort_b_n-1.s ld/ 2006-08-08 15:07:16 +00:00
sort_b_n.d * ld-elf/sec64k.exp: For frv-linux use "aw" sections. 2009-09-09 12:13:42 +00:00
sort_b_n.s ld/ 2004-10-04 16:45:51 +00:00
sort_b_n.t ld/ 2004-10-04 16:45:51 +00:00
sort_n_a-a.s ld/ 2004-10-04 16:45:51 +00:00
sort_n_a-b.s ld/ 2004-10-04 16:45:51 +00:00
sort_no-1.d * ld-elf/sec64k.exp: For frv-linux use "aw" sections. 2009-09-09 12:13:42 +00:00
sort_no-2.d * ld-elf/sec64k.exp: For frv-linux use "aw" sections. 2009-09-09 12:13:42 +00:00
sort_no.t ld/ 2004-10-04 16:45:51 +00:00
sort.exp Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
sort.t ld/ 2006-08-08 15:07:16 +00:00
sysroot-prefix-x.s Add sysroot-prefix ld linker tests. 2014-10-15 02:59:41 +02:00
sysroot-prefix-y.s Add sysroot-prefix ld linker tests. 2014-10-15 02:59:41 +02:00
sysroot-prefix.exp Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
weak1.s gas/testsuite/ 2005-03-22 14:20:38 +00:00
weak2.s gas/testsuite/ 2005-03-22 14:20:38 +00:00
weak.exp Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
weak.t