old-cross-binutils/gas/config
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
..
aout_gnu.h * README-vms: Delete. 2005-08-11 01:25:29 +00:00
atof-ieee.c Update the address and phone number of the FSF 2005-05-05 09:13:19 +00:00
atof-vax.c Update the address and phone number of the FSF 2005-05-05 09:13:19 +00:00
bfin-aux.h * Makefile.am: Bfin support. 2005-09-30 15:05:07 +00:00
bfin-defs.h * config/bfin-defs.h (Expr_Node_Type enum): Add Expr_Node_GOT_Reloc. 2006-03-26 01:12:07 +00:00
bfin-lex.l * config/bfin-defs.h (Expr_Node_Type enum): Add Expr_Node_GOT_Reloc. 2006-03-26 01:12:07 +00:00
bfin-parse.y * config/bfin-defs.h (Expr_Node_Type enum): Add Expr_Node_GOT_Reloc. 2006-03-26 01:12:07 +00:00
e-crisaout.c
e-criself.c
e-i386aout.c
e-i386coff.c
e-i386elf.c
e-mipsecoff.c
e-mipself.c
itbl-mips.h Update the address and phone number of the FSF 2005-05-05 09:13:19 +00:00
m68k-parse.h * config/m68k-parse.h: Use ISO C90. 2005-06-23 11:40:29 +00:00
m68k-parse.y * config/m68k-parse.h: Use ISO C90. 2005-06-23 11:40:29 +00:00
obj-aout.c * README-vms: Delete. 2005-08-11 01:25:29 +00:00
obj-aout.h * README-vms: Delete. 2005-08-11 01:25:29 +00:00
obj-coff.c PR binutils/1568 2005-11-07 17:57:00 +00:00
obj-coff.h gas/ 2005-10-27 07:40:07 +00:00
obj-ecoff.c Update the address and phone number of the FSF 2005-05-05 09:13:19 +00:00
obj-ecoff.h Update the address and phone number of the FSF 2005-05-05 09:13:19 +00:00
obj-elf.c * dwarf2dbg.c (struct line_entry): Replace frag and frag_ofs 2005-09-20 18:24:48 +00:00
obj-elf.h * dwarf2dbg.c (struct line_entry): Replace frag and frag_ofs 2005-09-20 18:24:48 +00:00
obj-evax.c Update the address and phone number of the FSF 2005-05-05 09:13:19 +00:00
obj-evax.h * README-vms: Delete. 2005-08-11 01:25:29 +00:00
obj-ieee.c Update the address and phone number of the FSF 2005-05-05 09:13:19 +00:00
obj-ieee.h * README-vms: Delete. 2005-08-11 01:25:29 +00:00
obj-multi.c
obj-multi.h Update the address and phone number of the FSF 2005-05-05 09:13:19 +00:00
obj-som.c Update the address and phone number of the FSF 2005-05-05 09:13:19 +00:00
obj-som.h Update the address and phone number of the FSF 2005-05-05 09:13:19 +00:00
tc-alpha.c * config/tc-ppc.c (ppc_pe_comm): Set bfd_com_section segment. 2005-11-16 01:49:48 +00:00
tc-alpha.h gas: 2005-06-07 17:54:22 +00:00
tc-arc.c Fix casts to allow for a 64-bit host. 2006-02-10 12:10:21 +00:00
tc-arc.h gas: 2005-06-07 17:54:22 +00:00
tc-arm.c 2006-03-21 Paul Brook <paul@codesourcery.com> 2006-03-21 22:52:06 +00:00
tc-arm.h 2005-10-08 Paul Brook <paul@codesourcery.com> 2005-10-08 17:07:19 +00:00
tc-avr.c Add linker relaxation support for the AVR 2006-03-03 15:25:31 +00:00
tc-avr.h * config/tc-avr.c: Convert to ISO C90 format. Fix formatting and generally 2005-10-12 10:56:46 +00:00
tc-bfin.c * config/bfin-defs.h (Expr_Node_Type enum): Add Expr_Node_GOT_Reloc. 2006-03-26 01:12:07 +00:00
tc-bfin.h * config/tc-bfin.c (Expr_Node_Gen_Reloc): If have symbol + constant, 2005-10-24 18:35:59 +00:00
tc-cris.c Change 32-bit-branch expansion for --pic. 2005-12-07 06:41:56 +00:00
tc-cris.h PR gas/1049 2005-07-08 03:54:30 +00:00
tc-crx.c (check_range): Ensure that the sign bit of a 32-bit value is propagated into 2006-02-10 12:21:43 +00:00
tc-crx.h * README-vms: Delete. 2005-08-11 01:25:29 +00:00
tc-d10v.c gas: 2005-06-07 17:54:22 +00:00
tc-d10v.h * README-vms: Delete. 2005-08-11 01:25:29 +00:00
tc-d30v.c gas: 2005-06-07 17:54:22 +00:00
tc-d30v.h * README-vms: Delete. 2005-08-11 01:25:29 +00:00
tc-dlx.c gas: 2005-06-07 17:54:22 +00:00
tc-dlx.h * README-vms: Delete. 2005-08-11 01:25:29 +00:00
tc-fr30.c Update the address and phone number of the FSF 2005-05-05 09:13:19 +00:00
tc-fr30.h * README-vms: Delete. 2005-08-11 01:25:29 +00:00
tc-frv.c Fixes for building on 64-bit hosts: 2006-01-11 17:39:50 +00:00
tc-frv.h * README-vms: Delete. 2005-08-11 01:25:29 +00:00
tc-generic.c Update the address and phone number of the FSF 2005-05-05 09:13:19 +00:00
tc-generic.h Update the address and phone number of the FSF 2005-05-05 09:13:19 +00:00
tc-h8300.c * README-vms: Delete. 2005-08-11 01:25:29 +00:00
tc-h8300.h 2005-08-18 Christian Groessler <chris@groessler.org> 2005-08-18 11:54:33 +00:00
tc-hppa.c Bug gas/1896 2005-11-25 02:08:22 +00:00
tc-hppa.h * README-vms: Delete. 2005-08-11 01:25:29 +00:00
tc-i370.c Fixes for building on 64-bit hosts: 2006-01-11 17:39:50 +00:00
tc-i370.h * README-vms: Delete. 2005-08-11 01:25:29 +00:00
tc-i386.c Patch by matz@suse.de: 2006-03-23 08:23:09 +00:00
tc-i386.h gas/ 2006-02-27 15:35:37 +00:00
tc-i860.c gas: 2005-06-07 17:54:22 +00:00
tc-i860.h * README-vms: Delete. 2005-08-11 01:25:29 +00:00
tc-i960.c * README-vms: Delete. 2005-08-11 01:25:29 +00:00
tc-i960.h * README-vms: Delete. 2005-08-11 01:25:29 +00:00
tc-ia64.c Fix problem with double-stop-bit after itc.i instruction. 2006-03-03 01:10:42 +00:00
tc-ia64.h This adjusts equate handling by 2005-10-11 11:16:17 +00:00
tc-ip2k.c gas: 2005-06-07 17:54:22 +00:00
tc-ip2k.h * README-vms: Delete. 2005-08-11 01:25:29 +00:00
tc-iq2000.c gas: 2005-06-07 17:54:22 +00:00
tc-iq2000.h * README-vms: Delete. 2005-08-11 01:25:29 +00:00
tc-m32c.c [include/elf] 2006-02-24 22:10:36 +00:00
tc-m32c.h [include/elf] 2006-02-24 22:10:36 +00:00
tc-m32r.c This adjusts equate handling by 2005-10-11 11:16:17 +00:00
tc-m32r.h This adjusts equate handling by 2005-10-11 11:16:17 +00:00
tc-m68hc11.c gas: 2005-06-07 17:54:22 +00:00
tc-m68hc11.h * dwarf2dbg.c (struct line_entry): Replace frag and frag_ofs 2005-09-20 18:24:48 +00:00
tc-m68k.c * gas/config/tc-m68k.c (find_cf_chip): Merge into ... 2006-03-28 07:21:49 +00:00
tc-m68k.h * bfd/archures.c (bfd_mach_mcf5200, bfd_mach_mcf5206e, 2006-02-07 19:01:10 +00:00
tc-m68851.h Update the address and phone number of the FSF 2005-05-05 09:13:19 +00:00
tc-maxq.c * README-vms: Delete. 2005-08-11 01:25:29 +00:00
tc-maxq.h * README-vms: Delete. 2005-08-11 01:25:29 +00:00
tc-mcore.c * README-vms: Delete. 2005-08-11 01:25:29 +00:00
tc-mcore.h 2005-08-18 Christian Groessler <chris@groessler.org> 2005-08-18 11:54:33 +00:00
tc-mips.c Richard Sandiford <richard@codesourcery.com> 2006-03-22 09:28:15 +00:00
tc-mips.h Richard Sandiford <richard@codesourcery.com> 2006-03-22 09:28:15 +00:00
tc-mmix.c PR gas/2101 2006-01-03 05:56:15 +00:00
tc-mmix.h This adjusts equate handling by 2005-10-11 11:16:17 +00:00
tc-mn10200.c Fixes for building on 64-bit hosts: 2006-01-11 17:39:50 +00:00
tc-mn10200.h * README-vms: Delete. 2005-08-11 01:25:29 +00:00
tc-mn10300.c Fixes for building on 64-bit hosts: 2006-01-11 17:39:50 +00:00
tc-mn10300.h This adjusts equate handling by 2005-10-11 11:16:17 +00:00
tc-msp430.c 2005-09-09 Dmitry Diky <diwil@spec.ru> 2005-09-09 08:46:19 +00:00
tc-msp430.h 2005-08-12 Dmitry Diky <diwil@spec.ru> 2005-08-12 11:54:23 +00:00
tc-mt.c * config/tc-mt.c (mt_arch): Default to ms1_16_002. 2005-12-27 18:38:05 +00:00
tc-mt.h Second part of ms1 to mt renaming. 2005-12-16 10:23:12 +00:00
tc-ns32k.c * README-vms: Delete. 2005-08-11 01:25:29 +00:00
tc-ns32k.h * README-vms: Delete. 2005-08-11 01:25:29 +00:00
tc-openrisc.c Update the address and phone number of the FSF 2005-05-05 09:13:19 +00:00
tc-openrisc.h * README-vms: Delete. 2005-08-11 01:25:29 +00:00
tc-or32.c * README-vms: Delete. 2005-08-11 01:25:29 +00:00
tc-or32.h * README-vms: Delete. 2005-08-11 01:25:29 +00:00
tc-pdp11.c Fix compile time warnings from a GCC 4.0 compiler 2005-07-05 15:07:46 +00:00
tc-pdp11.h Update the address and phone number of the FSF 2005-05-05 09:13:19 +00:00
tc-pj.c gas: 2005-06-07 17:54:22 +00:00
tc-pj.h gas: 2005-06-07 17:54:22 +00:00
tc-ppc.c * config/tc-ppc.c (ppc_frob_file_before_adjust): Do not reference 2005-11-17 13:32:27 +00:00
tc-ppc.h This adjusts equate handling by 2005-10-11 11:16:17 +00:00
tc-s390.c * config/tc-s390.c (md_parse_option): Add cpu type z9-109. 2005-08-12 18:00:56 +00:00
tc-s390.h * README-vms: Delete. 2005-08-11 01:25:29 +00:00
tc-sh.c This adjusts equate handling by 2005-10-11 11:16:17 +00:00
tc-sh.h This adjusts equate handling by 2005-10-11 11:16:17 +00:00
tc-sh64.c This adjusts equate handling by 2005-10-11 11:16:17 +00:00
tc-sh64.h This adjusts equate handling by 2005-10-11 11:16:17 +00:00
tc-sparc.c bfd/ 2006-04-05 12:41:59 +00:00
tc-sparc.h * frags.h: Remove ANSI_PROTOTYPES conditional code. 2005-07-08 05:57:21 +00:00
tc-tic4x.c gas/ 2005-09-30 15:48:24 +00:00
tc-tic4x.h * README-vms: Delete. 2005-08-11 01:25:29 +00:00
tc-tic30.c * README-vms: Delete. 2005-08-11 01:25:29 +00:00
tc-tic30.h * README-vms: Delete. 2005-08-11 01:25:29 +00:00
tc-tic54x.c Fixes for building on 64-bit hosts: 2006-01-11 17:39:50 +00:00
tc-tic54x.h This adjusts equate handling by 2005-10-11 11:16:17 +00:00
tc-v850.c Fixes for building on 64-bit hosts: 2006-01-11 17:39:50 +00:00
tc-v850.h * README-vms: Delete. 2005-08-11 01:25:29 +00:00
tc-vax.c * config/tc-vax.c: Update copyright year. 2006-03-18 11:23:38 +00:00
tc-vax.h * config/tc-vax.c: Update copyright year. 2006-03-18 11:23:38 +00:00
tc-xc16x.c Add support for the Infineon XC16X. 2006-02-17 14:36:28 +00:00
tc-xc16x.h Add support for the Infineon XC16X. 2006-02-17 14:36:28 +00:00
tc-xstormy16.c gas: 2005-06-07 17:54:22 +00:00
tc-xstormy16.h * README-vms: Delete. 2005-08-11 01:25:29 +00:00
tc-xtensa.c * config/tc-xtensa.c (init_op_placement_info_table): Check for formats 2006-04-03 19:11:05 +00:00
tc-xtensa.h * config/xtensa-istack.h (TInsn): Remove record_fix and sub_symbol 2006-01-31 19:36:57 +00:00
tc-z8k.c Re-enable GAS for z8k-coff 2005-08-26 09:47:49 +00:00
tc-z8k.h Re-enable GAS for z8k-coff 2005-08-26 09:47:49 +00:00
tc-z80.c Cleanup of pseudo-ops for constants and new def24,def32 pseudo-ops on z80 2006-02-05 11:57:35 +00:00
tc-z80.h Cleanup of pseudo-ops for constants and new def24,def32 pseudo-ops on z80 2006-02-05 11:57:35 +00:00
te-386bsd.h Update the address and phone number of the FSF 2005-05-05 09:13:19 +00:00
te-aix5.h
te-armeabi.h * configure.tgt: Set emulation for arm-*-eabi*. 2005-03-16 17:27:17 +00:00
te-armlinuxeabi.h * configure.tgt: Set emulation for arm-*-eabi*. 2005-03-16 17:27:17 +00:00
te-dynix.h
te-epoc-pe.h
te-freebsd.h Update the address and phone number of the FSF 2005-05-05 09:13:19 +00:00
te-generic.h
te-gnu.h * configure.tgt (i386-*-gnu*): Set em=gnu. 2005-11-16 03:44:10 +00:00
te-go32.h
te-hppa.h Update the address and phone number of the FSF 2005-05-05 09:13:19 +00:00
te-hppa64.h
te-hppalinux64.h
te-hpux.h
te-i386aix.h
te-ia64aix.h
te-interix.h
te-irix.h Update the address and phone number of the FSF 2005-05-05 09:13:19 +00:00
te-linux.h
te-lnews.h
te-lynx.h
te-mach.h
te-macos.h
te-nbsd.h Update the address and phone number of the FSF 2005-05-05 09:13:19 +00:00
te-nbsd532.h
te-netware.h Update the address and phone number of the FSF 2005-05-05 09:13:19 +00:00
te-pc532mach.h
te-pe.h
te-psos.h
te-riscix.h
te-sparcaout.h Update the address and phone number of the FSF 2005-05-05 09:13:19 +00:00
te-sun3.h Update the address and phone number of the FSF 2005-05-05 09:13:19 +00:00
te-svr4.h
te-symbian.h * configure.tgt: Set emulation for arm-*-eabi*. 2005-03-16 17:27:17 +00:00
te-tmips.h Update the address and phone number of the FSF 2005-05-05 09:13:19 +00:00
te-vxworks.h Update the address and phone number of the FSF 2005-05-05 09:13:19 +00:00
te-wince-pe.h
vax-inst.h Update the address and phone number of the FSF 2005-05-05 09:13:19 +00:00
xtensa-istack.h * config/xtensa-istack.h (TInsn): Remove record_fix and sub_symbol 2006-01-31 19:36:57 +00:00
xtensa-relax.c include: 2005-12-30 23:34:00 +00:00
xtensa-relax.h * config/tc-xtensa.c: Remove excess whitespace. 2005-05-06 21:27:47 +00:00