binutils-gdb/ld/testsuite/ld-x86-64
H.J. Lu 5bc71c2a6b x86-64: Add R_X86_64_CODE_6_GOTTPOFF
For

	add	%reg1, name@gottpoff(%rip), %reg2

and

	add	name@gottpoff(%rip), %reg1, %reg2

add

 #define R_X86_64_CODE_6_GOTTPOFF		50

if the instruction starts at 6 bytes before the relocation offset.
They are similar to R_X86_64_GOTTPOFF.  Linker can covert GOTTPOFF to

	add	$name@tpoff, %reg1, %reg2

Rewrite fx_tcbit, fx_tcbit2 and fx_tcbit3 usage to generate
R_X86_64_GOTPCRELX, R_X86_64_REX_GOTPCRELX, R_X86_64_CODE_4_GOTPCRELX,
R_X86_64_CODE_4_GOTTPOFF, R_X86_64_CODE_4_GOTPC32_TLSDESC and
R_X86_64_CODE_6_GOTTPOFF.

NB: There is no need to check BFD_RELOC_X86_64_CODE_4_GOTTPOFF in
md_assemble since there is only BFD_RELOC_X86_64_GOTTPOFF at this
stage, which will be converted to BFD_RELOC_X86_64_CODE_4_GOTTPOFF
or BFD_RELOC_X86_64_CODE_6_GOTTPOFF in i386_validate_fix.

5 relocations:

 #define R_X86_64_CODE_5_GOTPCRELX		46
 #define R_X86_64_CODE_5_GOTTPOFF		47
 #define R_X86_64_CODE_5_GOTPC32_TLSDESC	48
 #define R_X86_64_CODE_6_GOTPCRELX		49
 #define R_X86_64_CODE_6_GOTPC32_TLSDESC	51

are added for completeness and they are unused.

bfd/

	* elf64-x86-64.c (x86_64_elf_howto_table): Add
	R_X86_64_CODE_5_GOTPCRELX, R_X86_64_CODE_5_GOTTPOFF,
	R_X86_64_CODE_5_GOTPC32_TLSDESC, R_X86_64_CODE_6_GOTPCRELX,
	R_X86_64_CODE_6_GOTTPOFF and R_X86_64_CODE_6_GOTPC32_TLSDESC.
	(R_X86_64_standard): Updated.
	(x86_64_reloc_map): Add R_X86_64_CODE_5_GOTPCRELX,
	R_X86_64_CODE_5_GOTTPOFF, R_X86_64_CODE_5_GOTPC32_TLSDESC,
	R_X86_64_CODE_6_GOTPCRELX, R_X86_64_CODE_6_GOTTPOFF and
	R_X86_64_CODE_6_GOTPC32_TLSDESC.
	(elf_x86_64_check_tls_transition): Handle
	R_X86_64_CODE_6_GOTTPOFF.
	(elf_x86_64_tls_transition): Likewise.
	(elf_x86_64_scan_relocs): Handle R_X86_64_CODE_6_GOTTPOFF.
	Issue an error for R_X86_64_CODE_5_GOTPCRELX,
	R_X86_64_CODE_5_GOTTPOFF, R_X86_64_CODE_5_GOTPC32_TLSDESC,
	R_X86_64_CODE_6_GOTPCRELX and R_X86_64_CODE_6_GOTPC32_TLSDESC.
	(elf_x86_64_relocate_section): Handle R_X86_64_CODE_6_GOTTPOFF.
	* reloc.c (bfd_reloc_code_real): Add
	BFD_RELOC_X86_64_CODE_5_GOTPCRELX,
	BFD_RELOC_X86_64_CODE_5_GOTTPOFF,
	BFD_RELOC_X86_64_CODE_5_GOTPC32_TLSDESC,
	BFD_RELOC_X86_64_CODE_6_GOTPCRELX,
	BFD_RELOC_X86_64_CODE_6_GOTTPOFF and
	BFD_RELOC_X86_64_CODE_6_GOTPC32_TLSDESC.
	* bfd-in2.h: Regenerated.
	* libbfd.h: Likewise.

elfcpp/

	* x86_64.h (R_X86_64_CODE_5_GOTPCRELX): New.
	(R_X86_64_CODE_5_GOTTPOFF): Likewise.
	(R_X86_64_CODE_5_GOTPC32_TLSDESC): Likewise.
	(R_X86_64_CODE_6_GOTPCRELX): Likewise.
	(R_X86_64_CODE_6_GOTTPOFF): Likewise.
	(R_X86_64_CODE_6_GOTPC32_TLSDESC): Likewise.

gas/

	* config/tc-i386.c (tc_i386_fix_adjustable): Handle
	BFD_RELOC_X86_64_CODE_6_GOTTPOFF.
	(md_assemble): Don't check BFD_RELOC_X86_64_CODE_4_GOTTPOFF.
	Allow "add %reg1, foo@gottpoff(%rip), %reg2".
	(output_disp): Handle BFD_RELOC_X86_64_CODE_6_GOTTPOFF.  Rewrite
	setting fx_tcbitX bits for BFD_RELOC_X86_64_GOTTPOFF,
	BFD_RELOC_X86_64_GOTPC32_TLSDESC and BFD_RELOC_32_PCREL.
	(md_apply_fix): Handle BFD_RELOC_X86_64_CODE_6_GOTTPOFF.
	(i386_validate_fix): Rewrite fx_tcbitX bit checking for
	BFD_RELOC_X86_64_GOTTPOFF, BFD_RELOC_X86_64_GOTPC32_TLSDESC and
	BFD_RELOC_32_PCREL.
	(tc_gen_reloc): Handle BFD_RELOC_X86_64_CODE_6_GOTTPOFF.
	* testsuite/gas/i386/x86-64-gottpoff.d: Updated.
	* testsuite/gas/i386/x86-64-gottpoff.s: Add tests for
	"add %reg1, foo@gottpoff(%rip), %reg2" and
	"add foo@gottpoff(%rip), %reg, %reg2".

