binutils-gdb/ld/emultempl
Christophe Lyon abf874aafe Add support for non-contiguous memory regions
2020-01-06  Christophe Lyon  <christophe.lyon@linaro.org>

	bfd/
	* bfd-in2.h: Regenerate.
	* section.c (asection): Add already_assigned field.
	(BFD_FAKE_SECTION): Add default initializer for it.
	* ecoff.c (bfd_debug_section): Initialize already_assigned field.
	* elf32-arm.c (arm_build_one_stub): Add support for
	non_contiguous_regions.
	* elf32-csky.c (csky_build_one_stub): Likewise.
	* elf32-hppa.c (hppa_build_one_stub): Likewise.
	* elf32-m68hc11.c (m68hc11_elf_build_one_stub): Likewise.
	* elf32-m68hc12.c (m68hc12_elf_build_one_stub): Likewise.
	* elf32-metag.c (metag_build_one_stub): Likewise.
	* elf32-nios2.c (nios2_build_one_stub): Likewise.
	* elf64-ppc.c (ppc_build_one_stub): Likewise.
	(ppc_size_one_stub): Likewise.
	* elfnn-aarch64.c (aarch64_build_one_stub): Likewise.
	* elflink.c (elf_link_input_bfd): Likewise.

	include/
	* bfdlink.h (bfd_link_info): Add non_contiguous_regions and
	non_contiguous_regions_warnings fields.

	ld/
	* ldlang.c (lang_add_section): Add support for
	non_contiguous_regions.
	(size_input_section): Likewise.
	(lang_size_sections_1): Likewise.
	(process_insert_statements): Likewise.
	* ldlex.h (option_values): Add OPTION_NON_CONTIGUOUS_REGIONS and
	OPTION_NON_CONTIGUOUS_REGIONS_WARNINGS.
	* lexsup.c (ld_options): Add entries for
	--enable-non-contiguous-regions and
	--enable-non-contiguous-regions-warnings.
	(parse_args): Handle it.
	* NEWS: Add --enable-non-contiguous-regions and
	--enable-non-contiguous-regions-warnings.
	* ld.texi: Add --enable-non-contiguous-regions and
	--enable-non-contiguous-regions-warnings documentation.
	* emultempl/armelf.em (elf32_arm_add_stub_section): Add
	SEC_LINKER_CREATED flag.
	* emultempl/xtensaelf.em (ld_build_required_section_dependence):
	Emit an error when --enable-non-contiguous-regions is used.
	* testsuite/ld-elf/non-contiguous.d: New.
	* testsuite/ld-elf/non-contiguous.ld: New.
	* testsuite/ld-elf/non-contiguous.s: New.
	* testsuite/ld-arm/arm-elf.exp: Run the new tests.
	* testsuite/ld-arm/arm-elf/non-contiguous-arm.s: New.
	* testsuite/ld-arm/arm-elf/non-contiguous-arm.d: New.
	* testsuite/ld-arm/arm-elf/non-contiguous-arm.ld: New.
	* testsuite/ld-arm/arm-elf/non-contiguous-arm2.d: New.
	* testsuite/ld-arm/arm-elf/non-contiguous-arm3.ld: New.
	* testsuite/ld-arm/arm-elf/non-contiguous-arm3.d: New.
	* testsuite/ld-arm/arm-elf/non-contiguous-arm3.ld: New.
	* testsuite/ld-arm/arm-elf/non-contiguous-arm4.d: New.
	* testsuite/ld-arm/arm-elf/non-contiguous-arm4.ld: New.
	* testsuite/ld-arm/arm-elf/non-contiguous-arm5.d: New.
	* testsuite/ld-arm/arm-elf/non-contiguous-arm5.ld: New.
	* testsuite/ld-arm/arm-elf/non-contiguous-arm6.d: New.
	* testsuite/ld-arm/arm-elf/non-contiguous-arm6.ld: New.
	* testsuite/ld-powerpc/powerpc.exp: Run new tests.
	* testsuite/ld-powerpc/non-contiguous-powerpc.d: New.
	* testsuite/ld-powerpc/non-contiguous-powerpc.ld: New.
	* testsuite/ld-powerpc/non-contiguous-powerpc.sd: New.
	* testsuite/ld-powerpc/non-contiguous-powerpc64.d: New.
