* 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.
299 lines
9.7 KiB
Plaintext
299 lines
9.7 KiB
Plaintext
2006-04-05 Richard Sandiford <richard@codesourcery.com>
|
||
|
||
* 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 Ben Elliston <bje@au.ibm.com>
|
||
|
||
* lib/ld-lib.exp: Comment cleanups.
|
||
|
||
2006-03-27 Richard Sandiford <richard@codesourcery.com>
|
||
|
||
* ld-mips-elf/tls-hidden3a.s, ld-mips-elf/tls-hidden3b.s,
|
||
* ld-mips-elf/tls-hidden3.d, ld-mips-elf/tls-hidden3.got,
|
||
* ld-mips-elf/tls-hidden3.ld, ld-mips-elf/tls-hidden3.r,
|
||
* ld-mips-elf/tls-hidden4a.s, ld-mips-elf/tls-hidden4b.s,
|
||
* ld-mips-elf/tls-hidden4.got, ld-mips-elf/tls-hidden4.r: New tests.
|
||
* ld-mips-elf/mips-elf.exp: Run them.
|
||
|
||
2006-03-25 Richard Sandiford <richard@codesourcery.com>
|
||
|
||
* ld-m68k/merge-error-1a.s, ld-m68k/merge-error-1b.s,
|
||
* ld-m68k/merge-error-1a.d, ld-m68k/merge-error-1b.d,
|
||
* ld-m68k/merge-error-1c.d, ld-m68k/merge-error-1d.d,
|
||
* ld-m68k/merge-error-1e.d, ld-m68k/merge-ok-1a.d,
|
||
* ld-m68k/merge-ok-1b.d: New tests.
|
||
* ld-m68k/m68k.exp: Run them.
|
||
|
||
2006-03-22 Richard Sandiford <richard@codesourcery.com>
|
||
|
||
* ld-mips/vxworks1.dd, ld-mips/vxworks1.ld, ld-mips/vxworks1-lib.dd,
|
||
* ld-mips/vxworks1-lib.nd, ld-mips/vxworks1-lib.rd,
|
||
* ld-mips/vxworks1-lib.s, ld-mips/vxworks1.rd, ld-mips/vxworks1.s,
|
||
* ld-mips/vxworks1-static.d, ld-mips/vxworks2.s, ld-mips/vxworks2.sd,
|
||
* ld-mips/vxworks2-static.sd: New tests.
|
||
* ld-mips/mips-elf.exp: Run them.
|
||
|
||
2006-03-17 Alexandre Oliva <aoliva@redhat.com>
|
||
|
||
* ld-powerpc/tls32.s: Verify that +32768 @plt addend is
|
||
discarded.
|
||
|
||
2006-03-14 Richard Sandiford <richard@codesourcery.com>
|
||
|
||
* ld-mips/emit-relocs-1a.s, ld-mips/emit-relocs-1b.s,
|
||
* ld-mips/emit-relocs-1.ld, ld-mips/emit-relocs-1.d: New test.
|
||
* ld-mips/mips-elf.exp: Run it.
|
||
|
||
2006-03-07 Richard Sandiford <richard@codesourcery.com>
|
||
|
||
* ld-arm/vxworks1.dd, ld-arm/vxworks1.ld, ld-arm/vxworks1-lib.dd,
|
||
* ld-arm/vxworks1-lib.nd, ld-arm/vxworks1-lib.rd,
|
||
* ld-arm/vxworks1-lib.s, ld-arm/vxworks1.rd, ld-arm/vxworks1.s,
|
||
* ld-arm/vxworks1-static.d, ld-arm/vxworks2.s, ld-arm/vxworks2.sd,
|
||
* ld-arm/vxworks2-static.sd: New tests.
|
||
* ld-arm/arm-elf.exp: Run them.
|
||
|
||
2006-03-06 Nathan Sidwell <nathan@codesourcery.com>
|
||
|
||
* ld-m68k: New tests.
|
||
|
||
2006-03-03 Richard Sandiford <richard@codesourcery.com>
|
||
|
||
* ld-i386/vxworks1-static.d, ld-i386/vxworks2.s,
|
||
* ld-i386/vxworks2.sd, ld-i386/vxworks2-static.sd: New tests.
|
||
* ld-i386/i386.exp: Run them.
|
||
* ld-powerpc/vxworks1-static.d, ld-powerpc/vxworks2.s,
|
||
* ld-powerpc/vxworks2.sd, ld-powerpc/vxworks2-static.sd: New tests.
|
||
* ld-powerpc/powerpc.exp: Run them.
|
||
|
||
2006-03-02 Richard Sandiford <richard@codesourcery.com>
|
||
|
||
* ld-powerpc/vxworks1.ld: Use a page alignment of 0x10000.
|
||
* ld-powerpc/vxworks1.dd: Update accordingly.
|
||
* ld-powerpc/vxworks1-lib.nd: Likewise.
|
||
* ld-powerpc/vxworks1-lib.rd: Likewise.
|
||
* ld-powerpc/vxworks1.rd: Likewise.
|
||
|
||
2006-03-02 Richard Sandiford <richard@codesourcery.com>
|
||
|
||
* ld-i386/vxworks1.ld (.data): New section.
|
||
* ld-i386/vxworks1-lib.s: Add a pointer to a local symbol.
|
||
* ld-i386/vxworks1-lib.rd: Test for the associated reloc.
|
||
* ld-powerpc/vxworks1.ld (.data): New section.
|
||
* ld-powerpc/vxworks1-lib.s: Add a pointer to a local symbol.
|
||
* ld-powerpc/vxworks1-lib.rd: Test for the associated reloc.
|
||
|
||
2006-03-02 Richard Sandiford <richard@codesourcery.com>
|
||
|
||
* ld-i386/ld-i386/vxworks1-lib.nd: New test.
|
||
* ld-i386/i386.exp: Run it.
|
||
* ld-powerpc/ld-powerpc/vxworks1-lib.nd: New test.
|
||
* ld-powerpc/powerc.exp: Run it.
|
||
|
||
2006-03-02 Richard Sandiford <richard@codesourcery.com>
|
||
|
||
* ld-i386/vxworks1.ld: Use bigger alignments. Make sure .bss isn't
|
||
placed as an orphan.
|
||
* ld-i386/vxworks1-lib.dd, ld-i386/vxworks1.dd,
|
||
* ld-i386/vxworks1.rd: Update accordingly.
|
||
* ld-i386/vxworks1-lib.rd: Likewise. Remove symbol indexes.
|
||
|
||
2006-03-02 Richard Sandiford <richard@codesourcery.com>
|
||
|
||
* ld-powerpc/vxworks1-lib.s, ld-powerpc/vxworks1-lib.dd,
|
||
* ld-powerpc/vxworks1-lib.rd, ld-powerpc/vxworks1.s,
|
||
* ld-powerpc/vxworks1.dd, ld-powerpc/vxworks1.rd,
|
||
* ld-powerpc/vxworks1.ld, ld-powerpc/vxworks1.sd: New test.
|
||
* ld-powerpc/powerpc.exp: Run it.
|
||
|
||
2006-02-28 Richard Sandiford <richard@codesourcery.com>
|
||
|
||
* ld-i386/vxworks1-lib.s, ld-i386/vxworks1-lib.dd,
|
||
* ld-i386/vxworks1-lib.rd, ld-i386/vxworks1.s, ld-i386/vxworks1.dd,
|
||
* ld-i386/vxworks1.rd, ld-i386/vxworks1.ld: New test.
|
||
* ld-i386/i386.exp: Run it.
|
||
|
||
2006-02-28 Richard Sandiford <richard@codesourcery.com>
|
||
|
||
* ld-i386/emit-relocs.s, ld-i386/emit-relocs.d: New test.
|
||
* ld-i386/i386.exp: Run it.
|
||
|
||
2006-02-23 H.J. Lu <hongjiu.lu@intel.com>
|
||
|
||
* ld-pie/weakundef-data.c: Fix the typo.
|
||
|
||
2006-02-22 H.J. Lu <hongjiu.lu@intel.com>
|
||
|
||
* ld-pie/pie.c: New file.
|
||
|
||
* ld-pie/pie.exp: Check if compiler supports -pie.
|
||
|
||
2006-02-20 H.J. Lu <hongjiu.lu@intel.com>
|
||
|
||
PR ld/2218
|
||
* ld-pie/pie.exp: Add the weak undefined data test.
|
||
|
||
* ld-pie/weakundef-data.c: New file.
|
||
|
||
2006-02-17 Shrirang Khisti <shrirangk@kpitcummins.com>
|
||
Anil Paranjape <anilp1@kpitcummins.com>
|
||
Shilin Shakti <shilins@kpitcummins.com>
|
||
|
||
* ld-xc16x: New directory.
|
||
* ld-xc16x/absrel.d: New file.
|
||
* ld-xc16x/absrel.s: New file.
|
||
* ld-xc16x/offset.d: New file.
|
||
* ld-xc16x/offset.s: New file.
|
||
* ld-xc16x/pcreloc.d: New file.
|
||
* ld-xc16x/pcreloc.s: New file.
|
||
* ld-xc16x/xc16x.exp: New file.
|
||
|
||
2006-02-07 Paul Brook <paul@codesourcery.com>
|
||
|
||
* ld-arm/arm-elf.exp: Add thumb-entry test.
|
||
* ld-arm/thumb-entry.d: New test.
|
||
* ld-arm/thumb-entry.s: New test.
|
||
|
||
2006-02-04 Richard Sandiford <richard@codesourcery.com>
|
||
|
||
* ld-mips-elf/tls-hidden2a.s, ld-mips-elf/tls-hidden2b.s,
|
||
* ld/testsuite/ld-mips-elf/tls-hidden2.d,
|
||
* ld/testsuite/ld-mips-elf/tls-hidden2-got.d: New test.
|
||
* ld-mips-elf/mips-elf.exp: Run it.
|
||
|
||
2006-02-04 Richard Sandiford <richard@codesourcery.com>
|
||
|
||
* ld-mips-elf/rel32-n32.d: Adjust for changes in linker behaviour.
|
||
* ld-mips-elf/rel32-o32.d: Likewise.
|
||
* ld-mips-elf/rel64.d: Likewise.
|
||
* ld-mips-elf/tls-multi-got-1.got: Likewise.
|
||
* ld-mips-elf/tls-multi-got-1.r: Likewise.
|
||
* ld-mips-elf/tlsdyn-o32-1.d: Likewise.
|
||
* ld-mips-elf/tlsdyn-o32-1.got: Likewise.
|
||
* ld-mips-elf/tlsdyn-o32-2.d: Likewise.
|
||
* ld-mips-elf/tlsdyn-o32-2.got: Likewise.
|
||
* ld-mips-elf/tlsdyn-o32-3.d: Likewise.
|
||
* ld-mips-elf/tlsdyn-o32-3.got: Likewise.
|
||
* ld-mips-elf/tlsdyn-o32.d: Likewise.
|
||
* ld-mips-elf/tlsdyn-o32.got: Likewise.
|
||
* ld-mips-elf/tlslib-o32-hidden.got: Likewise.
|
||
* ld-mips-elf/tlslib-o32-ver.got: Likewise.
|
||
* ld-mips-elf/tlslib-o32.got: Likewise.
|
||
|
||
2006-02-02 H.J. Lu <hongjiu.lu@intel.com>
|
||
|
||
* ld-i386/tlsbin.rd: Undo the last change.
|
||
* ld-i386/tlsbindesc.rd: Likewise.
|
||
* ld-i386/tlsdesc.rd: Likewise.
|
||
* ld-i386/tlsnopic.rd: Likewise.
|
||
* ld-i386/tlspic.rd: Likewise.
|
||
* ld-powerpc/tlsexe.r: Likewise.
|
||
* ld-powerpc/tlsexe32.r: Likewise.
|
||
* ld-powerpc/tlsexetoc.r: Likewise.
|
||
* ld-powerpc/tlsso.r: Likewise.
|
||
* ld-powerpc/tlsso32.r: Likewise.
|
||
* ld-powerpc/tlstocso.r: Likewise.
|
||
* ld-s390/tlsbin.rd: Likewise.
|
||
* ld-s390/tlsbin_64.rd: Likewise.
|
||
* ld-s390/tlspic.rd: Likewise.
|
||
* ld-s390/tlspic_64.rd: Likewise.
|
||
* ld-sh/tlsbin-2.d: Likewise.
|
||
* ld-sh/tlspic-2.d: Likewise.
|
||
* ld-x86-64/tlsbin.rd: Likewise.
|
||
* ld-x86-64/tlsbindesc.rd: Likewise.
|
||
* ld-x86-64/tlsdesc.rd: Likewise.
|
||
* ld-x86-64/tlspic.rd: Likewise.
|
||
|
||
2006-02-02 H.J. Lu <hongjiu.lu@intel.com>
|
||
|
||
* ld-i386/tlsbin.rd: Update for changed segment map.
|
||
* ld-i386/tlsbindesc.rd: Likewise.
|
||
* ld-i386/tlsdesc.rd: Likewise.
|
||
* ld-i386/tlsnopic.rd: Likewise.
|
||
* ld-i386/tlspic.rd: Likewise.
|
||
* ld-powerpc/tlsexe.r: Likewise.
|
||
* ld-powerpc/tlsexe32.r: Likewise.
|
||
* ld-powerpc/tlsexetoc.r: Likewise.
|
||
* ld-powerpc/tlsso.r: Likewise.
|
||
* ld-powerpc/tlsso32.r: Likewise.
|
||
* ld-powerpc/tlstocso.r: Likewise.
|
||
* ld-s390/tlsbin.rd: Likewise.
|
||
* ld-s390/tlsbin_64.rd: Likewise.
|
||
* ld-s390/tlspic.rd: Likewise.
|
||
* ld-s390/tlspic_64.rd: Likewise.
|
||
* ld-sh/tlsbin-2.d: Likewise.
|
||
* ld-sh/tlspic-2.d: Likewise.
|
||
* ld-x86-64/tlsbin.rd: Likewise.
|
||
* ld-x86-64/tlsbindesc.rd: Likewise.
|
||
* ld-x86-64/tlsdesc.rd: Likewise.
|
||
* ld-x86-64/tlspic.rd: Likewise.
|
||
|
||
2006-01-31 Eric Botcazou <ebotcazou@libertysurf.fr>
|
||
|
||
* ld-sparc/sparc.exp: Do not run 64-bit tests on Solaris 2.5.1
|
||
and Solaris 2.6.
|
||
|
||
2006-01-27 H.J. Lu <hongjiu.lu@intel.com>
|
||
|
||
PR ld/2218
|
||
* ld-pie/pie.exp: New file.
|
||
* ld-pie/weakundef.c: Likewise.
|
||
* ld-pie/weakundef.out: Likewise.
|
||
|
||
* lib/ld-lib.exp (run_ld_link_exec_tests): Fix nesting. Support
|
||
building PIE and shared library.
|
||
|
||
2006-01-18 Alexandre Oliva <aoliva@redhat.com>
|
||
|
||
Introduce TLS descriptors for i386 and x86_64.
|
||
* ld-i386/i386.exp: Run on x86_64-*-linux* and amd64-*-linux*.
|
||
Add new tests.
|
||
* ld-i386/pcrel16.d: Add -melf_i386.
|
||
* ld-i386/pcrel8.d: Likewise.
|
||
* ld-i386/tlsbindesc.dd: New.
|
||
* ld-i386/tlsbindesc.rd: New.
|
||
* ld-i386/tlsbindesc.s: New.
|
||
* ld-i386/tlsbindesc.sd: New.
|
||
* ld-i386/tlsbindesc.td: New.
|
||
* ld-i386/tlsdesc.dd: New.
|
||
* ld-i386/tlsdesc.rd: New.
|
||
* ld-i386/tlsdesc.s: New.
|
||
* ld-i386/tlsdesc.sd: New.
|
||
* ld-i386/tlsdesc.td: New.
|
||
* ld-i386/tlsgdesc.dd: New.
|
||
* ld-i386/tlsgdesc.rd: New.
|
||
* ld-i386/tlsgdesc.s: New.
|
||
* ld-x86-64/x86-64.exp: Run new tests.
|
||
* ld-x86-64/tlsbindesc.dd: New.
|
||
* ld-x86-64/tlsbindesc.rd: New.
|
||
* ld-x86-64/tlsbindesc.s: New.
|
||
* ld-x86-64/tlsbindesc.sd: New.
|
||
* ld-x86-64/tlsbindesc.td: New.
|
||
* ld-x86-64/tlsdesc.dd: New.
|
||
* ld-x86-64/tlsdesc.pd: New.
|
||
* ld-x86-64/tlsdesc.rd: New.
|
||
* ld-x86-64/tlsdesc.s: New.
|
||
* ld-x86-64/tlsdesc.sd: New.
|
||
* ld-x86-64/tlsdesc.td: New.
|
||
* ld-x86-64/tlsgdesc.dd: New.
|
||
* ld-x86-64/tlsgdesc.rd: New.
|
||
* ld-x86-64/tlsgdesc.s: New.
|
||
|
||
2006-01-03 Hans-Peter Nilsson <hp@bitrange.com>
|
||
|
||
* ld-mmix/sec-1.d: Adjust for section order changes.
|
||
|
||
For older changes see ChangeLog-2005
|
||
|
||
Local Variables:
|
||
mode: change-log
|
||
left-margin: 8
|
||
fill-column: 74
|
||
version-control: never
|
||
End:
|