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 Use __asm__ rather than asm in ld testsuite 2020-06-16 22:13:20 +09:30
aligncomm-2.c Use __asm__ rather than asm in ld testsuite 2020-06-16 22:13:20 +09:30
aligncomm-3.c Use __asm__ rather than asm in ld testsuite 2020-06-16 22:13:20 +09:30
aligncomm-4.c Use __asm__ rather than asm in ld testsuite 2020-06-16 22:13:20 +09:30
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 Fix possible failure in the AVR linker tests. 2016-03-18 09:51:47 +00:00
pr19803.s Improve COFF/PE linker garbage collection by preventing the removal of sections containing exported symbols. 2016-03-22 12:25:08 +00:00
pr26659-weak-undef-sym.d x86-64/PE: adjust PR ld/26659 testcase for Cygwin 2021-04-22 10:55:07 +02:00
pr26659-weak-undef-sym.s PE/Windows x86_64: Fix weak undef symbols after image base change 2021-04-01 17:54:04 +01:00
reloc.d ld: adjust PE base relocations testcase 2021-03-09 12:40:13 +01:00
reloc.s ld: adjust PE base relocations testcase 2021-03-09 12:40:13 +01:00
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 pe/coff: handle weak defined symbol for gc-sections. 2017-04-07 10:03:17 +02:00
weakdef-1.s pe/coff: handle weak defined symbol for gc-sections. 2017-04-07 10:03:17 +02:00