binutils-gdb/ld/emultempl
Alan Modra 36983a93bb lang_input_statement_type next pointers
"next" and "next_real_file" in lang_input_statement_type always point
to another lang_input_statement_type, so it makes sense for these to
not be the generic lang_statement_union_type.  This patch also updates
a number of variables in ldlang.c for the same reason, and modifies
lang_statement_append to reduce the need for casts.

	* ldlang.h (lang_input_statement_type): Make next
	and next_real_file a lang_input_statement_type pointer.
	(lang_statement_append): Delete prototype.
	(LANG_FOR_EACH_INPUT_STATEMENT): Update for lang_input_statement_type
	change.
	* ldmain.c (add_archive_element): Likewise.
	* ldlang.c: Likewise throughout.
	(lang_statement_append): Make static.  Make element and field
	void pointers.  Remove casts in calls.
	(lang_check): Use a lang_input_statement_type pointer for "file".
	(find_rescan_insertion): Similarly for "iter" and return value.
	(lang_process): Similarly for "insert", "iter" and "temp".
	* emultempl/spuelf.em (embedded_spu_file): Likewise.
	* emultempl/aix.em (gld${EMULATION_NAME}_before_allocation): Expand
	lang_statment_append call.
2019-08-10 17:16:16 +09:30
..
aarch64elf.em Fix a bug recently introduced to the linker where it would complain about a section being larger than a file, even if the section was artificial. 2019-07-02 14:14:13 +01:00
aix.em lang_input_statement_type next pointers 2019-08-10 17:16:16 +09:30
alphaelf.em Rename lang_output_section_statement to lang_os_list 2019-08-01 11:57:25 +09:30
arclinux.em [ARC] don't force _init/_fini as DT_INIT/DT_FINI. 2019-02-09 11:07:42 +01:00
armcoff.em Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
armelf.em Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
astring.sed
avrelf.em Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
beos.em Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
bfin.em Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
cr16elf.em Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
crxelf.em Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
cskyelf.em cskyelf.em branch stub handling 2019-04-10 13:30:32 +09:30
elf32.em Rename lang_output_section_statement to lang_os_list 2019-08-01 11:57:25 +09:30
elf-generic.em Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
elf-x86.em x86: Move x86-specific linker options to elf_linker_x86_params 2019-04-06 07:25:31 -07:00
epiphanyelf_4x4.em Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
genelf.em Generic ELF target group signature symbol 2019-05-27 13:56:28 +09:30
generic.em Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
hppaelf.em Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
ia64elf.em Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
irix.em Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
linux.em Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
m68hc1xelf.em Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
m68kelf.em Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
metagelf.em Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
mipself.em Add support for a MIPS specific .MIPS.xhash section. 2019-08-09 11:06:37 +01:00
mmix-elfnmmo.em Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
mmixelf.em Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
mmo.em Rename lang_output_section_statement to lang_os_list 2019-08-01 11:57:25 +09:30
msp430.em MSP430 Linker: Define __crt0_init_bss/__crt0_movedata symbols when .lower or .either prefixed sections are present. 2019-04-17 15:05:08 +01:00
nds32elf.em Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
needrelax.em Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
netbsd.em Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
nios2elf.em Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
ostring.sed
pe.em Rename lang_output_section_statement to lang_os_list 2019-08-01 11:57:25 +09:30
pep.em Rename lang_output_section_statement to lang_os_list 2019-08-01 11:57:25 +09:30
ppc32elf.em Rename lang_output_section_statement to lang_os_list 2019-08-01 11:57:25 +09:30
ppc64elf.em Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
pruelf.em Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
README Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
riscvelf.em Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
rxelf.em Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
s390.em Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
scoreelf.em Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
solaris2-x86.em x86: Move x86-specific linker options to elf_linker_x86_params 2019-04-06 07:25:31 -07:00
solaris2.em Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
spu_icache.o_c
spu_icache.S
spu_ovl.o_c Regenerate spu_ovl.o_c 2016-10-15 12:53:57 +10:30
spu_ovl.S Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
spuelf.em lang_input_statement_type next pointers 2019-08-10 17:16:16 +09:30
tic6xdsbt.em Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
ticoff.em Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
v850elf.em Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
vanilla.em Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
vms.em Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
vxworks.em Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
xtensaelf.em Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
z80.em Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30

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-2019 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.