2009-04-02 14:12:46 +00:00
|
|
|
|
2009-04-02 Christophe Lyon <christophe.lyon@st.com>
|
|
|
|
|
|
|
|
|
|
* ld-arm/farcall-thumb-thumb-pic-veneer.d: Update expected
|
|
|
|
|
results.
|
|
|
|
|
* ld-arm/farcall-thumb-thumb.d: Likewise.
|
|
|
|
|
|
2009-04-02 09:34:22 +00:00
|
|
|
|
2009-04-02 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR 9987
|
|
|
|
|
* lib/ld-lib.exp (check_gc_sections_available): Do not run garbage
|
|
|
|
|
collection tests for cygwin targets.
|
|
|
|
|
|
2009-04-01 20:09:03 +00:00
|
|
|
|
2009-04-01 Richard Sandiford <r.sandiford@uk.ibm.com>
|
|
|
|
|
|
|
|
|
|
* ld-powerpc/aix-gc-1.nd: New test.
|
|
|
|
|
* ld-powerpc/aix52.exp: Run it.
|
|
|
|
|
|
|
|
|
|
2009-04-01 Richard Sandiford <r.sandiford@uk.ibm.com>
|
|
|
|
|
|
|
|
|
|
* ld-powerpc/aix-rel-1.s, ld-powerpc/aix-rel-1.od: New test.
|
|
|
|
|
* ld-powerpc/aix52.exp: Run it.
|
|
|
|
|
|
2009-04-01 17:20:19 +00:00
|
|
|
|
2009-04-01 Dave Korn <dave.korn.cygwin@gmail.com>
|
|
|
|
|
|
|
|
|
|
* ld-cygwin/exe-export.exp: Add "-lkernel32" when linking test exe.
|
|
|
|
|
* ld-cygwin/testexe.c (testexe_main): Indicate whether global_a
|
|
|
|
|
was set to correct final value using error return status.
|
|
|
|
|
(testexe_dummy): Dummy function calls an import from kernel32.dll
|
|
|
|
|
to ensure it is mapped into the process space at runtime.
|
|
|
|
|
|
2009-04-01 15:45:13 +00:00
|
|
|
|
2009-04-01 Christophe Lyon <christophe.lyon@st.com>
|
|
|
|
|
|
|
|
|
|
* ld-arm/arm-elf.exp: BE8 tests expect the same output as the
|
|
|
|
|
default ones.
|
|
|
|
|
* ld-arm/arm-be8.d: Print opcodes in little endian.
|
|
|
|
|
* ld-arm/farcall-thumb-arm-be8.d: Removed useless expected result.
|
|
|
|
|
* ld-arm/farcall-arm-arm-be8.d: Likewise.
|
|
|
|
|
|
2009-03-25 03:04:21 +00:00
|
|
|
|
2009-03-25 Hans-Peter Nilsson <hp@axis.com>
|
|
|
|
|
|
|
|
|
|
* ld-cris/tls-e-dtpoffd3.d, ld-cris/tls-e-tpoffcomm1.d,
|
|
|
|
|
ld-cris/tls-e-tpoffcomm1.s: New tests.
|
|
|
|
|
|
* ld-cris/tls-e-20.d, ld-cris/tls-e-20a.d, ld-cris/tls-e-21.d,
ld-cris/tls-e-80.d, ld-cris/tls-gd-3.d, ld-cris/tls-gd-3h.d,
ld-cris/tls-global-74.d, ld-cris/tls-ldgde-14.d,
ld-cris/tls-ldgde-15.d, ld-cris/tls-legd-16.d,
ld-cris/tls-legd-17.d, ld-cris/tls-local-57.d,
ld-cris/tls-local-58.d, ld-cris/tls-local-59.d: Adjust for BFD
change in link-time known GOT contents for GD relocations.
2009-03-24 03:34:05 +00:00
|
|
|
|
2009-03-24 Hans-Peter Nilsson <hp@axis.com>
|
|
|
|
|
|
2009-03-24 07:58:23 +00:00
|
|
|
|
* ld-cris/tls-commx.s, ld-cris/tls-dso-dtpoffd2.d,
|
|
|
|
|
ld-cris/tls-dso-dtpoffd4.d, ld-cris/tls-dtpoffdx.s,
|
|
|
|
|
ld-cris/tls-e-dtpoffd1.d: New tests.
|
|
|
|
|
|
* ld-cris/tls-e-20.d, ld-cris/tls-e-20a.d, ld-cris/tls-e-21.d,
ld-cris/tls-e-80.d, ld-cris/tls-gd-3.d, ld-cris/tls-gd-3h.d,
ld-cris/tls-global-74.d, ld-cris/tls-ldgde-14.d,
ld-cris/tls-ldgde-15.d, ld-cris/tls-legd-16.d,
ld-cris/tls-legd-17.d, ld-cris/tls-local-57.d,
ld-cris/tls-local-58.d, ld-cris/tls-local-59.d: Adjust for BFD
change in link-time known GOT contents for GD relocations.
2009-03-24 03:34:05 +00:00
|
|
|
|
* ld-cris/tls-e-20.d, ld-cris/tls-e-20a.d, ld-cris/tls-e-21.d,
|
|
|
|
|
ld-cris/tls-e-80.d, ld-cris/tls-gd-3.d, ld-cris/tls-gd-3h.d,
|
|
|
|
|
ld-cris/tls-global-74.d, ld-cris/tls-ldgde-14.d,
|
|
|
|
|
ld-cris/tls-ldgde-15.d, ld-cris/tls-legd-16.d,
|
|
|
|
|
ld-cris/tls-legd-17.d, ld-cris/tls-local-57.d,
|
|
|
|
|
ld-cris/tls-local-58.d, ld-cris/tls-local-59.d: Adjust for BFD
|
|
|
|
|
change in link-time known GOT contents for GD relocations.
|
|
|
|
|
|
2009-03-20 17:39:04 +00:00
|
|
|
|
2009-03-20 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
PR ld/9970
|
|
|
|
|
* ld-pie/pie.exp: Use -fpie to compile. Run *.d tests.
|
|
|
|
|
|
|
|
|
|
* ld-pie/start.d: New.
|
|
|
|
|
* ld-pie/start.s: Likewise.
|
|
|
|
|
|
2009-03-18 12:11:38 +00:00
|
|
|
|
2009-03-18 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
PR ld/6766
|
|
|
|
|
* ld-undefined/dummy.s: New.
|
|
|
|
|
* ld-undefined/entry-1.d: Likewise.
|
|
|
|
|
* ld-undefined/entry-2.d: Likewise.
|
|
|
|
|
* ld-undefined/entry-3.d: Likewise.
|
|
|
|
|
* ld-undefined/entry-4.d: Likewise.
|
|
|
|
|
* ld-undefined/entry-5.d: Likewise.
|
|
|
|
|
* ld-undefined/entry-6.d: Likewise.
|
|
|
|
|
* ld-undefined/entry.exp: Likewise.
|
|
|
|
|
* ld-undefined/entry.s: Likewise.
|
|
|
|
|
|
2009-03-17 12:46:19 +00:00
|
|
|
|
2009-03-17 Alan Modra <amodra@bigpond.net.au>
|
|
|
|
|
|
|
|
|
|
* ld-spu/icache1.d: Update for fixed set_id, new manager entry, and
|
|
|
|
|
reduced data.
|
|
|
|
|
|
2009-03-17 05:33:00 +00:00
|
|
|
|
2009-03-17 Alan Modra <amodra@bigpond.net.au>
|
|
|
|
|
|
|
|
|
|
* config/default.exp (get_link_files): Replace double dollars with
|
|
|
|
|
single dollars.
|
|
|
|
|
|
2009-03-17 05:01:26 +00:00
|
|
|
|
2009-03-17 Alan Modra <amodra@bigpond.net.au>
|
|
|
|
|
|
|
|
|
|
* ld-bootstrap/bootstrap.exp: Use DO_COMPARE. Remove unnecessary
|
|
|
|
|
cleanup and log output.
|
|
|
|
|
|
2009-03-16 22:03:44 +00:00
|
|
|
|
2009-03-16 Dave Korn <dave.korn.cygwin@gmail.com>
|
|
|
|
|
|
|
|
|
|
* ld-bootstrap/bootstrap.exp: Also pass '-liconv' to linker when
|
|
|
|
|
linking statically on Cygwin, necessitated by '-lintl'.
|
|
|
|
|
|
2009-03-15 14:17:28 +00:00
|
|
|
|
2009-03-15 Dave Korn <dave.korn.cygwin@gmail.com>
|
|
|
|
|
|
|
|
|
|
* ld-auto-import/auto-import.exp: Add missing dll entrypoint.
|
|
|
|
|
|
include/coff/
* xcoff.h (XCOFF_EXPALL, XCOFF_EXPFULL): New flags.
(xcoff_loader_info): Add auto_export_flags.
bfd/
* bfd-in.h (bfd_xcoff_size_dynamic_sections): Replace the
bfd_boolean export_defineds parameter with an unsigned int
auto_export_flags parameter.
* bfd-in2.h: Regenerate.
* xcofflink.c (xcoff_archive_contains_shared_object_p): New function,
split out from xcoff_build_ldsyms.
(xcoff_covered_by_expall_p): New function.
(xcoff_auto_export_p): New function, split out from xcoff_build_ldsyms
but with extra code to handle -bexpfull and -bexpall.
(xcoff_mark_auto_exports): New function.
(xcoff_build_ldsyms): Use xcoff_auto_export_p to decide whether
a function should be automatically exported.
(bfd_xcoff_size_dynamic_sections): Replace the export_defineds
parameter with an auto_export_flags parameter. Update ldinfo
accordingly. Use xcoff_mark_auto_exports to mark all automatically-
exported symbols.
ld/
* emultempl/aix.em (auto_export_flags): New variable.
(explicit_auto_export_flags): Likewise.
(OPTION_EXPALL, OPTION_EXPFULL): New enum values.
(OPTION_NOEXPALL, OPTION_NOEXPFULL): Likewise.
(gld${EMULATION_NAME}_add_options): Add -bexpall, -bexpfull,
-bnoexpall and -bnoexpfull.
(gld${EMULATION_NAME}_handle_option): Handle them.
(gld${EMULATION_NAME}_before_allocation): Update the call to
bfd_size_dynamic_sections.
ld/testsuite/
* ld-powerpc/aix-export-1-all.dd, ld-powerpc/aix-export-1-full.dd,
ld-powerpc/aix-export-1a.s, ld-powerpc/aix-export-1b.s: New tests.
* ld-powerpc/aix52.exp: Run them.
2009-03-14 09:35:46 +00:00
|
|
|
|
2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
|
|
|
|
|
|
|
|
|
|
* ld-powerpc/aix-export-1-all.dd, ld-powerpc/aix-export-1-full.dd,
|
|
|
|
|
ld-powerpc/aix-export-1a.s, ld-powerpc/aix-export-1b.s: New tests.
|
|
|
|
|
* ld-powerpc/aix52.exp: Run them.
|
|
|
|
|
|
2009-03-14 09:35:06 +00:00
|
|
|
|
2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
|
|
|
|
|
|
|
|
|
|
* ld-powerpc/aix-gc-1.s, ld-powerpc/aix-gc-1.ex,
|
|
|
|
|
ld-powerpc/aix-gc-1-32.dd, ld-powerpc/aix-gc-1-64.dd,
|
|
|
|
|
ld-powerpc/aix-weak-1-gcdso.dnd, ld-powerpc/aix-weak-1-gcdso.hd,
|
|
|
|
|
ld-powerpc/aix-weak-1-gcdso.nd: New tests.
|
|
|
|
|
* ld-powerpc/aix52.exp: Run them.
|
|
|
|
|
|
include/coff/
* internal.h (C_AIX_WEAKEXT): New macro.
(C_WEAKEXT): Use the GNU definition in the generic part of the file,
and conditionally reset it to C_AIX_WEAKEXT in the XCOFF part of
the file.
(CSECT_SYM_P): New macro.
* xcoff.h (L_WEAK): Define.
(EXTERN_SYM_P): New macro.
bfd/
* coffcode.h (coff_pointerize_aux_hook): Update CSECT_SYM_P to
check whether a symbol has csect information.
(coff_print_aux): Likewise.
* coff-rs6000.c (_bfd_xcoff_swap_aux_in): Handle auxillary csect
information for C_AIX_WEAKEXT too.
(_bfd_xcoff_swap_aux_out): Likewise.
(xcoff_reloc_type_br): Handle defweak symbols too.
* coff64-rs6000.c (_bfd_xcoff64_swap_aux_in): Handle auxillary csect
information for C_AIX_WEAKEXT too.
(_bfd_xcoff64_swap_aux_out): Likewise.
(xcoff64_reloc_type_br): Handle defweak symbols too.
* coffgen.c (coff_print_symbol): Handle auxillary function
information for C_AIX_WEAKEXT too.
* xcofflink.c (_bfd_xcoff_canonicalize_dynamic_symtab): Set BSF_WEAK
instead of BSF_GLOBAL if the L_WEAK flag is set.
(xcoff_dynamic_definition_p): New function.
(xcoff_link_add_dynamic_symbols): Use it to decide whether ldsym
defines h. Don't change h if ldsym isn't the definition. Otherwise,
always take the symbol class from the ldsym. Use weak bfd symbol
types for weak ldsyms.
(xcoff_link_add_symbols): Use CSECT_SYM_P and EXTERN_SYM_P.
Fix the check for whether a definition is from a shared object.
Allow redefinitions of weak symbols.
(xcoff_link_check_ar_symbols): Use EXTERN_SYM_P.
(xcoff_keep_symbol_p): Likewise.
(bfd_xcoff_size_dynamic_sections): Use CSECT_SYM_P.
(xcoff_link_input_bfd): Use CSECT_SYM_P and EXTERN_SYM_P.
Add .loader entries for C_AIX_WEAKEXT as well as C_EXT symbols,
but mark them as L_WEAK.
(xcoff_write_global_symbol): Treat weak symbols as C_AIX_WEAKEXT
instead of C_EXT if C_AIX_WEAKEXT == C_WEAKEXT.
gas/
* config/tc-ppc.c (ppc_frob_symbol): Add csect information for
C_AIX_WEAKEXT too.
ld/testsuite/
* ld-powerpc/aix-glink-2a.s, ld-powerpc/aix-glink-2a.ex,
ld-powerpc/aix-glink-2b.s, ld-powerpc/aix-glink-2c.s,
ld-powerpc/aix-glink-2c.ex, ld-powerpc/aix-glink-2d.s,
ld-powerpc/aix-glink-2-32.dd, ld-powerpc/aix-glink-2-64.dd,
ld-powerpc/aix-weak-1a.s, ld-powerpc/aix-weak-1b.s,
ld-powerpc/aix-weak-1-rel.hd, ld-powerpc/aix-weak-1-rel.nd,
ld-powerpc/aix-weak-1-dso.hd, ld-powerpc/aix-weak-1-dso.nd,
ld-powerpc/aix-weak-1-dso.dnd, ld-powerpc/aix-weak-1.ex,
ld-powerpc/aix-weak-2a.s, ld-powerpc/aix-weak-2a.ex,
ld-powerpc/aix-weak-2a.nd, ld-powerpc/aix-weak-2b.s,
ld-powerpc/aix-weak-2b.nd, ld-powerpc/aix-weak-2c.s,
ld-powerpc/aix-weak-2c.ex, ld-powerpc/aix-weak-2c.nd,
ld-powerpc/aix-weak-2c.od, ld-powerpc/aix-weak-3a.s,
ld-powerpc/aix-weak-3a.ex, ld-powerpc/aix-weak-3b.s,
ld-powerpc/aix-weak-3b.ex, ld-powerpc/aix-weak-3-32.d,
ld-powerpc/aix-weak-3-32.dd, ld-powerpc/aix-weak-3-64.d,
ld-powerpc/aix-weak-3-64.dd: New tests.
* ld-powerpc/aix52.exp: Run them. Replace tmp/aix-* with
tmp/aix64-* in 64-bit ld options.
2009-03-14 09:34:27 +00:00
|
|
|
|
2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
|
|
|
|
|
|
|
|
|
|
* ld-powerpc/aix-glink-2a.s, ld-powerpc/aix-glink-2a.ex,
|
|
|
|
|
ld-powerpc/aix-glink-2b.s, ld-powerpc/aix-glink-2c.s,
|
|
|
|
|
ld-powerpc/aix-glink-2c.ex, ld-powerpc/aix-glink-2d.s,
|
|
|
|
|
ld-powerpc/aix-glink-2-32.dd, ld-powerpc/aix-glink-2-64.dd,
|
|
|
|
|
ld-powerpc/aix-weak-1a.s, ld-powerpc/aix-weak-1b.s,
|
|
|
|
|
ld-powerpc/aix-weak-1-rel.hd, ld-powerpc/aix-weak-1-rel.nd,
|
|
|
|
|
ld-powerpc/aix-weak-1-dso.hd, ld-powerpc/aix-weak-1-dso.nd,
|
|
|
|
|
ld-powerpc/aix-weak-1-dso.dnd, ld-powerpc/aix-weak-1.ex,
|
|
|
|
|
ld-powerpc/aix-weak-2a.s, ld-powerpc/aix-weak-2a.ex,
|
|
|
|
|
ld-powerpc/aix-weak-2a.nd, ld-powerpc/aix-weak-2b.s,
|
|
|
|
|
ld-powerpc/aix-weak-2b.nd, ld-powerpc/aix-weak-2c.s,
|
|
|
|
|
ld-powerpc/aix-weak-2c.ex, ld-powerpc/aix-weak-2c.nd,
|
|
|
|
|
ld-powerpc/aix-weak-2c.od, ld-powerpc/aix-weak-3a.s,
|
|
|
|
|
ld-powerpc/aix-weak-3a.ex, ld-powerpc/aix-weak-3b.s,
|
|
|
|
|
ld-powerpc/aix-weak-3b.ex, ld-powerpc/aix-weak-3-32.d,
|
|
|
|
|
ld-powerpc/aix-weak-3-32.dd, ld-powerpc/aix-weak-3-64.d,
|
|
|
|
|
ld-powerpc/aix-weak-3-64.dd: New tests.
|
|
|
|
|
* ld-powerpc/aix52.exp: Run them. Replace tmp/aix-* with
|
|
|
|
|
tmp/aix64-* in 64-bit ld options.
|
|
|
|
|
|
include/coff/
* xcoff.h (XCOFF_ALLOCATED): New flag.
bfd/
* xcofflink.c (xcoff_mark): When walking the relocations,
only mark the target symbol or the target section, not both.
(xcoff_final_definition_p): New function.
(xcoff_keep_symbol_p): Use it to check whether an external XCOFF
symbol is a valid definition of the associated output symbol.
Use XCOFF_ALLOCATED to stop the same hash table entry having
two output symbols.
(bfd_xcoff_size_dynamic_sections): Set XCOFF_ALLOCATED when
keeping a symbol.
(xcoff_link_input_bfd): Use xcoff_final_definition_p.
ld/testsuite/
* ld-powerpc/aix-no-dup-syms-1a.s, ld-powerpc/aix-no-dup-syms-1b.s,
ld-powerpc/aix-no-dup-syms-1.ex, ld-powerpc/aix-no-dup-syms-1.im,
ld-powerpc/aix-no-dup-syms-1-dso.dnd,
ld-powerpc/aix-no-dup-syms-1-dso.drd,
ld-powerpc/aix-no-dup-syms-1-dso.nd,
ld-powerpc/aix-no-dup-syms-1-dso.rd,
ld-powerpc/aix-no-dup-syms-1-rel.nd,
ld-powerpc/aix-no-dup-syms-1-rel.rd: New tests.
* ld-powerpc/aix52.exp: Run them.
2009-03-14 09:33:39 +00:00
|
|
|
|
2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
|
|
|
|
|
|
|
|
|
|
* ld-powerpc/aix-no-dup-syms-1a.s, ld-powerpc/aix-no-dup-syms-1b.s,
|
|
|
|
|
ld-powerpc/aix-no-dup-syms-1.ex, ld-powerpc/aix-no-dup-syms-1.im,
|
|
|
|
|
ld-powerpc/aix-no-dup-syms-1-dso.dnd,
|
|
|
|
|
ld-powerpc/aix-no-dup-syms-1-dso.drd,
|
|
|
|
|
ld-powerpc/aix-no-dup-syms-1-dso.nd,
|
|
|
|
|
ld-powerpc/aix-no-dup-syms-1-dso.rd,
|
|
|
|
|
ld-powerpc/aix-no-dup-syms-1-rel.nd,
|
|
|
|
|
ld-powerpc/aix-no-dup-syms-1-rel.rd: New tests.
|
|
|
|
|
* ld-powerpc/aix52.exp: Run them.
|
|
|
|
|
|
2009-03-14 09:32:56 +00:00
|
|
|
|
2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
|
|
|
|
|
|
|
|
|
|
* ld-powerpc/aix-abs-branch-1.nd,
|
|
|
|
|
ld-powerpc/aix-abs-reloc-1.nd: New tests.
|
|
|
|
|
* ld-powerpc/aix52.exp: Run them.
|
|
|
|
|
|
2009-03-14 09:32:33 +00:00
|
|
|
|
2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
|
|
|
|
|
|
|
|
|
|
* ld-powerpc/aix-lineno-1.s, ld-powerpc/aix-lineno-1.txt,
|
|
|
|
|
ld-powerpc/aix-lineno-1a.dd, ld-powerpc/aix-lineno-1a.nd,
|
|
|
|
|
ld-powerpc/aix-lineno-1b.dd, ld-powerpc/aix-lineno-1b.nd: New tests.
|
|
|
|
|
* ld-powerpc/aix52.exp: Run them. Copy aix-lineno-1.txt to tmpdir.
|
|
|
|
|
|
2009-03-14 09:18:22 +00:00
|
|
|
|
2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
|
|
|
|
|
|
|
|
|
|
* ld-powerpc/aix-toc-1.ex, ld-powerpc/aix-toc-1a.s,
|
|
|
|
|
ld-powerpc/aix-toc-1b.s, ld-powerpc/aix-toc-1-32.dd,
|
|
|
|
|
ld-powerpc/aix-toc-1-64.dd: New tests.
|
|
|
|
|
* ld-powerpc/aix52.exp: Run them.
|
|
|
|
|
|
include/coff/
* xcoff.h (XCOFF_CALLED, XCOFF_IMPORT): Update comments.
(XCOFF_WAS_UNDEFINED): New flag.
(xcoff_link_hash_table): Add an "rtld" field.
bfd/
* coff-rs6000.c (xcoff_ppc_relocate_section): Report relocations
against undefined symbols if the symbol's XCOFF_WAS_UNDEFINED
flag is set. Assert that all undefined symbols are either
imported or defined by a dynamic object.
* coff64-rs6000.c (xcoff64_ppc_relocate_section): Likewise.
* xcofflink.c (xcoff_link_add_symbols): Extend function-symbol
handling to all relocations. Only set XCOFF_CALLED for function
symbols.
(xcoff_find_function): New function, split out from...
(bfd_xcoff_export_symbol) ...here.
(xcoff_set_import_path): New function, split out from...
(bfd_xcoff_import_symbol): ...here. Remove assertion for old
meaning of XCOFF_CALLED.
(xcoff_mark_symbol): If we mark an undefined and unimported
symbol, find some way of defining it. If the symbol is a function
descriptor, fill in its definition automatically. If the symbol
is a function, mark its descriptor and allocate room for global
linkage code. Otherwise mark the symbol as implicitly imported.
Move the code for creating function descriptors from...
(xcoff_build_ldsyms): ...here. Use XCOFF_WAS_UNDEFINED to
check for symbols that were implicitly defined.
(xcoff_mark): Don't count any dynamic relocations against
function symbols.
(bfd_xcoff_size_dynamic_sections): Save the rtld parameter
in the xcoff link info.
(xcoff_link_input_bfd): Remove handling of undefined and
unexported symbols.
ld/
* emultempl/aix.em (gld${EMULATION_NAME}_handle_option): Make
-berok and -bernotok control link_info.unresolved_syms_in_objects
and link_info.unresolved_syms_in_shared_libs instead of
force_make_executable.
ld/testsuite/
* ld-powerpc/aix-glink-1.ex, ld-powerpc/aix-glink-1.s,
ld-powerpc/aix-glink-1-32.dd, ld-powerpc/aix-glink-1-64.dd,
ld-powerpc/aix-glink-1-32.d, ld-powerpc/aix-glink-1-64.d: New tests.
* ld-powerpc/aix52.exp: Run them.
2009-03-14 09:17:32 +00:00
|
|
|
|
2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
|
|
|
|
|
|
|
|
|
|
* ld-powerpc/aix-glink-1.ex, ld-powerpc/aix-glink-1.s,
|
|
|
|
|
ld-powerpc/aix-glink-1-32.dd, ld-powerpc/aix-glink-1-64.dd,
|
|
|
|
|
ld-powerpc/aix-glink-1-32.d, ld-powerpc/aix-glink-1-64.d: New tests.
|
|
|
|
|
* ld-powerpc/aix52.exp: Run them.
|
|
|
|
|
|
2009-03-14 09:16:01 +00:00
|
|
|
|
2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
|
|
|
|
|
|
|
|
|
|
* ld-powerpc/aix-abs-branch-1.im, ld-powerpc/aix-abs-branch-1.ex,
|
|
|
|
|
ld-powerpc/aix-abs-branch-1.s,
|
|
|
|
|
ld-powerpc/aix-abs-branch-1.dd: New test.
|
|
|
|
|
* ld-powerpc/aix52.exp: Run it.
|
|
|
|
|
|
2009-03-14 09:15:34 +00:00
|
|
|
|
2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
|
|
|
|
|
|
|
|
|
|
* ld-powerpc/aix-abs-reloc-1.ex, ld-powerpc/aix-abs-reloc-1.im,
|
|
|
|
|
ld-powerpc/aix-abs-reloc-1.od, ld-powerpc/aix-abs-reloc-1.s: New test.
|
|
|
|
|
* ld-powerpc/aix52.exp: Run it.
|
|
|
|
|
|
2009-03-14 09:14:30 +00:00
|
|
|
|
2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
|
|
|
|
|
|
|
|
|
|
* ld-powerpc/aix-core-sec-1.s, ld-powerpc/aix-core-sec-1.ex,
|
|
|
|
|
ld-powerpc/aix-core-sec-1.hd, ld-powerpc/aix-core-sec-2.s,
|
|
|
|
|
ld-powerpc/aix-core-sec-2.ex, ld-powerpc/aix-core-sec-2.hd,
|
|
|
|
|
ld-powerpc/aix-core-sec-3.s, ld-powerpc/aix-core-sec-3.ex,
|
|
|
|
|
ld-powerpc/aix-core-sec-3.hd: New tests.
|
|
|
|
|
* ld-powerpc/aix52.exp: New harness.
|
|
|
|
|
|
2009-03-14 09:09:47 +00:00
|
|
|
|
2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
|
|
|
|
|
|
|
|
|
|
* lib/ld-lib.exp (ar_simple_create): Add an "aropts" parameter.
|
|
|
|
|
(run_ld_link_tests): Treat the second list element as "ar" options
|
|
|
|
|
when creating an archive. Don't run the linker in this case.
|
|
|
|
|
(run_cc_link_tests): Likewise.
|
|
|
|
|
|
2009-03-13 09:00:59 +00:00
|
|
|
|
2009-03-13 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* lib/ld-lib.exp (run_dump_test): Add verbose to list of globals.
|
|
|
|
|
Replace call to verbose_eval with a test of verbose level. If
|
|
|
|
|
greater than 2 always dump the contents of the dumpfile. If equal
|
|
|
|
|
to 2 only dump the contents if the regexp diff failed.
|
|
|
|
|
(proc verbose_eval): Delete.
|
|
|
|
|
|
2009-03-07 23:42:28 +00:00
|
|
|
|
2009-03-07 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
|
|
|
|
|
|
|
|
|
|
* ld-elf/empty2.d: Remove xfail for hppa*-*-*.
|
|
|
|
|
* ld-elf/merge.d: Change xfail for hppa to hppa*64*-*-*.
|
|
|
|
|
|
2009-03-06 08:57:58 +00:00
|
|
|
|
2009-03-05 Christophe Lyon <christophe.lyon@st.com>
|
|
|
|
|
|
|
|
|
|
* ld-arm/arm-elf.exp: Add new farcall-group-limit test.
|
|
|
|
|
* ld-arm/farcall-group-limit.d: New file.
|
|
|
|
|
* ld-arm/farcall-group3.s: New file.
|
|
|
|
|
* ld-arm/farcall-group4.s: New file.
|
|
|
|
|
|
2009-03-05 17:28:21 +00:00
|
|
|
|
2009-03-05 Christophe Lyon <christophe.lyon@st.com>
|
|
|
|
|
|
|
|
|
|
* ld-arm/arm-elf.exp: Add 2 more tests to check long branch stubs
|
|
|
|
|
in PLT context.
|
|
|
|
|
* ld-arm/farcall-mixed-app-v5.d: New file.
|
|
|
|
|
* ld-arm/farcall-mixed-app.d: Likewise.
|
|
|
|
|
* ld-arm/farcall-mixed-app.r: Likewise.
|
|
|
|
|
* ld-arm/farcall-mixed-app.s: Likewise.
|
|
|
|
|
* ld-arm/farcall-mixed-app.sym: Likewise.
|
|
|
|
|
* ld-arm/farcall-mixed-lib.d: Likewise.
|
|
|
|
|
* ld-arm/farcall-mixed-lib.r: Likewise.
|
|
|
|
|
|
2009-03-04 05:50:50 +00:00
|
|
|
|
2009-03-04 Alan Modra <amodra@bigpond.net.au>
|
|
|
|
|
|
|
|
|
|
* ld-powerpc/tlsmark.s, * ld-powerpc/tlsmark.d: New test.
|
|
|
|
|
* ld-powerpc/tlsmark32.s, * ld-powerpc/tlsmark32.d: New test.
|
|
|
|
|
* ld-powerpc/powerpc.exp: Run them.
|
|
|
|
|
|
2009-03-02 17:27:36 +00:00
|
|
|
|
2009-03-02 Sebastian Huber <sebastian.huber@embedded-brains.de>
|
|
|
|
|
|
|
|
|
|
* ld-scripts/regions-alias-1.t: New file.
|
|
|
|
|
* ld-scripts/regions-alias-2.t: New file.
|
|
|
|
|
* ld-scripts/regions-alias-3.t: New file.
|
|
|
|
|
* ld-scripts/regions-alias-4.t: New file.
|
|
|
|
|
* ld-scripts/script.exp: Run region alias tests.
|
|
|
|
|
|
2009-02-27 19:01:57 +00:00
|
|
|
|
2009-02-27 Dave Korn <dave.korn.cygwin@gmail.com>
|
|
|
|
|
|
|
|
|
|
* ld-pe/pe.exp: Disable auto-import when linking on Cygwin.
|
|
|
|
|
|
2009-02-26 15:37:53 +00:00
|
|
|
|
2009-02-26 Christophe Lyon <christophe.lyon@st.com>
|
|
|
|
|
|
|
|
|
|
* ld-arm/arm-elf.exp: Add 3 tests for the 3 new stubs.
|
|
|
|
|
* ld-arm/farcall-thumb-arm-pic-veneer.d: New expected result, the
|
|
|
|
|
test is now expected to pass.
|
|
|
|
|
* ld-arm/farcall-thumb-thumb-m-pic-veneer.d: Likewise.
|
|
|
|
|
* ld-arm/farcall-thumb-thumb-pic-veneer.d: Likewise.
|
|
|
|
|
|
2009-02-25 16:05:15 +00:00
|
|
|
|
2009-02-25 Christophe Lyon <christophe.lyon@st.com>
|
|
|
|
|
|
|
|
|
|
* ld-arm/thumb2-bl-as-thumb1-bad-noeabi.d: Update expected result,
|
|
|
|
|
as stubs are now generated and the end of the .text section.
|
|
|
|
|
* ld-arm/thumb2-bl-bad-noeabi.d: Likewise.
|
|
|
|
|
|
2009-02-24 22:44:18 +00:00
|
|
|
|
2009-02-24 Daniel Jacobowitz <dan@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* ld-arm/farcall-arm-thumb-blx-pic-veneer.d,
|
|
|
|
|
ld-arm/farcall-arm-thumb-pic-veneer.d,
|
|
|
|
|
ld-arm/farcall-thumb-thumb-blx-pic-veneer.d: Update for fixed
|
|
|
|
|
Thumb PIC stub.
|
|
|
|
|
|
2009-02-24 Joseph Myers <joseph@codesourcery.com>
bfd/
* elf32-arm.c (PREV_SEC): Update comment.
(group_sections): Rename argument to stubs_always_after_branch.
Reverse the list and place stubs at the end of input sections.
Undefine NEXT_SEC.
(elf32_arm_size_stubs): Update to use stubs_always_after_branch.
ld/
* ld.texinfo (ARM): Document changed meaning of --stub-group-size.
* emultempl/armelf.em (hook_in_stub): Insert after the input section.
(elf32_arm_add_stub_section): Update comment.
(PARSE_AND_LIST_OPTIONS): Update help for --stub-group-size.
2009-02-24 Daniel Jacobowitz <dan@codesourcery.com>
ld/testsuite/
* ld-arm/arm-elf.exp (armeabitests): Update duplicate test names.
Use normal output files for big-endian.
* ld-arm/farcall-arm-arm-be.d, ld-arm/farcall-thumb-arm-be.d: Delete.
* ld-arm/farcall-arm-arm-be8.d, ld-arm/farcall-arm-arm-pic-veneer.d,
ld-arm/farcall-arm-arm.d, ld-arm/farcall-arm-thumb-blx-pic-veneer.d,
ld-arm/farcall-arm-thumb-blx.d, ld-arm/farcall-arm-thumb-pic-veneer.d,
ld-arm/farcall-arm-thumb.d, ld-arm/farcall-group-size2.d,
ld-arm/farcall-group.d, ld-arm/farcall-mix.d, ld-arm/farcall-mix2.d,
ld-arm/farcall-thumb-arm-be8.d,
ld-arm/farcall-thumb-arm-blx-pic-veneer.d,
ld-arm/farcall-thumb-arm-blx.d, ld-arm/farcall-thumb-arm-short.d,
ld-arm/farcall-thumb-arm.d,
ld-arm/farcall-thumb-thumb-blx-pic-veneer.d,
ld-arm/farcall-thumb-thumb-blx.d, ld-arm/farcall-thumb-thumb-m.d,
ld-arm/farcall-thumb-thumb.d, ld-arm/thumb2-bl-as-thumb1-bad.d,
ld-arm/thumb2-bl-bad.d: Update for moved stubs.
2009-02-24 22:43:10 +00:00
|
|
|
|
2009-02-24 Daniel Jacobowitz <dan@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* ld-arm/arm-elf.exp (armeabitests): Update duplicate test names.
|
|
|
|
|
Use normal output files for big-endian.
|
|
|
|
|
* ld-arm/farcall-arm-arm-be.d, ld-arm/farcall-thumb-arm-be.d: Delete.
|
|
|
|
|
* ld-arm/farcall-arm-arm-be8.d, ld-arm/farcall-arm-arm-pic-veneer.d,
|
|
|
|
|
ld-arm/farcall-arm-arm.d, ld-arm/farcall-arm-thumb-blx-pic-veneer.d,
|
|
|
|
|
ld-arm/farcall-arm-thumb-blx.d, ld-arm/farcall-arm-thumb-pic-veneer.d,
|
|
|
|
|
ld-arm/farcall-arm-thumb.d, ld-arm/farcall-group-size2.d,
|
|
|
|
|
ld-arm/farcall-group.d, ld-arm/farcall-mix.d, ld-arm/farcall-mix2.d,
|
|
|
|
|
ld-arm/farcall-thumb-arm-be8.d,
|
|
|
|
|
ld-arm/farcall-thumb-arm-blx-pic-veneer.d,
|
|
|
|
|
ld-arm/farcall-thumb-arm-blx.d, ld-arm/farcall-thumb-arm-short.d,
|
|
|
|
|
ld-arm/farcall-thumb-arm.d,
|
|
|
|
|
ld-arm/farcall-thumb-thumb-blx-pic-veneer.d,
|
|
|
|
|
ld-arm/farcall-thumb-thumb-blx.d, ld-arm/farcall-thumb-thumb-m.d,
|
|
|
|
|
ld-arm/farcall-thumb-thumb.d, ld-arm/thumb2-bl-as-thumb1-bad.d,
|
|
|
|
|
ld-arm/thumb2-bl-bad.d: Update for moved stubs.
|
|
|
|
|
|
2009-02-23 21:51:35 +00:00
|
|
|
|
2009-02-23 Daniel Jacobowitz <dan@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* ld-arm/arm-elf.exp (armeabitests): Run new tests. Correct BE8 output
|
|
|
|
|
filename.
|
|
|
|
|
* ld-arm/farcall-arm-arm-be.d, ld-arm/farcall-thumb-arm-be.d: New.
|
|
|
|
|
|
2009-02-23 10:03:47 +00:00
|
|
|
|
2009-02-23 Christophe Lyon <christophe.lyon@st.com>
|
2009-02-23 21:48:53 +00:00
|
|
|
|
|
|
|
|
|
* ld-arm/arm-elf.exp: Add new farcall-thumb-arm-be8 test.
|
|
|
|
|
* ld-arm/farcall-thumb-arm-be8.d: New expected result.
|
|
|
|
|
* ld-arm/farcall-arm-arm-be8.d: Replace wildcards by instructions.
|
|
|
|
|
|
|
|
|
|
2009-02-23 Christophe Lyon <christophe.lyon@st.com>
|
|
|
|
|
|
2009-02-23 10:03:47 +00:00
|
|
|
|
* ld-arm/arm-elf.exp: Rewrite non-EABI variants of
|
|
|
|
|
thumb2-bl-as-thumb1-bad and thumb2-bl-bad tests, which now
|
|
|
|
|
pass. farcall-thumb-thumb now passes in EABI mode.
|
|
|
|
|
* ld-arm/farcall-thumb-arm-pic-veneer.d: Fixed name, source, as
|
|
|
|
|
and ld flags to match intended test.
|
|
|
|
|
* ld-arm/farcall-thumb-arm.d: New expected result.
|
|
|
|
|
* ld-arm/farcall-thumb-thumb-m.d: Likewise.
|
|
|
|
|
* ld-arm/farcall-thumb-thumb-m-pic-veneer.d: Fixed name and ld
|
|
|
|
|
flags.
|
|
|
|
|
* ld-arm/farcall-thumb-thumb-pic-veneer.d: Likewise.
|
|
|
|
|
* ld-arm/farcall-thumb-thumb.d: New expected result, this test is
|
|
|
|
|
now expected to pass.
|
|
|
|
|
* ld-arm/thumb2-bl-as-thumb1-bad-noeabi.d: Likewise.
|
|
|
|
|
* ld-arm/thumb2-bl-bad-noeabi.d: Likewise.
|
|
|
|
|
* ld-arm/thumb2-bl-as-thumb1-bad.d: Update addresses according to
|
|
|
|
|
new use.
|
|
|
|
|
* ld-arm/thumb2-bl-as-thumb1-bad.s: Update comment.
|
|
|
|
|
|
2009-02-18 18:23:08 +00:00
|
|
|
|
2009-18-02 Dave Korn <dave.korn.cygwin@gmail.com>
|
|
|
|
|
|
|
|
|
|
* ld-pe/longsecn-1.d: New test file.
|
|
|
|
|
* ld-pe/longsecn-2.d: Likewise.
|
|
|
|
|
* ld-pe/longsecn-3.d: Likewise.
|
|
|
|
|
* ld-pe/longsecn-4.d: Likewise.
|
|
|
|
|
* ld-pe/longsecn-5.d: Likewise.
|
|
|
|
|
* ld-pe/longsecn.d: Likewise.
|
|
|
|
|
* ld-pe/longsecn.exp: New test control script.
|
|
|
|
|
* ld-pe/longsecn.s: New test source file.
|
|
|
|
|
|
2009-02-18 16:56:37 +00:00
|
|
|
|
2009-02-18 Christophe Lyon <christophe.lyon@st.com>
|
|
|
|
|
|
|
|
|
|
* ld-arm/farcall-arm-arm-pic-veneer.d,
|
|
|
|
|
ld-arm/farcall-arm-thumb-blx-pic-veneer.d,
|
|
|
|
|
ld-arm/farcall-arm-thumb-pic-veneer.d,
|
|
|
|
|
ld-arm/farcall-thumb-arm-blx-pic-veneer.d,
|
|
|
|
|
ld-arm/farcall-thumb-thumb-blx-pic-veneer.d: Fix expected stub
|
|
|
|
|
target.
|
|
|
|
|
|
2009-02-06 16:56:12 +00:00
|
|
|
|
2009-02-06 Joseph Myers <joseph@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* lib/ld-lib.exp (check_gc_sections_available): Return 0 for
|
|
|
|
|
*-*-mingw*.
|
|
|
|
|
|
2009-02-05 21:54:43 +00:00
|
|
|
|
2009-02-05 Joseph Myers <joseph@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* ld-arm/arm-elf.exp (armeabitests): Restore thumb2-b-interwork.
|
|
|
|
|
|
M68K TLS support.
ld/testsuite/
* ld-m68k/got-multigot-12-13-14-34-35-ok.d: Update.
* ld-m68k/got-multigot-14-ok.d: Update.
* ld-m68k/m68k-got.exp: Update.
* ld-m68k/got-negative-12-13-14-34-ok.d: Update.
* ld-m68k/got-negative-14-ok.d: Update.
* ld-m68k/tls-gd-1.d, ld-m68k/tls-gd-2.d: New tests.
* ld-m68k/tls-gd-ie-1.d, ld-m68k/tls-ie-1.d: New tests.
* ld-m68k/tls-ld-1.d, ld-m68k/tls-ld-2.d: New tests.
* ld-m68k/tls-ld-1.s, ld-m68k/tls-ld-2.s, ld-m68k/tls-le-1.s:
New test sources.
* ld-m68k/tls-no-1.s, ld-m68k/tls-gd-ie-1.s, ld-m68k/tls-gd-1.s:
New test sources.
* ld-m68k/tls-gd-2.s, ld-m68k/tls-ie-1.s: New test sources.
* ld-m68k/m68k.exp: Run new tests.
(merge isa-a isa-a:nodiv): Fix.
gas/testsuite/
* gas/m68k/tls-gd-3.d, gas/m68k/tls-gd-3.s: New test.
* gas/m68k/all.exp: Run it.
gas/
* config/m68k-parse.h (enum pic_relocation): Add values for TLS
relocations.
* config/m68k-parse.y (yylex): Parse TLS relocations.
* config/tc-m68k.c (m68k_elf_cons): New static function.
(md_pseudo_table): Use it.
(get_reloc_code, tc_m68k_fix_adjustable, tc_gen_reloc): Handle TLS
relocations.
(md_apply_fix): Fix to set thread local flag.
(m68k_elf_suffix): New static function; helper for m68k_elf_cons.
include/elf/
* m68k.h: Map TLS relocations to numbers.
bfd/
* bfd-in2.h: Regenerate.
* elf32-m68k.c: Handle 2-slot GOT entries. Rename variables and
fields from n_entries to n_slots where appropriate, update comments.
(HOWTO): Add TLS relocations.
(reloc_map): Map BFD_RELOC_68K_TLS_* to R_68K_TLS_*.
(enum elf_m68k_got_offset_size): New enum.
(struct elf_m68k_got_entry.type): Move field to ...
(struct elf_m68k_got_entry_key): ... here. Update all uses.
(elf_m68k_reloc_got_type, elf_m68k_reloc_got_offset_size): New static
functions.
(elf_m68k_reloc_got_n_entries, elf_m68k_reloc_tls_p): New static
functions.
(struct elf_m68k_got): merge rel_8o_n_entries and rel_8o_16o_n_entries
fields into n_entries array. Update comments.
(elf_m68k_init_got): Simplify, update all uses.
(elf_m68k_init_got_entry_key): Handle R_68K_TLS_LDM32 reloc, update.
(ELF_M68K_REL_8O_MAX_N_ENTRIES_IN_GOT): Adjust to handle 2-slot
GOT entries; update name, update all uses.
(ELF_M68K_REL_8O_16O_MAX_N_ENTRIES_IN_GOT): Ditto.
(elf_m68k_get_got_entry): Update.
(elf_m68k_update_got_entry_type): Rewrite to handle TLS GOT entries,
simplify.
(elf_m68k_remove_got_entry_type): Simplify.
(elf_m68k_add_entry_to_got, elf_m68k_can_merge_gots_1): Update.
(elf_m68k_can_merge_gots): Update.
(elf_m68k_merge_gots_1, elf_m68k_merge_gots): Update.
(struct elf_m68k_finalize_got_offsets_arg): Rewrite to handle 2-slot
GOT entries, simplify.
(elf_m68k_finalize_got_offsets_1, elf_m68k_finalize_got_offsets): Same.
(struct elf_m68k_partition_multi_got_arg): Add slots_relas_diff
field, remove obsoleted local_n_entries field.
(elf_m68k_partition_multi_got_2): New static function.
(elf_m68k_partition_multi_got_1, elf_m68k_partition_multi_got): Use it;
update.
(elf_m68k_remove_got_entry_type): Update.
(elf_m68k_install_rela, dtpoff_base, tpoff): New static functions.
(elf_m68k_check_relocs): Handle TLS relocations. Remove unnecessary
update of sgot->size and srelgot->size.
(elf_m68k_gc_sweep_hook): Update.
(elf_m68k_install_rela, dtpoff_base, tpoff): New static functions.
(elf_m68k_relocate_section, elf_m68k_finish_dynamic_symbol): Handle
TLS relocations.
* reloc.c (BFD_RELOC_68K_TLS_*): Declare TLS relocations.
* libbfd.h (bfd_reloc_code_real_names): Add BFD_RELOC_68K_TLS_*.
2009-02-03 14:36:47 +00:00
|
|
|
|
2009-02-03 Maxim Kuvyrkov <maxim@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* ld-m68k/got-multigot-12-13-14-34-35-ok.d: Update.
|
|
|
|
|
* ld-m68k/got-multigot-14-ok.d: Update.
|
|
|
|
|
* ld-m68k/m68k-got.exp: Update.
|
|
|
|
|
* ld-m68k/got-negative-12-13-14-34-ok.d: Update.
|
|
|
|
|
* ld-m68k/got-negative-14-ok.d: Update.
|
|
|
|
|
* ld-m68k/tls-gd-1.d, ld-m68k/tls-gd-2.d: New tests.
|
|
|
|
|
* ld-m68k/tls-gd-ie-1.d, ld-m68k/tls-ie-1.d: New tests.
|
|
|
|
|
* ld-m68k/tls-ld-1.d, ld-m68k/tls-ld-2.d: New tests.
|
|
|
|
|
* ld-m68k/tls-ld-1.s, ld-m68k/tls-ld-2.s, ld-m68k/tls-le-1.s:
|
|
|
|
|
New test sources.
|
|
|
|
|
* ld-m68k/tls-no-1.s, ld-m68k/tls-gd-ie-1.s, ld-m68k/tls-gd-1.s:
|
|
|
|
|
New test sources.
|
|
|
|
|
* ld-m68k/tls-gd-2.s, ld-m68k/tls-ie-1.s: New test sources.
|
|
|
|
|
* ld-m68k/m68k.exp: Run new tests.
|
|
|
|
|
(merge isa-a isa-a:nodiv): Fix.
|
|
|
|
|
|
2009-02-01 12:05:25 +00:00
|
|
|
|
2009-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
|
|
|
|
|
|
|
|
|
|
* ld-elf/eh-group2.s: New `.cfi_lsda' referencing `.gcc_except_table'.
|
|
|
|
|
* ld-elf/eh-group.exp: New test and conditional defininiton of `ELF64'.
|
|
|
|
|
|
2009-01-29 09:03:13 +00:00
|
|
|
|
2009-01-29 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* lib/ld-lib.exp (check_gc_sections_available): Add MeP to list of
|
|
|
|
|
targets which do not support garbage collection.
|
|
|
|
|
* ld-srec/srec.exp (run_srec_test): Expect tests to fail for MeP.
|
|
|
|
|
* ld-elf/group8a.d: Likewise.
|
|
|
|
|
* ld-elf/group8b.d: Likewise.
|
|
|
|
|
* ld-elf/group9a.d: Likewise.
|
|
|
|
|
* ld-elf/group9b.d: Likewise.
|
|
|
|
|
|
2009-01-27 06:08:52 +00:00
|
|
|
|
2009-01-27 Hans-Peter Nilsson <hp@axis.com>
|
|
|
|
|
|
2009-01-27 22:31:19 +00:00
|
|
|
|
* ld-cris/tls-tbss64.s, ld-cris/tls-e-80.d: New test.
|
|
|
|
|
|
2009-01-27 07:05:47 +00:00
|
|
|
|
* ld-cris/tls-e-20.d, ld-cris/tls-e-20a.d, ld-cris/tls-e-22.d,
|
|
|
|
|
ld-cris/tls-ldgde-14.d, ld-cris/tls-ldgde-15.d,
|
|
|
|
|
ld-cris/tls-ldgdex-14.d, ld-cris/tls-ldgdex-15.d: Adjust for
|
|
|
|
|
change in relocation values.
|
|
|
|
|
|
2009-01-27 06:08:52 +00:00
|
|
|
|
* ld-cris/weakhiddso.d, ld-cris/weakhid.s: New test.
|
|
|
|
|
|
2009-01-26 15:27:04 +00:00
|
|
|
|
2009-01-26 Nathan Sidwell <nathan@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* ld-powerpc/powerpc.exp: Add vxworks relax testcase.
|
|
|
|
|
* ld-powerpc/vxworks-relax.s, ld-powerpc/vxworks-relax.rd: New.
|
|
|
|
|
* ld-powerpc/vxworks1.ld: Add .pad and .far input sections.
|
|
|
|
|
* ld-powerpc/vxworks1.rd: Correct regexp for undefined symbols.
|
|
|
|
|
|
2009-01-26 14:36:43 +00:00
|
|
|
|
2009-01-26 Andrew Stubbs <ams@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* ld-arm/attr-merge-3.attr: Update following gas change.
|
|
|
|
|
* ld-arm/attr-merge-2.attr: Update Tag_ARM_ISA_use and
|
|
|
|
|
Tag_THUMB_ISA_use following gas changes.
|
|
|
|
|
* ld-arm/attr-merge-4.attr: Likewise.
|
|
|
|
|
* ld-arm/attr-merge-5.attr: Likewise.
|
|
|
|
|
* ld-arm/attr-merge-arch-1.attr: Likewise.
|
|
|
|
|
* ld-arm/attr-merge-arch-2.attr: Likewise.
|
|
|
|
|
* ld-arm/attr-merge-unknown-2.d: Likewise.
|
|
|
|
|
* ld-arm/attr-merge-unknown-2r.d: Likewise.
|
|
|
|
|
* ld-arm/attr-merge-unknown-3.d: Likewise.
|
|
|
|
|
* ld-arm/attr-merge-wchar-00-nowarn.d: Likewise.
|
|
|
|
|
* ld-arm/attr-merge-wchar-00.d: Likewise.
|
|
|
|
|
* ld-arm/attr-merge-wchar-02-nowarn.d: Likewise.
|
|
|
|
|
* ld-arm/attr-merge-wchar-02.d: Likewise.
|
|
|
|
|
* ld-arm/attr-merge-wchar-04-nowarn.d: Likewise.
|
|
|
|
|
* ld-arm/attr-merge-wchar-04.d: Likewise.
|
|
|
|
|
* ld-arm/attr-merge-wchar-20-nowarn.d: Likewise.
|
|
|
|
|
* ld-arm/attr-merge-wchar-20.d: Likewise.
|
|
|
|
|
* ld-arm/attr-merge-wchar-22-nowarn.d: Likewise.
|
|
|
|
|
* ld-arm/attr-merge-wchar-22.d: Likewise.
|
|
|
|
|
* ld-arm/attr-merge-wchar-24-nowarn.d: Likewise.
|
|
|
|
|
* ld-arm/attr-merge-wchar-40-nowarn.d: Likewise.
|
|
|
|
|
* ld-arm/attr-merge-wchar-40.d: Likewise.
|
|
|
|
|
* ld-arm/attr-merge-wchar-42-nowarn.d: Likewise.
|
|
|
|
|
* ld-arm/attr-merge-wchar-44-nowarn.d: Likewise.
|
|
|
|
|
* ld-arm/attr-merge-wchar-44.d: Likewise.
|
|
|
|
|
* ld-arm/attr-merge.attr: Likewise.
|
|
|
|
|
|
2009-01-21 02:28:22 +00:00
|
|
|
|
2009-01-21 Alan Modra <amodra@bigpond.net.au>
|
|
|
|
|
|
|
|
|
|
* ld-spu/icache1.d: Add --non-ia-text to ld options.
|
|
|
|
|
|
2009-01-19 17:33:26 +00:00
|
|
|
|
2009-01-19 Hans-Peter Nilsson <hp@axis.com>
|
|
|
|
|
|
|
|
|
|
* ld-cris/expdref3.s, ld-cris/expdref4.s, ld-cris/weakref3.d,
|
|
|
|
|
ld-cris/weakref4.d: New tests.
|
|
|
|
|
* ld-cris/libdso-15b.d: Adjust for recent weakref fix.
|
|
|
|
|
|
2009-01-19 15:52:19 +00:00
|
|
|
|
2009-01-19 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* ld-elf/group9.s: Replace .byte with .long.
|
|
|
|
|
|
2009-01-19 12:20:15 +00:00
|
|
|
|
2009-01-19 Andrew Stubbs <ams@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* ld-arm/arm-elf.exp (armeabitests): Add EABI attribute merging 3,
|
|
|
|
|
EABI attribute merging 4, and EABI attribute merging 5,
|
|
|
|
|
EABI attribute arch merging 1, EABI attribute arch merging 1 reversed,
|
|
|
|
|
EABI attribute arch merging 2, EABI attribute arch merging 2 reversed.
|
|
|
|
|
Add attr-merge-unknown-1, attr-merge-unknown-2, attr-merge-unknown-2r,
|
|
|
|
|
and attr-merge-unknown-3 dump tests.
|
|
|
|
|
* ld-arm/arch-v6.s: New file.
|
|
|
|
|
* ld-arm/arch-v6k.s: New file.
|
|
|
|
|
* ld-arm/arch-v6t2.s: New file.
|
|
|
|
|
* ld-arm/attr-merge-3.attr: New file.
|
|
|
|
|
* ld-arm/attr-merge-3a.s: New file.
|
|
|
|
|
* ld-arm/attr-merge-3b.s: New file.
|
|
|
|
|
* ld-arm/attr-merge-4.attr: New file.
|
|
|
|
|
* ld-arm/attr-merge-4a.s: New file.
|
|
|
|
|
* ld-arm/attr-merge-4b.s: New file.
|
|
|
|
|
* ld-arm/attr-merge-5.attr: New file.
|
|
|
|
|
* ld-arm/attr-merge-5.s: New file.
|
|
|
|
|
* ld-arm/attr-merge-arch-1.attr: New file.
|
|
|
|
|
* ld-arm/attr-merge-arch-2.attr: New file.
|
|
|
|
|
* ld-arm/attr-merge-unknown-1.d: New file.
|
|
|
|
|
* ld-arm/attr-merge-unknown-1.s: New file.
|
|
|
|
|
* ld-arm/attr-merge-unknown-2.d: New file.
|
|
|
|
|
* ld-arm/attr-merge-unknown-2.s: New file.
|
|
|
|
|
* ld-arm/attr-merge-unknown-2r.d: New file.
|
|
|
|
|
* ld-arm/attr-merge-unknown-3.d: New file.
|
|
|
|
|
* ld-arm/blank.s: New file.
|
|
|
|
|
|
2009-01-16 14:14:07 +00:00
|
|
|
|
2009-01-16 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* ld-elf/textaddr1.d: New.
|
|
|
|
|
* ld-elf/textaddr2.d: Likewise.
|
|
|
|
|
|
2009-01-14 21:52:49 +00:00
|
|
|
|
2009-01-14 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
PR ld/9727
|
|
|
|
|
* ld-elf/group8.s: New.
|
|
|
|
|
* ld-elf/group8a.d: Likewise.
|
|
|
|
|
* ld-elf/group8b.d: Likewise.
|
|
|
|
|
* ld-elf/group9.s: Likewise.
|
|
|
|
|
* ld-elf/group9a.d: Likewise.
|
|
|
|
|
* ld-elf/group9b.d: Likewise.
|
|
|
|
|
|
2009-01-13 01:54:15 +00:00
|
|
|
|
2009-01-13 Alan Modra <amodra@bigpond.net.au>
|
|
|
|
|
|
|
|
|
|
* ld-spu/icache1.s: New file.
|
|
|
|
|
* ld-spu/icache1.d: New file.
|
|
|
|
|
|
2009-01-12 13:57:59 +00:00
|
|
|
|
2009-01-13 Alan Modra <amodra@bigpond.net.au>
|
|
|
|
|
|
|
|
|
|
* ld-elf/elf.exp: Save and restore LDFLAGS.
|
|
|
|
|
* ld-scripts/default-script.exp: Likewise.
|
|
|
|
|
* ld-scripts/empty-orphan.exp: Likewise, and add to LDFLAGS rather
|
|
|
|
|
than replacing.
|
|
|
|
|
* ld-scripts/include.exp: Set --local-store for SPU.
|
|
|
|
|
|
bfd/
* elf32-spu.c (struct spu_link_hash_table): Add init, line_size_log2,
num_lines_log2.
(struct got_entry): Add br_addr.
(struct call_info): Add priority.
(struct function_info): Add lr_store and sp_adjust.
(spu_elf_setup): Init line_size_log2 and num_lines_log2.
(spu_elf_find_overlays): For soft-icache, mark any section within cache
area as an overlay, and check that no other overlays exist. Look up
icache overlay manager entry sym.
(BRA_STUBS, BRA, BRASL): Define.
(enum _stub_type): Replace ovl_stub with call_ovl_stub and br*_ovl_stub.
(needs_ovl_stub): Adjust for soft-icache. Return priority encoded
in branch insn.
(count_stub, build_stub): Support soft-icache.
(build_spuear_stubs, process_stubs): Adjust build_stub call.
(spu_elf_size_stubs): Size soft-icache stubs.
(overlay_index): New function.
(spu_elf_build_stubs): Make static. Support soft-icache.
(spu_elf_check_vma): Don't turn off auto_overlay if soft-icache.
(find_function_stack_adjust): Save lr store and stack adjust insn
offsets.
(maybe_insert_function): Adjust find_function_stack_adjust call.
(mark_functions_via_relocs): Retrieve priority.
(remove_cycles): Only warn about pruned arcs when stack_analysis.
(sort_calls): Sort by priority first.
(mark_overlay_section): Ignore .ovl.init.
(sum_stack): Only print when stack_analysis.
(print_one_overlay_section): New function, extracted from..
(spu_elf_auto_overlay): ..here. Support soft-icache overlays.
(spu_elf_stack_analysis): Only print when htab->stack_analysis.
(spu_elf_final_link): Call spu_elf_stack_analysis for lrlive
analysis. Call spu_elf_build_stubs.
(spu_elf_relocate_section): For soft-icache encode overlay index
into addresses.
(spu_elf_output_symbol_hook): Support soft-icache.
(spu_elf_modify_program_headers: Likewise.
* elf32-spu.h (struct spu_elf_params): Add lrlive_analysis. Rename
num_regions to num_lines. Add line_size and max_branch.
(enum _ovly_flavour): Add ovly_soft_icache.
(spu_elf_build_stubs): Delete.
gas/
* config/tc-spu.c (md_pseudo_table): Add "brinfo".
(brinfo): New var.
(md_assemble): Poke brinfo into branch instructions.
(spu_brinfo): New function.
(md_apply_fix): Don't assume insn fields start off at zero, mask
them to remove possible brinfo.
ld/
* emultempl/spuelf.em (params): Init new fields.
(num_lines_set, line_size_set, icache_mgr, icache_mgr_stream): New vars.
(spu_place_special_section): Adjust placement for soft-icache. Pad
soft-icache section to a fixed size. Clear addr_tree.
(spu_elf_load_ovl_mgr): Support soft-icache. Map overlay manager
sections a little more intelligently.
(gld${EMULATION_NAME}_finish): Don't call spu_elf_build_stubs.
(OPTION_SPU_NUM_LINES): Rename from OPTION_SPU_NUM_REGIONS.
(OPTION_SPU_SOFT_ICACHE, OPTION_SPU_LINE_SIZE): Define.
(OPTION_SPU_LRLIVE): Define.
(PARSE_AND_LIST_LONGOPTS): Add new soft-icache options.
(PARSE_AND_LIST_OPTIONS): Likewise.
(PARSE_AND_LIST_ARGS_CASES): Handle them.
* emultempl/spu_icache.S: Dummy file.
* emultempl/spu_icache.o_c: Regenerate.
* Makefile.am (eelf32_spu.c): Depend on spu_icache.o_c.
(spu_icache.o_c): Add rule to build.
(CLEANFILES): Zap temp files.
(EXTRA_DIST): Add spu_icache.o_c.
* Makefile.in: Regenerate.
ld/testsuite/
* ld-spu/ovl.d: Allow for absolute branches in stubs.
* ld-spu/ovl2.d: Likewise.
2009-01-12 00:23:58 +00:00
|
|
|
|
2009-01-12 Alan Modra <amodra@bigpond.net.au>
|
|
|
|
|
|
|
|
|
|
* ld-spu/ovl.d: Allow for absolute branches in stubs.
|
|
|
|
|
* ld-spu/ovl2.d: Likewise.
|
|
|
|
|
|
2009-01-11 21:09:49 +00:00
|
|
|
|
2009-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
|
|
|
|
|
|
|
|
|
|
* ld-elf/linkoncerdiff.d, ld-elf/linkoncerdiff1.s,
|
|
|
|
|
ld-elf/linkoncerdiff2.s: New.
|
|
|
|
|
|
* ld-cris/tls-e-20.d, ld-cris/tls-e-20a.d, ld-cris/tls-e-21.d,
ld-cris/tls-e-23.d, ld-cris/tls-e-66.d, ld-cris/tls-gd-3.d,
ld-cris/tls-gd-3h.d, ld-cris/tls-global-74.d,
ld-cris/tls-ie-8e1.d, ld-cris/tls-ldgde-14.d,
ld-cris/tls-ldgde-15.d, ld-cris/tls-le-12.d, ld-cris/tls-le-13.d,
ld-cris/tls-le-13s.d, ld-cris/tls-legd-16.d,
ld-cris/tls-legd-17.d, ld-cris/tls-legdx-16.d,
ld-cris/tls-legdx-17.d, ld-cris/tls-leie-18.d,
ld-cris/tls-leie-19.d, ld-cris/tls-local-57.d,
ld-cris/tls-local-58.d, ld-cris/tls-local-59.d: Adjust for
relocation value now offset by negative program TLS block size.
* ld-cris/tls-le-12s.d: Ditto. Move 128-byte tls-data to last.
Adjust accordingly.
* ld-cris/tls-le-12s.s: Use movs, not movu, for sign-extended
always-negative relocation.
* ld-cris/tls-tprelm.s: Move filler data to after symbol for
tested relocation.
* ld-cris/tls-ok-36.d: Adjust accordingly.
2009-01-07 03:27:11 +00:00
|
|
|
|
2009-01-07 Hans-Peter Nilsson <hp@axis.com>
|
|
|
|
|
|
|
|
|
|
* ld-cris/tls-e-20.d, ld-cris/tls-e-20a.d, ld-cris/tls-e-21.d,
|
|
|
|
|
ld-cris/tls-e-23.d, ld-cris/tls-e-66.d, ld-cris/tls-gd-3.d,
|
|
|
|
|
ld-cris/tls-gd-3h.d, ld-cris/tls-global-74.d,
|
|
|
|
|
ld-cris/tls-ie-8e1.d, ld-cris/tls-ldgde-14.d,
|
|
|
|
|
ld-cris/tls-ldgde-15.d, ld-cris/tls-le-12.d, ld-cris/tls-le-13.d,
|
|
|
|
|
ld-cris/tls-le-13s.d, ld-cris/tls-legd-16.d,
|
|
|
|
|
ld-cris/tls-legd-17.d, ld-cris/tls-legdx-16.d,
|
|
|
|
|
ld-cris/tls-legdx-17.d, ld-cris/tls-leie-18.d,
|
|
|
|
|
ld-cris/tls-leie-19.d, ld-cris/tls-local-57.d,
|
|
|
|
|
ld-cris/tls-local-58.d, ld-cris/tls-local-59.d: Adjust for
|
|
|
|
|
relocation value now offset by negative program TLS block size.
|
|
|
|
|
* ld-cris/tls-le-12s.d: Ditto. Move 128-byte tls-data to last.
|
|
|
|
|
Adjust accordingly.
|
|
|
|
|
* ld-cris/tls-le-12s.s: Use movs, not movu, for sign-extended
|
|
|
|
|
always-negative relocation.
|
|
|
|
|
* ld-cris/tls-tprelm.s: Move filler data to after symbol for
|
|
|
|
|
tested relocation.
|
|
|
|
|
* ld-cris/tls-ok-36.d: Adjust accordingly.
|
|
|
|
|
|
2009-01-03 04:53:47 +00:00
|
|
|
|
2009-01-03 Hans-Peter Nilsson <hp@axis.com>
|
|
|
|
|
|
|
|
|
|
* ld-cris/tls-js1.d: New test.
|
|
|
|
|
|
2009-01-02 19:29:38 +00:00
|
|
|
|
2009-01-02 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
PR ld/9679
|
|
|
|
|
* ld-elf/pr9679-1.c: New.
|
|
|
|
|
* ld-elf/pr9679-2.c: Likewise.
|
|
|
|
|
* ld-elf/pr9679.rd: Likewise.
|
|
|
|
|
|
|
|
|
|
* ld-elf/shared.exp (build_tests): Add test for libpr9679.so.
|
|
|
|
|
|
2009-01-02 16:48:11 +00:00
|
|
|
|
2009-01-02 H.J. Lu <hongjiu.lu@intel.com>
|
2008-12-23 19:10:25 +00:00
|
|
|
|
|
2009-01-02 16:48:11 +00:00
|
|
|
|
PR ld/9676
|
|
|
|
|
* ld-elf/pr9676-1.c: New.
|
|
|
|
|
* ld-elf/pr9676-2.c: Likewiswe.
|
|
|
|
|
* ld-elf/pr9676-3.c: Likewiswe.
|
|
|
|
|
* ld-elf/pr9676-4.c: Likewiswe.
|
|
|
|
|
* ld-elf/pr9676.rd: Likewiswe.
|
2008-12-23 11:45:25 +00:00
|
|
|
|
|
2009-01-02 16:48:11 +00:00
|
|
|
|
* ld-elf/shared.exp (build_tests): Add tests for libpr9676-1.a,
|
|
|
|
|
libpr9676-2.a, libpr9676-3.so, libpr9676-4.so and
|
|
|
|
|
libpr9676-4a.so.
|
2008-12-23 11:45:25 +00:00
|
|
|
|
|
2009-01-02 16:48:11 +00:00
|
|
|
|
* lib/ld-lib.exp (ar_simple_create): New.
|
|
|
|
|
(run_ld_link_tests): Support archive.
|
|
|
|
|
(run_cc_link_tests): Likewiswe.
|
2008-12-23 09:01:51 +00:00
|
|
|
|
|
2009-01-02 16:48:11 +00:00
|
|
|
|
For older changes see ChangeLog-2008
|
2004-01-02 11:16:21 +00:00
|
|
|
|
|
|
|
|
|
Local Variables:
|
|
|
|
|
mode: change-log
|
|
|
|
|
left-margin: 8
|
|
|
|
|
fill-column: 74
|
|
|
|
|
version-control: never
|
|
|
|
|
End:
|