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
armcoff.em
armelf.em
astring.sed
avrelf.em
beos.em
bfin.em
cr16elf.em
crxelf.em
cskyelf.em
elf32.em Rename lang_output_section_statement to lang_os_list 2019-08-01 11:57:25 +09:30
elf-generic.em
elf-x86.em
epiphanyelf_4x4.em
genelf.em Generic ELF target group signature symbol 2019-05-27 13:56:28 +09:30
generic.em
hppaelf.em
ia64elf.em
irix.em
linux.em
m68hc1xelf.em
m68kelf.em
metagelf.em
mipself.em Add support for a MIPS specific .MIPS.xhash section. 2019-08-09 11:06:37 +01:00
mmix-elfnmmo.em
mmixelf.em
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
needrelax.em
netbsd.em
nios2elf.em
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
pruelf.em
README
riscvelf.em
rxelf.em
s390.em
scoreelf.em
solaris2-x86.em
solaris2.em
spu_icache.o_c
spu_icache.S
spu_ovl.o_c
spu_ovl.S
spuelf.em lang_input_statement_type next pointers 2019-08-10 17:16:16 +09:30
tic6xdsbt.em
ticoff.em
v850elf.em
vanilla.em
vms.em
vxworks.em
xtensaelf.em
z80.em

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.