2020-03-13 14:44:45 +00:00
..
README Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
aarch64elf.em AArch64: Set the correct ELF class for AArch64 stubs (PR/25210) 2020-01-02 14:08:27 +00:00
aix.em ELF: Discard a section if any of its linked-to sections has been discarded 2020-02-06 19:43:03 -08:00
alphaelf.em Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
arclinux.em Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
armcoff.em ELF: Discard a section if any of its linked-to sections has been discarded 2020-02-06 19:43:03 -08:00
armelf.em Add support for non-contiguous memory regions 2020-03-13 14:44:45 +00:00
astring.sed * emultempl/ostring.sed: Rename from stringify.sed. 1999-08-06 22:46:03 +00:00
avrelf.em Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
beos.em ELF: Discard a section if any of its linked-to sections has been discarded 2020-02-06 19:43:03 -08:00
bfin.em Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
cr16elf.em Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
crxelf.em Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
cskyelf.em Indent labels 2020-02-26 10:37:25 +10:30
elf-generic.em Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
elf-x86.em x86: Check static link of dynamic objects 2020-03-13 07:39:06 -07:00
elf.em ELF: Discard a section if any of its linked-to sections has been discarded 2020-02-06 19:43:03 -08:00
epiphanyelf_4x4.em Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
genelf.em Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
generic.em ELF: Discard a section if any of its linked-to sections has been discarded 2020-02-06 19:43:03 -08:00
hppaelf.em Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
ia64elf.em Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
irix.em Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
linux.em ELF: Discard a section if any of its linked-to sections has been discarded 2020-02-06 19:43:03 -08:00
m68hc1xelf.em Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
m68kelf.em Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
metagelf.em Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
mipself.em Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
mmix-elfnmmo.em Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
mmixelf.em Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
mmo.em Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
msp430.em ELF: Discard a section if any of its linked-to sections has been discarded 2020-02-06 19:43:03 -08:00
nds32elf.em Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
needrelax.em Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
netbsd.em Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
nios2elf.em Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
ostring.sed * emultempl/ostring.sed: Rename from stringify.sed. 1999-08-06 22:46:03 +00:00
pe.em ELF: Discard a section if any of its linked-to sections has been discarded 2020-02-06 19:43:03 -08:00
pep.em ELF: Discard a section if any of its linked-to sections has been discarded 2020-02-06 19:43:03 -08:00
ppc32elf.em Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
ppc64elf.em PowerPC64 __tls_get_addr_desc 2020-01-22 17:14:08 +10:30
pruelf.em Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
riscvelf.em Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
rxelf.em Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
s390.em Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
scoreelf.em Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
solaris2-x86.em Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
solaris2.em Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
spu_icache.S bfd/ 2009-03-17 12:46:19 +00:00
spu_icache.o_c Regenerate spu overlay and icache manager files 2014-11-04 22:36:13 +10:30
spu_ovl.S Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
spu_ovl.o_c Regenerate spu_ovl.o_c 2016-10-15 12:53:57 +10:30
spuelf.em Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
tic6xdsbt.em Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
ticoff.em ELF: Discard a section if any of its linked-to sections has been discarded 2020-02-06 19:43:03 -08:00
v850elf.em Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
vanilla.em ELF: Discard a section if any of its linked-to sections has been discarded 2020-02-06 19:43:03 -08:00
vms.em Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
vxworks.em Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
xtensaelf.em Add support for non-contiguous memory regions 2020-03-13 14:44:45 +00:00
z80.em Various fixes for the Z80 support. 2020-02-19 17:46:10 +00:00

README

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

The files in this directory are sourced by genscripts.sh, after
setting some variables to substitute in, to produce
C source files that contain jump tables for each emulation.

Copyright (C) 2012-2020 Free Software Foundation, Inc.

Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
notice and this notice are preserved.