binutils-gdb/ld/testsuite/ld-elf
H.J. Lu d1bcae833b ELF: Don't generate unused section symbols
For ELF targets, section symbols are required only for relocations.
With -ffunction-sections -fdata-sections, there can be many unused
section symbols.  Sizes of libstdc++.a on Linux/x86-64 in GCC 11 are

With unused section symbols   : 39411698 bytes
Without unused section symbols: 39227002 bytes

The unused section symbols in libstdc++.a occupy more than 180 KB.

Add BSF_SECTION_SYM_USED to indicate if a section symbol should be
included in the symbol table.  The BSF_SECTION_SYM_USED should be set
if the section symbol is used for relocation or the section symbol is
always included in the symbol table.

Add keep_unused_section_symbols to bfd_target to indicate if unused
section symbols should be kept.  If TARGET_KEEP_UNUSED_SECTION_SYMBOLS
is defined as FALSE, unused ection symbols will be removed.

Tested on Linux/x86.  Other ELF backends need to:

1. Define TARGET_KEEP_UNUSED_SECTION_SYMBOLS to FALSE.
2. Mark used section symbols in assembler backend.
3. Remove unused section symbols from expected assembler and linker
outputs.

bfd/

	PR 27109
	* aix386-core.c (core_aix386_vec): Initialize
	keep_unused_section_symbol to TARGET_KEEP_UNUSED_SECTION_SYMBOLS.
	* aout-target.h (MY (vec)): Likewise.
	* binary.c (binary_vec): Likewise.
	* cisco-core.c (core_cisco_be_vec): Likewise.
	(core_cisco_le_vec): Likewise.
	* coff-alpha.c (alpha_ecoff_le_vec): Likewise.
	* coff-i386.c (TARGET_SYM): Likewise.
	(TARGET_SYM_BIG): Likewise.
	* coff-ia64.c (TARGET_SYM): Likewise.
	* coff-mips.c (mips_ecoff_le_vec): Likewise.
	(mips_ecoff_be_vec): Likewise.
	(mips_ecoff_bele_vec): Likewise.
	* coff-rs6000.c (rs6000_xcoff_vec): Likewise.
	(powerpc_xcoff_vec): Likewise.
	* coff-sh.c (sh_coff_small_vec): Likewise.
	(sh_coff_small_le_vec): Likewise.
	* coff-tic30.c (tic30_coff_vec): Likewise.
	* coff-tic54x.c (tic54x_coff0_vec): Likewise.
	(tic54x_coff0_beh_vec): Likewise.
	(tic54x_coff1_vec): Likewise.
	(tic54x_coff1_beh_vec): Likewise.
	(tic54x_coff2_vec): Likewise.
	(tic54x_coff2_beh_vec): Likewise.
	* coff-x86_64.c (TARGET_SYM): Likewise.
	(TARGET_SYM_BIG): Likewise.
	* coff64-rs6000.c (rs6000_xcoff64_vec): Likewise.
	(rs6000_xcoff64_aix_vec): Likewise.
	* coffcode.h (CREATE_BIG_COFF_TARGET_VEC): Likewise.
	(CREATE_BIGHDR_COFF_TARGET_VEC): Likewise.
	(CREATE_LITTLE_COFF_TARGET_VEC): Likewise.
	* elfxx-target.h (TARGET_BIG_SYM): Likewise.
	(TARGET_LITTLE_SYM): Likewise.
	* hppabsd-core.c (core_hppabsd_vec): Likewise.
	* hpux-core.c (core_hpux_vec): Likewise.
	* i386msdos.c (i386_msdos_vec): Likewise.
	* ihex.c (ihex_vec): Likewise.
	* irix-core.c (core_irix_vec): Likewise.
	* mach-o-target.c (TARGET_NAME): Likewise.
	* mmo.c (mmix_mmo_vec): Likewise.
	* netbsd-core.c (core_netbsd_vec): Likewise.
	* osf-core.c (core_osf_vec): Likewise.
	* pdp11.c (MY (vec)): Likewise.
	* pef.c (pef_vec): Likewise.
	(pef_xlib_vec): Likewise.
	* plugin.c (plugin_vec): Likewise.
	* ppcboot.c (powerpc_boot_vec): Likewise.
	* ptrace-core.c (core_ptrace_vec): Likewise.
	* sco5-core.c (core_sco5_vec): Likewise.
	* som.c (hppa_som_vec): Likewise.
	* srec.c (srec_vec): Likewise.
	(symbolsrec_vec): Likewise.
	* tekhex.c (tekhex_vec): Likewise.
	* trad-core.c (core_trad_vec): Likewise.
	* verilog.c (verilog_vec): Likewise.
	* vms-alpha.c (alpha_vms_vec): Likewise.
	* vms-lib.c (alpha_vms_lib_txt_vec): Likewise.
	* wasm-module.c (wasm_vec): Likewise.
	* xsym.c (sym_vec): Likewise.
	* elf.c (ignore_section_sym): Return TRUE if BSF_SECTION_SYM_USED
	isn't set.
	(elf_map_symbols): Don't include ignored section symbols.
	* elfcode.h (elf_slurp_symbol_table): Also set
	BSF_SECTION_SYM_USED on STT_SECTION symbols.
	* elflink.c (bfd_elf_final_link): Generated section symbols only
	when emitting relocations or reqired.
	* elfxx-x86.h (TARGET_KEEP_UNUSED_SECTION_SYMBOLS): New.
	* syms.c (BSF_SECTION_SYM_USED): New.
	* targets.c (TARGET_KEEP_UNUSED_SECTION_SYMBOLS): New.
	(bfd_target): Add keep_unused_section_symbols.
	(bfd_keep_unused_section_symbols): New.
	* bfd-in2.h: Regenerated.

binutils/

	PR 27109
	* objcopy.c (copy_object): Handle section symbols for
	non-relocatable inputs.
	* testsuite/binutils-all/readelf.exp (readelf_test): Check
	is_elf_unused_section_symbols.
	* testsuite/binutils-all/readelf.s-64: Updated.
	* testsuite/binutils-all/readelf.ss: Likewise.
	* testsuite/binutils-all/readelf.ss-64: Likewise.
	* testsuite/binutils-all/readelf.s-64-unused: New file.
	* testsuite/binutils-all/readelf.ss-64-unused: Likewise.
	* testsuite/binutils-all/readelf.ss-unused: Likewise.
	* testsuite/lib/binutils-common.exp
	(is_elf_unused_section_symbols): New proc.

gas/ChangeLog:

	PR 27109
	* read.c (s_reloc): Call symbol_mark_used_in_reloc on the
	section symbol.
	* subsegs.c (subseg_set_rest): Set BSF_SECTION_SYM_USED if needed.
	* write.c (adjust_reloc_syms): Call symbol_mark_used_in_reloc
	on the section symbol.
	(set_symtab): Don't generate unused section symbols.
	(maybe_generate_build_notes): Call symbol_mark_used_in_reloc
	on the section symbol.
	* config/obj-elf.c (elf_adjust_symtab): Call
	symbol_mark_used_in_reloc on the group signature symbol.
	* testsuite/gas/cfi/cfi-label.d: Remove unused section symbols
	from expected output.
	* testsuite/gas/elf/elf.exp (run_elf_list_test): Check
	is_elf_unused_section_symbols.
	* testsuite/gas/elf/section2.e: Updated.
	* testsuite/gas/elf/section2.e-unused: New file.
	* testsuite/gas/elf/symver.d: Remove unused section symbols.
	* testsuite/gas/i386/ilp32/elf/symver.d: Likewise.
	* testsuite/gas/i386/ilp32/x86-64-size-1.d: Likewise.
	* testsuite/gas/i386/ilp32/x86-64-size-3.d: Likewise.
	* testsuite/gas/i386/ilp32/x86-64-size-5.d: Likewise.
	* testsuite/gas/i386/ilp32/x86-64-unwind.d: Likewise.
	* testsuite/gas/i386/size-1.d: Likewise.
	* testsuite/gas/i386/size-3.d: Likewise.
	* testsuite/gas/i386/svr4.d: Likewise.
	* testsuite/gas/i386/x86-64-size-1.d: Likewise.
	* testsuite/gas/i386/x86-64-size-3.d: Likewise.
	* testsuite/gas/i386/x86-64-size-5.d: Likewise.
	* testsuite/gas/i386/x86-64-unwind.d: Likewise.

