darling-gdb/ld/emultempl
Alan Modra 8ded5a0fc3 bfd/
* elf-bfd.h: Formatting.
	(_bfd_elf_map_sections_to_segments): Declare.
	* elf-eh-frame.c (_bfd_elf_discard_section_eh_frame_hdr): Don't
	clear program_header_size.
	* elf.c (get_program_header_size): Move.  Don't use or set saved
	program_header_size here.
	(elf_modify_segment_map): New function.  Split out from..
	(assign_file_positions_for_load_sections): ..here.  Assert
	header size is correct.  Remove dead code.
	(_bfd_elf_map_sections_to_segments): Rename from
	map_sections_to_segments.  Make global.  Use get_program_header_size
	when we need estimate of header size.  Call elf_modify_segment_map.
	Set program_header_size.
	(print_segment_map): Delete.
	(_bfd_elf_sizeof_headers): If segment_map available, get the
	actual size.
	* elf32-arm.c (elf32_arm_symbian_modify_segment_map): Make safe
	for calling more than once.
	* elf32-bfin.c (elf32_bfinfdpic_modify_segment_map): Likewise.
	* elf32-frv.c (elf32_frvfdpic_modify_segment_map): Likewise.
	* elfxx-mips.c (_bfd_mips_elf_modify_segment_map): Likewise.
	* elf32-i370.c (elf_backend_add_symbol_hook): Delete.
	(elf_backend_additional_program_headers): Delete.
	(elf_backend_modify_segment_map): Delete.
	* elf64-hppa.c (elf64_hppa_modify_segment_map): Convert to ISO C.
	* elfxx-ia64.c (elfNN_ia64_modify_segment_map): Likewise.
	* doc/bfdint.texi: Delete SIZEOF_HEADERS difficulties.
ld/
	* Makefile.am (ELF_DEPS): Define.  Use in emul file deps.  Fix
	many ELF emul file deps that incorrectly said they needed elf32.em
	instead of generic.em.  Add genelf.em as required.
	* Makefile.in: Regenerate.
	* ldlang.c (lang_process): Call ldemul_finish before
	lang_check_section_addresses.
	* emulparams/arcelf.sh: Generic elf target needs genelf.
	* emulparams/d30v_e.sh: Likewise.
	* emulparams/d30v_o.sh: Likewise.
	* emulparams/d30velf.sh: Likewise.
	* emulparams/elf32_dlx.sh: Likewise.
	* emulparams/elf32_i860.sh: Likewise.
	* emulparams/elf32fr30.sh: Likewise.
	* emulparams/elf32frv.sh: Likewise.
	* emulparams/elf32iq10.sh: Likewise.
	* emulparams/elf32iq2000.sh: Likewise.
	* emulparams/elf32mt.sh: Likewise.
	* emulparams/mn10200.sh: Likewise.
	* emulparams/or32.sh: Likewise.
	* emulparams/or32elf.sh: Likewise.
	* emulparams/pjelf.sh: Likewise.
	* emulparams/msp430all.sh: Likewise.  Extract common entries.
	* emulparams/pjlelf.sh: Include pjelf.sh.
	* emulparams/elf32frvfd.sh (EXTRA_EM_FILE): Unset.
	* emulparams/mn10300.sh (EXTRA_EM_FILE): Unset.
	* emultempl/elf-generic.em: New file.
	* emultempl/genelf.em: New file.
	* emultempl/elf32.em: Include elf-generic.em.
	(gld${EMULATION_NAME}_layout_sections_again): Delete.
	(gld${EMULATION_NAME}_finish): Call gld${EMULATION_NAME}_map_segments.
	* emultempl/hppaelf.em (hppaelf_layout_sections_again): Likewise.
	(gld${EMULATION_NAME}_finish): Rename from hppaelf_finish.  Call
	gld${EMULATION_NAME}_map_segments.
	(LDEMUL_FINISH): Update.
	* emultempl/mmo.em: Correct comment.  Include elf-bfd.h and
	source elf-generic.em.
	(mmo_finish): Call gld${EMULATION_NAME}_map_segments.
	* emultempl/ppc64elf.em (ppc_layout_sections_again): Likewise.
	(gld${EMULATION_NAME}_finish): Rename from ppc_finish.  Call
	gld${EMULATION_NAME}_map_segments.
	(LDEMUL_FINISH): Update.