gold/

	* x86_64.cc (Target_x86_64::optimize_tls_reloc): Handle
	R_X86_64_CODE_6_GOTTPOFF.
	(Target_x86_64::Scan::get_reference_flags): Likewise.
	(Target_x86_64::Scan::local): Likewise.
	(Target_x86_64::Scan::global): Likewise.
	(Target_x86_64::Relocate::relocate): Likewise.
	(Target_x86_64::Relocate::relocate_tls): Likewise.
	(Target_x86_64::Relocate::tls_ie_to_le): Handle.
	R_X86_64_CODE_6_GOTTPOFF.
	* testsuite/x86_64_ie_to_le.s: Add tests for
	"add %reg1, foo@gottpoff(%rip), %reg2" and
	"add foo@gottpoff(%rip), %reg, %reg2".
	* testsuite/x86_64_ie_to_le.sh: Updated.

include/

	* elf/x86-64.h (elf_x86_64_reloc_type): Add
	R_X86_64_CODE_5_GOTPCRELX, R_X86_64_CODE_5_GOTTPOFF,
	R_X86_64_CODE_5_GOTPC32_TLSDESC, R_X86_64_CODE_6_GOTPCRELX,
	R_X86_64_CODE_6_GOTTPOFF and R_X86_64_CODE_6_GOTPC32_TLSDESC.

ld/

	* testsuite/ld-x86-64/tlsbindesc.s: Add R_X86_64_CODE_6_GOTTPOFF
	tests.
	* testsuite/ld-x86-64/tlsbindesc.d: Updated.
	* testsuite/ld-x86-64/tlsbindesc.rd: Likewise.
