mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-09 04:21:49 +08:00
910600e9c7
* 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. |
||
---|---|---|
.. | ||
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 | ||
armelf.sh | ||
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 | ||
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 | ||
elf32_sparc.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_fbsd.sh | ||
elf32ppc.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_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 | ||
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 | ||
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_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 | ||
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.