ld/

	PR 27109
	* testsuite/ld-elf/export-class.sd: Adjust the expected output.
	* testsuite/ld-elf/loadaddr3b.d: Likewise.
	* testsuite/ld-i386/ibt-plt-1.d: Likewise.
	* testsuite/ld-i386/ibt-plt-2a.d: Likewise.
	* testsuite/ld-i386/ibt-plt-2c.d: Likewise.
	* testsuite/ld-i386/ibt-plt-3a.d: Likewise.
	* testsuite/ld-i386/ibt-plt-3c.d: Likewise.
	* testsuite/ld-i386/pr19636-1d.d: Likewise.
	* testsuite/ld-i386/pr19636-1l.d: Likewise.
	* testsuite/ld-i386/pr19636-2c.d: Likewise.
	* testsuite/ld-ifunc/ifunc-2-i386-now.d: Likewise.
	* testsuite/ld-ifunc/ifunc-2-local-i386-now.d: Likewise.
	* testsuite/ld-ifunc/ifunc-2-local-x86-64-now.d: Likewise.
	* testsuite/ld-ifunc/ifunc-2-x86-64-now.d: Likewise.
	* testsuite/ld-ifunc/ifunc-21-x86-64.d: Likewise.
	* testsuite/ld-ifunc/ifunc-22-x86-64.d: Likewise.
	* testsuite/ld-ifunc/pr17154-i386-now.d: Likewise.
	* testsuite/ld-ifunc/pr17154-i386.d: Likewise.
	* testsuite/ld-ifunc/pr17154-x86-64-now.d: Likewise.
	* testsuite/ld-ifunc/pr17154-x86-64.d: Likewise.
	* testsuite/ld-x86-64/bnd-branch-1-now.d: Likewise.
	* testsuite/ld-x86-64/bnd-ifunc-1-now.d: Likewise.
	* testsuite/ld-x86-64/bnd-ifunc-2-now.d: Likewise.
	* testsuite/ld-x86-64/bnd-ifunc-2.d: Likewise.
	* testsuite/ld-x86-64/bnd-plt-1-now.d: Likewise.
	* testsuite/ld-x86-64/bnd-plt-1.d: Likewise.
	* testsuite/ld-x86-64/ibt-plt-1-x32.d: Likewise.
	* testsuite/ld-x86-64/ibt-plt-1.d: Likewise.
	* testsuite/ld-x86-64/ibt-plt-2a-x32.d: Likewise.
	* testsuite/ld-x86-64/ibt-plt-2a.d: Likewise.
	* testsuite/ld-x86-64/ibt-plt-2c-x32.d: Likewise.
	* testsuite/ld-x86-64/ibt-plt-2c.d: Likewise.
	* testsuite/ld-x86-64/ibt-plt-3a-x32.d: Likewise.
	* testsuite/ld-x86-64/ibt-plt-3a.d: Likewise.
	* testsuite/ld-x86-64/ibt-plt-3c-x32.d: Likewise.
	* testsuite/ld-x86-64/ibt-plt-3c.d: Likewise.
	* testsuite/ld-x86-64/pr19609-4e.d: Likewise.
	* testsuite/ld-x86-64/pr19609-6a.d: Likewise.
	* testsuite/ld-x86-64/pr19609-6b.d: Likewise.
	* testsuite/ld-x86-64/pr19609-7b.d: Likewise.
	* testsuite/ld-x86-64/pr19609-7d.d: Likewise.
	* testsuite/ld-x86-64/pr19636-2l.d: Likewise.
	* testsuite/ld-x86-64/pr20253-1d.d: Likewise.
	* testsuite/ld-x86-64/pr20253-1h.d: Likewise.
	* testsuite/ld-x86-64/pr21038b-now.d: Likewise.
	* testsuite/ld-x86-64/pr21038b.d: Likewise.
	* testsuite/ld-x86-64/pr21038c-now.d: Likewise.
	* testsuite/ld-x86-64/pr21038c.d: Likewise.
	* testsuite/ld-x86-64/pr23854.d: Likewise.
	* testsuite/ld-x86-64/pr25416-3.d: Likewise.
	* testsuite/ld-x86-64/pr25416-4.d: Likewise.
	* testsuite/ld-i386/plt-pic.pd: Likewise.
	* testsuite/ld-i386/plt-pic2.dd: Likewise.
	* testsuite/ld-i386/plt.pd: Likewise.
	* testsuite/ld-i386/plt2.dd: Likewise.
	* testsuite/ld-i386/tlsbin.rd: Likewise.
	* testsuite/ld-i386/tlsbin2.rd: Likewise.
	* testsuite/ld-i386/tlsbindesc.rd: Likewise.
	* testsuite/ld-i386/tlsdesc.rd: Likewise.
	* testsuite/ld-i386/tlsgdesc.rd: Likewise.
	* testsuite/ld-i386/tlsnopic.rd: Likewise.
	* testsuite/ld-i386/tlspic.rd: Likewise.
	* testsuite/ld-i386/tlspic2.rd: Likewise.
	* testsuite/ld-x86-64/mpx3.dd: Likewise.
	* testsuite/ld-x86-64/mpx3n.dd: Likewise.
	* testsuite/ld-x86-64/mpx4.dd: Likewise.
	* testsuite/ld-x86-64/mpx4n.dd: Likewise.
	* testsuite/ld-x86-64/pe-x86-64-1.od: Likewise.
	* testsuite/ld-x86-64/pe-x86-64-2.od: Likewise.
	* testsuite/ld-x86-64/pe-x86-64-3.od: Likewise.
	* testsuite/ld-x86-64/pe-x86-64-4.od: Likewise.
	* testsuite/ld-x86-64/plt.pd: Likewise.
	* testsuite/ld-x86-64/plt2.dd: Likewise.
	* testsuite/ld-x86-64/tlsbin.rd: Likewise.
	* testsuite/ld-x86-64/tlsbin2.rd: Likewise.
	* testsuite/ld-x86-64/tlsbindesc.rd: Likewise.
	* testsuite/ld-x86-64/tlsdesc.rd: Likewise.
	* testsuite/ld-x86-64/tlsgdesc.rd: Likewise.
	* testsuite/ld-x86-64/tlspic.rd: Likewise.
	* testsuite/ld-x86-64/tlspic2.rd: Likewise.
	* testsuite/ld-elf/sec64k.exp: Check
	is_elf_unused_section_symbols.