2024-02-08 03:45:43 -08:00
..
32bit.s
64bit.s
abs.d
align-branch-1.d opcodes/i386: remove trailing whitespace from insns with zero operands 2022-05-27 14:12:33 +01:00
align-branch-1.s
apic.d
apic.s
apx-load1.s x86-64: Add R_X86_64_CODE_4_GOTPCRELX 2023-12-28 08:47:17 -08:00
apx-load1a.d x86-64: Add R_X86_64_CODE_4_GOTPCRELX 2023-12-28 08:47:17 -08:00
apx-load1b.d x86-64: Add R_X86_64_CODE_4_GOTPCRELX 2023-12-28 08:47:17 -08:00
apx-load1c.d x86-64: Add R_X86_64_CODE_4_GOTPCRELX 2023-12-28 08:47:17 -08:00
apx-load1d.d x86-64: Add R_X86_64_CODE_4_GOTPCRELX 2023-12-28 08:47:17 -08:00
call1.s
call1a.d
call1b.d
call1c.d
call1d.d
call1e.d
call1f.d
call1g.d
call1h.d
call1i.d
code16.d opcodes/i386: remove trailing whitespace from insns with zero operands 2022-05-27 14:12:33 +01:00
code16.t
compressed1.d PR10957, Missing option to really print section+offset 2023-07-17 08:17:44 +09:30
compressed1.s
copyreloc-lib.c
copyreloc-main1.rd
copyreloc-main2.rd
copyreloc-main.out
copyreloc-main.S
discarded1.d Add ability to change linker warning messages into errors when reporting executable stacks and/or executable segments. 2023-11-10 11:37:27 +00:00
discarded1.s
discarded1.t
dt-relr-1.s
dt-relr-1a-x32.d ld: Adjust x86 and x86-64 tests for -z mark-plt 2024-01-06 07:10:15 -08:00
dt-relr-1a.d ld: Adjust x86 and x86-64 tests for -z mark-plt 2024-01-06 07:10:15 -08:00
dt-relr-1b-x32.d ld: Adjust x86 and x86-64 tests for -z mark-plt 2024-01-06 07:10:15 -08:00
dt-relr-1b.d ld: Adjust x86 and x86-64 tests for -z mark-plt 2024-01-06 07:10:15 -08:00
dummy.s Add linker warning for when it creates an executable stack. 2022-04-20 13:39:05 +01:00
dwarfreloc1.s
dwarfreloc2.s
dwarfreloc.exp Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
dwarfreloc.rd
export-class.exp Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
foo.s Add linker warning for when it creates an executable stack. 2022-04-20 13:39:05 +01:00
gotpcrel1.dd
gotpcrel1.out
gotpcrel1a.S Add linker warning for when it creates an executable stack. 2022-04-20 13:39:05 +01:00
gotpcrel1b.c
gotpcrel1c.c
gotpcrel1d.S Add linker warning for when it creates an executable stack. 2022-04-20 13:39:05 +01:00
gotplt1.d
gotplt1.s
hidden1.d
hidden1.s
hidden2.d opcodes/i386: remove trailing whitespace from insns with zero operands 2022-05-27 14:12:33 +01:00
hidden2.s
hidden3.d
hidden3.s
hidden4.d
hidden4.s
hidden5.d
hidden5.s
ia32-1.d
ia32-2.d
ia32-3.d
ibt-plt-1-x32.d opcodes/i386: remove trailing whitespace from insns with zero operands 2022-05-27 14:12:33 +01:00
ibt-plt-1.d x86-64: Remove BND from 64-bit IBT PLT 2022-12-08 08:05:45 -08:00
ibt-plt-1.s
ibt-plt-2.s
ibt-plt-2a-x32.d ld: Adjust x86 and x86-64 tests for -z mark-plt 2024-01-06 07:10:15 -08:00
ibt-plt-2a.d ld: Adjust x86 and x86-64 tests for -z mark-plt 2024-01-06 07:10:15 -08:00
ibt-plt-2b-x32.d
ibt-plt-2b.d x86-64: Remove BND from 64-bit IBT PLT 2022-12-08 08:05:45 -08:00
ibt-plt-2c-x32.d opcodes/i386: remove trailing whitespace from insns with zero operands 2022-05-27 14:12:33 +01:00
ibt-plt-2c.d x86-64: Remove BND from 64-bit IBT PLT 2022-12-08 08:05:45 -08:00
ibt-plt-2d-x32.d
ibt-plt-2d.d x86-64: Remove BND from 64-bit IBT PLT 2022-12-08 08:05:45 -08:00
ibt-plt-3.s
ibt-plt-3a-x32.d ld: Adjust x86 and x86-64 tests for -z mark-plt 2024-01-06 07:10:15 -08:00
ibt-plt-3a.d ld: Adjust x86 and x86-64 tests for -z mark-plt 2024-01-06 07:10:15 -08:00
ibt-plt-3b-x32.d
ibt-plt-3b.d x86-64: Remove BND from 64-bit IBT PLT 2022-12-08 08:05:45 -08:00
ibt-plt-3c-x32.d opcodes/i386: remove trailing whitespace from insns with zero operands 2022-05-27 14:12:33 +01:00
ibt-plt-3c.d x86-64: Remove BND from 64-bit IBT PLT 2022-12-08 08:05:45 -08:00
ibt-plt-3d-x32.d
ibt-plt-3d.d x86-64: Remove BND from 64-bit IBT PLT 2022-12-08 08:05:45 -08:00
ifunc-textrel-1.s
ifunc-textrel-1a.d Revert "2.41 Release sources" 2023-08-02 12:06:23 +01:00
ifunc-textrel-1b.d Revert "2.41 Release sources" 2023-08-02 12:06:23 +01:00
ifunc-textrel-2.s
ifunc-textrel-2a.d
ifunc-textrel-2b.d
ilp32-1.d
ilp32-2.d
ilp32-3.d
ilp32-4.d
ilp32-4.s
ilp32-5.d
ilp32-5.s
ilp32-6.d
ilp32-6.s
ilp32-7.d
ilp32-7.s
ilp32-8.d
ilp32-8.s
ilp32-9.d
ilp32-9.s
ilp32-10.d
ilp32-10.s
ilp32-11.d
ilp32-11.s
ilp32-12.d
ilp32-12.s
incompatible.l
indirect-extern-access.rd
lam-u48.rd
lam-u57.rd
largecomm-1.s
largecomm-1a.d
largecomm-1b.d
largecomm-1c.d
largecomm-1d.d
largecomm-1e.d
largecomm-1f.d
lea1.s
lea1a.d
lea1b.d
lea1c.d
lea1d.d
lea1e.d
lea1f.d
lea1g.d
lea1h.d
lea1i.d
lea1j.d
lea1k.d
lea1l.d
libno-plt-1b.dd
libno-plt-1b.rd
line.exp Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
ljmp1.d
ljmp2.d
load1.s
load1a.d
load1b.d
load1c.d
load1d.d
load2.d
load2.map
load2.s
lp64-1.d
lp64-2.d
lp64-3.d
mark-plt-1.s x86-64: Add -z mark-plt and -z nomark-plt 2023-09-29 07:58:53 -07:00
mark-plt-1a-x32.d x86-64: Add -z mark-plt and -z nomark-plt 2023-09-29 07:58:53 -07:00
mark-plt-1a.d x86-64: Add -z mark-plt and -z nomark-plt 2023-09-29 07:58:53 -07:00
mark-plt-1a.rd elf: Add elf_backend_add_glibc_version_dependency 2024-01-09 06:45:38 -08:00
mark-plt-1b-x32.d Update x86-64: Add -z mark-plt and -z nomark-plt 2024-01-17 08:03:29 -08:00
mark-plt-1b.d Update x86-64: Add -z mark-plt and -z nomark-plt 2024-01-17 08:03:29 -08:00
mark-plt-1b.rd elf: Add elf_backend_add_glibc_version_dependency 2024-01-09 06:45:38 -08:00
mark-plt-1c-x32.d x86-64: Add -z mark-plt and -z nomark-plt 2023-09-29 07:58:53 -07:00
mark-plt-1c.d x86-64: Add -z mark-plt and -z nomark-plt 2023-09-29 07:58:53 -07:00
mark-plt-1d-x32.d Update x86-64: Add -z mark-plt and -z nomark-plt 2024-01-17 08:03:29 -08:00
mark-plt-1d.d Update x86-64: Add -z mark-plt and -z nomark-plt 2024-01-17 08:03:29 -08:00
mixed1a.s
mixed1b.s
mixed2a.s
mixed2b.s
mov1.s
mov1a.d
mov1b.d
mov1c.d
mov1d.d
mov2.s
mov2a.d
mov2b.d
mov2c.d
mov2d.d
no-plt-1a.dd
no-plt-1a.rd
no-plt-1b.dd
no-plt-1b.rd
no-plt-1c.dd
no-plt-1c.rd
no-plt-1d.dd
no-plt-1d.rd
no-plt-1e.dd
no-plt-1e.nd
no-plt-1e.rd
no-plt-1f.dd
no-plt-1f.rd
no-plt-1g.dd
no-plt-1g.rd
no-plt-check1.S
no-plt-extern1.S
no-plt-func1.c
no-plt-main1.c
no-plt.exp Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
nogot1.d
nogot1.s
nogot2.d
nogot2.s
pass.c
pass.out
pcrel8.d
pcrel16-2.d
pcrel16.d
pe-x86-64-1.od opcodes/i386: remove trailing whitespace from insns with zero operands 2022-05-27 14:12:33 +01:00
pe-x86-64-1a.obj.bz2
pe-x86-64-1b.obj.bz2
pe-x86-64-1c.obj.bz2
pe-x86-64-2.od opcodes/i386: remove trailing whitespace from insns with zero operands 2022-05-27 14:12:33 +01:00
pe-x86-64-2a.obj.bz2
pe-x86-64-2b.obj.bz2
pe-x86-64-2c.obj.bz2
pe-x86-64-3.od opcodes/i386: remove trailing whitespace from insns with zero operands 2022-05-27 14:12:33 +01:00
pe-x86-64-3a.obj.bz2
pe-x86-64-3b.obj.bz2
pe-x86-64-3c.obj.bz2
pe-x86-64-3d.obj.bz2
pe-x86-64-4.od opcodes/i386: remove trailing whitespace from insns with zero operands 2022-05-27 14:12:33 +01:00
pe-x86-64-4a.obj.bz2
pe-x86-64-4b.obj.bz2
pe-x86-64-4c.obj.bz2
pe-x86-64-4d.obj.bz2
pe-x86-64-5.obj.bz2
pe-x86-64-5.od Revert "2.41 Release sources" 2023-08-02 12:06:23 +01:00
pe-x86-64-5.rd Revert "2.41 Release sources" 2023-08-02 12:06:23 +01:00
pe-x86-64-6.obj.bz2
pe-x86-64-6.od Update Make const_1_mode print $1 in AT&T syntax 2023-12-13 09:19:47 -08:00
pe-x86-64.exp Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
pic1.d
pic1.s
pie1.d
pie1.s
pie2.d
pie2.s
pie3.d
pie3.s
plt2.dd
plt2.rd
plt2.s
plt-lib.c
plt-main1.c
plt-main1.rd
plt-main2.c
plt-main2.rd
plt-main3.c
plt-main3.rd
plt-main4.c
plt-main4.rd
plt-main5.c
plt-main-bnd-now.rd
plt-main-bnd.dd x86-64: Use MAXPAGESIZE for the relro segment alignment 2022-02-14 17:39:34 -08:00
plt-main-ibt-now.rd
plt-main-ibt.dd x86-64: Remove BND from 64-bit IBT PLT 2022-12-08 08:05:45 -08:00
plt-main.out
plt-main.rd
plt-pic.s
plt.pd
plt.s
pltgot-1.d
pltgot-1.s
pltgot-2.d
pltlib.s
pr12570a.d
pr12570a.s
pr12570b.d
pr12570b.s
pr12718.d
pr12718.s
pr12921.d
pr12921.s
pr13082-1.s
pr13082-1a.d
pr13082-1b.d
pr13082-2.s
pr13082-2a.d
pr13082-2b.d
pr13082-3.s
pr13082-3a.d
pr13082-3b.d
pr13082-3c.d
pr13082-3d.d
pr13082-4.s
pr13082-4a.d
pr13082-4b.d
pr13082-5.s
pr13082-5a.d
pr13082-5b.d
pr13082-6.s
pr13082-6a.d
pr13082-6b.d
pr13947.d
pr13947.s
pr14207.d x86-64: Use MAXPAGESIZE for the relro segment alignment 2022-02-14 17:39:34 -08:00
pr14207.s
pr14215.d
pr14215.s
pr17306a.s
pr17306b.s
pr17618.d
pr17618.s
pr17689.out
pr17689.rd
pr17689a.c
pr17689b.S
pr17689now.rd
pr17709.err x86: Disallow invalid relocations against protected symbols 2022-07-19 08:41:52 -07:00
pr17709a.s
pr17709b.s
pr17827.rd
pr17935-1.d
pr17935-1.s
pr17935-2.d
pr17935-2.s
pr18160.d opcodes/i386: remove trailing whitespace from insns with zero operands 2022-05-27 14:12:33 +01:00
pr18160.s
pr18160.t
pr18176.d x86-64: Use MAXPAGESIZE for the relro segment alignment 2022-02-14 17:39:34 -08:00
pr18176.s
pr18176.t Revert "2.41 Release sources" 2023-08-02 12:06:23 +01:00
pr18591.d
pr18591.s
pr18801.s
pr18801a.d Revert "2.41 Release sources" 2023-08-02 12:06:23 +01:00
pr18801b.d Revert "2.41 Release sources" 2023-08-02 12:06:23 +01:00
pr18815.d
pr18815.s
pr18900.out
pr18900a.c
pr18900a.rd
pr18900b.c
pr18900b.rd
pr18900c.c
pr19013-x32.d
pr19013.d
pr19013.s
pr19031.out
pr19031a.c
pr19031b.S Add linker warning for when it creates an executable stack. 2022-04-20 13:39:05 +01:00
pr19031c.c
pr19162.d
pr19162a.s
pr19162b.s
pr19175.d Add ability to change linker warning messages into errors when reporting executable stacks and/or executable segments. 2023-11-10 11:37:27 +00:00
pr19175.s
pr19175.t
pr19319.dd
pr19319a.S Add linker warning for when it creates an executable stack. 2022-04-20 13:39:05 +01:00
pr19319b.S Add linker warning for when it creates an executable stack. 2022-04-20 13:39:05 +01:00
pr19539.s
pr19539.t
pr19539a.d Add ability to change linker warning messages into errors when reporting executable stacks and/or executable segments. 2023-11-10 11:37:27 +00:00
pr19539b.d Add ability to change linker warning messages into errors when reporting executable stacks and/or executable segments. 2023-11-10 11:37:27 +00:00
pr19609-1.s
pr19609-1a.d
pr19609-1b.d
pr19609-1c.d
pr19609-1d.d
pr19609-1e.d
pr19609-1f.d
pr19609-1g.d
pr19609-1h.d
pr19609-1i.d
pr19609-1j.d
pr19609-1k.d
pr19609-1l.d
pr19609-1m.d
pr19609-2.s
pr19609-2a.d
pr19609-2b.d
pr19609-2c.d
pr19609-2d.d
pr19609-3.s
pr19609-3a.d
pr19609-3b.d
pr19609-4.s
pr19609-4a.d
pr19609-4b.d
pr19609-4c.d
pr19609-4d.d
pr19609-4e.d
pr19609-5.s
pr19609-5a.d
pr19609-5b.d
pr19609-5c.d
pr19609-5d.d
pr19609-5e.d
pr19609-6.s
pr19609-6a.d
pr19609-6b.d
pr19609-6c.d
pr19609-6d.d
pr19609-7.s
pr19609-7a.d
pr19609-7b.d
pr19609-7c.d
pr19609-7d.d
pr19615.d
pr19615.s
pr19636-1.s
pr19636-1a.d
pr19636-1b.d
pr19636-1c.d
pr19636-1d.d
pr19636-1e.d
pr19636-1f.d
pr19636-1g.d
pr19636-1h.d
pr19636-1i.d
pr19636-1j.d
pr19636-2.s
pr19636-2a.d
pr19636-2b.d
pr19636-2c.d
pr19636-2d.d ld: Adjust x86 and x86-64 tests for -z mark-plt 2024-01-06 07:10:15 -08:00
pr19636-2e.d ld: Adjust x86 and x86-64 tests for -z mark-plt 2024-01-06 07:10:15 -08:00
pr19636-2f.d ld: Adjust x86 and x86-64 tests for -z mark-plt 2024-01-06 07:10:15 -08:00
pr19636-2g.d
pr19636-2h.d
pr19636-2i.d
pr19636-2j.d
pr19636-2k.d
pr19636-2l.d ld: Adjust x86 and x86-64 tests for -z mark-plt 2024-01-06 07:10:15 -08:00
pr19636-2m.d
pr19636-3.s
pr19636-3a.d
pr19636-3b.d
pr19636-3c.d
pr19636-3d.d
pr19645.d
pr19645.s
pr19704.out
pr19704a.c
pr19704b.c
pr19719.d
pr19719.s
pr19784a.c
pr19784b.c
pr19784c.c
pr19807-1.s
pr19807-1a.d
pr19807-1b.d
pr19807-2.s
pr19807-2a.d
pr19807-2b.d
pr19807-2c.d
pr19807-2d.d
pr19807-2e.d
pr19827.rd
pr19827a.S Add linker warning for when it creates an executable stack. 2022-04-20 13:39:05 +01:00
pr19827b.S Add linker warning for when it creates an executable stack. 2022-04-20 13:39:05 +01:00
pr19939.s
pr19939a.d
pr19939b.d
pr19969.d
pr19969a.S Add linker warning for when it creates an executable stack. 2022-04-20 13:39:05 +01:00
pr19969b.S Add linker warning for when it creates an executable stack. 2022-04-20 13:39:05 +01:00
pr20093-1.d
pr20093-1.s
pr20093-2.d
pr20093-2.s
pr20253-1.s
pr20253-1a.d
pr20253-1b.d opcodes/i386: remove trailing whitespace from insns with zero operands 2022-05-27 14:12:33 +01:00
pr20253-1c.d
pr20253-1d.d opcodes/i386: remove trailing whitespace from insns with zero operands 2022-05-27 14:12:33 +01:00
pr20253-1e.d
pr20253-1f.d opcodes/i386: remove trailing whitespace from insns with zero operands 2022-05-27 14:12:33 +01:00
pr20253-1g.d
pr20253-1h.d opcodes/i386: remove trailing whitespace from insns with zero operands 2022-05-27 14:12:33 +01:00
pr20253-1i.d
pr20253-1j.d opcodes/i386: remove trailing whitespace from insns with zero operands 2022-05-27 14:12:33 +01:00
pr20253-1k.d
pr20253-1l.d opcodes/i386: remove trailing whitespace from insns with zero operands 2022-05-27 14:12:33 +01:00
pr20253-2a.c
pr20253-2b.S
pr20253-2c.S
pr20253-2d.S
pr20253-3.d
pr20253-3.s
pr20253-4.s
pr20253-4a.d
pr20253-4b.d
pr20253-4c.d
pr20253-4d.d
pr20253-4e.d
pr20253-4f.d
pr20253-5.s
pr20253-5a.d
pr20253-5b.d
pr20550a.s Add linker warning for when it creates an executable stack. 2022-04-20 13:39:05 +01:00
pr20550b.s
pr20830.s
pr20830a-now.d x86-64: Use MAXPAGESIZE for the relro segment alignment 2022-02-14 17:39:34 -08:00
pr20830a.d -z relro relaxation and ld script SIZEOF 2022-06-27 12:28:59 +09:30
pr20830b-now.d x86-64: Use MAXPAGESIZE for the relro segment alignment 2022-02-14 17:39:34 -08:00
pr20830b.d -z relro relaxation and ld script SIZEOF 2022-06-27 12:28:59 +09:30
pr21481a.c
pr21481b.S
pr21884.d
pr21884.t
pr21997-1a.err x86: Disallow invalid relocation against protected symbol 2022-02-11 10:24:54 -08:00
pr21997-1a.S
pr21997-1b.c
pr21997-1b.err x86: Disallow invalid relocation against protected symbol 2022-02-11 10:24:54 -08:00
pr21997-1c.c
pr22001-1a.c
pr22001-1a.err
pr22001-1b.c
pr22001-1b.err
pr22001-1c.c
pr22048.d
pr22048a.s
pr22048b.s
pr22064a.S
pr22064b.c
pr22071.d
pr22071.s
pr22115-1.s
pr22115-1a-x32.d
pr22115-1a.d
pr22115-1b-x32.d
pr22115-1b.d
pr22115-1c-x32.d
pr22115-1c.d
pr22115-1d-x32.d
pr22115-1d.d
pr22135.d
pr22135.s
pr22393-3a.c
pr22393-3a.rd
pr22393-3b.c
pr22393-3b.rd
pr22782.s
pr22782a.d
pr22782b.d
pr22791-1.err
pr22791-1a.c
pr22791-1b.s Add linker warning for when it creates an executable stack. 2022-04-20 13:39:05 +01:00
pr22791-2.rd
pr22791-2a.s
pr22791-2b.c
pr22791-2c.s
pr22842a.c
pr22842a.rd
pr22842b.rd
pr22842b.S
pr22929.d
pr22929.s
pr23189.d Add ability to change linker warning messages into errors when reporting executable stacks and/or executable segments. 2023-11-10 11:37:27 +00:00
pr23189.s
pr23189.t
pr23194.d
pr23194.map
pr23194.s
pr23324.s
pr23324a.d
pr23324b.d
pr23372a-x32.d
pr23372a.d
pr23372a.s
pr23372b-x32.d
pr23372b.d
pr23372b.s
pr23372c-x32.d
pr23372c.d
pr23372c.s
pr23372d-x32.d
pr23372d.d
pr23372d.s
pr23372e.s
pr23372f.s
pr23486a-x32.d
pr23486a.d
pr23486a.s
pr23486b-x32.d
pr23486b.d
pr23486b.s
pr23486c-x32.d
pr23486c.d
pr23486c.s
pr23486d-x32.d
pr23486d.d
pr23486d.s
pr23854.d
pr23854.s
pr23930-32.t
pr23930-x32.d opcodes/i386: remove trailing whitespace from insns with zero operands 2022-05-27 14:12:33 +01:00
pr23930.d opcodes/i386: remove trailing whitespace from insns with zero operands 2022-05-27 14:12:33 +01:00
pr23930.t
pr23930a.s
pr23930b.s
pr23997a.s
pr23997b.c
pr23997c.c
pr24151a-x32.d x86: Make protected symbols local for -shared 2022-07-19 08:41:52 -07:00
pr24151a.d x86: Make protected symbols local for -shared 2022-07-19 08:41:52 -07:00
pr24151a.s
pr24276.dso
pr24276.warn
pr24322a-x32.d
pr24322a.d
pr24322a.s
pr24322b-x32.d
pr24322b.d
pr24322b.s
pr24322c.s
pr24458.s
pr24458a-x32.d
pr24458a.d
pr24458b-x32.d
pr24458b.d
pr24458c-x32.d
pr24458c.d
pr24721-x32.d
pr24721.d
pr24721.map
pr24721a.s
pr24721b.s
pr24905-x32.d
pr24905.d
pr24905.s
pr24905.t
pr25416-1.s
pr25416-1a.d
pr25416-1b.d
pr25416-2.s
pr25416-2a.d
pr25416-2b.d
pr25416-3.d
pr25416-3.s
pr25416-4.d
pr25416-4.s
pr25416-5a.c
pr25416-5b.s
pr25416-5c.s
pr25416-5d.s
pr25416-5e.s
pr26018.d opcodes/i386: remove trailing whitespace from insns with zero operands 2022-05-27 14:12:33 +01:00
pr26018.s
pr26263.d opcodes/i386: remove trailing whitespace from insns with zero operands 2022-05-27 14:12:33 +01:00
pr26263.s
pr26711-1-x32.d
pr26711-1.d
pr26711-2-x32.d
pr26711-2.d
pr26711-3-x32.d
pr26711-3.d
pr26711.s Add linker warning for when it creates an executable stack. 2022-04-20 13:39:05 +01:00
pr26939-x32.d
pr26939.d
pr26939.s
pr27016a.d opcodes/i386: remove trailing whitespace from insns with zero operands 2022-05-27 14:12:33 +01:00
pr27016a.s
pr27016b.d opcodes/i386: remove trailing whitespace from insns with zero operands 2022-05-27 14:12:33 +01:00
pr27016b.s
pr27491-1.s
pr27491-1a.d
pr27491-1b.d
pr27491-1c.d
pr27491-2.d
pr27491-2.s
pr27491-3.d
pr27491-3.s
pr27491-4.d
pr27491-4a.s
pr27491-4b.s
pr27587.err PR10957, Missing option to really print section+offset 2023-07-17 08:17:44 +09:30
pr27587a.obj.bz2
pr27587b.obj.bz2
pr27590.rd
pr27590a.obj.bz2
pr27590b.obj.bz2
pr28875-data.err x86: Disallow invalid relocation against protected symbol 2022-02-11 10:24:54 -08:00
pr28875-func.err x86: Disallow invalid relocations against protected symbols 2022-07-19 08:41:52 -07:00
pr29820.d x86: Don't define _TLS_MODULE_BASE_ for ld -r 2022-11-22 14:03:16 -08:00
pr29820.s x86: Don't define _TLS_MODULE_BASE_ for ld -r 2022-11-22 14:03:16 -08:00
pr30787.d x86: Fix DT_JMPREL/DT_PLTRELSZ when relocs share a section 2023-08-23 09:10:16 -07:00
pr30787.s x86: Fix DT_JMPREL/DT_PLTRELSZ when relocs share a section 2023-08-23 09:10:16 -07:00
pr30787.t x86: Fix DT_JMPREL/DT_PLTRELSZ when relocs share a section 2023-08-23 09:10:16 -07:00
pr31047-x32.d x86: Don't check R_386_NONE nor R_X86_64_NONE 2024-01-09 06:39:42 -08:00
pr31047.d x86: Don't check R_386_NONE nor R_X86_64_NONE 2024-01-09 06:39:42 -08:00
pr31047a.s x86: Don't check R_386_NONE nor R_X86_64_NONE 2024-01-09 06:39:42 -08:00
pr31047b.s x86: Don't check R_386_NONE nor R_X86_64_NONE 2024-01-09 06:39:42 -08:00
property-1.r
property-1a.r
property-2.r
property-2a.r
property-3.r Revert "ld x86_64 tests: Accept x86-64-v3 as a needed ISA" 2023-11-07 13:54:57 +01:00
property-3a.r
property-4.r Revert "ld x86_64 tests: Accept x86-64-v3 as a needed ISA" 2023-11-07 13:54:57 +01:00
property-4a.r
property-5.r Revert "ld x86_64 tests: Accept x86-64-v3 as a needed ISA" 2023-11-07 13:54:57 +01:00
property-5a.r
property-6.r
property-6a.c
property-6b.c
property-6c.S Add linker warning for when it creates an executable stack. 2022-04-20 13:39:05 +01:00
property-7.r
property-7a.r
property-no-copy.S Add linker warning for when it creates an executable stack. 2022-04-20 13:39:05 +01:00
property-stack.S Add linker warning for when it creates an executable stack. 2022-04-20 13:39:05 +01:00
property-stk.s ld/x86: reduce testsuite dependency on system object files 2023-11-07 13:58:32 +01:00
property-unsorted-1.S Add linker warning for when it creates an executable stack. 2022-04-20 13:39:05 +01:00
property-unsorted-2.S Add linker warning for when it creates an executable stack. 2022-04-20 13:39:05 +01:00
property-x86-1.s ld/x86: reduce testsuite dependency on system object files 2023-11-07 13:58:32 +01:00
property-x86-2.s ld/x86: reduce testsuite dependency on system object files 2023-11-07 13:58:32 +01:00
property-x86-3-x32.d
property-x86-3.d
property-x86-3.s
property-x86-4a-x32.d
property-x86-4a.d
property-x86-4a.s
property-x86-4b-x32.d
property-x86-4b.d
property-x86-4b.s
property-x86-5-x32.d
property-x86-5.d
property-x86-5a.s
property-x86-5b.s
property-x86-6-x32.d
property-x86-6.d
property-x86-6.s
property-x86-cet1-x32.d
property-x86-cet1.d
property-x86-cet2a-x32.d
property-x86-cet2a.d
property-x86-cet2b-x32.d
property-x86-cet2b.d
property-x86-cet3a-x32.d
property-x86-cet3a.d
property-x86-cet3b-x32.d
property-x86-cet3b.d
property-x86-cet4a-x32.d
property-x86-cet4a.d
property-x86-cet4b-x32.d
property-x86-cet4b.d
property-x86-cet5a-x32.d
property-x86-cet5a.d
property-x86-cet5b-x32.d
property-x86-cet5b.d
property-x86-cet6-x32.d
property-x86-cet6.d
property-x86-cet.s
property-x86-empty.s
property-x86-ibt1a-x32.d
property-x86-ibt1a.d
property-x86-ibt1a.map
property-x86-ibt1b-x32.d
property-x86-ibt1b.d
property-x86-ibt2-x32.d
property-x86-ibt2.d
property-x86-ibt3a-x32.d
property-x86-ibt3a.d
property-x86-ibt3b-x32.d
property-x86-ibt3b.d
property-x86-ibt4-x32.d
property-x86-ibt4.d
property-x86-ibt5-x32.d
property-x86-ibt5.d
property-x86-ibt.s
property-x86-isa1-x32.d
property-x86-isa1.d
property-x86-isa1.s
property-x86-isa2-x32.d
property-x86-isa2.d
property-x86-isa3-x32.d
property-x86-isa3.d
property-x86-isa4-x32.d
property-x86-isa4.d
property-x86-lam-u48-1a.d
property-x86-lam-u48-1b.d
property-x86-lam-u48-2.d
property-x86-lam-u48-3a.d
property-x86-lam-u48-3b.d
property-x86-lam-u48-4.d
property-x86-lam-u48-5.d
property-x86-lam-u48.s
property-x86-lam-u57-1a.d
property-x86-lam-u57-1b.d
property-x86-lam-u57-2.d
property-x86-lam-u57-3a.d
property-x86-lam-u57-3b.d
property-x86-lam-u57-4.d
property-x86-lam-u57-5.d
property-x86-lam-u57.s
property-x86-shstk1a-x32.d
property-x86-shstk1a.d
property-x86-shstk1b-x32.d
property-x86-shstk1b.d
property-x86-shstk2-x32.d
property-x86-shstk2.d
property-x86-shstk3a-x32.d
property-x86-shstk3a.d
property-x86-shstk3b-x32.d
property-x86-shstk3b.d
property-x86-shstk4-x32.d
property-x86-shstk4.d
property-x86-shstk5-x32.d
property-x86-shstk5.d
property-x86-shstk.s
protected1.d x86: Make protected symbols local for -shared 2022-07-19 08:41:52 -07:00
protected1.s
protected2.d opcodes/i386: remove trailing whitespace from insns with zero operands 2022-05-27 14:12:33 +01:00
protected2.s
protected3.d x86: Make protected symbols local for -shared 2022-07-19 08:41:52 -07:00
protected3.s
protected4.d
protected4.s
protected5.d
protected5.s
protected6.s
protected6a.d x86: Make protected symbols local for -shared 2022-07-19 08:41:52 -07:00
protected6b.d
protected7.s
protected7a.d x86: Make protected symbols local for -shared 2022-07-19 08:41:52 -07:00
protected7b.d
protected8.d opcodes/i386: remove trailing whitespace from insns with zero operands 2022-05-27 14:12:33 +01:00
protected8.s
protected-data-1.h
protected-data-1a.c
protected-data-1b.c
protected-data-2a.S
protected-data-2b.S
protected-func-1.h
protected-func-1a.s
protected-func-1b.c
protected-func-2a.S
protected-func-2b.S
protected-func-2c.c
protected-func-3.c x86: Properly handle function pointer reference 2022-04-28 09:20:30 -07:00
rela.d
report-reloc-1-x32.d
report-reloc-1.d
report-reloc-1.l
report-reloc-1.s
sframe-bar.s bfd: linker: merge .sframe sections 2022-11-15 15:49:47 -08:00
sframe-foo.s bfd: linker: merge .sframe sections 2022-11-15 15:49:47 -08:00
sframe-plt-1.d sframe: bfd: gas: ld: format bump to SFrame version 2 2023-06-29 16:31:58 -07:00
sframe-simple-1.d sframe: bfd: gas: ld: format bump to SFrame version 2 2023-06-29 16:31:58 -07:00
simple.c
simple.s
split-by-file1.s
split-by-file2.s
split-by-file.rd
start.s Add linker warning for when it creates an executable stack. 2022-04-20 13:39:05 +01:00
textrel-1.err
textrel-1a.s
textrel-1b.s
tls-def1.c
tls-gd1.S
tls-ld1.S
tls-main1.c
tls.exp Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
tlsbin2.dd
tlsbin2.rd
tlsbin2.sd
tlsbin2.td
tlsbin.dd
tlsbin.rd
tlsbin.s
tlsbin.sd
tlsbin.td
tlsbindesc.dd x86-64: Add R_X86_64_CODE_6_GOTTPOFF 2024-02-08 03:45:43 -08:00
tlsbindesc.rd x86-64: Add R_X86_64_CODE_6_GOTTPOFF 2024-02-08 03:45:43 -08:00
tlsbindesc.s x86-64: Add R_X86_64_CODE_6_GOTTPOFF 2024-02-08 03:45:43 -08:00
tlsbindesc.sd
tlsbindesc.td
tlsbinpic2.s
tlsbinpic.s
tlsdesc1a.c
tlsdesc1b.c
tlsdesc2.d
tlsdesc.dd
tlsdesc.pd opcodes/i386: remove trailing whitespace from insns with zero operands 2022-05-27 14:12:33 +01:00
tlsdesc.rd
tlsdesc.s
tlsdesc.sd
tlsdesc.td
tlsg.s
tlsg.sd
tlsgd1.dd
tlsgd1.s
tlsgd2.d
tlsgd2.s
tlsgd3.d
tlsgd3.s
tlsgd4.dd
tlsgd4.s
tlsgd5.dd
tlsgd5a.s
tlsgd5b.s
tlsgd5c.s
tlsgd6.dd
tlsgd6a.s
tlsgd6b.s
tlsgd6c.s
tlsgd7.dd
tlsgd7.s
tlsgd8.dd
tlsgd8.s
tlsgd9.dd
tlsgd9.s
tlsgd10.dd
tlsgd10.s
tlsgd11.dd
tlsgd11.s
tlsgd12.d
tlsgd12.s
tlsgd13.d
tlsgd13.s
tlsgd14.dd
tlsgd14.s
tlsgdesc.dd
tlsgdesc.rd
tlsgdesc.s
tlsie1.dd
tlsie1.s
tlsie2.d
tlsie2.s
tlsie3.d
tlsie3.s
tlsie4.dd
tlsie4.s
tlsld1.dd
tlsld1.s
tlsld2.dd
tlsld2.s
tlsld3.dd
tlsld3.s
tlsld4.dd
tlsld4.s
tlsld5.dd
tlsld5.s
tlsld6.dd
tlsld6.s
tlsle1.d
tlsle1.s
tlslib.s
tlspic1.s
tlspic2.dd
tlspic2.rd
tlspic2.s
tlspic2.sd
tlspic2.td
tlspic3.s
tlspic.dd
tlspic.rd
tlspic.sd
tlspic.td
tlspie1.d
tlspie1.s
tlspie2.s
tlspie2a.d
tlspie2b.d opcodes/i386: remove trailing whitespace from insns with zero operands 2022-05-27 14:12:33 +01:00
tlspie2c.d opcodes/i386: remove trailing whitespace from insns with zero operands 2022-05-27 14:12:33 +01:00
undefined.s
unique1.d
unique1.s
x86-64-64-export-class.rd
x86-64-x32-export-class.rd
x86-64-x32.rd
x86-64.exp Link x86-64 mark-plt-1.so with --no-as-needed 2024-02-06 17:32:31 +10:30