binutils-gdb/ld/testsuite/ld-pe
Mark Harmstone 145667f8d9 Add support for COFF secidx relocations
bfd	* coff-i386.c (in_reloc_p): Add R_SECTION.
	(howto_table): Add R_SECTION.
	(coff_pe_i386_relocation_section): Add support for R_SECTION.
	(coff_i386_reloc_type_lookup): Add support for
	BFD_RELOC_16_SECCIDX.
	* coff-x86_64.c (in_reloc_p): Add R_SECTION.
	(howto_table): Add R_SECTION.
	(coff_pe_amd64_relocation_section): Add support for R_SECTION.
	(coff_amd64_reloc_type_lookup): Add support for
	BFD_RELOC_16_SECCIDX.
	* reloc.c: Add BFD_RELOC_16_SECIDX.
	* bfd-in2.h: Regenerate.
	* libbfd.h: Regenerate.

gas	* config/tc-i386.c (pe_directive_secidx): New function.
	(md_pseudo_table): Add support for secidx.
	(x86_cons_fix_new): Likewise.
	(tc_gen_reloc): Likewise.
	* expr.c (op_rank): Add O_secidx.
	* expr.h (operatorT): Likewise.
	* symbols.c (resolve_symbol_value): Add support for O_secidx.
	* testsuite/gas/i386/secidx.s: New test source file.
	* testsuite/gas/i386/secidx.d: New test driver file.
	* testsuite/gas/i386/i386.exp: Run new test.

include	* coff/i386.h: Define R_SECTION.
	* coff/x86_64.h: Likewise.

ld	* testsuite/ld-pe/secidx1.s: New test source file.
	* testsuite/ld-pe/secidx2.s: New test source file.
	* testsuite/ld-pe/secidx.d: New test driver file.
	* testsuite/ld-pe/secidx_64.d: New test driver file.
	* testsuite/ld-pe/pe.exp: Add new tests.
2022-04-07 14:47:17 +01:00
..
aligncomm-1.c
aligncomm-2.c
aligncomm-3.c
aligncomm-4.c
aligncomm.d
basefile1.s
cfi32.d
cfi.d
cfia.s
cfib.s
direct2_client.c
direct2_dll.c
direct2_dll.def
direct_client.c
direct_dll.c
export_dynamic_warning.d
export_dynamic_warning.s
exports64.d
exports.d
exports.s
image_size.d
image_size.s
image_size.t
longsecn-1.d
longsecn-2.d
longsecn-3.d
longsecn-4.d
longsecn-5.d
longsecn.d
longsecn.s
non-c-lang-syms.d
non-c-lang-syms.s
orphan_nu.d
orphan.d
orphana_nu.s
orphana.s
orphanb.s
orphand.s
orphane.s
pe-compile.exp Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
pe-run2.exp Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
pe-run.exp Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
pe.exp Add support for COFF secidx relocations 2022-04-07 14:47:17 +01:00
pr19803.d gas: add visibility support for XCOFF 2022-01-12 09:08:11 +01:00
pr19803.e
pr19803.s
pr26659-weak-undef-sym.d
pr26659-weak-undef-sym.s
reloc.d
reloc.s
secidx1.s Add support for COFF secidx relocations 2022-04-07 14:47:17 +01:00
secidx2.s Add support for COFF secidx relocations 2022-04-07 14:47:17 +01:00
secidx_64.d Add support for COFF secidx relocations 2022-04-07 14:47:17 +01:00
secidx.d Add support for COFF secidx relocations 2022-04-07 14:47:17 +01:00
secrel1.s
secrel2.s
secrel_64.d
secrel.d
tlssec32.d
tlssec64.d
tlssec.s
vers-script-1.d
vers-script-1.ver
vers-script-2.d
vers-script-2.ver
vers-script-3.d
vers-script-3.ver
vers-script-4.d
vers-script-4.ver
vers-script-dll.c
weakdef-1.d
weakdef-1.s