2021-01-07 06:46:55 -08:00
..
attributes.d
attributes.ld
attributes.s
audit.exp Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
audit.rd
begin.c
beginwarn.c
binutils.exp Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
changelma.d
changelma.lnk
changelma.s
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-data3.sd
comm-data3a.s
comm-data3b.s
comm-data4.d
comm-data4.s Add support for the GBZ80, Z180, and eZ80 variants of the Z80 architecure. Add an ELF based target for these as well. 2020-01-02 14:14:59 +00:00
comm-data5.d xfail more cases of complaints about relocs in read-only sections 2021-01-08 00:32:10 +10:30
comm-data5.s Add support for the GBZ80, Z180, and eZ80 variants of the Z80 architecure. Add an ELF based target for these as well. 2020-01-02 14:14:59 +00:00
comm-data.exp Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
commonpage1.d
commonpage2.d
compress1-alt.s
compress1.s Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
compress1a.d
compress1b.d
compress1c.d Add generic tests for linker support of the -shared or -pie options to tests which use them. 2020-04-30 13:49:30 +01:00
compress.exp Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
compressed1a.d
compressed1b.d
compressed1c.d Add generic tests for linker support of the -shared or -pie options to tests which use them. 2020-04-30 13:49:30 +01:00
compressed1d-alt.d
compressed1d.d
compressed1e.d Add generic tests for linker support of the -shared or -pie options to tests which use them. 2020-04-30 13:49:30 +01:00
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
dlempty.list ld: Add --export-dynamic-symbol and --export-dynamic-symbol-list 2020-06-03 06:37:39 -07:00
dummy.c
dummy.s
dwarf1.c
dwarf1.h
dwarf1.out
dwarf1main.c
dwarf2.err
dwarf2a.c
dwarf2b.c
dwarf3.c
dwarf3.err
dwarf.exp Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
dynamic1.d Add generic tests for linker support of the -shared or -pie options to tests which use them. 2020-04-30 13:49:30 +01:00
dynamic1.ld
dynamic1.s
dynamic-1.c
dynamic-1.rd ld testsuite fixes for alpha 2020-06-19 10:01:09 +09:30
dynamic-1.syms
dynbss1.c
dynsym1.d Add generic tests for linker support of the -shared or -pie options to tests which use them. 2020-04-30 13:49:30 +01:00
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 ld: Pass -z notext to linker for tests with DT_TEXTREL 2020-05-25 04:54:50 -07:00
eh6.s
eh-frame-hdr.d
eh-frame-hdr.s
eh-group1.s
eh-group2.s
eh-group.exp Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
ehdr_start-missing.d
ehdr_start-missing.t
ehdr_start-shared.d xfail more cases of complaints about relocs in read-only sections 2021-01-08 00:32:10 +10:30
ehdr_start-strongref.s
ehdr_start-userdef.d
ehdr_start-userdef.t
ehdr_start-weak.d
ehdr_start.d xfail more cases of complaints about relocs in read-only sections 2021-01-08 00:32:10 +10:30
ehdr_start.s
elf.exp Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
empty2.d
empty2.s
empty-implib.out
empty.d
empty.s
end.c
endhidden.c
endprotected.c
endsym.d
endsym.s
exclude1.s
exclude2.s
exclude3.s
exclude3a.d
exclude3b.d Add generic tests for linker support of the -shared or -pie options to tests which use them. 2020-04-30 13:49:30 +01:00
exclude3c.d
exclude.exp Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +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 Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
export-class.sd ELF: Don't generate unused section symbols 2021-01-07 06:46:55 -08:00
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
flags1.ld
flags1.s
foo0.s
foo1.s
foo2.s
foo3.s
foo.c
foo.map
foon.s
frame.exp Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
frame.s
func1.c
gabiend.rt
gabinormal.rt
gap.s
global1.d Add generic tests for linker support of the -shared or -pie options to tests which use them. 2020-04-30 13:49:30 +01:00
globalaudit.rd
gnubegin.rS
gnunormal.rS
group1.d solaris XPASS ld-elf/group1 2020-06-30 14:26:05 +09:30
group1a.s
group1b.s
group2.d
group3a.d
group3a.s
group3b.d
group3b.s
group4.d
group5.d
group6.d
group7.d
group8.s
group8a.d
group8b.d
group9.s
group9a.d
group9b.d
group10.d
group10.s
group11.d
group12.d
group12.ld
group.ld
hash.d Add generic tests for linker support of the -shared or -pie options to tests which use them. 2020-04-30 13:49:30 +01:00
header.d
header.s
header.t
hidden.out
implib.rd
implib.s
indirect1a.c
indirect1b.c Use __asm__ rather than asm in ld testsuite 2020-06-16 22:13:20 +09:30
indirect1c.c
indirect2.c Use __asm__ rather than asm in ld testsuite 2020-06-16 22:13:20 +09:30
indirect3.out
indirect3a.c
indirect3b.c Use __asm__ rather than asm in ld testsuite 2020-06-16 22:13:20 +09:30
indirect3c.c
indirect4.out
indirect4a.c
indirect4b.c Use __asm__ rather than asm in ld testsuite 2020-06-16 22:13:20 +09:30
indirect4c.c
indirect5.map
indirect5.out
indirect5a.c
indirect5b.c
indirect6a.c
indirect.exp Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
init0.s
init1.s
init2.s
init3.s
init-fini-arrays.d
init-fini-arrays.s
init-mixed.c
init-mixed.out
init.c
init.out
initn.s
interleave-0.d
interleave-4.d
interleave.ld
interleave.s
libbarw.rd
linkinfo1.s
linkinfo1a.d
linkinfo1b.d
linkonce1.d
linkonce1a.s
linkonce1b.s
linkonce2.d
linkoncerdiff1.s
linkoncerdiff2.s
linkoncerdiff.d
linux-x86.exp Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
linux-x86.S
lma.lnk
lma.s
loadaddr1.d Add generic tests for linker support of the -shared or -pie options to tests which use them. 2020-04-30 13:49:30 +01:00
loadaddr1.t
loadaddr2.d Add generic tests for linker support of the -shared or -pie options to tests which use them. 2020-04-30 13:49:30 +01:00
loadaddr2.t
loadaddr3.t
loadaddr3a.d
loadaddr3b.d ELF: Don't generate unused section symbols 2021-01-07 06:46:55 -08:00
loadaddr.s
loadaddr.t
local1.d Add generic tests for linker support of the -shared or -pie options to tests which use them. 2020-04-30 13:49:30 +01:00
local1.map
local1.s
main.c
maxpage1.d
maxpage1.s
maxpage2.d
maxpage3.t
maxpage3a.d
maxpage3b.d
maxpage3c.d
maxpage4.d
maxpage4.t
maxpage5.d
maxpage5.s
maxpage5.t
mbind1.s
mbind1a.d
mbind1b.d Add generic tests for linker support of the -shared or -pie options to tests which use them. 2020-04-30 13:49:30 +01:00
mbind1c.d Add generic tests for linker support of the -shared or -pie options to tests which use them. 2020-04-30 13:49:30 +01:00
mbind2a.s
mbind2b.c
merge2.d
merge2.s
merge3.d
merge3.s
merge.d
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
noinit-sections-1.d ELF: Support .noinit and .persistent sections 2020-11-27 10:45:35 +00:00
noinit-sections-2.d ELF: Support .noinit and .persistent sections 2020-11-27 10:45:35 +00:00
noinit-sections-2.l ELF: Support .noinit and .persistent sections 2020-11-27 10:45:35 +00:00
noinit-sections.s ELF: Support .noinit and .persistent sections 2020-11-27 10:45:35 +00:00
noload-1.d
noload-1.s
noload-1.t
noload-2.d
noload-3.d
noload-3.s
noload-3.t
non-contiguous.d non-contiguous elf test 2020-03-14 17:24:19 +10:30
non-contiguous.ld CSKY: Support attribute section. 2020-08-28 17:23:24 +08:00
non-contiguous.s Add support for non-contiguous memory regions 2020-03-13 14:44:45 +00:00
normal.out
note1_1.s
note1_2.s
note1.r
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
notes.exp Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
now-1.d Add generic tests for linker support of the -shared or -pie options to tests which use them. 2020-04-30 13:49:30 +01:00
now-2.d Add generic tests for linker support of the -shared or -pie options to tests which use them. 2020-04-30 13:49:30 +01:00
now-3.d Add generic tests for linker support of the -shared or -pie options to tests which use them. 2020-04-30 13:49:30 +01:00
now-4.d Add generic tests for linker support of the -shared or -pie options to tests which use them. 2020-04-30 13:49:30 +01:00
orphan2.d
orphan2.s
orphan3.d
orphan3a.s
orphan3b.s
orphan3c.s
orphan3d.s
orphan3e.s
orphan3f.s
orphan4.d
orphan4.ld
orphan4.s
orphan-5.d
orphan-5.l
orphan-6.d
orphan-6.l
orphan-7.d
orphan-7.map
orphan-8.d
orphan-8.map
orphan-9.d
orphan-9.ld
orphan-9.s
orphan-10.d
orphan-10.s
orphan-11.d
orphan-11.ld
orphan-11.s
orphan-12.d
orphan-12.s
orphan-region.d
orphan-region.ld
orphan-region.s
orphan.d
orphan.ld
orphan.s
overlay.d
overlay.s
overlay.t
pass.out
passall.out Fix x86 ld testsuite fails with glibc < 2.28 2020-06-10 22:19:07 +09:30
persistent-sections-1.d ELF: Support .noinit and .persistent sections 2020-11-27 10:45:35 +00:00
persistent-sections-2.d ELF: Support .noinit and .persistent sections 2020-11-27 10:45:35 +00:00
persistent-sections-2.l ELF: Support .noinit and .persistent sections 2020-11-27 10:45:35 +00:00
persistent-sections.s ELF: Support .noinit and .persistent sections 2020-11-27 10:45:35 +00:00
pie.d Add generic tests for linker support of the -shared or -pie options to tests which use them. 2020-04-30 13:49:30 +01:00
pr349-1.s
pr349-2.s
pr349.d
pr2404.out
pr2404a.c
pr2404b.c
pr9676-1.c
pr9676-2.c
pr9676-3.c
pr9676-4.c
pr9676.rd ld testsuite fixes for alpha 2020-06-19 10:01:09 +09:30
pr9679-1.c
pr9679-2.c
pr9679.rd ld testsuite fixes for alpha 2020-06-19 10:01:09 +09:30
pr11138-1.c
pr11138-1.map
pr11138-2.c
pr11138-2.map
pr11138.out
pr11304.d pr11304.d: Skip tic6x-*-elf 2020-06-07 08:47:02 -07:00
pr11304a.s
pr11304b.s
pr12851.d
pr12851.s
pr12975.d Add generic tests for linker support of the -shared or -pie options to tests which use them. 2020-04-30 13:49:30 +01:00
pr12975.s
pr12975.t
pr13177.d Add generic tests for linker support of the -shared or -pie options to tests which use them. 2020-04-30 13:49:30 +01:00
pr13177.s
pr13195.c
pr13195.d Add generic tests for linker support of the -shared or -pie options to tests which use them. 2020-04-30 13:49:30 +01: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
pr14156b.d
pr14156c.d
pr14156c.t
pr14170a.s
pr14170b.s
pr14170c.s
pr14323-1.c
pr14323-2.c Use __asm__ rather than asm in ld testsuite 2020-06-16 22:13:20 +09:30
pr14525.c
pr14525.out
pr14862-1.c
pr14862-2.c
pr14862.map
pr14862.out
pr14926.d
pr14926.s
pr16322.d Emit a warning when -z relro is unsupported 2020-06-19 09:50:20 +09:30
pr16322.s
pr16452.map
pr16452.od
pr16452a.c
pr16452b.c
pr16457.od
pr16496a.c
pr16496a.map
pr16496b.c
pr16496b.od
pr16498a.d Add generic tests for linker support of the -shared or -pie options to tests which use them. 2020-04-30 13:49:30 +01:00
pr16498a.s
pr16498a.t
pr16498b.d Add generic tests for linker support of the -shared or -pie options to tests which use them. 2020-04-30 13:49:30 +01:00
pr16498b.t
pr17068.s
pr17068a.s
pr17068b.s
pr17068c.s
pr17068d.s
pr17068e.s
pr17068ez.s
pr17550-1.s
pr17550-2.s
pr17550-3.s
pr17550-4.s
pr17550a.d
pr17550b.d
pr17550c.d
pr17550d.d
pr17615.d Add generic tests for linker support of the -shared or -pie options to tests which use them. 2020-04-30 13:49:30 +01:00
pr17615.s
pr18458a.c
pr18458b.c
pr18458c.c
pr18718.c
pr18720.out
pr18720.rd
pr18720a.c
pr18720b.c Use __asm__ rather than asm in ld testsuite 2020-06-16 22:13:20 +09:30
pr18720c.c
pr18735.d
pr18735.s
pr19005.d
pr19005.s
pr19005.t
pr19073.map
pr19073.rd
pr19073.s
pr19162.d Add generic tests for linker support of the -shared or -pie options to tests which use them. 2020-04-30 13:49:30 +01:00
pr19162a.s
pr19162b.s
pr19539.d PR ld/22909 amendment; don't xfail ld-elf/pr19539.d for cris*-*-*. 2020-05-27 23:25:53 +02:00
pr19539.s
pr19539.t
pr19553.map
pr19553a.c
pr19553b.c
pr19553b.out
pr19553c.c Re: Use __asm__ rather than asm in ld testsuite 2020-06-16 22:44:13 +09:30
pr19553c.out
pr19553d.c
pr19553d.out
pr19579a.c
pr19579b.c
pr19617.s
pr19617a.d h8300-linux ld testsuite 2020-03-25 14:51:41 +10:30
pr19617b.d
pr19617c.d
pr19698.d Add generic tests for linker support of the -shared or -pie options to tests which use them. 2020-04-30 13:49:30 +01:00
pr19698.s
pr19698.t
pr19719a.c
pr19719b.c
pr19719c.c
pr19719d.c
pr19789.d
pr19789.s elf: Don't use .set for alpha target 2020-04-18 11:23:09 -07:00
pr20513a.d
pr20513a.s
pr20513b.d
pr20513b.s
pr20513c.d Add generic tests for linker support of the -shared or -pie options to tests which use them. 2020-04-30 13:49:30 +01:00
pr20513d.d Add generic tests for linker support of the -shared or -pie options to tests which use them. 2020-04-30 13:49:30 +01:00
pr20513e.d
pr20513f.d
pr20528a.d
pr20528a.s
pr20528b.d
pr20528b.s
pr20828-a.sd
pr20828-b.sd
pr20828-c.sd
pr20828-d.sd
pr20828-e.sd
pr20828-v.ld
pr20828-v.od
pr20828-v.s
pr20828-v.ver
pr20828.ld
pr20828.s
pr20828.ver
pr20995-2so.r
pr20995.r
pr20995a.s
pr20995b.s
pr20995c.s
pr21086.c
pr21086.list
pr21233-e.ld
pr21233-l.s
pr21233-l.sd Accept mips-sgi-irix output in a few ld tests 2019-12-17 20:42:47 +10:30
pr21233.ld
pr21233.s
pr21233.sd
pr21384.d
pr21384.dl
pr21384.ld
pr21384.s
pr21389.map
pr21389.s
pr21389a.d Add generic tests for linker support of the -shared or -pie options to tests which use them. 2020-04-30 13:49:30 +01:00
pr21389b.d Add generic tests for linker support of the -shared or -pie options to tests which use them. 2020-04-30 13:49:30 +01:00
pr21389c.d Add generic tests for linker support of the -shared or -pie options to tests which use them. 2020-04-30 13:49:30 +01:00
pr21562a.d Add generic tests for linker support of the -shared or -pie options to tests which use them. 2020-04-30 13:49:30 +01:00
pr21562a.s
pr21562a.t
pr21562b.d Add generic tests for linker support of the -shared or -pie options to tests which use them. 2020-04-30 13:49:30 +01:00
pr21562b.s
pr21562b.t
pr21562c.d Add generic tests for linker support of the -shared or -pie options to tests which use them. 2020-04-30 13:49:30 +01:00
pr21562c.t
pr21562d.d Add generic tests for linker support of the -shared or -pie options to tests which use them. 2020-04-30 13:49:30 +01:00
pr21562d.t
pr21562e.d Add generic tests for linker support of the -shared or -pie options to tests which use them. 2020-04-30 13:49:30 +01:00
pr21562f.d Add generic tests for linker support of the -shared or -pie options to tests which use them. 2020-04-30 13:49:30 +01:00
pr21562g.d Add generic tests for linker support of the -shared or -pie options to tests which use them. 2020-04-30 13:49:30 +01:00
pr21562h.d Add generic tests for linker support of the -shared or -pie options to tests which use them. 2020-04-30 13:49:30 +01:00
pr21562i.d Add generic tests for linker support of the -shared or -pie options to tests which use them. 2020-04-30 13:49:30 +01:00
pr21562j.d Add generic tests for linker support of the -shared or -pie options to tests which use them. 2020-04-30 13:49:30 +01:00
pr21562k.d Add generic tests for linker support of the -shared or -pie options to tests which use them. 2020-04-30 13:49:30 +01:00
pr21562l.d Add generic tests for linker support of the -shared or -pie options to tests which use them. 2020-04-30 13:49:30 +01:00
pr21562m.d Add generic tests for linker support of the -shared or -pie options to tests which use them. 2020-04-30 13:49:30 +01:00
pr21562n.d Add generic tests for linker support of the -shared or -pie options to tests which use them. 2020-04-30 13:49:30 +01:00
pr21703-1.s
pr21703-2.s
pr21703-3.s
pr21703-4.s
pr21703-r.sd
pr21703-shared.sd
pr21703.sd
pr21703.ver
pr21884.d
pr21884.t
pr21884a.s
pr21884b.s
pr21903.s
pr21903a.d Add generic tests for linker support of the -shared or -pie options to tests which use them. 2020-04-30 13:49:30 +01:00
pr21903b.d Add generic tests for linker support of the -shared or -pie options to tests which use them. 2020-04-30 13:49:30 +01:00
pr21903c.d
pr21903d.d Add generic tests for linker support of the -shared or -pie options to tests which use them. 2020-04-30 13:49:30 +01:00
pr21903e.d
pr21904.d
pr21904.s
pr21964-1a.c
pr21964-1b.c
pr21964-1c.c
pr21964-2a.c
pr21964-2b.c
pr21964-2c.c
pr21964-3a.c
pr21964-3c.c
pr21964-4.c
pr21964-5.c
pr21978.od
pr21978a.c
pr21978b.c
pr22150.vd
pr22150.ver
pr22150a.s
pr22150b.s
pr22263-1.rd
pr22263-1a.c
pr22263-1b.c
pr22269-1.c Commit: Running the linker testsuite with clang 2020-04-17 13:03:53 +01:00
pr22269-1.rd
pr22269.s
pr22269a.d Add generic tests for linker support of the -shared or -pie options to tests which use them. 2020-04-30 13:49:30 +01:00
pr22269b.d Add generic tests for linker support of the -shared or -pie options to tests which use them. 2020-04-30 13:49:30 +01:00
pr22319.d
pr22319.s
pr22374-1.r
pr22374-2.r
pr22374a.s
pr22374b.s
pr22393-1.s
pr22393-1a.d Emit a warning when -z relro is unsupported 2020-06-19 09:50:20 +09:30
pr22393-1b.d Emit a warning when -z relro is unsupported 2020-06-19 09:50:20 +09:30
pr22393-1c.d Add generic tests for linker support of the -shared or -pie options to tests which use them. 2020-04-30 13:49:30 +01:00
pr22393-1d.d Add generic tests for linker support of the -shared or -pie options to tests which use them. 2020-04-30 13:49:30 +01:00
pr22393-1e.d Add generic tests for linker support of the -shared or -pie options to tests which use them. 2020-04-30 13:49:30 +01:00
pr22393-1f.d Add generic tests for linker support of the -shared or -pie options to tests which use them. 2020-04-30 13:49:30 +01:00
pr22393-2a.c
pr22393-2a.rd
pr22393-2b.c
pr22393-2b.rd
pr22423.d Add generic tests for linker support of the -shared or -pie options to tests which use them. 2020-04-30 13:49:30 +01:00
pr22450.d h8300-linux ld testsuite 2020-03-25 14:51:41 +10:30
pr22450.s
pr22471.t
pr22471a.s
pr22471b.s
pr22649-1.s
pr22649-2a.s
pr22649-2ab-mips.msg
pr22649-2b.s
pr22649-2cd-mips.msg
pr22649.msg
pr22677.d
pr22677.s
pr22836-1.s
pr22836-1a.d
pr22836-1b.d
pr22836-2.d
pr22836-2.s
pr23161.map
pr23161a.c
pr23161a.rd
pr23161b.c
pr23161b.rd
pr23161c.c
pr23161c.rd
pr23161d.rd
pr23162.map
pr23162.rd
pr23162a.c
pr23162b.c
pr23428.c Use __asm__ rather than asm in ld testsuite 2020-06-16 22:13:20 +09:30
pr23591.d Accept mips-sgi-irix output in a few ld tests 2019-12-17 20:42:47 +10:30
pr23591a.s
pr23591b.s
pr23591c.s
pr23648.d
pr23648.s
pr23648.t
pr23658-1a.d
pr23658-1a.s
pr23658-1b.d
pr23658-1b.s
pr23658-1c.d Add generic tests for linker support of the -shared or -pie options to tests which use them. 2020-04-30 13:49:30 +01:00
pr23658-1c.s
pr23658-1d.s
pr23658-2.rd
pr23658-3.d
pr23658-3.s
pr23658-3.t
pr23900-1-32.rd
pr23900-1-64.rd
pr23900-1.d pr23900-1.d: Adjusted 2020-01-21 16:20:38 -08:00
pr23900-1.s
pr23900-2.s
pr23900-2a.d
pr23900-2b.d
pr24511.d
pr24526.d ELF: Support the section flag 'o' in .section directive 2020-02-06 18:05:10 -08:00
pr24526.s ELF: Support the section flag 'o' in .section directive 2020-02-06 18:05:10 -08:00
pr24819.d
pr24819.s
pr24920.err x86: Check static link of dynamic objects 2020-03-13 07:39:06 -07:00
pr25021.d ELF: Support the section flag 'o' in .section directive 2020-02-06 18:05:10 -08:00
pr25021.s ELF: Support the section flag 'o' in .section directive 2020-02-06 18:05:10 -08:00
pr25022.d pr25022.d: Xfail more targets without ldelf_before_place_orphans 2020-02-07 05:10:05 -08:00
pr25022.s ELF: Discard a section if any of its linked-to sections has been discarded 2020-02-06 19:43:03 -08:00
pr25022.t ELF: Discard a section if any of its linked-to sections has been discarded 2020-02-06 19:43:03 -08:00
pr25458.map Mark all weak aliases for copy relocations 2020-01-27 10:53:00 +10:30
pr25458.rd Mark all weak aliases for copy relocations 2020-01-27 10:53:00 +10:30
pr25458a.s Mark all weak aliases for copy relocations 2020-01-27 10:53:00 +10:30
pr25458b.s Mark all weak aliases for copy relocations 2020-01-27 10:53:00 +10:30
pr25490-1.d ld: Issue an error for GC on __patchable_function_entries section 2020-02-06 19:40:38 -08:00
pr25490-1.s ld: Issue an error for GC on __patchable_function_entries section 2020-02-06 19:40:38 -08:00
pr25490-2-16.rd ELF: Support the section flag 'o' in .section directive 2020-02-06 18:05:10 -08:00
pr25490-2-32.rd ELF: Support the section flag 'o' in .section directive 2020-02-06 18:05:10 -08:00
pr25490-2-64.rd ELF: Support the section flag 'o' in .section directive 2020-02-06 18:05:10 -08:00
pr25490-2.s ELF: Support the section flag 'o' in .section directive 2020-02-06 18:05:10 -08:00
pr25490-3-16.rd ELF: Support the section flag 'o' in .section directive 2020-02-06 18:05:10 -08:00
pr25490-3-32.rd ELF: Support the section flag 'o' in .section directive 2020-02-06 18:05:10 -08:00
pr25490-3-64.rd ELF: Support the section flag 'o' in .section directive 2020-02-06 18:05:10 -08:00
pr25490-3.s ELF: Support the section flag 'o' in .section directive 2020-02-06 18:05:10 -08:00
pr25490-4-16.rd ELF: Support the section flag 'o' in .section directive 2020-02-06 18:05:10 -08:00
pr25490-4-32.rd ELF: Support the section flag 'o' in .section directive 2020-02-06 18:05:10 -08:00
pr25490-4-64.rd ELF: Support the section flag 'o' in .section directive 2020-02-06 18:05:10 -08:00
pr25490-4.s ELF: Support the section flag 'o' in .section directive 2020-02-06 18:05:10 -08:00
pr25490-5-16.rd ELF: Support the section flag 'o' in .section directive 2020-02-06 18:05:10 -08:00
pr25490-5-32.rd ELF: Support the section flag 'o' in .section directive 2020-02-06 18:05:10 -08:00
pr25490-5-64.rd ELF: Support the section flag 'o' in .section directive 2020-02-06 18:05:10 -08:00
pr25490-5.s ELF: Support the section flag 'o' in .section directive 2020-02-06 18:05:10 -08:00
pr25490-6-16.rd ELF: Support the section flag 'o' in .section directive 2020-02-06 18:05:10 -08:00
pr25490-6-32.rd ELF: Support the section flag 'o' in .section directive 2020-02-06 18:05:10 -08:00
pr25490-6-64.rd ELF: Support the section flag 'o' in .section directive 2020-02-06 18:05:10 -08:00
pr25490-6.s ELF: Support the section flag 'o' in .section directive 2020-02-06 18:05:10 -08:00
pr25708.d Add generic tests for linker support of the -shared or -pie options to tests which use them. 2020-04-30 13:49:30 +01:00
pr25749-1.c Fix x86 ld testsuite fails with glibc < 2.28 2020-06-10 22:19:07 +09:30
pr25749-1a.c x86: Only allow S + A relocations against absolute symbol 2020-04-01 14:31:47 -07:00
pr25749-1b.c x86: Only allow S + A relocations against absolute symbol 2020-04-01 14:31:47 -07:00
pr25749-1b.err x86: Only allow S + A relocations against absolute symbol 2020-04-01 14:31:47 -07:00
pr25749-1c.c x86: Only allow S + A relocations against absolute symbol 2020-04-01 14:31:47 -07:00
pr25749-1d.c x86: Only allow S + A relocations against absolute symbol 2020-04-01 14:31:47 -07:00
pr25749-2.c Fix x86 ld testsuite fails with glibc < 2.28 2020-06-10 22:19:07 +09:30
pr25749-2a.s x86: Only allow S + A relocations against absolute symbol 2020-04-01 14:31:47 -07:00
pr25749-2b.s x86: Only allow S + A relocations against absolute symbol 2020-04-01 14:31:47 -07:00
pr25749.rd x86: Only allow S + A relocations against absolute symbol 2020-04-01 14:31:47 -07:00
pr25754-1a.c x86: Only allow S + A relocations against absolute symbol 2020-04-01 14:31:47 -07:00
pr25754-1b.s x86: Only allow S + A relocations against absolute symbol 2020-04-01 14:31:47 -07:00
pr25754-2a.c x86: Only allow S + A relocations against absolute symbol 2020-04-01 14:31:47 -07:00
pr25754-2b.s x86: Only allow S + A relocations against absolute symbol 2020-04-01 14:31:47 -07:00
pr25754-3a.c x86: Only allow S + A relocations against absolute symbol 2020-04-01 14:31:47 -07:00
pr25754-3b.s x86: Only allow S + A relocations against absolute symbol 2020-04-01 14:31:47 -07:00
pr25754-4a.c x86: Only allow S + A relocations against absolute symbol 2020-04-01 14:31:47 -07:00
pr25754-4b.s x86: Only allow S + A relocations against absolute symbol 2020-04-01 14:31:47 -07:00
pr25754-4c.s x86: Only allow S + A relocations against absolute symbol 2020-04-01 14:31:47 -07:00
pr25754-5a.c x86: Only allow S + A relocations against absolute symbol 2020-04-01 14:31:47 -07:00
pr25754-5b.s x86: Only allow S + A relocations against absolute symbol 2020-04-01 14:31:47 -07:00
pr25754-5c.s x86: Only allow S + A relocations against absolute symbol 2020-04-01 14:31:47 -07:00
pr25754-6a.c x86: Only allow S + A relocations against absolute symbol 2020-04-01 14:31:47 -07:00
pr25754-6b.s x86: Only allow S + A relocations against absolute symbol 2020-04-01 14:31:47 -07:00
pr26094-1.ver ELF: Properly handle section symbols 2020-06-10 05:31:31 -07:00
pr26094-1a.c ELF: Properly handle section symbols 2020-06-10 05:31:31 -07:00
pr26094-1a.rd ELF: Properly handle section symbols 2020-06-10 05:31:31 -07:00
pr26094-1b.c Fix a compile time warning in the linker testsuite when compiling using clang. 2020-06-11 09:27:41 +01:00
pr26094-1b.rd ELF: Properly handle section symbols 2020-06-10 05:31:31 -07:00
pr26094-1c.c ELF: Properly handle section symbols 2020-06-10 05:31:31 -07:00
pr26256-1.s elf: Allow mixed ordered/unordered inputs for non-relocatable link 2021-01-04 12:38:05 -08:00
pr26256-1.t elf: Allow mixed ordered/unordered inputs for non-relocatable link 2021-01-04 12:38:05 -08:00
pr26256-1a.d elf: Allow mixed ordered/unordered inputs for non-relocatable link 2021-01-04 12:38:05 -08:00
pr26256-1b.d Re: elf: Allow mixed ordered/unordered inputs for non-relocatable link 2021-01-05 15:47:06 +10:30
pr26256-2.s elf: Allow mixed ordered/unordered inputs for non-relocatable link 2021-01-04 12:38:05 -08:00
pr26256-2.t elf: Allow mixed ordered/unordered inputs for non-relocatable link 2021-01-04 12:38:05 -08:00
pr26256-2a.d elf: Allow mixed ordered/unordered inputs for non-relocatable link 2021-01-04 12:38:05 -08:00
pr26256-2b-alt.d elf: Allow mixed ordered/unordered inputs for non-relocatable link 2021-01-04 12:38:05 -08:00
pr26256-2b.d elf: Allow mixed ordered/unordered inputs for non-relocatable link 2021-01-04 12:38:05 -08:00
pr26256-3.s elf: Allow mixed ordered/unordered inputs for non-relocatable link 2021-01-04 12:38:05 -08:00
pr26256-3a.d elf: Allow mixed ordered/unordered inputs for non-relocatable link 2021-01-04 12:38:05 -08:00
pr26256-3a.t elf: Allow mixed ordered/unordered inputs for non-relocatable link 2021-01-04 12:38:05 -08:00
pr26256-3b.d elf: Allow mixed ordered/unordered inputs for non-relocatable link 2021-01-04 12:38:05 -08:00
pr26256-3b.t elf: Allow mixed ordered/unordered inputs for non-relocatable link 2021-01-04 12:38:05 -08:00
pr26302.nd elf: Keep only one '@' for undefined versioned symbols 2020-08-22 08:32:02 -07:00
pr26302.rd elf: Keep only one '@' for undefined versioned symbols 2020-08-22 08:32:02 -07:00
pr26302.ver nm: Remove --with-symbol-versions 2020-08-10 05:17:41 -07:00
pr26302a.c nm: Remove --with-symbol-versions 2020-08-10 05:17:41 -07:00
pr26302b.c nm: Remove --with-symbol-versions 2020-08-10 05:17:41 -07:00
pr26391.fd ld: Skip libdep plugin if not all plugin hooks are available 2020-12-16 13:40:51 -08:00
pr26391.nd Re: elf: Add -z unique-symbol 2020-09-13 18:42:12 +09:30
pr26391.out elf: Add -z unique-symbol to avoid duplicated local symbol names 2020-09-12 05:37:43 -07:00
pr26391a.c elf: Add -z unique-symbol to avoid duplicated local symbol names 2020-09-12 05:37:43 -07:00
pr26391b.c elf: Add -z unique-symbol to avoid duplicated local symbol names 2020-09-12 05:37:43 -07:00
pr26391c.c elf: Add -z unique-symbol to avoid duplicated local symbol names 2020-09-12 05:37:43 -07:00
pr26391d.c elf: Add -z unique-symbol to avoid duplicated local symbol names 2020-09-12 05:37:43 -07:00
pr26580-1.sd PR26580, Size and alignment of commons vs as-needed shared lib 2020-09-08 22:30:38 +09:30
pr26580-2.sd Re: PR26580, Size and alignment of commons vs as-needed shared lib 2020-09-10 18:58:51 +09:30
pr26580-3.out PR26580, Size and alignment of commons vs as-needed shared lib 2020-09-08 22:30:38 +09:30
pr26580-4.out PR26580, Size and alignment of commons vs as-needed shared lib 2020-09-08 22:30:38 +09:30
pr26580-a.c PR26580, Size and alignment of commons vs as-needed shared lib 2020-09-08 22:30:38 +09:30
pr26580-a.s PR26580, Size and alignment of commons vs as-needed shared lib 2020-09-08 22:30:38 +09:30
pr26580-b.c PR26580, Size and alignment of commons vs as-needed shared lib 2020-09-08 22:30:38 +09:30
pr26580-b.s PR26580, Size and alignment of commons vs as-needed shared lib 2020-09-08 22:30:38 +09:30
pr26590.err ld: Add more tests for --as-needed 2020-09-10 07:52:20 -07:00
pr26590a.c ld: Add more tests for --as-needed 2020-09-10 07:52:20 -07:00
pr26590b.c ld: Add more tests for --as-needed 2020-09-10 07:52:20 -07:00
pr26590c.c ld: Add more tests for --as-needed 2020-09-10 07:52:20 -07:00
pr26590d.c ld: Add more tests for --as-needed 2020-09-10 07:52:20 -07:00
pr26681.d Allow note sections to be discarded when they are linked to another discarded secction. 2020-10-02 11:08:19 +01:00
pr26681.l Allow note sections to be discarded when they are linked to another discarded secction. 2020-10-02 11:08:19 +01:00
pr26681.s Allow note sections to be discarded when they are linked to another discarded secction. 2020-10-02 11:08:19 +01:00
pr26907.d PR26907, segment contains empty SHT_NOBITS section 2020-11-28 18:31:32 +10:30
pr26907.ld PR26907, segment contains empty SHT_NOBITS section 2020-11-28 18:31:32 +10:30
pr26907.s PR26907, segment contains empty SHT_NOBITS section 2020-11-28 18:31:32 +10:30
pr26936.d testsuite/ld-elf/pr26936.d: Pass -W. 2020-12-02 21:53:42 +01:00
pr26936a.s elf: Get the real kept section 2020-11-25 16:14:29 -08:00
pr26936b.s PR26936 testsuite fixes 2020-11-26 18:40:10 +10:30
pr26936c.s elf: Get the real kept section 2020-11-25 16:14:29 -08:00
pr26978a.d PR26978, Inconsistency for strong foo@v1 and weak foo@@v1 2020-12-04 11:06:52 +10:30
pr26978a.s PR26978, Inconsistency for strong foo@v1 and weak foo@@v1 2020-12-04 11:06:52 +10:30
pr26978b.d PR26978, Inconsistency for strong foo@v1 and weak foo@@v1 2020-12-04 11:06:52 +10:30
pr26978b.s PR26978, Inconsistency for strong foo@v1 and weak foo@@v1 2020-12-04 11:06:52 +10:30
pr26979.ver PR26979, Visibility of undefined foo@v1 should constrain foo@@v1 2020-12-01 11:26:35 +10:30
pr26979a.d PR26979, Visibility of undefined foo@v1 should constrain foo@@v1 2020-12-01 11:26:35 +10:30
pr26979a.s PR26979, Visibility of undefined foo@v1 should constrain foo@@v1 2020-12-01 11:26:35 +10:30
pr26979b.d PR26979, Visibility of undefined foo@v1 should constrain foo@@v1 2020-12-01 11:26:35 +10:30
pr26979b.s PR26979, Visibility of undefined foo@v1 should constrain foo@@v1 2020-12-01 11:26:35 +10:30
pr26979c.s PR26979, Visibility of undefined foo@v1 should constrain foo@@v1 2020-12-01 11:26:35 +10:30
pr27128.s PR27128, nm -P portable output format regression 2020-12-31 19:07:02 +10:30
pr27128.t PR27128, nm -P portable output format regression 2020-12-31 19:07:02 +10:30
pr27128a.d PR27128, nm -P portable output format regression 2020-12-31 19:07:02 +10:30
pr27128b.d PR27128, nm -P portable output format regression 2020-12-31 19:07:02 +10:30
pr27128c.d PR27128, nm -P portable output format regression 2020-12-31 19:07:02 +10:30
pr27128d.d PR27128, nm -P portable output format regression 2020-12-31 19:07:02 +10:30
pr27128e.d PR27128, nm -P portable output format regression 2020-12-31 19:07:02 +10:30
preinit.c
preinit.out
provide-hidden-1.ld
provide-hidden-1.s
provide-hidden-2.ld
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-s.ld
provide-hidden-s.nd Accept mips-sgi-irix output in a few ld tests 2019-12-17 20:42:47 +10:30
provide-hidden-sec.nd
provide-hidden.exp Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
rdynamic-1.c
rdynamic-1.rd ld testsuite fixes for alpha 2020-06-19 10:01:09 +09:30
readelf.exp Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
rel.c
relmain.c
relmain.out
reloc-discard-warn.d
reloc-discard.d tic6x elf testsuite fix 2020-12-01 11:26:58 +10:30
reloc-discard.ld
reloc-discard.s
relocatable.d
relocatable.t
relro1.s
relro2.s
retain1.s Support SHF_GNU_RETAIN ELF section flag 2020-11-18 11:51:13 +00:00
retain1a.d Support SHF_GNU_RETAIN ELF section flag 2020-11-18 11:51:13 +00:00
retain1b.d Support SHF_GNU_RETAIN ELF section flag 2020-11-18 11:51:13 +00:00
retain2.d Support SHF_GNU_RETAIN ELF section flag 2020-11-18 11:51:13 +00:00
retain2.ld Support SHF_GNU_RETAIN ELF section flag 2020-11-18 11:51:13 +00:00
retain2.map Support SHF_GNU_RETAIN ELF section flag 2020-11-18 11:51:13 +00:00
retain3.d Support SHF_GNU_RETAIN ELF section flag 2020-11-18 11:51:13 +00:00
retain3.s Fix SHF_GNU_RETAIN testsuite fallout 2020-11-20 10:33:28 +00:00
retain4.d Support SHF_GNU_RETAIN ELF section flag 2020-11-18 11:51:13 +00:00
retain4.s Support SHF_GNU_RETAIN ELF section flag 2020-11-18 11:51:13 +00:00
retain5.d Fix SHF_GNU_RETAIN testsuite fallout 2020-11-20 10:33:28 +00:00
retain5.map Support SHF_GNU_RETAIN ELF section flag 2020-11-18 11:51:13 +00:00
retain5lib.s Support SHF_GNU_RETAIN ELF section flag 2020-11-18 11:51:13 +00:00
retain5main.s Support SHF_GNU_RETAIN ELF section flag 2020-11-18 11:51:13 +00:00
retain6a.d Fix SHF_GNU_RETAIN testsuite fallout 2020-11-20 10:33:28 +00:00
retain6b.d Support SHF_GNU_RETAIN ELF section flag 2020-11-18 11:51:13 +00:00
retain6lib.s Support SHF_GNU_RETAIN ELF section flag 2020-11-18 11:51:13 +00:00
retain6main.s Fix SHF_GNU_RETAIN testsuite fallout 2020-11-20 10:33:28 +00:00
retain7.s elf: Copy elf_gnu_osabi_retain only for relocatable link 2020-12-18 04:24:36 -08:00
retain7a.d SHF_GNU_RETAIN 7a and 7b tests 2020-12-24 22:58:14 +10:30
retain7b.d SHF_GNU_RETAIN 7a and 7b tests 2020-12-24 22:58:14 +10:30
rpath-1.d Add generic tests for linker support of the -shared or -pie options to tests which use them. 2020-04-30 13:49:30 +01:00
rpath-2.d Add generic tests for linker support of the -shared or -pie options to tests which use them. 2020-04-30 13:49:30 +01:00
runpath-1.d Add generic tests for linker support of the -shared or -pie options to tests which use them. 2020-04-30 13:49:30 +01:00
runpath-2.d Add generic tests for linker support of the -shared or -pie options to tests which use them. 2020-04-30 13:49:30 +01:00
sec64k.exp ELF: Don't generate unused section symbols 2021-01-07 06:46:55 -08:00
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 Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
seg.d
seg.s
seg.t
shared.exp xfail more cases of complaints about relocs in read-only sections 2021-01-08 00:32:10 +10:30
simple.s
size-1.d
size-1.s
size-1.t
size-2.d
size-2.s
size-2.t
sizeof.s
sizeofa.d
sizeofb.d Add generic tests for linker support of the -shared or -pie options to tests which use them. 2020-04-30 13:49:30 +01:00
sizeofc.d
stab.d
stack-exec.rd
stack-noexec.rd
stack-size.rd
stack.s
start.s
startof.s
startofa.d
startofb.d Add generic tests for linker support of the -shared or -pie options to tests which use them. 2020-04-30 13:49:30 +01:00
startofc.d
strtab.d Add generic tests for linker support of the -shared or -pie options to tests which use them. 2020-04-30 13:49:30 +01:00
strtab.s
symbol1ref.s
symbol1w.s
symbol2ref.s
symbol2w.s
symbol3.s
symbol3w.s
symbolic-func.r
symbolic-func.s
table.s
tbss1.s
tbss2.s
tbss3.s
tbss.s
tdata1.s
tdata2.s
tdata3.s
textaddr1.d Add generic tests for linker support of the -shared or -pie options to tests which use them. 2020-04-30 13:49:30 +01:00
textaddr2.d Add generic tests for linker support of the -shared or -pie options to tests which use them. 2020-04-30 13:49:30 +01:00
textaddr3.d
textaddr4.d Add generic tests for linker support of the -shared or -pie options to tests which use them. 2020-04-30 13:49:30 +01:00
textaddr5.d Add generic tests for linker support of the -shared or -pie options to tests which use them. 2020-04-30 13:49:30 +01:00
textaddr6.d Add generic tests for linker support of the -shared or -pie options to tests which use them. 2020-04-30 13:49:30 +01:00
textaddr7.d
textrel.map
textrel.rd
textrel.s
textrel.warn
tls_common.exp Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
tls_common.s
tls_gc.s
tls.exp Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
unknown2.d Add generic tests for linker support of the -shared or -pie options to tests which use them. 2020-04-30 13:49:30 +01:00
unknown2.s
unknown.d
var1.d microblaze-linux XPASS ld-elf/var1 2020-06-30 13:32:04 +09:30
var1.s
var1.t
ver_def.ld
ver_def.s
ver_def.vd
ver_def.ver
warn1.d ld: Don't xfail ld-elf/warn[12] on 64-bit Solaris/SPARC 2020-04-18 22:17:24 +02:00
warn2.d ld: Don't xfail ld-elf/warn[12] on 64-bit Solaris/SPARC 2020-04-18 22:17:24 +02:00
warn3.d
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 Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
x86-feature-1a.rd x86: Support GNU_PROPERTY_X86_ISA_1_BASELINE marker 2020-10-30 06:50:10 -07:00
x86-feature-1b.rd x86: Support GNU_PROPERTY_X86_ISA_1_BASELINE marker 2020-10-30 06:50:10 -07:00
x86-feature-1c.rd x86: Support GNU_PROPERTY_X86_ISA_1_BASELINE marker 2020-10-30 06:50:10 -07:00
x86-feature-1d.rd x86: Support GNU_PROPERTY_X86_ISA_1_BASELINE marker 2020-10-30 06:50:10 -07:00
x86-feature-1e.rd x86: Support GNU_PROPERTY_X86_ISA_1_BASELINE marker 2020-10-30 06:50:10 -07:00
zlibbegin.rS Ensure that compressed sections that have an ELF compression header structure at the start are correctly aligned. 2020-08-20 15:03:21 +01:00
zlibnormal.rS Ensure that compressed sections that have an ELF compression header structure at the start are correctly aligned. 2020-08-20 15:03:21 +01:00