binutils-gdb/ld/emulparams
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
..
aix5ppc.sh
aix5rs6.sh
aixppc.sh
aixrs6.sh
alpha.sh
arcelf.sh bfd/ 2006-06-20 02:22:16 +00:00
arm_epoc_pe.sh * emulparams/arm_epoc_pe.sh, emulparams/armpe.sh, emulparams/i386pe.sh, 2004-09-28 19:14:29 +00:00
armaoutb.sh
armaoutl.sh
armcoff.sh
armelf_fbsd.sh bfd/ 2004-09-17 12:18:19 +00:00
armelf_linux_eabi.sh * Makefile.am (ALL_EMULATIONS): Add earmelf_linux_eabi.o. 2004-11-19 19:28:40 +00:00
armelf_linux.sh bfd/ 2006-05-30 16:45:32 +00:00
armelf_nbsd.sh bfd/ 2006-05-30 16:45:32 +00:00
armelf_vxworks.sh bfd/ 2006-05-30 16:45:32 +00:00
armelf.sh 2005-10-19 Paul Brook <paul@codesourcery.com> 2005-10-19 14:43:21 +00:00
armelfb_linux_eabi.sh * emulparams/armelfb_linux_eabi.sh: New file. 2005-01-22 01:50:35 +00:00
armelfb_linux.sh
armelfb_nbsd.sh
armelfb.sh
armnbsd.sh
armnto.sh bfd/ 2006-05-30 16:45:32 +00:00
armpe.sh * emulparams/arm_epoc_pe.sh, emulparams/armpe.sh, emulparams/i386pe.sh, 2004-09-28 19:14:29 +00:00
armsymbian.sh bfd/ 2006-05-30 16:45:32 +00:00
avr1.sh Add support for AVR6 family 2006-05-24 07:36:12 +00:00
avr2.sh Add support for AVR6 family 2006-05-24 07:36:12 +00:00
avr3.sh Add support for AVR6 family 2006-05-24 07:36:12 +00:00
avr4.sh Add support for AVR6 family 2006-05-24 07:36:12 +00:00
avr5.sh Add support for AVR6 family 2006-05-24 07:36:12 +00:00
avr6.sh Add support for AVR6 family 2006-05-24 07:36:12 +00:00
bfin.sh bfd/ 2006-05-30 16:45:32 +00:00
coff_i860.sh
coff_sparc.sh
crisaout.sh
criself.sh * emulparams/armelf.sh (OTHER_BSS_END_SYMBOLS): Split out from 2005-08-05 04:29:57 +00:00
crislinux.sh bfd/ 2006-05-30 16:45:32 +00:00
d10velf.sh
d30v_e.sh bfd/ 2006-06-20 02:22:16 +00:00
d30v_o.sh bfd/ 2006-06-20 02:22:16 +00:00
d30velf.sh bfd/ 2006-06-20 02:22:16 +00:00
delta68.sh
elf32_dlx.sh bfd/ 2006-06-20 02:22:16 +00:00
elf32_i860.sh bfd/ 2006-06-20 02:22:16 +00:00
elf32_i960.sh bfd/ 2006-05-30 16:45:32 +00:00
elf32_sparc_vxworks.sh bfd/ 2006-04-05 12:41:59 +00:00
elf32_sparc.sh bfd/ 2006-05-30 16:45:32 +00:00
elf32am33lin.sh bfd/ 2006-05-30 16:45:32 +00:00
elf32b4300.sh
elf32bfinfd.sh bfd/ 2006-05-30 16:45:32 +00:00
elf32bmip.sh Reviewed and approved by Daniel Jacobowitz and Thiemo Seufer 2006-06-12 12:36:26 +00:00
elf32bmipn32-defs.sh bfd/ 2006-05-30 16:45:32 +00:00
elf32bmipn32.sh bfd/ 2006-05-30 16:45:32 +00:00
elf32bsmip.sh * emulparams/elf32bsmip.sh (EXTRA_EM_FILE): Define to irix. 2004-04-08 14:52:44 +00:00
elf32btsmip.sh * emulparams/elf32btsmip.sh: Unset DATA_ADDR. 2005-06-01 19:26:25 +00:00
elf32btsmipn32.sh bfd/ 2006-05-30 16:45:32 +00:00
elf32cr16c.sh Add (linker) support for CR16C processor 2004-03-30 14:04:32 +00:00
elf32crx.sh Add new port: crx-elf 2004-07-07 17:28:53 +00:00
elf32ebmip.sh
elf32ebmipvxworks.sh Richard Sandiford <richard@codesourcery.com> 2006-03-22 09:28:15 +00:00
elf32elmip.sh
elf32elmipvxworks.sh Richard Sandiford <richard@codesourcery.com> 2006-03-22 09:28:15 +00:00
elf32fr30.sh bfd/ 2006-06-20 02:22:16 +00:00
elf32frv.sh bfd/ 2006-06-20 02:22:16 +00:00
elf32frvfd.sh bfd/ 2006-06-20 02:22:16 +00:00
elf32i370.sh bfd/ 2006-05-30 16:45:32 +00:00
elf32ip2k.sh
elf32iq10.sh bfd/ 2006-06-20 02:22:16 +00:00
elf32iq2000.sh bfd/ 2006-06-20 02:22:16 +00:00
elf32l4300.sh
elf32lmip.sh
elf32lppc.sh
elf32lppcnto.sh bfd/ 2006-05-30 16:45:32 +00:00
elf32lppcsim.sh
elf32lsmip.sh
elf32ltsmip.sh
elf32ltsmipn32.sh
elf32m32c.sh * emulparams/elf32m32c.sh (TEMPLATE_NAME): New. 2005-07-20 19:33:18 +00:00
elf32mcore.sh bfd/ 2006-05-30 16:45:32 +00:00
elf32mipswindiss.sh
elf32mt.sh bfd/ 2006-06-20 02:22:16 +00:00
elf32openrisc.sh bfd/ 2006-05-30 16:45:32 +00:00
elf32ppc_fbsd.sh
elf32ppc.sh bfd/ 2006-03-02 08:50:04 +00:00
elf32ppccommon.sh bfd/ 2006-05-30 16:45:32 +00:00
elf32ppclinux.sh * ldlang.c (exp_init_os): Handle etree_provide. 2005-08-03 05:09:49 +00:00
elf32ppcnto.sh bfd/ 2006-05-30 16:45:32 +00:00
elf32ppcsim.sh
elf32ppcvxworks.sh bfd/ 2006-03-02 08:50:04 +00:00
elf32ppcwindiss.sh bfd/ 2006-05-30 16:45:32 +00:00
elf32vax.sh bfd/ 2006-05-30 16:45:32 +00:00
elf32xc16x.sh bfd/ 2006-05-30 16:45:32 +00:00
elf32xc16xl.sh bfd/ 2006-05-30 16:45:32 +00:00
elf32xc16xs.sh bfd/ 2006-05-30 16:45:32 +00:00
elf32xstormy16.sh
elf32xtensa.sh * scripttempl/elfxtensa.sc: Sync up with elf.sc. 2005-05-12 00:31:22 +00:00
elf64_aix.sh bfd/ 2006-05-30 16:45:32 +00:00
elf64_ia64_fbsd.sh 2004-10-14 H.J. Lu <hongjiu.lu@intel.com> 2004-10-14 17:00:16 +00:00
elf64_ia64.sh bfd/ 2006-05-30 16:45:32 +00:00
elf64_s390.sh bfd/ 2006-05-30 16:45:32 +00:00
elf64_sparc_fbsd.sh
elf64_sparc.sh bfd/ 2006-05-30 16:45:32 +00:00
elf64alpha_fbsd.sh
elf64alpha_nbsd.sh
elf64alpha.sh bfd/ 2006-05-30 16:45:32 +00:00
elf64bmip.sh [ bfd/ChangeLog ] 2006-06-12 11:35:45 +00:00
elf64btsmip.sh [ bfd/ChangeLog ] 2006-06-12 11:35:45 +00:00
elf64hppa.sh bfd/ 2006-05-30 16:45:32 +00:00
elf64lppc.sh
elf64ltsmip.sh
elf64mmix.sh bfd/ 2006-05-30 16:45:32 +00:00
elf64ppc.sh bfd/ 2006-05-30 16:45:32 +00:00
elf_fbsd.sh
elf_i386_be.sh bfd/ 2006-05-30 16:45:32 +00:00
elf_i386_chaos.sh bfd/ 2006-05-30 16:45:32 +00:00
elf_i386_fbsd.sh
elf_i386_ldso.sh bfd/ 2006-05-30 16:45:32 +00:00
elf_i386_vxworks.sh bfd/ 2006-05-30 16:45:32 +00:00
elf_i386.sh bfd/ 2006-05-30 16:45:32 +00:00
elf_s390.sh bfd/ 2006-05-30 16:45:32 +00:00
elf_x86_64_fbsd.sh
elf_x86_64.sh bfd/ 2006-05-30 16:45:32 +00:00
gld960.sh
gld960coff.sh
h8300.sh Add TINY_READONLY_SECTION, TINY_DATA_SECTION, TINY_BSS_SECTION. 2005-12-22 17:43:34 +00:00
h8300elf.sh Add TINY_READONLY_SECTION, TINY_DATA_SECTION, TINY_BSS_SECTION. 2005-12-22 17:43:34 +00:00
h8300h.sh
h8300helf.sh
h8300hn.sh
h8300hnelf.sh
h8300s.sh
h8300self.sh
h8300sn.sh
h8300snelf.sh
h8300sx.sh
h8300sxelf.sh Add TINY_READONLY_SECTION, TINY_DATA_SECTION, TINY_BSS_SECTION. 2005-12-22 17:43:34 +00:00
h8300sxn.sh
h8300sxnelf.sh
h8500.sh
h8500b.sh
h8500c.sh
h8500m.sh
h8500s.sh
hp3hpux.sh
hp300bsd.sh
hppa64linux.sh bfd/ 2006-05-30 16:45:32 +00:00
hppaelf.sh
hppalinux.sh bfd/ 2006-05-30 16:45:32 +00:00
hppanbsd.sh bfd: 2004-07-27 22:30:25 +00:00
hppaobsd.sh bfd/ 2006-05-30 16:45:32 +00:00
i386aout.sh
i386beos.sh
i386bsd.sh
i386coff.sh
i386go32.sh
i386linux.sh
i386lynx.sh bfd/ 2006-05-30 16:45:32 +00:00
i386mach.sh
i386moss.sh bfd/ 2006-05-30 16:45:32 +00:00
i386msdos.sh
i386nbsd.sh
i386nto.sh bfd/ 2006-05-30 16:45:32 +00:00
i386nw.sh bfd/ 2006-05-30 16:45:32 +00:00
i386pe_posix.sh * emulparams/arm_epoc_pe.sh, emulparams/armpe.sh, emulparams/i386pe.sh, 2004-09-28 19:14:29 +00:00
i386pe.sh * emulparams/arm_epoc_pe.sh, emulparams/armpe.sh, emulparams/i386pe.sh, 2004-09-28 19:14:29 +00:00
lnk960.sh
m32relf_linux.sh bfd/ 2006-05-30 16:45:32 +00:00
m32relf.sh * emulparams/armelf.sh (OTHER_BSS_END_SYMBOLS): Split out from 2005-08-05 04:29:57 +00:00
m32rlelf_linux.sh
m32rlelf.sh
m68hc11elf.sh
m68hc11elfb.sh
m68hc12elf.sh
m68hc12elfb.sh
m68k4knbsd.sh
m68kaout.sh
m68kaux.sh
m68kcoff.sh
m68kelf.sh bfd/ 2006-05-30 16:45:32 +00:00
m68kelfnbsd.sh
m68klinux.sh
m68knbsd.sh
m68kpsos.sh bfd/ 2006-05-30 16:45:32 +00:00
m88kbcs.sh
maxqcoff.sh Add support fpr MAXQ processor 2004-11-08 13:17:43 +00:00
mcorepe.sh * emulparams/arm_epoc_pe.sh, emulparams/armpe.sh, emulparams/i386pe.sh, 2004-09-28 19:14:29 +00:00
mipsbig.sh
mipsbsd.sh
mipsidt.sh [ bfd/ChangeLog ] 2004-04-21 20:52:31 +00:00
mipsidtl.sh [ bfd/ChangeLog ] 2004-04-21 20:52:31 +00:00
mipslit.sh
mipslnews.sh
mipspe.sh * emulparams/arm_epoc_pe.sh, emulparams/armpe.sh, emulparams/i386pe.sh, 2004-09-28 19:14:29 +00:00
mmo.sh
mn10200.sh bfd/ 2006-06-20 02:22:16 +00:00
mn10300.sh bfd/ 2006-06-20 02:22:16 +00:00
msp430all.sh bfd/ 2006-06-20 02:22:16 +00:00
news.sh
ns32knbsd.sh
or32.sh bfd/ 2006-06-20 02:22:16 +00:00
or32elf.sh bfd/ 2006-06-20 02:22:16 +00:00
pc532macha.sh
pdp11.sh
pjelf.sh bfd/ 2006-06-20 02:22:16 +00:00
pjlelf.sh bfd/ 2006-06-20 02:22:16 +00:00
ppclynx.sh bfd/ 2006-05-30 16:45:32 +00:00
ppcmacos.sh
ppcnw.sh bfd/ 2006-05-30 16:45:32 +00:00
ppcpe.sh * emulparams/arm_epoc_pe.sh, emulparams/armpe.sh, emulparams/i386pe.sh, 2004-09-28 19:14:29 +00:00
README
riscix.sh
sh.sh
shelf32_linux.sh
shelf32_nbsd.sh bfd/ 2006-05-30 16:45:32 +00:00
shelf32.sh
shelf64_nbsd.sh
shelf64.sh
shelf_linux.sh
shelf_nbsd.sh bfd/ 2006-05-30 16:45:32 +00:00
shelf_nto.sh bfd/ 2006-05-30 16:45:32 +00:00
shelf.sh PR 600 2004-12-23 12:27:45 +00:00
shl.sh
shlelf32_linux.sh bfd/ 2006-05-30 16:45:32 +00:00
shlelf32_nbsd.sh
shlelf32.sh
shlelf64_nbsd.sh
shlelf64.sh
shlelf_linux.sh bfd/ 2006-05-30 16:45:32 +00:00
shlelf_nbsd.sh
shlelf_nto.sh bfd/ 2006-05-30 16:45:32 +00:00
shlelf.sh
shlsymbian.sh Add support for sh-symbian-elf target 2004-07-06 16:58:43 +00:00
shpe.sh * emulparams/arm_epoc_pe.sh, emulparams/armpe.sh, emulparams/i386pe.sh, 2004-09-28 19:14:29 +00:00
sparcaout.sh
sparclinux.sh
sparcnbsd.sh
st2000.sh
sun3.sh
sun4.sh
tic3xcoff_onchip.sh
tic3xcoff.sh
tic4xcoff.sh
tic30aout.sh
tic30coff.sh
tic54xcoff.sh
tic80coff.sh
v850.sh
vanilla.sh
vax.sh
vaxnbsd.sh
vsta.sh
vxworks.sh bfd/ 2006-03-07 08:39:21 +00:00
w65.sh
xtensa-config.sh bfd/ 2006-05-30 16:45:32 +00:00
z80.sh Add support for the Z80 processor family 2005-10-25 17:40:19 +00:00
z8001.sh
z8002.sh

The files in this directory are read by genscripts.sh as shell commands.
They set parameters for the emulations.