binutils-gdb/ld/emulparams
Richard Sandiford 910600e9c7 bfd/
* config.bfd (sparc-*-vxworks*): New stanza.
	* configure.in (bfd_elf32_sparc_vxworks_vec): New stanza.
	(bfd_elf32_sparc_vec, bfd_elf64_sparc_vec): Add elf-vxworks.lo.
	* configure: Regenerate.
	* elf32-sparc.c: Include elf-vxworks.h.
	(elf32_sparc_vxworks_link_hash_table_create: New.
	(elf32_sparc_vxworks_final_write_processing): New.
	(TARGET_BIG_SYM): Override for VxWorks.
	(TARGET_BIG_NAME, ELF_MINPAGESIZE): Likewise.
	(bfd_elf32_bfd_link_hash_table_create): Likewise.
	(elf_backend_want_got_plt, elf_backend_plt_readonly): Likewise.
	(elf_backend_got_header_size, elf_backend_add_symbol_hook): Likewise.
	(elf_backend_link_output_symbol_hook): Likewise.
	(elf_backend_emit_relocs): Likewise.
	(elf_backend_final_write_processing, elf32_bed): Likewise.
	* elfxx-sparc.c: Include libiberty.h and elf-vxworks.h.
	(sparc_vxworks_exec_plt0_entry, sparc_vxworks_exec_plt_entry): New.
	(sparc_vxworks_shared_plt0_entry, sparc_vxworks_shared_plt_entry): New.
	(_bfd_sparc_elf_link_hash_table_create): Don't initialize
	build_plt_entry here.
	(create_got_section): Initialize sgotplt for VxWorks.
	(_bfd_sparc_elf_create_dynamic_sections): Initialize build_plt_entry,
	plt_header_size and plt_entry_size, with new VxWorks-specific settings.
	Call elf_vxworks_create_dynamic_sections for VxWorks.
	(allocate_dynrelocs): Use plt_header_size and plt_entry_size.
	Allocate room for .got.plt and .rela.plt.unloaded entries on VxWorks.
	(_bfd_sparc_elf_size_dynamic_sections): Don't allocate a nop in .plt
	for VxWorks.  Check for the .got.plt section.
	(sparc_vxworks_build_plt_entry): New function.
	(_bfd_sparc_elf_finish_dynamic_symbol): Add handling of VxWorks PLTs.
	Don't make _GLOBAL_OFFSET_TABLE_ and _PROCEDURE_LINKAGE_TABLE_
	absolute on VxWorks.
	(sparc32_finish_dyn): Add special handling for DT_RELASZ
	and DT_PLTGOT on VxWorks.
	(sparc_vxworks_finish_exec_plt): New.
	(sparc_vxworks_finish_shared_plt): New.
	(_bfd_sparc_elf_finish_dynamic_sections): Call them.
	Use plt_header_size and plt_entry_size.
	* elfxx-sparc.h (_bfd_sparc_elf_link_hash_table): Add is_vxworks,
	srelplt2, sgotplt, plt_header_size and plt_entry_size fields.
	* Makefile.am (elfxx-sparc.lo): Depend on elf-vxworks.h.
	(elf32-sparc.lo): Likewise.
	* Makefile.in: Regenerate.
	* targets.c (bfd_elf32_sparc_vxworks_vec): Declare.
	(_bfd_target_vector): Add a pointer to it.

gas/
	* config/tc-sparc.c (sparc_target_format): Handle TE_VXWORKS.
	(GOTT_BASE, GOTT_INDEX): New.
	(tc_gen_reloc): Don't alter relocations against GOTT_BASE and
	GOTT_INDEX when generating VxWorks PIC.
	* configure.tgt (sparc*-*-vxworks*): Remove this special case;
	use the generic *-*-vxworks* stanza instead.

gas/testsuite/
	* gas/sparc/vxworks-pic.s, gas/sparc/vxworks-pic.d: New test.
	* gas/sparc/sparc.exp: Run it.  Remove sparc*-*-vxworks* XFAILs.

ld/
	* configure.tgt (sparc*-*-vxworks*): New stanza.
	* emulparams/elf32_sparc_vxworks.sh: New file.
	* Makefile.am (ALL_EMULATIONS): Add eelf32_sparc_vxworks.o.
	(eelf32_sparc_vxworks.c): New rule.
	* Makefile.in: Regenerate.

ld/testsuite/
	* ld-sparc/vxworks1.dd, ld-sparc/vxworks1.ld, ld-sparc/vxworks1-lib.dd,
	* ld-sparc/vxworks1-lib.nd, ld-sparc/vxworks1-lib.rd,
	* ld-sparc/vxworks1-lib.s, ld-sparc/vxworks1.rd, ld-sparc/vxworks1.s,
	* ld-sparc/vxworks1-static.d, ld-sparc/vxworks2.s,
	* ld-sparc/vxworks2.sd, ld-sparc/vxworks2-static.sd: New tests.
	* ld-sparc/sparc.exp: Run them.
2006-04-05 12:41:59 +00:00
..
aix5ppc.sh
aix5rs6.sh
aixppc.sh
aixrs6.sh
alpha.sh
arcelf.sh
arm_epoc_pe.sh
armaoutb.sh
armaoutl.sh
armcoff.sh
armelf_fbsd.sh
armelf_linux_eabi.sh
armelf_linux.sh
armelf_nbsd.sh
armelf_vxworks.sh bfd/ 2006-03-07 08:39:21 +00:00
armelf.sh 2005-10-19 Paul Brook <paul@codesourcery.com> 2005-10-19 14:43:21 +00:00
armelfb_linux_eabi.sh
armelfb_linux.sh
armelfb_nbsd.sh
armelfb.sh
armnbsd.sh
armnto.sh
armpe.sh
armsymbian.sh
avr1.sh
avr2.sh
avr3.sh
avr4.sh
avr5.sh
bfin.sh * emulparams/elf32bfinfd.sh: New file. 2006-03-26 00:46:13 +00:00
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_vxworks.sh bfd/ 2006-04-05 12:41:59 +00:00
elf32_sparc.sh
elf32am33lin.sh
elf32b4300.sh
elf32bfinfd.sh Add missing file that got left out of a previous commit. 2006-03-29 14:17:57 +00:00
elf32bmip.sh
elf32bmipn32-defs.sh
elf32bmipn32.sh
elf32bsmip.sh
elf32btsmip.sh
elf32btsmipn32.sh
elf32cr16c.sh
elf32crx.sh
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
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 Second part of ms1 to mt renaming. 2005-12-16 10:23:12 +00:00
elf32openrisc.sh
elf32ppc_fbsd.sh
elf32ppc.sh bfd/ 2006-03-02 08:50:04 +00:00
elf32ppccommon.sh bfd/ 2006-03-02 08:50:04 +00:00
elf32ppclinux.sh
elf32ppcnto.sh
elf32ppcsim.sh
elf32ppcvxworks.sh bfd/ 2006-03-02 08:50:04 +00:00
elf32ppcwindiss.sh
elf32vax.sh
elf32xc16x.sh Add support for the Infineon XC16X. 2006-02-17 14:36:28 +00:00
elf32xc16xl.sh Add support for the Infineon XC16X. 2006-02-17 14:36:28 +00:00
elf32xc16xs.sh Add support for the Infineon XC16X. 2006-02-17 14:36:28 +00:00
elf32xstormy16.sh
elf32xtensa.sh
elf64_aix.sh
elf64_ia64_fbsd.sh
elf64_ia64.sh
elf64_s390.sh
elf64_sparc_fbsd.sh
elf64_sparc.sh
elf64alpha_fbsd.sh
elf64alpha_nbsd.sh
elf64alpha.sh
elf64bmip.sh
elf64btsmip.sh
elf64hppa.sh
elf64lppc.sh
elf64ltsmip.sh
elf64mmix.sh
elf64ppc.sh * emulparams/elf64ppc.sh (.tocbss): Use new section alignment scheme. 2005-11-18 04:26:29 +00:00
elf_fbsd.sh
elf_i386_be.sh
elf_i386_chaos.sh
elf_i386_fbsd.sh
elf_i386_ldso.sh
elf_i386_vxworks.sh
elf_i386.sh
elf_s390.sh
elf_x86_64_fbsd.sh
elf_x86_64.sh
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
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_posix.sh
i386pe.sh
lnk960.sh
m32relf_linux.sh
m32relf.sh
m32rlelf_linux.sh
m32rlelf.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
shelf32_linux.sh
shelf32_nbsd.sh
shelf32.sh
shelf64_nbsd.sh
shelf64.sh
shelf_linux.sh
shelf_nbsd.sh
shelf_nto.sh
shelf.sh
shl.sh
shlelf32_linux.sh
shlelf32_nbsd.sh
shlelf32.sh
shlelf64_nbsd.sh
shlelf64.sh
shlelf_linux.sh
shlelf_nbsd.sh
shlelf_nto.sh
shlelf.sh
shlsymbian.sh
shpe.sh
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
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.