binutils-gdb/ld/emultempl
Alan Modra afd7a018c9 ld/
PR 63
	* ldlang.h (lang_output_section_statement_type): Make "next" a
	struct lang_output_section_statement_struct *.
	(struct orphan_save): Move from elf32.em.  Add "name" and "flags".
	(lang_output_section_find_by_flags, lang_insert_orphan): Declare.
	* ldlang.c (lang_output_section_find_1): Adjust for changed
	output_section_statement "next".
	(strip_excluded_output_sections): Likewise.
	(lang_record_phdrs): Likewise.
	(lang_output_section_find_by_flags): New function.
	(output_prev_sec_find): Move from pe.em.  Adjust iterator.
	(lang_insert_orphan): New function.  Tail end of elf32.em's
	place_orphan merged with that from pe.em.  Allow bfd_section to
	be placed first.  New heuristic for placing new output section
	statement in existing script, and accompanying split of __start
	symbol alignment into a separate assignment to dot.
	(lang_add_section): Consistently use output->bfd_section rather than
	an alias, section->output_section.
	(map_input_to_output_sections): Rename overly long arg.  Move
	initialization of data_statement output section to here..
	(lang_check_section_addresses): ..from here.
	(print_assignment): Correct printing of etree_assert.
	(print_all_symbols): Don't bomb if userdata is NULL.
	(IGNORE_SECTION): Rearrange.
	* emultempl/elf32.em (output_rel_find): Adjust interator.
	(output_prev_sec_find): Delete.
	(struct orphan_save): Delete.
	(gld${EMULATION_NAME}_place_orphan): Cater for zero bfd_section
	flags without creating a duplicate output section statement.
	Revise code holding history of various orphan section placements.
	Allow orphan sections to place before script specified output
	sections.  Call lang_output_section_find_by_flags when placement
	by name fails.  Use lang_insert_orphan.
	* emultempl/mmo.em (output_prev_sec_find): Delete.
	(struct orphan_save): Delete.
	(mmo_place_orphan): Revise code holding history of orphan placement.
	Allow orphans to place before existing output sections.  Use
	lang_insert_orphan.
	* emultempl/pe.em (output_prev_sec_find): Delete.
	(struct orphan_save): Delete.
	(gld_${EMULATION_NAME}_place_orphan): Revise to suit use of
	lang_insert_orphan.
ld/testsuite/
	* ld-scripts/overlay-size.d: Update for changed orphan section
	placement.
	* ld-mmix/bpo-18.d: Likewise.
2004-10-14 12:54:47 +00:00
..
README 19990502 sourceware import 1999-05-03 07:29:11 +00:00
aix.em * ldfile.c (ldfile_set_output_arch): Add defarch param. 2004-01-03 11:09:07 +00:00
alphaelf.em * emultempl/aix.em: Convert to C90, remove unnecessary prototypes 2003-06-27 00:38:25 +00:00
armcoff.em * ldfile.c (ldfile_set_output_arch): Add defarch param. 2004-01-03 11:09:07 +00:00
armelf.em bfd/ 2004-09-17 12:18:19 +00:00
armelf_oabi.em bfd/ 2004-09-17 12:18:19 +00:00
astring.sed * emultempl/ostring.sed: Rename from stringify.sed. 1999-08-06 22:46:03 +00:00
beos.em * ldfile.c (ldfile_set_output_arch): Add defarch param. 2004-01-03 11:09:07 +00:00
crxelf.em Enable --relax option by default 2004-10-05 14:35:50 +00:00
elf32.em ld/ 2004-10-14 12:54:47 +00:00
generic.em * ldfile.c (ldfile_set_output_arch): Add defarch param. 2004-01-03 11:09:07 +00:00
gld960.em * emultempl/aix.em: Convert to C90, remove unnecessary prototypes 2003-06-27 00:38:25 +00:00
gld960c.em * ldfile.c (ldfile_set_output_arch): Add defarch param. 2004-01-03 11:09:07 +00:00
hppaelf.em bfd/ 2004-05-25 06:33:51 +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 * ldfile.c (ldfile_set_output_arch): Add defarch param. 2004-01-03 11:09:07 +00:00
lnk960.em * emultempl/aix.em: Convert to C90, remove unnecessary prototypes 2003-06-27 00:38:25 +00:00
m68hc1xelf.em Oops - omitted from patch that added a second parameter to lang_memory_region_lookup. 2003-10-24 09:54:41 +00:00
m68kcoff.em * ldfile.c (ldfile_set_output_arch): Add defarch param. 2004-01-03 11:09:07 +00:00
m68kelf.em Convert to C90 2003-06-28 05:28:54 +00:00
mipsecoff.em [ bfd/ChangeLog ] 2004-04-21 20:52:31 +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 ld/ 2004-10-14 12:54:47 +00:00
ppc32elf.em * emultempl/ppc32elf.em: Convert to C90. 2003-06-24 14:04:29 +00:00
ppc64elf.em * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Enable 2004-09-26 23:42:30 +00:00
sh64elf.em bfd/ 2004-06-24 04:46:28 +00:00
sunos.em include/ 2004-09-17 07:14:33 +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 bfd ChangeLog 2004-10-12 18:33:17 +00:00

README

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.