8ded5a0fc3
* 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. |
||
---|---|---|
.. | ||
aix5ppc.sh | ||
aix5rs6.sh | ||
aixppc.sh | ||
aixrs6.sh | ||
alpha.sh | ||
arcelf.sh | ||
arm_epoc_pe.sh | ||
armaoutb.sh | ||
armaoutl.sh | ||
armcoff.sh | ||
armelf.sh | ||
armelf_fbsd.sh | ||
armelf_linux.sh | ||
armelf_linux_eabi.sh | ||
armelf_nbsd.sh | ||
armelf_vxworks.sh | ||
armelfb.sh | ||
armelfb_linux.sh | ||
armelfb_linux_eabi.sh | ||
armelfb_nbsd.sh | ||
armnbsd.sh | ||
armnto.sh | ||
armpe.sh | ||
armsymbian.sh | ||
avr1.sh | ||
avr2.sh | ||
avr3.sh | ||
avr4.sh | ||
avr5.sh | ||
avr6.sh | ||
bfin.sh | ||
coff_i860.sh | ||
coff_sparc.sh | ||
crisaout.sh | ||
criself.sh | ||
crislinux.sh | ||
d10velf.sh | ||
d30v_e.sh | ||
d30v_o.sh | ||
d30velf.sh | ||
delta68.sh | ||
elf32_dlx.sh | ||
elf32_i860.sh | ||
elf32_i960.sh | ||
elf32_sparc.sh | ||
elf32_sparc_vxworks.sh | ||
elf32am33lin.sh | ||
elf32b4300.sh | ||
elf32bfinfd.sh | ||
elf32bmip.sh | ||
elf32bmipn32-defs.sh | ||
elf32bmipn32.sh | ||
elf32bsmip.sh | ||
elf32btsmip.sh | ||
elf32btsmipn32.sh | ||
elf32cr16c.sh | ||
elf32crx.sh | ||
elf32ebmip.sh | ||
elf32ebmipvxworks.sh | ||
elf32elmip.sh | ||
elf32elmipvxworks.sh | ||
elf32fr30.sh | ||
elf32frv.sh | ||
elf32frvfd.sh | ||
elf32i370.sh | ||
elf32ip2k.sh | ||
elf32iq10.sh | ||
elf32iq2000.sh | ||
elf32l4300.sh | ||
elf32lmip.sh | ||
elf32lppc.sh | ||
elf32lppcnto.sh | ||
elf32lppcsim.sh | ||
elf32lsmip.sh | ||
elf32ltsmip.sh | ||
elf32ltsmipn32.sh | ||
elf32m32c.sh | ||
elf32mcore.sh | ||
elf32mipswindiss.sh | ||
elf32mt.sh | ||
elf32openrisc.sh | ||
elf32ppc.sh | ||
elf32ppc_fbsd.sh | ||
elf32ppccommon.sh | ||
elf32ppclinux.sh | ||
elf32ppcnto.sh | ||
elf32ppcsim.sh | ||
elf32ppcvxworks.sh | ||
elf32ppcwindiss.sh | ||
elf32vax.sh | ||
elf32xc16x.sh | ||
elf32xc16xl.sh | ||
elf32xc16xs.sh | ||
elf32xstormy16.sh | ||
elf32xtensa.sh | ||
elf64_aix.sh | ||
elf64_ia64.sh | ||
elf64_ia64_fbsd.sh | ||
elf64_s390.sh | ||
elf64_sparc.sh | ||
elf64_sparc_fbsd.sh | ||
elf64alpha.sh | ||
elf64alpha_fbsd.sh | ||
elf64alpha_nbsd.sh | ||
elf64bmip.sh | ||
elf64btsmip.sh | ||
elf64hppa.sh | ||
elf64lppc.sh | ||
elf64ltsmip.sh | ||
elf64mmix.sh | ||
elf64ppc.sh | ||
elf_fbsd.sh | ||
elf_i386.sh | ||
elf_i386_be.sh | ||
elf_i386_chaos.sh | ||
elf_i386_fbsd.sh | ||
elf_i386_ldso.sh | ||
elf_i386_vxworks.sh | ||
elf_s390.sh | ||
elf_x86_64.sh | ||
elf_x86_64_fbsd.sh | ||
gld960.sh | ||
gld960coff.sh | ||
h8300.sh | ||
h8300elf.sh | ||
h8300h.sh | ||
h8300helf.sh | ||
h8300hn.sh | ||
h8300hnelf.sh | ||
h8300s.sh | ||
h8300self.sh | ||
h8300sn.sh | ||
h8300snelf.sh | ||
h8300sx.sh | ||
h8300sxelf.sh | ||
h8300sxn.sh | ||
h8300sxnelf.sh | ||
h8500.sh | ||
h8500b.sh | ||
h8500c.sh | ||
h8500m.sh | ||
h8500s.sh | ||
hp3hpux.sh | ||
hp300bsd.sh | ||
hppa64linux.sh | ||
hppaelf.sh | ||
hppalinux.sh | ||
hppanbsd.sh | ||
hppaobsd.sh | ||
i386aout.sh | ||
i386beos.sh | ||
i386bsd.sh | ||
i386coff.sh | ||
i386go32.sh | ||
i386linux.sh | ||
i386lynx.sh | ||
i386mach.sh | ||
i386moss.sh | ||
i386msdos.sh | ||
i386nbsd.sh | ||
i386nto.sh | ||
i386nw.sh | ||
i386pe.sh | ||
i386pe_posix.sh | ||
lnk960.sh | ||
m32relf.sh | ||
m32relf_linux.sh | ||
m32rlelf.sh | ||
m32rlelf_linux.sh | ||
m68hc11elf.sh | ||
m68hc11elfb.sh | ||
m68hc12elf.sh | ||
m68hc12elfb.sh | ||
m68k4knbsd.sh | ||
m68kaout.sh | ||
m68kaux.sh | ||
m68kcoff.sh | ||
m68kelf.sh | ||
m68kelfnbsd.sh | ||
m68klinux.sh | ||
m68knbsd.sh | ||
m68kpsos.sh | ||
m88kbcs.sh | ||
maxqcoff.sh | ||
mcorepe.sh | ||
mipsbig.sh | ||
mipsbsd.sh | ||
mipsidt.sh | ||
mipsidtl.sh | ||
mipslit.sh | ||
mipslnews.sh | ||
mipspe.sh | ||
mmo.sh | ||
mn10200.sh | ||
mn10300.sh | ||
msp430all.sh | ||
news.sh | ||
ns32knbsd.sh | ||
or32.sh | ||
or32elf.sh | ||
pc532macha.sh | ||
pdp11.sh | ||
pjelf.sh | ||
pjlelf.sh | ||
ppclynx.sh | ||
ppcmacos.sh | ||
ppcnw.sh | ||
ppcpe.sh | ||
README | ||
riscix.sh | ||
sh.sh | ||
shelf.sh | ||
shelf32.sh | ||
shelf32_linux.sh | ||
shelf32_nbsd.sh | ||
shelf64.sh | ||
shelf64_nbsd.sh | ||
shelf_linux.sh | ||
shelf_nbsd.sh | ||
shelf_nto.sh | ||
shl.sh | ||
shlelf.sh | ||
shlelf32.sh | ||
shlelf32_linux.sh | ||
shlelf32_nbsd.sh | ||
shlelf64.sh | ||
shlelf64_nbsd.sh | ||
shlelf_linux.sh | ||
shlelf_nbsd.sh | ||
shlelf_nto.sh | ||
shlsymbian.sh | ||
shpe.sh | ||
sparcaout.sh | ||
sparclinux.sh | ||
sparcnbsd.sh | ||
st2000.sh | ||
sun3.sh | ||
sun4.sh | ||
tic3xcoff.sh | ||
tic3xcoff_onchip.sh | ||
tic4xcoff.sh | ||
tic30aout.sh | ||
tic30coff.sh | ||
tic54xcoff.sh | ||
tic80coff.sh | ||
v850.sh | ||
vanilla.sh | ||
vax.sh | ||
vaxnbsd.sh | ||
vsta.sh | ||
vxworks.sh | ||
w65.sh | ||
xtensa-config.sh | ||
z80.sh | ||
z8001.sh | ||
z8002.sh |
The files in this directory are read by genscripts.sh as shell commands. They set parameters for the emulations.