ld/testsuite/
[platform/upstream/binutils.git] / ld / testsuite / ChangeLog
index c312749..dd0d74d 100644 (file)
@@ -1,3 +1,436 @@
+2011-07-27  Roland McGrath  <mcgrathr@google.com>
+
+       * ld-i386/vxworks1-lib.rd: Swap order of sections expected in output.
+
+2011-07-26  Alan Modra  <amodra@gmail.com>
+
+       * ld-powerpc/powerpc.exp: Use --no-ld-generated-unwind-info
+       with some tests.
+       * ld-powerpc/relbrlt.d: Likewise.
+
+2011-07-25  Hans-Peter Nilsson  <hp@bitrange.com>
+
+       PR ld/12815
+       * ld-mmix/pr12815-1.d, ld-mmix/pr12815-1.s, ld-mmix/pr12815-1.ld,
+       ld-mmix/pr12815-2.d, ld-mmix/pr12815-2.s: New tests.
+
+2011-07-24  Catherine Moore  <clm@codesourcery.com>
+           Chao-ying Fu  <fu@mips.com>
+           Maciej W. Rozycki  <macro@codesourcery.com>
+
+       * lib/ld-lib.exp (run_dump_test): Support distinct assembler
+       flags for the same source named multiple times.
+       * ld-mips-elf/jalx-1.s: New test source.
+       * ld-mips-elf/jalx-1.d: New test output.
+       * ld-mips-elf/jalx-1.ld: New test linker script.
+       * ld-mips-elf/jalx-2-main.s: New test source.
+       * ld-mips-elf/jalx-2-ex.s: Likewise.
+       * ld-mips-elf/jalx-2-printf.s: Likewise.
+       * ld-mips-elf/jalx-2.dd: New test output.
+       * ld-mips-elf/jalx-2.ld: New test linker script.
+       * ld-mips-elf/mips16-and-micromips.d: New test.
+       * ld-mips-elf/mips-elf.exp: Run the new tests
+
+2011-07-22  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * ld-x86-64/abs-k1om.d: New.
+       * ld-x86-64/protected2-k1om.d: Likewise.
+       * ld-x86-64/protected3-k1om.d: Likewise.
+
+       * ld-x86-64/x86-64.exp: Run abs-k1om, protected2-k1om and
+       protected3-k1om.
+
+2011-07-14  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * ld-elf/binutils.exp (binutils_test): Also check ignored
+       "-z relro".
+
+2011-07-14  Alan Modra  <amodra@gmail.com>
+
+       * ld-scripts/section-flags.exp: Pass --local-store 0:0 for
+       spu.  Rewrite using foreach.
+
+2011-07-14  Alan Modra  <amodra@gmail.com>
+
+       * ld-powerpc/tlsexe.d, * ld-powerpc/tlsexe.g. *ld-powerpc/tlsexe.r,
+       * ld-powerpc/tlsexetoc.d, * ld-powerpc/tlsexetoc.g,
+       * ld-powerpc/tlsexetoc.r, * ld-powerpc/tlsso.d,
+       * ld-powerpc/tlstocso.d: Update for plt stub change.
+
+2011-07-11 Catherine Moore  <clm@cm00re.com>
+
+       * ld-scripts/section-flags-1.s: New.
+       * ld-scripts/section-flags-1.t: New.
+       * ld-scripts/section-flags-2.s: New.
+       * ld-scripts/section-flags-2.t: New.
+       * ld-scripts/section-flags.exp: New.
+
+2011-07-11  Alan Modra  <amodra@gmail.com>
+
+       * ld-powerpc/tocopt2.s, * ld-powerpc/tocopt2.out,
+       * ld-powerpc/tocopt2.d: New test.
+       * ld-powerpc/tocopt3.s, * ld-powerpc/tocopt3.d: New test.
+       * ld-powerpc/powerpc.exp (ppc64elftests) Run them.
+
+2011-07-03  Samuel Thibault  <samuel.thibault@gnu.org>
+           Thomas Schwinge  <thomas@schwinge.name>
+
+       PR binutils/12913
+       * ld-ifunc/ifunc.exp: Update for changed output.
+       * ld-unique/unique.exp: Likewise.
+
+2011-06-27  Nick Clifton  <nickc@redhat.com>
+
+       * ld-elf/elf.exp: Exlcude all v850 targets from note-3 test.
+
+2011-06-27  Alan Modra  <amodra@gmail.com>
+
+       * ld-elf/elf.exp: Exclude more targets from note-3 test.
+
+2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/12921
+       * ld-i386/i386.exp: Run pr12921.
+       * ld-x86-64/x86-64.exp: Likewise.
+
+       * ld-i386/pr12921.d: New.
+       * ld-i386/pr12921.s: Likewise.
+       * ld-x86-64/pr12921.d: Likewise.
+       * ld-x86-64/pr12921.s: Likewise.
+
+2011-06-22  Thomas Schwinge  <thomas@schwinge.name>
+
+       * ld-elf/elf.exp: Execute array_tests_pie tests on *-*-gnu*, too.
+
+2011-06-20  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * ld-ifunc/ifunc-1-local-x86.d: Adjusted.
+       * ld-ifunc/ifunc-1-x86.d: Likewise.
+       * ld-ifunc/ifunc-3a-x86.d: Likewise.
+
+2011-06-20  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * ld-elf/eh1.d: Revert x32 change.
+       * ld-elf/eh2.d: Likewise.
+       * ld-elf/eh3.d: Likewise.
+       * ld-elf/eh4.d: Likewise.
+
+2011-06-20  Jakub Jelinek  <jakub@redhat.com>
+
+       PR ld/12570
+       * ld-x86-64/x86-64.exp: Link some testcases with
+       --no-ld-generated-unwind-info.
+       * ld-x86-64/tlsbin.rd: Add --no-ld-generated-unwind-info to ld
+       comment.
+       * ld-x86-64/tlsdesc.dd: Likewise.
+       * ld-x86-64/tlspic.dd: Likewise.
+       * ld-x86-64/tlsdesc.sd: Likewise.
+       * ld-x86-64/tlspic.rd: Likewise.
+       * ld-x86-64/tlsbindesc.rd: Likewise.
+       * ld-x86-64/tlsbindesc.sd: Likewise.
+       * ld-x86-64/tlsbin.td: Likewise.
+       * ld-x86-64/tlsdesc.pd: Likewise.
+       * ld-x86-64/tlsdesc.td: Likewise.
+       * ld-x86-64/tlsbindesc.dd: Likewise.
+       * ld-x86-64/tlsbin.dd: Likewise.
+       * ld-x86-64/tlsgdesc.rd: Likewise.
+       * ld-x86-64/tlspic.sd: Likewise.
+       * ld-x86-64/tlsbindesc.td: Likewise.
+       * ld-x86-64/tlspic.td: Likewise.
+       * ld-x86-64/tlsbin.sd: Likewise.
+       * ld-x86-64/ilp32-4.d: Likewise.
+       * ld-x86-64/tlsgdesc.dd: Add --no-ld-generated-unwind-info to ld
+       comment.  Adjust.
+       * ld-x86-64/tlsdesc.rd: Likewise.
+       * ld-x86-64/tlsgd6.dd: Adjust.
+       * ld-x86-64/tlsgd5.dd: Likewise.
+       * ld-i386/i386.exp: Link some testcases with
+       --no-ld-generated-unwind-info.
+       * ld-i386/tlsbin.rd: Add --no-ld-generated-unwind-info to ld
+       comment..
+       * ld-i386/tlsdesc.dd: Likewise.
+       * ld-i386/tlspic.dd: Likewise.
+       * ld-i386/tlsdesc.sd: Likewise.
+       * ld-i386/tlsgdesc.dd: Likewise.
+       * ld-i386/tlsnopic.sd: Likewise.
+       * ld-i386/tlspic.rd: Likewise.
+       * ld-i386/tlsdesc.rd: Likewise.
+       * ld-i386/tlsbindesc.rd: Likewise.
+       * ld-i386/tlsbindesc.sd: Likewise.
+       * ld-i386/tlsbin.td: Likewise.
+       * ld-i386/tlsdesc.td: Likewise.
+       * ld-i386/tlsnopic.dd: Likewise.
+       * ld-i386/tlsbindesc.dd: Likewise.
+       * ld-i386/tlsbin.dd: Likewise.
+       * ld-i386/tlsgdesc.rd: Likewise.
+       * ld-i386/tlspic.sd: Likewise.
+       * ld-i386/tlsnopic.rd: Likewise.
+       * ld-i386/tlsbindesc.td: Likewise.
+       * ld-i386/tlspic.td: Likewise.
+       * ld-i386/tlsbin.sd: Likewise.
+
+2011-06-19  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * ld-elf/eh1.d: Skip x32.
+       * ld-elf/eh2.d: Likewise.
+       * ld-elf/eh3.d: Likewise.
+       * ld-elf/eh4.d: Likewise.
+
+       * ld-elfvsb/elfvsb.exp: Only xfail 64bit x86_64-*-linux*.
+       * ld-shared/shared.exp: Likewise.
+
+       * ld-ifunc/ifunc-1-local-x86.d: Support x32.
+       * ld-ifunc/ifunc-1-x86.d: Likewise.
+       * ld-ifunc/ifunc-3a-x86.d: Likewise.
+       * ld-x86-64/pcrel16.d: Likewise.
+
+       * ld-x86-64/x86-64.exp (x86_64tests): Add missing -melf_x86_64.
+
+2011-06-16  Alan Modra  <amodra@gmail.com>
+
+       * ld-elfvers/vers2.ver: Don't assume any particular index for
+       version reference.
+       * ld-elfvers/vers3.ver: Likewise.
+       * ld-elfvers/vers19.ver: Likewise.
+       * ld-elfvers/vers22.ver: Likewise.
+       * ld-elfvers/vers27d4.ver: Likewise.
+       * ld-elfvers/vers28c.ver: Likewise.
+
+2011-06-14  Alan Modra  <amodra@gmail.com>
+
+       * ld-elf/elf.exp: Don't attempt to build symbol3.a for hppa64-hpux.
+       * ld-elf/warn3.d: Correct target selection and comment.
+
+       * ld-elf/pr12851.d: Correct target selection and comment.
+
+2011-06-13  Walter Lee  <walt@tilera.com>
+
+       * ld-elf/eh5.d: Don't run on tile*.
+       * ld-srec/srec.exp: xfail on tile*.
+       * ld-tilegx/external.s: New file.
+       * ld-tilegx/reloc.d: New file.
+       * ld-tilegx/reloc.s: New file.
+       * ld-tilegx/tilegx.exp: New file.
+       * ld-tilepro/external.s: New file.
+       * ld-tilepro/reloc.d: New file.
+       * ld-tilepro/reloc.s: New file.
+       * ld-tilepro/tilepro.exp: New file.
+
+2011-06-10  Nick Clifton  <nickc@redhat.com>
+
+       * ld-elf/elf.exp: Add test for linking a shared library with a
+       broken linker script that marks dynamic sections as being notes.
+       * ld-elf/note-3.s: New test source file.
+       * ld-elf/note-3.t: New test linker script.
+       * ld-elf/note-3.l: Expected output from the linker.
+       * lib/ld-lib.exp (run_ld_link_tests): Improve description.
+
+2011-06-08  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * ld-x86-64/x86-64.exp: Build x32 DSO from x86-64 object file
+       only for native.
+
+2011-06-08  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * ld-x86-64/simple.c: New.
+       * ld-x86-64/x86-64-x32.rd: Likewise.
+
+       * ld-x86-64/x86-64.exp: Check building x32 DSO from x86-64
+       object file.
+
+2011-06-08  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/12851
+       * ld-elf/pr12851.d: New.
+       * ld-elf/pr12851.s: Likewise.
+
+2011-06-07  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * ld-elf/elf.exp: Build symbol3.a and symbol3w.a.
+
+       * ld-elf/symbol3.s: New.
+       * ld-elf/symbol3w.s: Likewise.
+       * ld-elf/warn3.d: Likewise.
+
+2011-06-02  Nathan Sidwell  <nathan@codesourcery.com>
+
+       Adjust tests for zero offset formatting.
+       * ld-arm/cortex-a8-fix-bcc-plt.d: Adjust.
+       * ld-arm/farcall-arm-arm-pic-veneer.d: Adjust.
+       * ld-arm/farcall-arm-thumb.d: Adjust.
+       * ld-arm/farcall-group-size2.d: Adjust.
+       * ld-arm/farcall-group.d: Adjust.
+       * ld-arm/farcall-mix.d: Adjust.
+       * ld-arm/farcall-mix2.d: Adjust.
+       * ld-arm/farcall-mixed-lib-v4t.d: Adjust.
+       * ld-arm/farcall-mixed-lib.d: Adjust.
+       * ld-arm/farcall-thumb-arm-blx-pic-veneer.d: Adjust.
+       * ld-arm/farcall-thumb-arm-pic-veneer.d: Adjust.
+       * ld-arm/farcall-thumb-thumb.d: Adjust.
+       * ld-arm/ifunc-10.dd: Adjust.
+       * ld-arm/ifunc-3.dd: Adjust.
+       * ld-arm/ifunc-4.dd: Adjust.
+       * ld-arm/ifunc-5.dd: Adjust.
+       * ld-arm/ifunc-6.dd: Adjust.
+       * ld-arm/ifunc-7.dd: Adjust.
+       * ld-arm/ifunc-8.dd: Adjust.
+       * ld-arm/jump-reloc-veneers-long.d: Adjust.
+       * ld-arm/tls-longplt-lib.d: Adjust.
+       * ld-arm/tls-thumb1.d: Adjust.
+
+2011-05-31  Paul Brook  <paul@codesourcery.com>
+
+       * ld-arm/cortex-a8-far.d: Adjust expected output.
+       * ld-arm/arm-call1.s: Give function symbol correct type.
+       * ld-arm/arm-call2.s: Ditto.
+       * ld-arm/farcall-group4.s: Ditto.
+       * ld-arm/arm-elf.exp (cortex-a8-far): Define far symbols with correct
+       type via assembly file.
+       * ld-arm/cortex-a8-far-3.s: New file.
+       * ld-arm/abs-call-1.s: Add Thumb tests
+
+2011-05-31  Paul Brook  <paul@codesourcery.com>
+       Nathan Sidwell  <nathan@codesourcery.com>
+
+       * ld-arm/abs-call-1.d: New.
+       * ld-arm/abs-call-1.s: New.
+       * ld-arm/arm-elf.exp: Add it.
+
+2011-05-31  Paul Brook  <paul@codesourcery.com>
+
+       * ld-arm/tls-longplt.d: Update expected output.
+       * ld-arm/tls-thumb1.d: Ditto.
+
+2011-05-26  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/12809
+       * ld-x86-64/tlsbin.s: Add a test for LE with large model.
+
+       * ld-x86-64/tlsbin.dd: Updated.
+       * ld-x86-64/tlsbin.rd: Likewise.
+       * ld-x86-64/tlsbin.sd: Likewise.
+       * ld-x86-64/tlsbin.td: Likewise.
+       * ld-x86-64/tlsbindesc.dd: Likewise.
+       * ld-x86-64/tlsbindesc.rd: Likewise.
+       * ld-x86-64/tlsbindesc.sd: Likewise.
+       * ld-x86-64/tlsbindesc.td: Likewise.
+
+2011-05-24  Hans-Peter Nilsson  <hp@axis.com>
+
+       * ld-cris/tls-e-tpoffcomm1.d: Adjust for second PR12763 change,
+       setting TLS file offset.
+
+2011-05-23  Nick Clifton  <nickc@redhat.com>
+
+       * ld-elf/shared.exp: Revert previous delta.  Do not build
+       libraries in a non-native environment.
+
+2011-05-23  Alan Modra  <amodra@gmail.com>
+
+       PR 12763
+       * ld-elf/binutils.exp: Don't run tdata3 for hppa64.
+
+2011-05-21  Hans-Peter Nilsson  <hp@axis.com>
+
+       * ld-cris/tls-e-tpoffcomm1.d: Adjust for PR12763 change removing
+       empty program header.
+
+2011-05-21  Alan Modra  <amodra@gmail.com>
+
+       PR 12763
+       * ld-elf/tdata3.s: New test.
+       * ld-elf/tbss3.s: New test.
+       * ld-elf/binutils.exp: Consolidate tbss and tdata tests.
+
+2011-05-20  Bernd Schmidt  <bernds@codesourcery.com>
+
+       * ld-tic6x/pcr-reloc.d: New test.
+       * ld-tic6x/pcr-reloc.s: New test.
+
+2011-05-18  Nick Clifton  <nickc@redhat.com>
+
+       PR ld/12761
+       * lib/ld-lib.exp (run_cc_link_tests): Add an optional 8th
+       parameter - an expected warning message from the linker.
+       * ld-elf/shared.exp (build_tests): Expect a warning message when
+       building the libbarw.so library.
+
+       * ld-elf/shared.exp: Run library building tests even when not
+       building a native toolchain.
+
+2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * ld-scripts/phdrs.exp: Replace --private with
+       --private-headers for objdump.
+       * ld-scripts/phdrs2.exp: Likewise.
+
+2011-05-15  Richard Sandiford  <rdsandiford@googlemail.com>
+
+       * lib/ld-lib.exp (run_ld_link_tests): Simplify pass/fail logic.
+       Fail if the link command fails and if no test rules are defined.
+       * ld-mips-elf/reloc-6a.s, ld-mips-elf/reloc-6b.s: New tests.
+       * ld-mips-elf/mips-elf.exp: Run them.
+
+2011-05-13  Bernd Schmidt  <bernds@codesourcery.com>
+
+       * ld-tic6x/dsbt.ld (OUTPUT_FORMAT): Add.
+       * ld-tic6x/tic6x.exp: Add OSABI tests.
+
+2011-05-13  Alan Modra  <amodra@gmail.com>
+
+       * ld-elf/flags1.d: Don't xfail tic6x.
+       * ld-scripts/weak.exp: Correct comments.  Don't xfail sh-pe.  Remove
+       redundant xfail.
+       * ld-selective/sel-dump.exp: Don't xfail alpha.
+       * ld-selective/selective.exp: Run for alpha.
+       * ld-undefined/weak-undef.exp: Don't xfail hppa64.
+
+2011-05-12  Bernd Schmidt  <bernds@codesourcery.com>
+
+       * config/default.exp (ld_assemble): Pass flags parameter to
+       default_ld_assemble.
+       (ld_assemble_flags): New function.
+       * ld-elf/frame.exp: Pass -mpic and -mpid flags to the assembler on
+       tic6x.
+       * ld-elf/exclude.exp: Likewise.
+       * lib/ld-lib.exp (default_ld_assemble): Take extra argument in_flags
+       and pass it to the assembler.
+
+2011-05-11  Richard Sandiford  <rdsandiford@googlemail.com>
+
+       * ld-mips-elf/mips-elf.exp: Add missing $has_newabi tests.
+
+2011-05-09  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * ld-elf/elf.exp (array_tests): Remove "pr12730".
+       (array_tests_pie): Remove "PIE pr12730".
+       (array_tests_static): Remove "static pr12730".
+
+       * ld-elf/pr12730.cc: Removed.
+       * ld-elf/pr12730.out: Likewise.
+
+2011-05-09  Paul Brook  <paul@codesourcery.com>
+
+       * ld-tic6x/discard-unwind.ld: New.
+       * ld-tic6x/unwind.ld: New.
+       * ld-tic6x/unwind-1.d: New test.
+       * ld-tic6x/unwind-1.s: New test.
+       * ld-tic6x/unwind-2.d: New test.
+       * ld-tic6x/unwind-2.s: New test.
+       * ld-tic6x/unwind-3.d: New test.
+       * ld-tic6x/unwind-3.s: New test.
+       * ld-tic6x/unwind-4.d: New test.
+       * ld-tic6x/unwind-4.s: New test.
+       * ld-tic6x/unwind-5.d: New test.
+       * ld-tic6x/unwind-5.s: New test.
+       * ld-tic6x/unwind-6.d: New test.
+
+2011-05-07  Dave Korn  <dave.korn.cygwin@gmail.com>
+
+       PR ld/12365
+       * ld-plugin/plugin-7.d: Allow underscore in error message.
+       * ld-plugin/plugin-8.d: Likewise.
+
 2011-05-07  H.J. Lu  <hongjiu.lu@intel.com>
 
        PR ld/12730
 
 2011-05-03  Paul Brook  <paul@codesourcery.com>
 
-
        * ld-tic6x/ehtype-reloc-1-rel.d: New test.
        * ld-tic6x/ehtype-reloc-1.d: New test.
        * ld-tic6x/ehtype-reloc-1.s: New test.