ld/testsuite/
	* ld-elf/eh1.d: Update for fewer program headers.
	* ld-elf/eh2.d: Likewise.
	* ld-elf/eh3.d: Likewise.
2006-06-20 02:22:16 +00:00
..
aix.em bfd/ 2005-08-04 06:22:14 +00:00
alphaelf.em * emulparams/elf64alpha.sh (PLT): New. 2005-05-29 23:16:09 +00:00
armcoff.em bfd/ 2005-08-04 06:22:14 +00:00
armelf.em 2006-02-07 Paul Brook <paul@codesourcery.com> 2006-02-07 03:50:20 +00:00
astring.sed * emultempl/ostring.sed: Rename from stringify.sed. 1999-08-06 22:46:03 +00:00
avrelf.em Add support for AVR6 family 2006-05-24 07:36:12 +00:00
beos.em * ldlang.h (lang_input_section_type): Remove "ifile" field. 2005-11-17 00:10:05 +00:00
crxelf.em Update FSF addresses 2005-05-12 07:32:09 +00:00
elf32.em bfd/ 2006-06-20 02:22:16 +00:00
elf-generic.em bfd/ 2006-06-20 02:22:16 +00:00
genelf.em bfd/ 2006-06-20 02:22:16 +00:00
generic.em bfd/ 2005-08-04 06:22:14 +00:00
gld960.em bfd/ 2005-08-04 06:22:14 +00:00
gld960c.em bfd/ 2005-08-04 06:22:14 +00:00
hppaelf.em bfd/ 2006-06-20 02:22:16 +00:00
ia64elf.em bfd/ 2006-04-06 18:52:46 +00:00
irix.em 2006-01-18 Roger Sayle <roger@eyesopen.com> 2006-01-19 01:06:48 +00:00
linux.em bfd/ 2005-08-04 06:22:14 +00:00
lnk960.em bfd/ 2005-08-04 06:22:14 +00:00
m68hc1xelf.em * ldlang.h (lang_input_section_type): Remove "ifile" field. 2005-11-17 00:10:05 +00:00
m68kcoff.em bfd/ 2005-08-04 06:22:14 +00:00
m68kelf.em Update FSF addresses 2005-05-12 07:32:09 +00:00
mipsecoff.em Update FSF addresses 2005-05-12 07:32:09 +00:00
mmix-elfnmmo.em Update FSF addresses 2005-05-12 07:32:09 +00:00
mmixelf.em Update FSF addresses 2005-05-12 07:32:09 +00:00
mmo.em bfd/ 2006-06-20 02:22:16 +00:00
needrelax.em Update FSF addresses 2005-05-12 07:32:09 +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 Apply fixes to allow arm WinCE toolchain to produce working executables. 2006-05-11 08:48:58 +00:00
ppc32elf.em bfd/ 2005-12-08 11:41:12 +00:00
ppc64elf.em bfd/ 2006-06-20 02:22:16 +00:00
README 19990502 sourceware import 1999-05-03 07:29:11 +00:00
sh64elf.em * emultempl/sh64elf.em (sh64_elf_${EMULATION_NAME}_after_allocation): 2005-08-17 05:13:13 +00:00
sunos.em bfd/ 2005-08-04 06:22:14 +00:00
ticoff.em bfd/ 2005-08-04 06:22:14 +00:00
vanilla.em bfd/ 2005-08-04 06:22:14 +00:00
vxworks.em ld/ 2006-03-03 09:32:01 +00:00
xtensaelf.em * emultempl/xtensaelf.em (elf_xtensa_before_allocation): Call new 2006-04-14 21:31:16 +00:00
z80.em Add support for the Z80 processor family 2005-10-25 17:40:19 +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.