binutils-gdb/ld/testsuite/ld-elf
H.J. Lu 93dc595d76 Don't merge 2 sections with different SHF_EXCLUDE
SEC_EXCLUDE is ignored when doing a relocatable link.  But we can't
merge 2 input sections with the same name when only one of them has
SHF_EXCLUDE.

	PR ld/20528
	* emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
	merge 2 sections with different SHF_EXCLUDE.
	* testsuite/ld-elf/pr20528a.d: New file.
	* testsuite/ld-elf/pr20528a.s: Likewise.
	* testsuite/ld-elf/pr20528b.d: Likewise.
	* testsuite/ld-elf/pr20528b.s: Likewise.
2016-09-29 12:58:40 -07: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 Copyright update for binutils 2016-01-01 23:00:01 +10:30
audit.rd
begin.c
beginwarn.c
binutils.exp Copyright update for binutils 2016-01-01 23:00:01 +10:30
check-ptr-eq.c
comm1.c
comm-data1.s
comm-data1.sd
comm-data2.ld
comm-data2.rd
comm-data2.s
comm-data2.sd
comm-data2.xd
comm-data2r.rd
comm-data2r.sd
comm-data2r.xd
comm-data3.sd
comm-data3a.s
comm-data3b.s
comm-data4.d
comm-data4.s
comm-data5.d
comm-data5.s
comm-data.exp Fix more linker testsuite failures. 2016-06-28 15:55:22 +01:00
commonpage1.d
commonpage2.d
compress1.s Copyright update for binutils 2016-01-01 23:00:01 +10:30
compress1a.d
compress1b.d
compress1c.d
compress.exp Use variable args in run_ld_link_exec_tests 2016-07-21 11:34:45 +09:30
compressed1a.d
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
data1.c
data1.h
data2.c
del.cc
depaudit2.rd
depaudit.rd
discard1.d
discard1.s
discard2.d
discard2.s
discard3.d
discard.ld
dl1.c
dl1.list
dl1.out
dl1main.c
dl2.c
dl2.list
dl2a.list
dl2a.out
dl2b.out
dl2main.c
dl2xxx.c
dl2xxx.list
dl3.cc
dl3.list
dl3a.out
dl3b.out
dl3header.h
dl3main.cc
dl4.c
dl4.list
dl4a.out
dl4b.out
dl4main.c
dl4xxx.c
dl4xxx.list
dl5.cc
dl5.out
dl6.c
dl6a.out
dl6amain.c
dl6b.out
dl6bmain.c
dl6cmain.c
dl6dmain.c
dummy.c
dwarf1.c
dwarf1.h
dwarf1.out
dwarf1main.c
dwarf.exp Use variable args in run_ld_link_exec_tests 2016-07-21 11:34:45 +09:30
dynamic1.d
dynamic1.ld
dynamic1.s
dynamic-1.c
dynamic-1.rd
dynamic-1.syms
dynbss1.c
dynsym1.d
eh1.d
eh1.s
eh1a.s
eh2.d
eh2a.s
eh3.d
eh3.s
eh3a.s
eh4.d
eh4.s
eh4a.s
eh5.d
eh5.s
eh5a.s
eh5b.s
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
eh-frame-hdr.d [ARC] Fixed-linker-related-testsuite-for-ARC 2016-05-19 15:06:51 +02:00
eh-frame-hdr.s
eh-group1.s
eh-group2.s
eh-group.exp Copyright update for binutils 2016-01-01 23:00:01 +10:30
ehdr_start-missing.d
ehdr_start-missing.t
ehdr_start-shared.d
ehdr_start-strongref.s
ehdr_start-userdef.d
ehdr_start-userdef.t
ehdr_start-weak.d
ehdr_start.d
ehdr_start.s
elf.exp Use variable args in run_ld_link_exec_tests 2016-07-21 11:34:45 +09:30
empty2.d
empty2.s
empty-implib.out Fix implib test failures 2016-07-21 11:30:34 +09:30
empty.d
empty.s
end.c
endhidden.c
endprotected.c
endsym.d Fix more linker testsuite failures. 2016-06-28 15:55:22 +01:00
endsym.s
exclude1.s
exclude2.s Don't re-export common symbols 2015-10-05 14:45:17 -07:00
exclude3.s
exclude3a.d
exclude3b.d
exclude3c.d
exclude.exp Copyright update for binutils 2016-01-01 23:00:01 +10:30
export-class-def.s
export-class-dep.s
export-class-lib.s
export-class-lib.ver
export-class-ref.s
export-class.exp Copyright update for binutils 2016-01-01 23:00:01 +10:30
export-class.sd
export-class.vd
expr1.d
expr1.s
expr1.t
fini0.s
fini1.s
fini2.s
fini3.s
fini.c
fini.out
finin.s
flags1.d ld/testsuite/ld-elf/flags1.d: Update the xfail list 2016-05-16 08:52:35 +01:00
flags1.ld
flags1.s
foo0.s
foo1.s
foo2.s
foo3.s
foo.c
foo.map
foon.s
frame.exp Copyright update for binutils 2016-01-01 23:00:01 +10:30
frame.s
func1.c
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
global1.d
gnubegin.rS
gnunormal.rS
group1.d [ARC] Fix ld testsuite failures. 2016-04-05 13:46:44 +02:00
group1a.s
group1b.s
group2.d
group3a.d
group3a.s
group3b.d [ARC] Fixed-linker-related-testsuite-for-ARC 2016-05-19 15:06:51 +02:00
group3b.s
group4.d
group5.d
group6.d
group7.d
group8.s
group8a.d [ARC] Fixed-linker-related-testsuite-for-ARC 2016-05-19 15:06:51 +02:00
group8b.d [ARC] Fixed-linker-related-testsuite-for-ARC 2016-05-19 15:06:51 +02:00
group9.s
group9a.d [ARC] Fixed-linker-related-testsuite-for-ARC 2016-05-19 15:06:51 +02:00
group9b.d [ARC] Fixed-linker-related-testsuite-for-ARC 2016-05-19 15:06:51 +02:00
group10.d
group10.s
group.ld
hash.d
header.d
header.s
header.t
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
indirect1a.c
indirect1b.c
indirect1c.c
indirect2.c
indirect3.out
indirect3a.c
indirect3b.c
indirect3c.c
indirect4.out
indirect4a.c
indirect4b.c
indirect4c.c
indirect.exp Use variable args in run_ld_link_exec_tests 2016-07-21 11:34:45 +09:30
init0.s
init1.s
init2.s
init3.s
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
init-mixed.c
init-mixed.out
init.c
init.out
initn.s
libbarw.rd
linkinfo1.s
linkinfo1a.d
linkinfo1b.d
linkonce1.d New ARC implementation. 2015-10-07 14:20:19 +01:00
linkonce1a.s
linkonce1b.s
linkonce2.d ld/arc: Fix linker for big-endian arc targets 2016-04-05 23:08:28 +01:00
linkoncerdiff1.s
linkoncerdiff2.s
linkoncerdiff.d
lma.lnk
lma.s
loadaddr1.d
loadaddr1.t
loadaddr2.d
loadaddr2.t
loadaddr3.t
loadaddr3a.d
loadaddr3b.d
loadaddr.s
loadaddr.t
local1.d
local1.map
local1.s
main.c
maxpage1.d
maxpage1.s
maxpage2.d
maxpage3.t
maxpage3a.d
maxpage3b.d Early expression evaluation 2016-07-20 10:55:45 +09:30
maxpage3c.d
maxpage4.d
maxpage4.t
maxpage5.d
maxpage5.s
maxpage5.t
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
merge.d Fix RX and M68HC11 linker testsuite failures. 2016-06-28 12:43:14 +01:00
merge.ld
merge.s
multibss1.d
multibss1.s
needed1.out
needed1a.c
needed1b.c
needed1c.c
needed2.ver
needed2a.c
needed2b.c
needed2c.c
needed3.c
new.cc
nobits-1.d
nobits-1.s
nobits-1.t
noload-1.d
noload-1.s
noload-1.t
noload-2.d
noload-3.d
noload-3.s
noload-3.t
normal.out
note-1.d
note-1.s
note-1.t
note-2.d
note-2.s
note-2.t
note-3.l
note-3.s
note-3.t
now-1.d
now-2.d
now-3.d
now-4.d
orphan2.d
orphan2.s
orphan3.d Fix lots of linker testsuite failures for the FT32 target. 2016-05-18 10:11:47 +01:00
orphan3a.s
orphan3b.s
orphan3c.s
orphan3d.s
orphan3e.s
orphan3f.s
orphan4.d
orphan4.ld
orphan4.s
orphan-5.d
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
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
orphan-7.map
orphan-8.d
orphan-8.map
orphan-region.d Fix lots of linker testsuite failures for the FT32 target. 2016-05-18 10:11:47 +01:00
orphan-region.ld
orphan-region.s
orphan.d Fix lots of linker testsuite failures for the FT32 target. 2016-05-18 10:11:47 +01:00
orphan.ld
orphan.s
overlay.d
overlay.s
overlay.t
pass.out
pie.d Set DF_1_PIE in gld${EMULATION_NAME}_after_parse 2015-09-22 06:08:55 -07:00
pr349-1.s
pr349-2.s
pr349.d Fix lots of linker testsuite failures for the FT32 target. 2016-05-18 10:11:47 +01:00
pr2404.out
pr2404a.c
pr2404b.c
pr9676-1.c
pr9676-2.c
pr9676-3.c
pr9676-4.c
pr9676.rd
pr9679-1.c
pr9679-2.c
pr9679.rd
pr11138-1.c
pr11138-1.map
pr11138-2.c
pr11138-2.map
pr11138.out
pr11304.d
pr11304a.s
pr11304b.s
pr12851.d [ARC] Fixed-linker-related-testsuite-for-ARC 2016-05-19 15:06:51 +02:00
pr12851.s
pr12975.d [ARC] Fixed-linker-related-testsuite-for-ARC 2016-05-19 15:06:51 +02:00
pr12975.s
pr12975.t
pr13177.d [ARC] Fixed-linker-related-testsuite-for-ARC 2016-05-19 15:06:51 +02:00
pr13177.s
pr13195.c
pr13195.d [ARC] Fixed-linker-related-testsuite-for-ARC 2016-05-19 15:06:51 +02:00
pr13195.s
pr13195.t
pr13250-1.c
pr13250-2.c
pr13250-3.c
pr13839.d
pr13839.s
pr13839.t
pr14052.d
pr14052.t
pr14156a.d m68hc11/12 and xgate config.sub weirdness 2016-01-17 12:13:43 +10:30
pr14156b.d
pr14156c.d
pr14156c.t
pr14170a.s
pr14170b.s
pr14170c.s
pr14323-1.c
pr14323-2.c
pr14525.c
pr14525.out
pr14862-1.c
pr14862-2.c
pr14862.map
pr14862.out
pr14926.d m68hc11/12 and xgate config.sub weirdness 2016-01-17 12:13:43 +10:30
pr14926.s
pr16322.d
pr16322.s
pr16452.map
pr16452.od
pr16452a.c
pr16452b.c
pr16457.od
pr16496a.c
pr16496a.map
pr16496b.c
pr16496b.od
pr16498a.d
pr16498a.s
pr16498a.t
pr16498b.d
pr16498b.t
pr17068.s
pr17068a.s
pr17068b.s
pr17068c.s
pr17068d.s
pr17068e.s
pr17068ez.s
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
pr18458a.c
pr18458b.c
pr18458c.c
pr18718.c
pr18720.out
pr18720a.c
pr18720b.c
pr18720c.c
pr18735.d Fix some AVR test failures. 2016-05-04 13:03:52 +01:00
pr18735.s
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 ld/arc: Fix linker for big-endian arc targets 2016-04-05 23:08:28 +01: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 Skip pr19539 test for cris*-*-* targets 2016-02-20 14:45:25 -08:00
pr19539.s Check reloc against IFUNC symbol only with dynamic symbols 2016-01-30 16:08:20 -08:00
pr19539.t Check reloc against IFUNC symbol only with dynamic symbols 2016-01-30 16:08:20 -08: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 Don't add DT_NEEDED for unmatched symbol 2016-02-01 15:49:52 -08:00
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 Don't merge 2 sections with different SHF_EXCLUDE 2016-09-29 12:58:40 -07:00
pr20528a.s Don't merge 2 sections with different SHF_EXCLUDE 2016-09-29 12:58:40 -07:00
pr20528b.d Don't merge 2 sections with different SHF_EXCLUDE 2016-09-29 12:58:40 -07:00
pr20528b.s Don't merge 2 sections with different SHF_EXCLUDE 2016-09-29 12:58:40 -07:00
preinit.c
preinit.out
provide-hidden-1.ld
provide-hidden-1.s
provide-hidden-2.ld Delay converting linker script defined symbols from absolute 2015-09-18 12:39:16 +09:30
provide-hidden-2.s
provide-hidden-3.s
provide-hidden-4.s
provide-hidden-abs.nd
provide-hidden-def.nd
provide-hidden-dyn.nd
provide-hidden-dynabs.nd
provide-hidden-dynsec.nd
provide-hidden-s.ld
provide-hidden-s.nd
provide-hidden-sec.nd
provide-hidden.exp Copyright update for binutils 2016-01-01 23:00:01 +10:30
rdynamic-1.c
rdynamic-1.rd
rel.c
relmain.c
relmain.out
relocatable.d
relocatable.t
relro1.s
relro2.s
rpath-1.d
rpath-2.d
runpath-1.d
runpath-2.d
sec64k.exp Revise targets able to run ELF 64k section test 2016-07-25 15:33:11 +09:30
sec-to-seg1.s
sec-to-seg2.s
sec-to-seg-script-adjoining-pages.t
sec-to-seg-script-disjoint-pages.t
sec-to-seg-script-same-page.t
sec-to-seg.exp Fix lots of linker testsuite failures for the FT32 target. 2016-05-18 10:11:47 +01:00
seg.d
seg.s
seg.t
shared.exp Use variable args in run_ld_link_exec_tests 2016-07-21 11:34:45 +09:30
simple.s
stab.d
stack-exec.rd
stack-size.rd
stack.s
start.s
strtab.d
strtab.s
symbol1ref.s
symbol1w.s
symbol2ref.s
symbol2w.s
symbol3.s
symbol3w.s
symbolic-func.r Don't convert R_SPARC_32 to R_SPARC_RELATIVE if class is ELFCLASS64. 2016-06-28 12:00:56 +01:00
symbolic-func.s
table.s
tbss1.s
tbss2.s
tbss3.s
tbss.s
tdata1.s
tdata2.s
tdata3.s
textaddr1.d
textaddr2.d
textaddr3.d
textaddr4.d
textaddr5.d
textaddr6.d
textaddr7.d
tls_common.exp Properly implement STT_COMMON 2016-02-26 05:01:34 -08:00
tls_common.s
tls_gc.s
unknown2.d
unknown2.s
unknown.d
var1.d Fix more linker testsuite failures. 2016-06-28 15:55:22 +01:00
var1.s
var1.t
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
warn.out
weak-dyn-1.ld
weak-dyn-1.rd
weak-dyn-1a.s
weak-dyn-1b.s
weakdef1.c
wrap1.c
wrap1.out
wrap1a.c
wrap1b.c
wrap.exp Use variable args in run_ld_link_exec_tests 2016-07-21 11:34:45 +09:30
zlibbegin.rS
zlibnormal.rS