binutils-gdb/ld/emultempl
Alan Modra 8423293d34 bfd/
* section.c (struct bfd_section): Replace link_order_head and
	link_order_tail with map_head and map_tail union.
	(STD_SECTION): Update.
	(_bfd_strip_section_from_output): Delete.
	* aoutx.h: Update throughout for above changes.
	* coff-ppc.c: Likewise.
	* cofflink.c: Likewise.
	* ecoff.c: Likewise.
	* elf-eh-frame.c: Likewise.
	* elf-m10300.c: Likewise.
	* elf.c: Likewise.
	* elf32-arm.c: Likewise.
	* elf32-cris.c: Likewise.
	* elf32-hppa.c: Likewise.
	* elf32-i386.c: Likewise.
	* elf32-m32r.c: Likewise.
	* elf32-m68hc1x.c: Likewise.
	* elf32-m68k.c: Likewise.
	* elf32-ppc.c: Likewise.
	* elf32-s390.c: Likewise.
	* elf32-sh.c: Likewise.
	* elf32-vax.c: Likewise.
	* elf32-xtensa.c: Likewise.
	* elf64-alpha.c: Likewise.
	* elf64-hppa.c: Likewise.
	* elf64-ppc.c: Likewise.
	* elf64-s390.c: Likewise.
	* elf64-sh64.c: Likewise.
	* elf64-x86-64.c: Likewise.
	* elflink.c: Likewise.
	* elfxx-ia64.c: Likewise.
	* elfxx-mips.c: Likewise.
	* elfxx-sparc.c: Likewise.
	* linker.c: Likewise.
	* merge.c: Likewise.
	* pdp11.c: Likewise.
	* xcofflink.c: Likewise.
	* elflink.c (bfd_boolean bfd_elf_size_dynsym_hash_dynstr): Split
	out from bfd_elf_size_dynamic_sections.
	* bfd-in.h (bfd_boolean bfd_elf_size_dynsym_hash_dynstr): Declare.
	* bfd-in2.h: Regenerate.
ld/
	* ldemul.c: Include bfdlink.h.
	(ldemul_before_allocation): Assume before_allocation is non-zero.
	(before_allocation_default): Call strip_excluded_output_sections.
	* ldlang.c (stripped_excluded_sections): New variable.
	(lang_add_section): Build input section list for each output
	section, attached via map_head and map_tail pointers.
	(strip_excluded_output_sections): Make global.  Traverse the
	input section lists to find which output sections can go.  Clear
	link_order pointers and set stripped_excluded_sections.
	(lang_process): Call strip_excluded_output_sections.
	* ldlang.h (strip_excluded_output_sections): Declare.
	* ldwrite.c: Update throuhout for link_order_head -> map_head change.
	* emultempl/aix.em (before_allocation): Call
	strip_excluded_output_sections.
	* emultempl/armcoff.em (before_allocation): Likewise.
	* emultempl/beos.em (before_allocation): Likewise.
	* emultempl/linux.em (before_allocation): Likewise.
	* emultempl/pe.em (before_allocation): Likewise.
	* emultempl/sunos.em (before_allocation): Likewise.
	* emultempl/elf32.em (before_allocation): Likewise.  Call
	bfd_elf_size_dynsym_hash_dynstr too.
	* emultempl/lnk960.em (lnk960_before_allocation): Delete.
	(ld_lnk960): Use before_allocation_default.
2005-05-04 11:00:28 +00:00
..
aix.em bfd/ 2005-05-04 11:00:28 +00:00
alphaelf.em update copyright dates 2005-03-03 11:52:12 +00:00
armcoff.em bfd/ 2005-05-04 11:00:28 +00:00
armelf.em * bfd/bfd-in.h (bfd_elf32_arm_set_target_relocs): Update prototype. 2005-04-15 16:37:47 +00:00
astring.sed * emultempl/ostring.sed: Rename from stringify.sed. 1999-08-06 22:46:03 +00:00
beos.em bfd/ 2005-05-04 11:00:28 +00:00
crxelf.em Enable --relax option by default 2004-10-05 14:35:50 +00:00
elf32.em bfd/ 2005-05-04 11:00:28 +00:00
generic.em update copyright dates 2005-03-03 11:52:12 +00:00
gld960.em update copyright dates 2005-03-03 11:52:12 +00:00
gld960c.em update copyright dates 2005-03-03 11:52:12 +00:00
hppaelf.em * emultempl/elf32.em (gld${EMULATION_NAME}_layout_sections_again): 2005-03-29 11:07:38 +00:00
ia64elf.em bfd/ 2003-12-04 22:43:36 +00:00
irix.em * emulparams/elf32bsmip.sh (EXTRA_EM_FILE): Define to irix. 2004-04-08 14:52:44 +00:00
linux.em bfd/ 2005-05-04 11:00:28 +00:00
lnk960.em bfd/ 2005-05-04 11:00:28 +00:00
m68hc1xelf.em ld/ 2005-03-21 09:39:54 +00:00
m68kcoff.em bfd/ 2005-05-04 11:00:28 +00:00
m68kelf.em Convert to C90 2003-06-28 05:28:54 +00:00
mipsecoff.em update copyright dates 2005-03-03 11:52:12 +00:00
mmix-elfnmmo.em bfd/ 2004-06-24 04:46:28 +00:00
mmixelf.em * emultempl/aix.em: Convert to C90, remove unnecessary prototypes 2003-06-27 00:38:25 +00:00
mmo.em ld/ 2004-10-14 12:54:47 +00:00
needrelax.em * emultempl/aix.em: Convert to C90, remove unnecessary prototypes 2003-06-27 00:38:25 +00:00
netbsd.em * ldlang.c (lang_do_assignments): Function return is void. 2003-12-04 12:09:25 +00:00
ostring.sed * emultempl/ostring.sed: Rename from stringify.sed. 1999-08-06 22:46:03 +00:00
pe.em bfd/ 2005-05-04 11:00:28 +00:00
ppc32elf.em bfd/ 2005-03-21 13:23:15 +00:00
ppc64elf.em * emultempl/elf32.em (gld${EMULATION_NAME}_layout_sections_again): 2005-03-29 11:07:38 +00:00
README 19990502 sourceware import 1999-05-03 07:29:11 +00:00
sh64elf.em bfd/ 2004-06-24 04:46:28 +00:00
sunos.em bfd/ 2005-05-04 11:00:28 +00:00
ticoff.em * ldfile.c (ldfile_set_output_arch): Add defarch param. 2004-01-03 11:09:07 +00:00
vanilla.em * emultempl/aix.em: Convert to C90, remove unnecessary prototypes 2003-06-27 00:38:25 +00:00
xtensaelf.em update copyright dates 2005-03-03 11:52:12 +00:00

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.