binutils-gdb/ld/testsuite/ld-scripts
Alan Modra de34d42812 PR27100, final link failed: bad value
The failure on this PR is due to using the same bfd section for
multiple output sections.  Commit 21401fc7bf managed to create
duplicate linker script output section statements, but not the actual
bfd sections.

	PR 27100
	* ldlang.h (lang_output_section_statement_type): Add dup_output.
	* ldlang.c (lang_output_section_statement_lookup): Set dup_output.
	(init_os): Test dup_output rather than constraint.
	* testsuite/ld-scripts/pr27100.d,
	* testsuite/ld-scripts/pr27100.s,
	* testsuite/ld-scripts/pr27100.t: New test.
	* testsuite/ld-scripts/data.exp: Run it.  Don't exclude aout here.
	* testsuite/ld-scripts/data.d: Do so here instead.
	* testsuite/ld-scripts/fill.d: Likewise.
	* testsuite/ld-scripts/fill16.d: Likewise.
2020-12-24 22:58:03 +10:30
..
align2.t XCOFF ld testsuite fixes 2020-07-07 18:26:34 +09:30
align2a.d
align2a.s
align2b.d
align2b.s
align2c.d
align2c.s
align3.d
align3.t
align4.d
align4.t
align5.d
align5.t XCOFF ld testsuite fixes 2020-07-07 18:26:34 +09:30
align-with-input.d
align-with-input.t
align.exp XCOFF ld testsuite fixes 2020-07-07 18:26:34 +09:30
align.s
align.t XCOFF ld testsuite fixes 2020-07-07 18:26:34 +09:30
alignof.exp Remove perror from ld_assemble, ld_compile and ld_nm 2020-06-20 15:53:37 +09:30
alignof.s
alignof.t
assert2.d
assert2.t
assert.exp Provide dummy libraries for alpha-vms 2020-10-19 16:28:43 +10:30
assert.s
assert.t
assign-loc.d XCOFF ld testsuite fixes 2020-07-07 18:26:34 +09:30
assign-loc.t XCOFF ld testsuite fixes 2020-07-07 18:26:34 +09:30
cross1.c
cross1.t
cross2.c
cross2.t
cross3.c
cross3.t
cross4.c
cross4.t
cross5.t
cross6.t
cross7.t
crossref.exp ld: Pass -fno-lto to non LTO tests 2020-10-22 06:04:36 -07:00
data.d PR27100, final link failed: bad value 2020-12-24 22:58:03 +10:30
data.exp PR27100, final link failed: bad value 2020-12-24 22:58:03 +10:30
data.s
data.t
default-script1.d x86_64-cygwin tests 2020-07-13 22:03:59 +09:30
default-script2.d x86_64-cygwin tests 2020-07-13 22:03:59 +09:30
default-script3.d x86_64-cygwin tests 2020-07-13 22:03:59 +09:30
default-script4.d x86_64-cygwin tests 2020-07-13 22:03:59 +09:30
default-script.exp XCOFF ld testsuite fixes 2020-07-07 18:26:34 +09:30
default-script.s
default-script.t XCOFF ld testsuite fixes 2020-07-07 18:26:34 +09:30
defined2.d
defined2.t
defined3.d XCOFF ld testsuite fixes 2020-07-07 18:26:34 +09:30
defined3.t XCOFF ld testsuite fixes 2020-07-07 18:26:34 +09:30
defined4.d XCOFF ld testsuite fixes 2020-07-07 18:26:34 +09:30
defined4.s
defined4.t XCOFF ld testsuite fixes 2020-07-07 18:26:34 +09:30
defined5.d XCOFF ld testsuite fixes 2020-07-07 18:26:34 +09:30
defined5.s XCOFF ld testsuite fixes 2020-07-07 18:26:34 +09:30
defined5.t XCOFF ld testsuite fixes 2020-07-07 18:26:34 +09:30
defined6.d
defined6.s
defined6.t
defined.exp XCOFF ld testsuite fixes 2020-07-07 18:26:34 +09:30
defined.s
defined.t
dynamic-sections-1.s
dynamic-sections-2.s
dynamic-sections.d
dynamic-sections.exp
dynamic-sections.t
empty-address-1.d Fix linker tests to work with 16-bit targets. 2020-04-21 15:10:52 +01:00
empty-address-1.s Fix linker tests to work with 16-bit targets. 2020-04-21 15:10:52 +01:00
empty-address-1.t XCOFF ld testsuite fixes 2020-07-07 18:26:34 +09:30
empty-address-2.s Fix linker tests to work with 16-bit targets. 2020-04-21 15:10:52 +01:00
empty-address-2a.d tic54x ld testsuite 2020-08-25 19:31:57 +09:30
empty-address-2a.t XCOFF ld testsuite fixes 2020-07-07 18:26:34 +09:30
empty-address-2b.d tic54x ld testsuite 2020-08-25 19:31:57 +09:30
empty-address-2b.t XCOFF ld testsuite fixes 2020-07-07 18:26:34 +09:30
empty-address-3.s
empty-address-3a.d
empty-address-3a.t XCOFF ld testsuite fixes 2020-07-07 18:26:34 +09:30
empty-address-3b.d
empty-address-3b.t XCOFF ld testsuite fixes 2020-07-07 18:26:34 +09:30
empty-address-3c.d
empty-address-3c.t XCOFF ld testsuite fixes 2020-07-07 18:26:34 +09:30
empty-address.exp XCOFF ld testsuite fixes 2020-07-07 18:26:34 +09:30
empty-aligned.d
empty-aligned.exp
empty-aligned.s
empty-aligned.t
empty-orphan.d
empty-orphan.exp
empty-orphan.s
empty-orphan.t
exclude-file-1.d
exclude-file-1.map
exclude-file-1.t
exclude-file-2.d
exclude-file-2.map
exclude-file-2.t
exclude-file-3.d
exclude-file-3.map
exclude-file-3.t
exclude-file-4.d
exclude-file-4.map
exclude-file-4.t
exclude-file-5.d
exclude-file-5.map
exclude-file-5.t
exclude-file-6.d
exclude-file-6.map
exclude-file-6.t
exclude-file-7.d
exclude-file-7.map
exclude-file-7.t
exclude-file-a.s
exclude-file-b.s
exclude-file.exp
expr1.d
expr1.s
expr1.t
expr2.d Use is_xcoff_format in ld testsuite 2020-07-07 18:26:34 +09:30
expr2.s
expr2.t
expr.exp XCOFF ld testsuite fixes 2020-07-07 18:26:34 +09:30
extern.exp Provide dummy libraries for alpha-vms 2020-10-19 16:28:43 +10:30
extern.s
extern.t
fill16_0.s
fill16_1.s
fill16_2.s
fill16.d PR27100, final link failed: bad value 2020-12-24 22:58:03 +10:30
fill_0.s
fill_1.s
fill_2.s
fill.d PR27100, final link failed: bad value 2020-12-24 22:58:03 +10:30
fill.t XCOFF ld testsuite fixes 2020-07-07 18:26:34 +09:30
include-1.d tic54x ld testsuite 2020-08-25 19:31:57 +09:30
include-1.t
include-data.t
include-mem.t
include-ram.t
include-sections.t XCOFF ld testsuite fixes 2020-07-07 18:26:34 +09:30
include-subdata.t XCOFF ld testsuite fixes 2020-07-07 18:26:34 +09:30
include.exp XCOFF ld testsuite fixes 2020-07-07 18:26:34 +09:30
include.s
log2.exp Provide dummy libraries for alpha-vms 2020-10-19 16:28:43 +10:30
log2.s
log2.t
map-address.d
map-address.exp Extend ld's -Map=<dir> functionality by allowing '%' to be replaced with the output file path. 2020-11-06 14:36:45 +00:00
map-address.t
memory_sym.t Fix linker tests to work with 16-bit targets. 2020-04-21 15:10:52 +01:00
memory.t Fix linker tests to work with 16-bit targets. 2020-04-21 15:10:52 +01:00
overlay-size-map.d
overlay-size.d
overlay-size.exp tcl global directive outside proc body does nothing (ld) 2020-06-04 16:11:19 +09:30
overlay-size.s
overlay-size.t
phdrs2.exp ecoff testsuite fixes 2020-06-20 10:59:11 +09:30
phdrs2.s
phdrs2.t
phdrs3.d
phdrs3.exp Unnecessary load_lib in ld testsuite 2020-06-15 15:07:13 +09:30
phdrs3.t
phdrs3a.d
phdrs3a.t
phdrs.exp
phdrs.s
phdrs.t
pr14962-2.d
pr14962-2.t
pr14962.d
pr14962.t XCOFF ld testsuite fixes 2020-07-07 18:26:34 +09:30
pr14962a.s
pr14962b.s
pr18963.d XCOFF ld testsuite fixes 2020-07-07 18:26:34 +09:30
pr18963.t Fix the test for PR 18963 so that it will work on 16-bit targets. 2020-04-17 14:16:27 +01:00
pr20302.d x86_64-cygwin tests 2020-07-13 22:03:59 +09:30
pr22267.d
pr22267.s
pr22267.t
pr23571.d
pr23571.t
pr24008.d
pr24008.map
pr24008.s
pr24008.t
pr27100.d PR27100, final link failed: bad value 2020-12-24 22:58:03 +10:30
pr27100.s PR27100, final link failed: bad value 2020-12-24 22:58:03 +10:30
pr27100.t PR27100, final link failed: bad value 2020-12-24 22:58:03 +10:30
print-memory-usage-1.l
print-memory-usage-1.s
print-memory-usage-1.t
print-memory-usage-2.l
print-memory-usage-2.t
print-memory-usage-3.l
print-memory-usage-3.s
print-memory-usage-3.t
print-memory-usage.exp Use is_xcoff_format in ld testsuite 2020-07-07 18:26:34 +09:30
print-memory-usage.t
provide-1.d tic54x ld testsuite 2020-08-25 19:31:57 +09:30
provide-1.s
provide-1.t XCOFF ld testsuite fixes 2020-07-07 18:26:34 +09:30
provide-2.d tic54x ld testsuite 2020-08-25 19:31:57 +09:30
provide-2.s
provide-2.t XCOFF ld testsuite fixes 2020-07-07 18:26:34 +09:30
provide-3.d
provide-3.s
provide-3.t XCOFF ld testsuite fixes 2020-07-07 18:26:34 +09:30
provide-4.d tic54x ld testsuite 2020-08-25 19:31:57 +09:30
provide-4.map
provide-4.t XCOFF ld testsuite fixes 2020-07-07 18:26:34 +09:30
provide-5.d XCOFF ld testsuite fixes 2020-07-07 18:26:34 +09:30
provide-5.map
provide-5.s
provide-5.t XCOFF ld testsuite fixes 2020-07-07 18:26:34 +09:30
provide-6.d x86_64-cygwin tests 2020-07-13 22:03:59 +09:30
provide-6.t XCOFF ld testsuite fixes 2020-07-07 18:26:34 +09:30
provide-7.d XCOFF ld testsuite fixes 2020-07-07 18:26:34 +09:30
provide-7.t XCOFF ld testsuite fixes 2020-07-07 18:26:34 +09:30
provide-8.d Change the default characteristics of DLLs built by the linker to more secure settings. 2020-08-27 12:58:27 +01:00
provide-8.t XCOFF ld testsuite fixes 2020-07-07 18:26:34 +09:30
provide-9.d ld: Allow symbols from PROVIDE to be use in MEMORY regions 2020-10-16 13:43:49 +01:00
provide-9.map ld: Allow symbols from PROVIDE to be use in MEMORY regions 2020-10-16 13:43:49 +01:00
provide-9.t ld: Allow symbols from PROVIDE to be use in MEMORY regions 2020-10-16 13:43:49 +01:00
provide-10.d ld: Allow symbols from PROVIDE to be use in MEMORY regions 2020-10-16 13:43:49 +01:00
provide-10.map ld: Allow symbols from PROVIDE to be use in MEMORY regions 2020-10-16 13:43:49 +01:00
provide-11.d ld: Allow symbols from PROVIDE to be use in MEMORY regions 2020-10-16 13:43:49 +01:00
provide-11.map ld: Allow symbols from PROVIDE to be use in MEMORY regions 2020-10-16 13:43:49 +01:00
provide-12.d ld: Allow symbols from PROVIDE to be use in MEMORY regions 2020-10-16 13:43:49 +01:00
provide-12.map ld: Allow symbols from PROVIDE to be use in MEMORY regions 2020-10-16 13:43:49 +01:00
provide.exp XCOFF ld testsuite fixes 2020-07-07 18:26:34 +09:30
region-alias-1.d
region-alias-1.t
region-alias-2.d
region-alias-2.t
region-alias-3.d
region-alias-3.t
region-alias-4.d
region-alias-4.t
rgn-at1.d
rgn-at1.t
rgn-at2.d
rgn-at2.t
rgn-at3.d
rgn-at3.t
rgn-at4.d
rgn-at4.t
rgn-at5.d
rgn-at5.s
rgn-at5.t
rgn-at6.d
rgn-at6.s
rgn-at6.t
rgn-at7.d
rgn-at7.t
rgn-at8.d
rgn-at8.t
rgn-at9.d
rgn-at9.t
rgn-at10.d
rgn-at10.s
rgn-at10.t
rgn-at11.d
rgn-at11.s
rgn-at11.t
rgn-at.exp Unnecessary load_lib in ld testsuite 2020-06-15 15:07:13 +09:30
rgn-at.s
rgn-over1.d
rgn-over1.t
rgn-over2.d
rgn-over2.t
rgn-over3.d
rgn-over3.t
rgn-over4.d
rgn-over4.t
rgn-over5.d
rgn-over5.t
rgn-over6.d
rgn-over6.t
rgn-over7.d
rgn-over7.t
rgn-over8-ok.d
rgn-over8.s
rgn-over8.t
rgn-over.exp Unnecessary load_lib in ld testsuite 2020-06-15 15:07:13 +09:30
rgn-over.s
sane1.d XCOFF ld testsuite fixes 2020-07-07 18:26:34 +09:30
sane1.t XCOFF ld testsuite fixes 2020-07-07 18:26:34 +09:30
script.exp Provide dummy libraries for alpha-vms 2020-10-19 16:28:43 +10:30
script.s
script.t
scriptm.t
section-flags-1.s
section-flags-1.t
section-flags-2.s
section-flags-2.t
section-flags.exp
section-match-1.d Re: Use is_xcoff_format in ld testsuite 2020-07-07 21:57:13 +09:30
section-match-1.s
section-match-1.t
section-match.exp
segment-start.d XCOFF ld testsuite fixes 2020-07-07 18:26:34 +09:30
segment-start.ld
segment-start.s
sizeof.exp Provide dummy libraries for alpha-vms 2020-10-19 16:28:43 +10:30
sizeof.s
sizeof.t XCOFF ld testsuite fixes 2020-07-07 18:26:34 +09:30
sort_b_a_a-1.d
sort_b_a_a-2.d
sort_b_a_a-3.d
sort_b_a_a.t
sort_b_a_n-1.d
sort_b_a_n-2.d
sort_b_a_n-3.d
sort_b_a_n.t
sort_b_a-1.d
sort_b_a-1.s
sort_b_a.d
sort_b_a.s
sort_b_a.t
sort_b_n_a-1.d
sort_b_n_a-2.d
sort_b_n_a-3.d
sort_b_n_a.t
sort_b_n_n-1.d
sort_b_n_n-2.d
sort_b_n_n-3.d
sort_b_n_n.t
sort_b_n-1.d
sort_b_n-1.s
sort_b_n.d
sort_b_n.s
sort_b_n.t
sort_n_a-a.s
sort_n_a-b.s
sort_no-1.d
sort_no-2.d
sort_no.t
sort.exp Unnecessary load_lib in ld testsuite 2020-06-15 15:07:13 +09:30
sort.t
sysroot-prefix-x.s
sysroot-prefix-y.s
sysroot-prefix.exp heap use after free in xcoff_archive_info_eq 2020-09-03 11:04:46 +09:30
weak1.s
weak2.s
weak.exp Use is_pecoff_format in ld testsuite 2020-07-07 18:26:34 +09:30
weak.t