diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2009-01-02 16:48:11 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2009-01-02 16:48:11 +0000 |
commit | d88805311b781c162446afb8d31c2bb854b024cc (patch) | |
tree | f14e917e736214c982713293d687558cc4b55268 /ld/testsuite | |
parent | b70b5c14d5d10dfb85d2c23728d0fd2362f98f16 (diff) | |
download | gdb-d88805311b781c162446afb8d31c2bb854b024cc.zip gdb-d88805311b781c162446afb8d31c2bb854b024cc.tar.gz gdb-d88805311b781c162446afb8d31c2bb854b024cc.tar.bz2 |
bfd/
2009-01-02 H.J. Lu <hongjiu.lu@intel.com>
PR ld/9676
* elflink.c (elf_link_add_object_symbols): Update def_dynamic,
ref_dynamic and dynamic_def fields when setting def_regular
to 1.
ld/testsuite/
2009-01-02 H.J. Lu <hongjiu.lu@intel.com>
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.
* 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.
* lib/ld-lib.exp (ar_simple_create): New.
(run_ld_link_tests): Support archive.
(run_cc_link_tests): Likewiswe.
Diffstat (limited to 'ld/testsuite')
-rw-r--r-- | ld/testsuite/ChangeLog | 1013 | ||||
-rw-r--r-- | ld/testsuite/ChangeLog-2008 | 1010 | ||||
-rw-r--r-- | ld/testsuite/ld-elf/pr9676-1.c | 15 | ||||
-rw-r--r-- | ld/testsuite/ld-elf/pr9676-2.c | 14 | ||||
-rw-r--r-- | ld/testsuite/ld-elf/pr9676-3.c | 7 | ||||
-rw-r--r-- | ld/testsuite/ld-elf/pr9676-4.c | 9 | ||||
-rw-r--r-- | ld/testsuite/ld-elf/pr9676.rd | 5 | ||||
-rw-r--r-- | ld/testsuite/ld-elf/shared.exp | 16 | ||||
-rw-r--r-- | ld/testsuite/lib/ld-lib.exp | 44 |
9 files changed, 1132 insertions, 1001 deletions
diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog index df990ac..7936368 100644 --- a/ld/testsuite/ChangeLog +++ b/ld/testsuite/ChangeLog @@ -1,1006 +1,21 @@ -2008-12-23 Jon Beniston <jon@beniston.com> +2009-01-02 H.J. Lu <hongjiu.lu@intel.com> - * ld-elf/merge.d: Indicate test fails on LM32. - -2008-12-23 Hans-Peter Nilsson <hp@axis.com> + 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. - * lib/ld-lib.exp (run_dump_test): New option ld_after_inputfiles. - * ld-cris/libdso-1c.d, ld-cris/expdref2.s, ld-cris/libdso-15b.d, - ld-cris/expdyn1w.s, ld-cris/libdso-1d.d, ld-cris/tls-ie-78.d: New - tests. + * 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 Nick Clifton <nickc@redhat.com> + * lib/ld-lib.exp (ar_simple_create): New. + (run_ld_link_tests): Support archive. + (run_cc_link_tests): Likewiswe. - * ld-i386/i386.exp: Do not run ifunc test. - * ld-i386/ifunc.s: Delete. - * ld-i386/ifunc.d: Delete. - * ld-x86-64/x86-64.exp: Do not run ifunc test. - * ld-x86-64/ifunc.s: Delete. - * ld-x86-64/ifunc.d: Delete. - -2008-12-20 Hans-Peter Nilsson <hp@axis.com> - - * ld-cris/tls-err-77.d, ld-cris/tls-gc-79.d, ld-cris/tls-ie-8e.s, - ld-cris/tls-ie-8e1.d: New tests. - -2008-12-18 H.J. Lu <hongjiu.lu@intel.com> - - * ld-i386/tlsld1.dd: Remove trailing white spaces after nop. - -2008-12-17 Hans-Peter Nilsson <hp@axis.com> - - * ld-cris/expalltst3, ld-cris/expdyn2.s, ld-cris/libdso-15.d: New - tests. - -2008-12-15 Richard Earnshaw <rearnsha@arm.com> - - * ld-arm/vfp11-fix-scalar.d: Disassembly of VFP instructions now uses - unified syntax. - * ld-arm/vfp11-fix-vector.d: Likewise. - -2008-12-15 Hans-Peter Nilsson <hp@axis.com> - - * ld-cris/libdso-13b.d: New test. - - * ld-cris/hidedsofns2468, ld-cris/libdso-12b.d, - ld-cris/libdso-12c.d, ld-cris/libdso-1b.d, ld-cris/dso-1b.s: New - tests. - - * ld-cris/got7.s: Correct .size expression. - * ld-cris/tls-e-20a.d: Adjust accordingly. - -2008-12-04 Nick Clifton <nickc@redhat.com> - - * ld-x86-64/ifunc.d: New test (of STT_IFUNC for x86_64). - * ld-x86-64/ifunc.s: Source file for new test. - * ld-x86-64/x86-64.exp: Run the new test. - * ld-i386/ifunc.d: Tidy up regexps for expected output. - -2008-12-03 Nick Clifton <nickc@redhat.com> - - * ld-mips-elf/reloc-1-n32.d: Updated expected output for reloc - descriptions. - * ld-mips-elf/reloc-1-n64.d: Likewise. - * ld-i386/ifunc.d: New test. - * ld-i386/ifunc.s: Source file for the new test. - * ld-i386/i386.exp: Run the new test. - -2008-11-25 Joseph Myers <joseph@codesourcery.com> - - * ld-arm/thumb2-bl-undefweak.d, ld-arm/thumb2-bl-undefweak.s: New. - * ld-arm/arm-elf.exp: Run thumb2-bl-undefweak test. - -2008-11-25 Hans-Peter Nilsson <hp@axis.com> - - * ld-cris/got7.s, ld-cris/init.s, ld-cris/pic-gc-72.d, - ld-cris/pic-gc-72.s, ld-cris/pic-gc-73.d, ld-cris/pic-gc-73.s, - ld-cris/tls-dso-x1x2-1.d, ld-cris/tls-dso-xz-1.d, - ld-cris/tls-dtprelm.s, ld-cris/tls-e-20.d, ld-cris/tls-e-20a.d, - ld-cris/tls-e-21.d, ld-cris/tls-e-22.d, ld-cris/tls-e-23.d, - ld-cris/tls-e-66.d, ld-cris/tls-err-20x.d, ld-cris/tls-err-24.d, - ld-cris/tls-err-25.d, ld-cris/tls-err-26.d, ld-cris/tls-err-27.d, - ld-cris/tls-err-28.d, ld-cris/tls-err-29.d, ld-cris/tls-err-31.d, - ld-cris/tls-err-33.d, ld-cris/tls-err-35.d, ld-cris/tls-err-37.d, - ld-cris/tls-err-39.d, ld-cris/tls-err-40.d, ld-cris/tls-err-41.d, - ld-cris/tls-err-43.d, ld-cris/tls-err-44.d, ld-cris/tls-err-45.d, - ld-cris/tls-err-47.d, ld-cris/tls-err-48.d, ld-cris/tls-err-49.d, - ld-cris/tls-err-51.d, ld-cris/tls-err-52.d, ld-cris/tls-err-53.d, - ld-cris/tls-err-55.d, ld-cris/tls-err-55.s, ld-cris/tls-err-56.d, - ld-cris/tls-err-56.s, ld-cris/tls-err-62.d, ld-cris/tls-err-62.s, - ld-cris/tls-err-65.d, ld-cris/tls-err-67.d, ld-cris/tls-gc-68.d, - ld-cris/tls-gc-69.d, ld-cris/tls-gc-70.d, ld-cris/tls-gc-71.d, - ld-cris/tls-gc-71.s, ld-cris/tls-gc-75.d, ld-cris/tls-gc-76.d, - ld-cris/tls-gc-76.s, ld-cris/tls-gd-1.d, ld-cris/tls-gd-1.s, - ld-cris/tls-gd-1h.d, ld-cris/tls-gd-2.d, ld-cris/tls-gd-2.s, - ld-cris/tls-gd-2h.d, ld-cris/tls-gd-3.d, ld-cris/tls-gd-3.s, - ld-cris/tls-gd-3h.d, ld-cris/tls-gdgotrelm.s, ld-cris/tls-global-74.d, - ld-cris/tls-gottprelm.s, ld-cris/tls-hx.s, ld-cris/tls-hx1x2.s, - ld-cris/tls-ie-10.d, ld-cris/tls-ie-10.s, ld-cris/tls-ie-11.d, - ld-cris/tls-ie-11.s, ld-cris/tls-ie-8.d, ld-cris/tls-ie-8.s, - ld-cris/tls-ie-9.d, ld-cris/tls-ie-9.s, ld-cris/tls-ld-4.d, - ld-cris/tls-ld-4.s, ld-cris/tls-ld-5.d, ld-cris/tls-ld-5.s, - ld-cris/tls-ld-6.d, ld-cris/tls-ld-6.s, ld-cris/tls-ld-7.d, - ld-cris/tls-ld-7.s, ld-cris/tls-ldgd-14.d, ld-cris/tls-ldgd-14.s, - ld-cris/tls-ldgd-15.d, ld-cris/tls-ldgd-15.s, ld-cris/tls-ldgde-14.d, - ld-cris/tls-ldgde-15.d, ld-cris/tls-ldgdex-14.d, - ld-cris/tls-ldgdex-15.d, ld-cris/tls-ldgdx-14.d, - ld-cris/tls-ldgdx-15.d, ld-cris/tls-le-12.d, ld-cris/tls-le-12.s, - ld-cris/tls-le-12s.d, ld-cris/tls-le-12s.s, ld-cris/tls-le-13.d, - ld-cris/tls-le-13.s, ld-cris/tls-le-13s.d, ld-cris/tls-le-13s.s, - ld-cris/tls-legd-16.d, ld-cris/tls-legd-16.s, 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-leie-19.s, ld-cris/tls-local-54.d, - ld-cris/tls-local-54.s, ld-cris/tls-local-57.d, - ld-cris/tls-local-57.s, ld-cris/tls-local-58.d, - ld-cris/tls-local-58.s, ld-cris/tls-local-59.d, - ld-cris/tls-local-59.s, ld-cris/tls-local-60.d, - ld-cris/tls-local-61.d, ld-cris/tls-local-63.d, - ld-cris/tls-local-64.d, ld-cris/tls-ok-30.d, ld-cris/tls-ok-32.d, - ld-cris/tls-ok-34.d, ld-cris/tls-ok-36.d, ld-cris/tls-tprelm.s, - ld-cris/tls-und-38.d, ld-cris/tls-und-42.d, ld-cris/tls-und-46.d, - ld-cris/tls-und-50.d, ld-cris/tls-x.s, ld-cris/tls-x1x2.s, - ld-cris/tls-z.s, ld-cris/tls128.s, ld-cris/tls128g.s: New tests. - - * ld-cris/start1.s: Prepend register name with $. - - * ld-cris/dso-1.s, ld-cris/libdso-1.d, ld-cris/libdso-11.d, - ld-cris/libdso-2.d, ld-cris/pv32.s, ld-cris/undef1.d: Correct - .size expressions and adjust expected output accordingly. - -2008-11-23 Hans-Peter Nilsson <hp@axis.com> - - * ld-cris/badgotr1.d: Robustify regexp. - -2008-10-29 Nick Clifton <nickc@redhat.com> - - * ld-gc/gc.c (dummy_func): New function - present so that - underscore prefixed aliases can be created of the used_func and - main functions. - -2008-10-10 Nathan Froyd <froydnj@codesourcery.com> - - * ld-powerpc/gnu-attr-12-1.s: New file. - * ld-powerpc/gnu-attr-12-2.s: New file. - * ld-powerpc/gnu-attr-12-11.d: New file. - * ld-powerpc/gnu-attr-12-21.d: New file. - * ld-powerpc/powerpc.exp: Run new dump tests. - -2008-10-07 Nick Clifton <nickc@redhat.com> - - * ld-ia64/tlsbin.rd: Update expected output now that --wide does - not truncate section names. - * ld-ia64/tlspic.rd: Likewise. - -2008-10-06 Tom Tromey <tromey@redhat.com> - - * ld-elf/eh1.d, ld-elf/eh2.d, ld-elf/eh3.d, ld-elf/eh4.d, - ld-elf/eh5.d, ld-elf/eh6.d, ld-mips-elf/eh-frame1-n32.d, - ld-mips-elf/eh-frame1-n64.d, ld-mips-elf/eh-frame2-n32.d, - ld-mips-elf/eh-frame2-n64.d, ld-mips-elf/eh-frame3.d, - ld-mips-elf/eh-frame4.d: Update for readelf change. - -2008-10-04 H.J. Lu <hongjiu.lu@intel.com> - - PR ld/6931 - * ld-elf/group7.d: New. - -2008-10-03 H.J. Lu <hongjiu.lu@intel.com> - - * ld-elf/group5.d: Updated. - * ld-elf/group6.d: Likewise. - -2008-10-03 Tristan Gingold <gingold@adacore.com> - - * ld-elf/stab.d: Don't run on alpha (to avoid relocation - overflow on 64 bits targets whose stab values is 32 bits). - -2008-10-03 H.J. Lu <hongjiu.lu@intel.com> - - PR ld/6931 - * ld-elf/group4.d: New. - * ld-elf/group5.d: Likewise. - * ld-elf/group6.d: Likewise. - -2008-10-03 Alan Modra <amodra@bigpond.net.au> - - * ld-powerpc/vxworks1-lib.rd: Update. - -2008-09-29 Alan Modra <amodra@bigpond.net.au> - - * ld-elf/extract-symbol-1sec.d: Correct section lma. - -2008-09-25 Alan Modra <amodra@bigpond.net.au> - - * ld-elf/eh-group.exp: Only run on ELF targets. - * ld-elf/eh5b.s: Export main, start, __start. - -2008-09-20 Richard Sandiford <rdsandiford@googlemail.com> - - * ld-mips-elf/reloc-estimate-1.d: Make endian-neutral. - -2008-09-20 Jan Kratochvil <jan.kratochvil@redhat.com> - - Provide virtual target "cfi" for targets supporting CFI. - * ld-elf/eh-frame-hdr.d: Replace target and xfail statements by single - `target: cfi'. - * ld-elf/eh-group.exp: Call check_as_cfi instead of is_elf_format. - * ld-elf/eh-group1.s, elf/eh-group2.s: Use more compatible section - flags prefix '%'. - * ld-elf/eh5.d: Replace target statement by `target: cfi' with an Alpha - exception. Relax the `Code alignment factor' matching. - * lib/ld-lib.exp: Rename istarget as istarget_ld. - (istarget, check_as_cfi): New procedure. - (run_dump_test): New comment for the virtual target `cfi'. - -2008-09-17 Jan Kratochvil <jan.kratochvil@redhat.com> - - * ld-elf/eh-group.exp, ld-elf/eh-group1.s, ld-elf/eh-group2.s: New test. - -2008-09-17 Jan Kratochvil <jan.kratochvil@redhat.com> - - Fix testcases compilation failures due to unused variables. - * ld-elfcomm/common1b.c (dummy1): Mark the variable for GCC as USED. - * ld-shared/main.c (main): Move the P variable only to the places where - it is used. - -2008-09-16 H.J. Lu <hongjiu.lu@intel.com> - - PR ld/6877 - * ld-elf/comm1.c: New. - * ld-elf/func1.c: Likewise. - - * ld-elf/shared.exp: Add tests for libfunc1.so and comm1. - -2008-08-26 Nick Clifton <nickc@redhat.com> - - * ld-arm/arm-elf.exp: Add farcall-thumb-arm-short test. - * ld-arm/farcall-group2.s: Fix comment. - * ld-arm/farcall-thumb-arm-short.d: New test. - * ld-arm/farcall-thumb-arm-short.s: New test. - -2008-08-22 Jan Kratochvil <jan.kratochvil@redhat.com> - - * ld-x86-64/dwarfreloc.exp, ld-x86-64/dwarfreloc.rd, - ld-x86-64/dwarfreloc1.s, ld-x86-64/dwarfreloc2.s: New test. - -2008-08-20 Bob Wilson <bob.wilson@acm.org> - - * ld-xtensa/tlsbin.dd, ld-xtensa/tlsbin.rd, ld-xtensa/tlsbin.s, - ld-xtensa/tlsbin.sd, ld-xtensa/tlsbin.td, ld-xtensa/tlslib.s, - ld-xtensa/tlspic.dd, ld-xtensa/tlspic.rd, ld-xtensa/tlspic.sd, - ld-xtensa/tlspic.td, ld-xtensa/tlspic1.s, ld-xtensa/tlspic2.s: New. - * ld-xtensa/xtensa.exp: Run them. - -2008-08-18 Richard Sandiford <rdsandiford@googlemail.com> - - * ld-mips-elf/mips16-pic-4a.s, ld-mips-elf/mips16-pic-4b.s, - ld-mips-elf/mips16-pic-4.ver, ld-mips-elf/mips16-pic-4a.dd, - ld-mips-elf/mips16-pic-4a.nd, ld-mips-elf/mips16-pic-4a.gd, - ld-mips-elf/mips16-pic-4c.s, ld-mips-elf/mips16-pic-4b.dd: New tests. - * ld-mips-elf/mips-elf.exp: Run them. - -2008-08-17 Nick Clifton <nickc@redhat.com> - - * ld-elf/sec-to-seg1.s: Shorten test data to align the section to - a 4-byte boundary. - -2008-08-08 Richard Sandiford <rdsandiford@googlemail.com> - Daniel Jacobowitz <dan@codesourcery.com> - - * ld-mips-elf/mips16-pic-3a.s, - ld-mips-elf/mips16-pic-3b.s, - ld-mips-elf/mips16-pic-3.dd, - ld-mips-elf/mips16-pic-3.gd, - ld-mips-elf/mips16-pic-3.rd, - ld-mips-elf/mips16-pic-3.inc, - ld-mips-elf/pic-and-nonpic-1a.s, - ld-mips-elf/pic-and-nonpic-1b.s, - ld-mips-elf/pic-and-nonpic-1.ld, - ld-mips-elf/pic-and-nonpic-1.dd, - ld-mips-elf/pic-and-nonpic-1.nd, - ld-mips-elf/pic-and-nonpic-1-rel.dd, - ld-mips-elf/pic-and-nonpic-1-rel.nd, - ld-mips-elf/pic-and-nonpic-2a.s, - ld-mips-elf/pic-and-nonpic-2b.s, - ld-mips-elf/pic-and-nonpic-2.d, - ld-mips-elf/pic-and-nonpic-3a.s, - ld-mips-elf/pic-and-nonpic-3a.ld, - ld-mips-elf/pic-and-nonpic-3a.dd, - ld-mips-elf/pic-and-nonpic-3a.gd, - ld-mips-elf/pic-and-nonpic-3a.sd, - ld-mips-elf/pic-and-nonpic-3b.s, - ld-mips-elf/pic-and-nonpic-3b.ld, - ld-mips-elf/pic-and-nonpic-3b.ad, - ld-mips-elf/pic-and-nonpic-3b.dd, - ld-mips-elf/pic-and-nonpic-3b.gd, - ld-mips-elf/pic-and-nonpic-3b.nd, - ld-mips-elf/pic-and-nonpic-3b.pd, - ld-mips-elf/pic-and-nonpic-3b.rd, - ld-mips-elf/pic-and-nonpic-3b.sd, - ld-mips-elf/pic-and-nonpic-3-error.d, - ld-mips-elf/pic-and-nonpic-4a.s, - ld-mips-elf/pic-and-nonpic-4b.s, - ld-mips-elf/pic-and-nonpic-4b.ld, - ld-mips-elf/pic-and-nonpic-4b.ad, - ld-mips-elf/pic-and-nonpic-4b.dd, - ld-mips-elf/pic-and-nonpic-4b.gd, - ld-mips-elf/pic-and-nonpic-4b.nd, - ld-mips-elf/pic-and-nonpic-4b.rd, - ld-mips-elf/pic-and-nonpic-4b.sd, - ld-mips-elf/pic-and-nonpic-4-error.d, - ld-mips-elf/pic-and-nonpic-5a.s, - ld-mips-elf/pic-and-nonpic-5b.s, - ld-mips-elf/pic-and-nonpic-5b.ld, - ld-mips-elf/pic-and-nonpic-5b.ad, - ld-mips-elf/pic-and-nonpic-5b.dd, - ld-mips-elf/pic-and-nonpic-5b.gd, - ld-mips-elf/pic-and-nonpic-5b.nd, - ld-mips-elf/pic-and-nonpic-5b.rd, - ld-mips-elf/pic-and-nonpic-5b.sd, - ld-mips-elf/pic-and-nonpic-5b.pd, - ld-mips-elf/pic-and-nonpic-6.ld, - ld-mips-elf/pic-and-nonpic-6-o32a.s, - ld-mips-elf/pic-and-nonpic-6-o32b.s, - ld-mips-elf/pic-and-nonpic-6-o32c.s, - ld-mips-elf/pic-and-nonpic-6-o32.ad, - ld-mips-elf/pic-and-nonpic-6-o32.dd, - ld-mips-elf/pic-and-nonpic-6-o32.gd, - ld-mips-elf/pic-and-nonpic-6-o32.nd, - ld-mips-elf/pic-and-nonpic-6-o32.pd, - ld-mips-elf/pic-and-nonpic-6-o32.rd, - ld-mips-elf/pic-and-nonpic-6-o32.sd, - ld-mips-elf/pic-and-nonpic-6-n32a.s, - ld-mips-elf/pic-and-nonpic-6-n32b.s, - ld-mips-elf/pic-and-nonpic-6-n32c.s, - ld-mips-elf/pic-and-nonpic-6-n32.ad, - ld-mips-elf/pic-and-nonpic-6-n32.dd, - ld-mips-elf/pic-and-nonpic-6-n32.gd, - ld-mips-elf/pic-and-nonpic-6-n32.nd, - ld-mips-elf/pic-and-nonpic-6-n32.pd, - ld-mips-elf/pic-and-nonpic-6-n32.rd, - ld-mips-elf/pic-and-nonpic-6-n32.sd, - ld-mips-elf/pic-and-nonpic-6-n64a.s, - ld-mips-elf/pic-and-nonpic-6-n64b.s, - ld-mips-elf/pic-and-nonpic-6-n64c.s, - ld-mips-elf/pic-and-nonpic-6-n64.ad, - ld-mips-elf/pic-and-nonpic-6-n64.dd, - ld-mips-elf/pic-and-nonpic-6-n64.gd, - ld-mips-elf/pic-and-nonpic-6-n64.nd, - ld-mips-elf/pic-and-nonpic-6-n64.pd, - ld-mips-elf/pic-and-nonpic-6-n64.rd, - ld-mips-elf/pic-and-nonpic-6-n64.sd: New tests. - * ld-mips-elf/mips-elf.exp: Run them. - -2008-08-07 Richard Sandiford <rdsandiford@googlemail.com> - - * ld-mips-elf/tls-hidden4.got, ld-mips-elf/tls-hidden4.r: We have - removed an unused GOT entry that was allocated for the R_MIPS_32 - relocation against "undef", so adjust addresses down by 4 bytes. - * ld-mips-elf/got-dump-1.d, ld-mips-elf/got-dump-2.d: We have - changed the order of the GOT entries so that reloc-only ones - come last. "undef" is only referred to by dynamic relocations, - so it now comes after "glob". - * ld-mips-elf/mips16-pic-2.dd, ld-mips-elf/mips16-pic-2.gd, - ld-mips-elf/mips16-pic-2.nd, ld-mips-elf/mips16-pic-2.rd: We have - removed two unused local GOT entries that were originally created - as global entries for the hidden symbols "used2" and "used3". - "used4" and "used5" are only referred to by relocations, so they - now come after "used6" and "used7". - -2008-08-07 Richard Sandiford <rdsandiford@googlemail.com> - - * ld-mips-elf/got-vers-1a.s, ld-mips-elf/got-vers-1b.s, - ld-mips-elf/got-vers-1.ver, ld-mips-elf/got-vers-1.dd, - ld-mips-elf/got-vers-1.sd, ld-mips-elf/got-vers-1.rd: New tests. - * ld-mips-elf/mips-elf.exp: Run them. - -2008-08-07 Richard Sandiford <rdsandiford@googlemail.com> - - * ld-mips-elf/tlsdyn-o32-2.got, ld-mips-elf/tlsdyn-o32-3.got, - ld-mips-elf/tlsdyn-o32-2.d, ld-mips-elf/tlsdyn-o32-3.d: Change the - GOT layout as follows: - - BEFORE AFTER - +0x08 %call16(__tls_get_addr) %call16(__tls_get_addr) - +0x0c %tlsldm(tlsbin_ld) %gottprel(tlsvar_ie) - +0x10 " " %tlsgd(tlsvar_gd) - +0x14 %tlsgd(tlsvar_gd) " " - +0x18 " " %tlsgd(tlsbin_gd) - +0x1c %gottprel(tlsvar_ie) " " - +0x20 %tlsgd(tlsbin_gd) %tlsldm(tlsbin_ld) - +0x24 " " " " - +0x28 %gottprel(tlsbin_ie) %gottprel(tlsbin_ie) - -2008-08-07 Richard Sandiford <rdsandiford@googlemail.com> - - * ld-mips-elf/reloc-estimate-1.d, ld-mips-elf/reloc-estimate-1.ld, - ld-mips-elf/reloc-estimate-1a.s, ld-mips-elf/reloc-estimate-1b.s: - New test. - * ld-mips-elf/mips-elf.exp: Run it. - -2008-08-06 Richard Sandiford <rdsandiford@googlemail.com> - - * ld-mips-elf/tls-hidden3.ld: Remove the unused .MIPS.stubs section. - Keep the text start address the same. - * ld-mips-elf/tls-multi-got-1.got: We have removed a .MIPS.stubs - section that contained only a 16-byte dummy stub. Subtract 16 - from addresses to account for the change. - * ld-mips-elf/tls-multi-got-1.r: Likewise. Adjust MIPS_UNREFEXTNO - to account the removed section symbol. - * ld-mips-elf/tlsdyn-o32-1.d: We have deleted a .MIPS.stubs - section that contained only a 16-byte dummy stub. Remove it - from the disassembly. - * ld-mips-elf/tlsdyn-o32-2.d: Likewise. - * ld-mips-elf/tlsdyn-o32-3.d: Likewise. - * ld-mips-elf/tlsdyn-o32.d: Likewise. - * ld-mips-elf/relax-jalr-n32-shared.d: Likewise. - * ld-mips-elf/relax-jalr-n64-shared.d: Likewise. - -2008-08-06 Richard Sandiford <rdsandiford@googlemail.com> - - * ld-mips-elf/mips16-local-stubs-1.d: Remove stub_for_h3, - which was only referenced by the .pdr section, and was not - actually needed by code. - * ld-mips-elf/mips16-intermix.d: Remove unused static function stubs. - * ld-mips-elf/mips16-pic-1a.s, - ld-mips-elf/mips16-pic-1b.s, - ld-mips-elf/mips16-pic-1-dummy.s, - ld-mips-elf/mips16-pic-1.dd, - ld-mips-elf/mips16-pic-1.gd, - ld-mips-elf/mips16-pic-1.inc, - ld-mips-elf/mips16-pic-1.ld, - ld-mips-elf/mips16-pic-2a.s, - ld-mips-elf/mips16-pic-2b.s, - ld-mips-elf/mips16-pic-2.ad, - ld-mips-elf/mips16-pic-2.dd, - ld-mips-elf/mips16-pic-2.gd, - ld-mips-elf/mips16-pic-2.nd, - ld-mips-elf/mips16-pic-2.rd: New tests. - * ld-mips-elf/mips-elf.exp: Run them. - -2008-08-06 Alan Modra <amodra@bigpond.net.au> - - * ld-elf/extract-symbol-1sec.d: Update. - -2008-07-30 Nick Clifton <nickc@redhat.com> - - * ld-elf/sec-to-seg.exp: New test: Checks the assignment of - sections to segments. - * ld-elf/sec-to-seg1.s: Test source file. - * ld-elf/sec-to-seg2.s: Test source file. - * ld-elf/sec-to-seg-script-same-page.t: Test linker script. - * ld-elf/sec-to-seg-script-adjoining-pages.t: Test linker script. - * ld-elf/sec-to-seg-script-disjoint-pages.t: Test linker script. - -2008-07-28 Alexandre Oliva <aoliva@redhat.com> - - * ld-i386/tlsbindesc.dd: Adjust incorrect expectations for LD to - LE relaxation. - * ld-x86-64/tlsbindesc.dd: Likewise. - * ld-i386/tlsbindesc.rd: Adjust address of _TLS_MODULE_BASE_. - * ld-x86-64/tlsbindesc.rd: Likewise. - Reported by Cary Coutant <ccoutant@google.com> - -2008-07-27 Alan Modra <amodra@bigpond.net.au> - - * ld-gc/gc.exp (test_gc): xfail powerpc64. - -2008-07-26 Michael Eager <eager@eagercon.com> - - * ld-powerpc/powerpc.exp: Run new tests. - * ld-powerpc/attr-gnu-4-03.d: New file. - * ld-powerpc/attr-gnu-4-14.d: New file. - * ld-powerpc/attr-gnu-4-23.d: New file. - * ld-powerpc/attr-gnu-4-24.d: New file. - * ld-powerpc/attr-gnu-4-32.d: New file. - * ld-powerpc/attr-gnu-4-33.d: New file. - * ld-powerpc/attr-gnu-4-34.d: New file. - * ld-powerpc/attr-gnu-4-41.d: New file. - * ld-powerpc/attr-gnu-4-4.s: New file. - * ld-powerpc/attr-gnu-4-13.d: Adjust. - * ld-powerpc/attr-gnu-4-31.d: Adjust. - -2008-07-26 Alan Modra <amodra@bigpond.net.au> - - * ld-scripts/include.exp: Don't run test for aout. - * ld-scripts/include.s: Use .fill rather than .4byte. - * ld-scripts/include-1.d: Adjust. - -2008-07-22 Alan Modra <amodra@bigpond.net.au> - - * ld-alpha/tlsbin.rd: Update. - * ld-alpha/tlsbinr.rd: Update. - * ld-arm/mixed-app.sym: Update. - * ld-arm/use-thumb-lib.sym: Update. - * ld-cris/pv32-1.d: Update. - -2008-07-21 Nick Clifton <nickc@redhat.com> - - * ld-scripts/include-sections.t: Discard all sections not - explicitly requested by the rest of the linker script. - * ld-scripts/include-1.d: Expect test to fail for AIX ports. - Do not assume that the .text section will be marked readonly. - * ld-scripts/include.s: Replace .section directives with just - .text or .data. - -2008-07-18 Joseph Myers <joseph@codesourcery.com> - - * ld-arm/attr-merge-wchar-0.s,ld-arm/attr-merge-wchar-2.s, - ld-arm/attr-merge-wchar-4.s, ld-arm/attr-merge-wchar-00-nowarn.d, - ld-arm/attr-merge-wchar-00.d, ld-arm/attr-merge-wchar-02-nowarn.d, - ld-arm/attr-merge-wchar-02.d, ld-arm/attr-merge-wchar-04-nowarn.d, - ld-arm/attr-merge-wchar-04.d, ld-arm/attr-merge-wchar-20-nowarn.d, - ld-arm/attr-merge-wchar-20.d, ld-arm/attr-merge-wchar-22-nowarn.d, - ld-arm/attr-merge-wchar-22.d, ld-arm/attr-merge-wchar-24-nowarn.d, - ld-arm/attr-merge-wchar-24.d, ld-arm/attr-merge-wchar-40-nowarn.d, - ld-arm/attr-merge-wchar-40.d, ld-arm/attr-merge-wchar-42-nowarn.d, - ld-arm/attr-merge-wchar-42.d, ld-arm/attr-merge-wchar-44-nowarn.d, - ld-arm/attr-merge-wchar-44.d: New. - * ld-arm/arm-elf.exp: Run new tests. - -2008-07-11 H.J. Lu <hongjiu.lu@intel.com> - - * ld-m68k/got-12.s: Removed. - * ld-m68k/got-13.s: Likewise. - * ld-m68k/got-14.s: Likewise. - * ld-m68k/got-15.s: Likewise. - * ld-m68k/got-34.s: Likewise. - * ld-m68k/got-35.s: Likewise. - * ld-m68k/xgot-15.s: Likewise. - - * ld-m68k/got-multigot-12-13-14-34-35-ok.d: Remove #source - and expected relocations. - * ld-m68k/got-multigot-14-ok.d: Likewise. - * ld-m68k/got-negative-12-13-14-34-ok.d: Likewise. - * ld-m68k/got-negative-14-ok.d: Likewise. - * ld-m68k/got-single-12-ok.d: Likewise. - * ld-m68k/got-xgot-12-13-14-15-34-35-ok.d: Likewise. - * ld-m68k/got-xgot-15-ok.d: Likewise. - - * ld-m68k/got-multigot-15-er.d: Remove #source. - * ld-m68k/got-negative-12-13-14-35-er.d: Likewise. - * ld-m68k/got-negative-15-er.d: Likewise. - * ld-m68k/got-single-13-er.d: Likewise. - - * ld-m68k/m68k.exp: Move GOT tests to ... - * ld-m68k/m68k-got.exp: This. New. - -2008-07-10 Richard Sandiford <rdsandiford@googlemail.com> - - * ld-mips-elf/no-shared-1-o32.s, - ld-mips-elf/no-shared-1-o32.d, - ld-mips-elf/no-shared-1-n32.d, - ld-mips-elf/no-shared-1-n64.s, - ld-mips-elf/no-shared-1-n64.d, - ld-mips-elf/no-shared-1.ld: New tests. - * ld-mips-elf/mips-elf.exp: Run them. - -2008-07-07 Stan Shebs <stan@codesourcery.com> - - * ld-arm/arm-elf.exp: Use objdump -d for arm-be8 test. - * ld-arm/arm-be8.d: Change to test disassembly. - -2008-07-06 Nathan Sidwell <nathan@codesourcery.com> - - * ld-scripts/include-1.d: New. - * ld-scripts/include-1.t: New. - * ld-scripts/include-data.t: New. - * ld-scripts/include-mem.t: New. - * ld-scripts/include-ram.t: New. - * ld-scripts/include-sections.t: New. - * ld-scripts/include-subdata.t: New. - * ld-scripts/include.exp: New. - * ld-scripts/include.s: New. - -2008-06-29 Andreas Schwab <schwab@suse.de> - - * ld-m68k/got-1.s: New file. - * ld-m68k/got-1.d: New dump test. - * ld-m68k/m68k.exp: Run it. - -2008-06-24 Daniel Jacobowitz <dan@codesourcery.com> - - * 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-blx-pic-veneer.d, - ld-arm/farcall-thumb-arm-blx.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/thumb2-bl-as-thumb1-bad.d, ld-arm/thumb2-bl-bad.d: Update for - stub symbols and stub corrections. - -2008-06-20 Alan Modra <amodra@bigpond.net.au> - - * ld-spu/ovl.d: Update. - * ld-spu/ovl2.d: Update. - -2008-06-16 Hans-Peter Nilsson <hp@bitrange.com> - - PR gas/6607 - * ld-mmix/loc10.d, ld-mmix/loc10.s, ld-mmix/loc10m.d, ld-mmix/loc8.d, - ld-mmix/loc8.s, ld-mmix/loc8m.d, ld-mmix/loc9.d, ld-mmix/loc9.s, - ld-mmix/loc9m.d: New tests. - -2008-06-12 Nick Clifton <nickc@redhat.com> - - * ld-scripts/overlay-size.t (end_of_bss_overlays): Define. - (end_of_text_overlays): Define. - (end_of_data_overlays): Define. - * ld-scripts/overlay-size-map.d: Add expected values for - end_of_bss_overlays, end_of_text_overlays and - end_of_data_overlays. - -2008-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp> - - * ld-sh/arch/arch_expected.txt: Regenerate. - -2008-06-09 Daniel Jacobowitz <dan@codesourcery.com> - - * ld-arm/mixed-lib.d: Loosen pattern. - -2008-06-09 Christophe Lyon <christophe.lyon@st.com> - - * ld-arm/farcall-thumb-thumb-m.d: Fix branch type. - * ld-arm/farcall-thumb-arm.d: Likewise. - -2008-05-31 Nick Clifton <nickc@redhat.com> - - PR ld/6430 - * ld-elfcomm/elfcomm.exp (test_sort_common): Test the - ascending/descending argument to the --sort-common command line - option. - * ld-elfcomm/sort-common.s: New file. - -2008-05-28 Christophe Lyon <christophe.lyon@st.com> - - * ld-arm/arm-elf.exp: Skip farcalls tests for non-ARM-EABI - targets. - * ld-arm/thumb2-bl-as-thumb1-bad-noeabi.d: New file. - * ld-arm/thumb2-bl-bad-noeabi.d: Likewise. - -2008-05-22 Christophe Lyon <christophe.lyon@st.com> - - * ld-arm/farcall-arm-arm.s: Force function type on 'bar'. - * ld-arm/farcall-thumb-arm.s: Likewise. - * ld-arm/farcall-thumb-arm-blx.d: Fix encoding. - * ld-arm/farcall-thumb-arm.d: Likewise. - * ld-arm/farcall-thumb-arm-blx-pic-veneer.d: Likewise. - * ld-arm/arm-elf.exp (armelftests): Add farcall-mix, farcall-mix2, - farcall-group-default, farcall-group-size2, farcall-section Ignore - gas warnings in farcall-thumb-arm, farcall-thumb-arm-blx, - farcall-thumb-arm-blx-pic-veneer. - -2008-05-21 Maxim Kuvyrkov <maxim@codesourcery.com> - - * ld-m68k/got-12.s: New file. - * ld-m68k/got-13.s: New file. - * ld-m68k/got-14.s: New file. - * ld-m68k/got-15.s: New file. - * ld-m68k/got-34.s: New file. - * ld-m68k/got-35.s: New file. - * ld-m68k/got-single-12-ok.d: New dump test. - * ld-m68k/got-single-13-er.d: New dump test. - * ld-m68k/got-negative-14-ok.d: New dump test. - * ld-m68k/got-negative-15-er.d: New dump test. - * ld-m68k/got-negative-12-13-14-34-ok.d: New dump test. - * ld-m68k/got-negative-12-13-14-35-er.d: New dump test. - * ld-m68k/got-multigot-14-ok.d: New dump test. - * ld-m68k/got-multigot-15-er.d: New dump test. - * ld-m68k/got-multigot-12-13-14-34-35-ok.d: New dump test. - * ld-m68k/xgot-15.s: New source. - * ld-m68k/got-xgot-15-ok.d: New test. - * ld-m68k/got-xgot-12-13-14-15-34-35-ok.d: New test. - * ld-m68k/m68k.exp: Run new tests. - -2008-05-15 Christophe Lyon <christophe.lyon@st.com> - - * ld-arm/arm-elf.exp (armelftests): Add farcall-arm-arm, - farcall-arm-arm-pic-veneer, farcall-arm-arm-be8 farcall-arm-thumb, - farcall-arm-thumb-blx, farcall-arm-thumb-pic-veneer, - farcall-arm-thumb-blx-pic-veneer, farcall-thumb-thumb, - farcall-thumb-thumb-pic-veneer, farcall-thumb-thumb-blx, - farcall-thumb-thumb-m, farcall-thumb-thumb-m-pic-veneer, - farcall-thumb-thumb-blx-pic-veneer, farcall-thumb-arm, - farcall-thumb-arm-pic-veneer, farcall-thumb-arm-blx, - farcall-thumb-arm-blx-pic-veneer. - Change thumb2-bl-as-thumb1-bad, thumb2-bl-bad. - * ld-arm/thumb2-bl-as-thumb1-bad.d: Reflects farcall stub - generation. - * ld-arm/thumb2-bl-bad.d: Likewise. - * ld-arm/thumb2-bl-as-thumb1-bad.s: Update comments. - * ld-arm/thumb2-bl-bad.s: Likewise. - -2008-05-08 Alan Modra <amodra@bigpond.net.au> - - * ld-spu/ear.s: Align various sections. - * ld-spu/embed.rd: Update. - -2008-05-05 Alan Modra <amodra@bigpond.net.au> - - PR 6473 - * ld-elf/lma.s, ld-elf/lma.lnk: New test. - * ld-elf/binutils.exp: Run it. - -2008-05-03 Mike Frysinger <vapier@gentoo.org> - - * ld-scripts/defined.s: Use .set syntax rather than =. - -2008-05-02 H.J. Lu <hongjiu.lu@intel.com> - - PR ld/6475 - * ld-scripts/rgn-over8-ok.d: Accept any alignment. - -2008-04-29 Daniel Jacobowitz <dan@codesourcery.com> - - * ld-arm/symbian-seg1.s, ld-arm/symbian-seg1.d: New files. - * ld-arm/arm-elf.exp: Run symbian-seg1. - -2008-04-28 Nathan Sidwell <nathan@codesourcery.com> - - * ld-scripts/rgn-over8.s: Tweak. - - * ld-scripts/rgn-over.exp: Allow -ok file names to pass. - * ld-scripts/rgn-over8.s: New. - * ld-scripts/rgn-over8.t: New. - * ld-scripts/rgn-over8-ok.d: New. - -2008-04-21 Nathan Sidwell <nathan@codesourcery.com> - - * ld-vxworks/plt-mips1.s: New. - * ld-vxworks/plt-mips1.d: New. - -2008-04-16 David S. Miller <davem@davemloft.net> - - * ld-sparc/gotop32.dd: New. - * ld-sparc/gotop32.rd: Likewise. - * ld-sparc/gotop32.s: Likewise. - * ld-sparc/gotop32.sd: Likewise. - * ld-sparc/gotop32.td: Likewise. - * ld-sparc/gotop64.dd: Likewise. - * ld-sparc/gotop64.rd: Likewise. - * ld-sparc/gotop64.s: Likewise. - * ld-sparc/gotop64.sd: Likewise. - * ld-sparc/gotop64.td: Likewise. - * ld-sparc/sparc.exp: Run new gotdata tests. - -2008-04-15 Andrew Stubbs <andrew.stubbs@st.com> - - * ld-sh/arch/sh-dsp.s: Regenerate. - * ld-sh/arch/sh.s: Regenerate. - * ld-sh/arch/sh2.s: Regenerate. - * ld-sh/arch/sh2a-nofpu-or-sh3-nommu.s: Regenerate. - * ld-sh/arch/sh2a-nofpu-or-sh4-nommu-nofpu.s: Regenerate. - * ld-sh/arch/sh2a-nofpu.s: Regenerate. - * ld-sh/arch/sh2a-or-sh3e.s: Regenerate.: Regenerate. - * ld-sh/arch/sh2a-or-sh4.s: Regenerate. - * ld-sh/arch/sh2a.s: Regenerate. - * ld-sh/arch/sh2e.s: Regenerate. - * ld-sh/arch/sh3-dsp.s: Regenerate. - * ld-sh/arch/sh3-nommu.s: Regenerate. - * ld-sh/arch/sh3.s: Regenerate. - * ld-sh/arch/sh3e.s: Regenerate. - * ld-sh/arch/sh4-nofpu.s: Regenerate. - * ld-sh/arch/sh4-nommu-nofpu.s: Regenerate. - * ld-sh/arch/sh4.s: Regenerate. - * ld-sh/arch/sh4a-nofpu.s: Regenerate. - * ld-sh/arch/sh4a.s: Regenerate. - * ld-sh/arch/sh4al-dsp.s: Regenerate. - -2008-04-08 Alan Modra <amodra@bigpond.net.au> - - * ld-spu/ovl2.s: Extend to test jump table references and - absolute _SPUEAR_ syms. - * ld-spu/ovl2.d: Update. - -2008-03-28 Joseph Myers <joseph@codesourcery.com> - - * ld-elfcomm/elfcomm.exp: Run $READELF not readelf. - -2008-03-26 Daniel Jacobowitz <dan@codesourcery.com> - - * ld-elf/flags1.d: Adjust for MIPS text alignment. - -2008-03-25 Nathan Sidwell <nathan@codesourcery.com> - - * ld-vxworks/tls-3.s: New. - * ld-vxworks/tls-3.d: New. - -2008-03-22 Hans-Peter Nilsson <hp@axis.com> - - * ld-cris/libdso-10.d: Adjust for change in objdump output. - -2008-03-21 Adam Nemet <anemet@caviumnetworks.com> - - * ld-mips-elf/dyn-sec64.d, ld-mips-elf/dyn-sec64.s, - ld-mips-elf/dyn-sec64.ld: New test. - * ld-mips-elf/mips-elf.exp: Run it. - -2008-03-20 Richard Sandiford <rsandifo@nildram.co.uk> - - * ld-mips-elf/got-dump-1.d, ld-mips-elf/got-dump-1.s, - ld-mips-elf/got-dump-1.ld, ld-mips-elf/got-dump-2.d, - ld-mips-elf/got-dump-2.s, ld-mips-elf/got-dump-2.ld: New tests. - * ld-mips-elf/mips-elf.exp: Run them. - -2008-03-20 Richard Sandiford <rsandifo@nildram.co.uk> - - * ld-mips-elf/elf-rel-got-n64-linux.d: Expect bit 63 rather than - bit 31 of the second GOT entry to be set. - * ld-mips-elf/elf-rel-got-n64.d: Likewise. - * ld-mips-elf/elf-rel-xgot-n64-linux.d: Likewise. - * ld-mips-elf/elf-rel-xgot-n64.d: Likewise. - -2008-03-17 Richard Sandiford <rsandifo@nildram.co.uk> - - * ld-mips-elf/eh-frame1-n32.d: Expect a warning about .eh_frame_hdr. - Remove duplicate CIEs. Adjust relocation addresses and .eh_frame - offsets accordingly. Do not allow there to be any trailing - R_MIPS_NONE relocations. - * ld-mips-elf/eh-frame1-n64.d: Likewise. - * ld-mips-elf/eh-frame2-n32.d: Likewise. - * ld-mips-elf/eh-frame2-n64.d: Likewise. - -2008-03-17 Richard Sandiford <rsandifo@nildram.co.uk> - - * ld-mips-elf/mips-elf.exp (o32_as_flags, o32_ld_flags): New variables. - (mips16_call_global_test, mips16_intermix_test): Use them. - -2008-03-16 H.J. Lu <hongjiu.lu@intel.com> - - PR ld/5789 - PR ld/5943 - * ld-i386/hidden1.d: New. - * ld-i386/hidden1.s: Likewise. - * ld-i386/hidden2.d: Likewise. - * ld-i386/hidden2.s: Likewise. - * ld-i386/hidden3.d: Likewise. - * ld-i386/hidden4.s: Likewise. - * ld-i386/protected1.d: Likewise. - * ld-i386/protected1.s: Likewise. - * ld-i386/protected2.d: Likewise. - * ld-i386/protected2.s: Likewise. - * ld-i386/protected3.d: Likewise. - * ld-i386/protected3.s: Likewise. - * ld-x86-64/hidden1.d: Likewise. - * ld-x86-64/hidden1.s: Likewise. - * ld-x86-64/hidden2.d: Likewise. - * ld-x86-64/hidden2.s: Likewise. - * ld-x86-64/hidden3.d: Likewise. - * ld-x86-64/hidden3.s: Likewise. - * ld-x86-64/protected1.d: Likewise. - * ld-x86-64/protected1.s: Likewise. - * ld-x86-64/protected2.d: Likewise. - * ld-x86-64/protected2.s: Likewise. - * ld-x86-64/protected3.d: Likewise. - * ld-x86-64/protected3.s: Likewise. - - * ld-i386/i386.exp: Run hidden1, hidden2, hidden3, protected1, - protected2 and protected3. - * ld-x86-64/x86-64.exp: Likewise. - -2008-03-14 Alan Modra <amodra@bigpond.net.au> - - * ld-spu/ovl2.s: Make setjmp global. - * ld-spu/ovl2.d: Update. - -2008-03-12 Alan Modra <amodra@bigpond.net.au> - - PR 5900 - * ld-elf/sec64k.exp: Update. - -2008-03-08 Paul Brook <paul@codesourcery.com> - - * ld-arm/arm-elf.exp (armeabitests): Add thumb2-b-interwork. - * ld-arm/thumb2-b-interwork.d: New test. - * ld-arm/thumb2-b-interwork.s: New test. - -2008-03-07 Paul Brook <paul@codesourcery.com> - - * ld-arm/arm-elf.exp (armelftests): Add movw-merge and arm-app-movw. - * ld-arm/arm-app-movw.s: New test. - * ld-arm/arm-app.r: Update expected output. - * ld-arm/movw-merge.d: New test. - * ld-arm/movw-merge.s: New test. - -2008-03-01 Alan Modra <amodra@bigpond.net.au> - - * ld-powerpc/relbrlt.d: Update. Also check .branch_lt section. - -2008-02-27 Catherine Moore <clm@codesourcery.com> - - * ld-cris/libdso-10.d: Update expected output for the Dynamic - Section to allow an arbitrary number of spaces. - -2008-02-20 Mark Mitchell <mark@codesourcery.com> - - ld/testsuite/ - * ld-elf/seg.d: Expect .reginfo section on MIPS. - -2008-02-20 Pedro Alves <pedro_alves@portugalmail.pt> - - * ld-auto-import/auto-import.exp: Use $ld to link the dll for - cygwin, not $CC. - -2008-02-18 Hans-Peter Nilsson <hp@axis.com> - - * lib/ld-lib.exp (run_dump_test): Don't apply prune_warnings - for tool invocations where warnings or errors can be matched. - -2008-02-14 H.J. Lu <hongjiu.lu@intel.com> - - * ld-shared/sh1.c (shlib_overriddencall2): Moved to ... - * ld-shared/sh2.c (shlib_overriddencall2): Here. New. - -2008-02-07 Alan Modra <amodra@bigpond.net.au> - - * ld-spu/ovl.d: Update. - * ld-spu/ovl2.d: Update. - -2008-02-04 Bob Wilson <bob.wilson@acm.org> - - * ld-undefined/undefined.exp: XFAIL for xtensa*-*-linux*. - -2008-01-31 Marc Gauthier <marc@tensilica.com> - - * ld-elf/merge.d: Recognize Xtensa processor variants. - * ld-xtensa/coalesce.exp: Likewise. - * ld-xtensa/lcall.exp: Likewise. - -2008-01-28 Petr Muller <pmuller@redhat.com> - - * ld-elfvers/vers.exp (test_ar): Sort the expected output so that - it has matches the ordering of the obtained output. - -2008-01-28 H.J. Lu <hongjiu.lu@intel.com> - - * ld-elf/eh1.d: Replace DW_CFA_def_cfa_reg with - DW_CFA_def_cfa_register. Updated for i386/x86-64 register - names. - * ld-elf/eh2.d: Likewise. - * ld-elf/eh3.d: Likewise. - * ld-elf/eh4.d: Likewise. - * ld-elf/eh5.d: Likewise. - -2008-01-28 Alan Modra <amodra@bigpond.net.au> - - * ld-spu/ovl.d: Update. - * ld-spu/ovl2.d: Update. - -2008-01-26 Alan Modra <amodra@bigpond.net.au> - - * ld-elf/loadaddr.t: New, extracted from.. - * ld-elf/loadaddr1.t: ..here. Use insert. - * ld-elf/loadaddr2.t: Likewise. - * ld-elf/loadaddr1.d: Update. - * ld-elf/loadaddr2.d: Update. - -2008-01-25 Alan Modra <amodra@bigpond.net.au> - - * ld-spu/ovl.lnk: Delete overlay. - * ld-spu/ovl1.lnk: New file. - * ld-spu/ovl2.lnk: New file. - * ld-spu/ovl.d: Update. - * ld-spu/ovl2.d: Update. - -2008-01-23 Andreas Schwab <schwab@suse.de> - - * ld-gc/gc.c: Make sure used_func is not inlined. - -2008-01-22 H.J. Lu <hongjiu.lu@intel.com> - - * ld-gc/gc.exp: Use [which $CC] != 0. - -2008-01-14 Tristan Gingold <gingold@adacore.com> - - * ld-gc/gc.exp (test_gc): Let missing C compiler make tests - "untested" instead of "failed". - -2008-01-10 Tristan Gingold <gingold@adacore.com> - - * lib/ld-lib.exp (check_gc_sections_available): Now available on - VxWorks. - * ld-gc: New directory for testing --gc-sections. - * ld-gc/gc.c: New file. - * ld-gc/gc.exp: New file. - * ld-gc/noent.s: New file. - * ld-gc/noent.d: New file. - -2008-01-09 Richard Sandiford <rsandifo@nildram.co.uk> - - PR ld/5526 - * ld-elf/eh6.s, ld-elf/eh6.d: New test. - -2008-01-07 H.J. Lu <hongjiu.lu@intel.com> - - PR ld/5522 - * ld-elf/noload-3.d: New file. - * ld-elf/noload-3.s: Likewise. - * ld-elf/noload-3.t: Likewise. - -For older changes see ChangeLog-2007 +For older changes see ChangeLog-2008 Local Variables: mode: change-log diff --git a/ld/testsuite/ChangeLog-2008 b/ld/testsuite/ChangeLog-2008 new file mode 100644 index 0000000..8da1d84 --- /dev/null +++ b/ld/testsuite/ChangeLog-2008 @@ -0,0 +1,1010 @@ +2008-12-23 Jon Beniston <jon@beniston.com> + + * ld-elf/merge.d: Indicate test fails on LM32. + +2008-12-23 Hans-Peter Nilsson <hp@axis.com> + + * lib/ld-lib.exp (run_dump_test): New option ld_after_inputfiles. + * ld-cris/libdso-1c.d, ld-cris/expdref2.s, ld-cris/libdso-15b.d, + ld-cris/expdyn1w.s, ld-cris/libdso-1d.d, ld-cris/tls-ie-78.d: New + tests. + +2008-12-23 Nick Clifton <nickc@redhat.com> + + * ld-i386/i386.exp: Do not run ifunc test. + * ld-i386/ifunc.s: Delete. + * ld-i386/ifunc.d: Delete. + * ld-x86-64/x86-64.exp: Do not run ifunc test. + * ld-x86-64/ifunc.s: Delete. + * ld-x86-64/ifunc.d: Delete. + +2008-12-20 Hans-Peter Nilsson <hp@axis.com> + + * ld-cris/tls-err-77.d, ld-cris/tls-gc-79.d, ld-cris/tls-ie-8e.s, + ld-cris/tls-ie-8e1.d: New tests. + +2008-12-18 H.J. Lu <hongjiu.lu@intel.com> + + * ld-i386/tlsld1.dd: Remove trailing white spaces after nop. + +2008-12-17 Hans-Peter Nilsson <hp@axis.com> + + * ld-cris/expalltst3, ld-cris/expdyn2.s, ld-cris/libdso-15.d: New + tests. + +2008-12-15 Richard Earnshaw <rearnsha@arm.com> + + * ld-arm/vfp11-fix-scalar.d: Disassembly of VFP instructions now uses + unified syntax. + * ld-arm/vfp11-fix-vector.d: Likewise. + +2008-12-15 Hans-Peter Nilsson <hp@axis.com> + + * ld-cris/libdso-13b.d: New test. + + * ld-cris/hidedsofns2468, ld-cris/libdso-12b.d, + ld-cris/libdso-12c.d, ld-cris/libdso-1b.d, ld-cris/dso-1b.s: New + tests. + + * ld-cris/got7.s: Correct .size expression. + * ld-cris/tls-e-20a.d: Adjust accordingly. + +2008-12-04 Nick Clifton <nickc@redhat.com> + + * ld-x86-64/ifunc.d: New test (of STT_IFUNC for x86_64). + * ld-x86-64/ifunc.s: Source file for new test. + * ld-x86-64/x86-64.exp: Run the new test. + * ld-i386/ifunc.d: Tidy up regexps for expected output. + +2008-12-03 Nick Clifton <nickc@redhat.com> + + * ld-mips-elf/reloc-1-n32.d: Updated expected output for reloc + descriptions. + * ld-mips-elf/reloc-1-n64.d: Likewise. + * ld-i386/ifunc.d: New test. + * ld-i386/ifunc.s: Source file for the new test. + * ld-i386/i386.exp: Run the new test. + +2008-11-25 Joseph Myers <joseph@codesourcery.com> + + * ld-arm/thumb2-bl-undefweak.d, ld-arm/thumb2-bl-undefweak.s: New. + * ld-arm/arm-elf.exp: Run thumb2-bl-undefweak test. + +2008-11-25 Hans-Peter Nilsson <hp@axis.com> + + * ld-cris/got7.s, ld-cris/init.s, ld-cris/pic-gc-72.d, + ld-cris/pic-gc-72.s, ld-cris/pic-gc-73.d, ld-cris/pic-gc-73.s, + ld-cris/tls-dso-x1x2-1.d, ld-cris/tls-dso-xz-1.d, + ld-cris/tls-dtprelm.s, ld-cris/tls-e-20.d, ld-cris/tls-e-20a.d, + ld-cris/tls-e-21.d, ld-cris/tls-e-22.d, ld-cris/tls-e-23.d, + ld-cris/tls-e-66.d, ld-cris/tls-err-20x.d, ld-cris/tls-err-24.d, + ld-cris/tls-err-25.d, ld-cris/tls-err-26.d, ld-cris/tls-err-27.d, + ld-cris/tls-err-28.d, ld-cris/tls-err-29.d, ld-cris/tls-err-31.d, + ld-cris/tls-err-33.d, ld-cris/tls-err-35.d, ld-cris/tls-err-37.d, + ld-cris/tls-err-39.d, ld-cris/tls-err-40.d, ld-cris/tls-err-41.d, + ld-cris/tls-err-43.d, ld-cris/tls-err-44.d, ld-cris/tls-err-45.d, + ld-cris/tls-err-47.d, ld-cris/tls-err-48.d, ld-cris/tls-err-49.d, + ld-cris/tls-err-51.d, ld-cris/tls-err-52.d, ld-cris/tls-err-53.d, + ld-cris/tls-err-55.d, ld-cris/tls-err-55.s, ld-cris/tls-err-56.d, + ld-cris/tls-err-56.s, ld-cris/tls-err-62.d, ld-cris/tls-err-62.s, + ld-cris/tls-err-65.d, ld-cris/tls-err-67.d, ld-cris/tls-gc-68.d, + ld-cris/tls-gc-69.d, ld-cris/tls-gc-70.d, ld-cris/tls-gc-71.d, + ld-cris/tls-gc-71.s, ld-cris/tls-gc-75.d, ld-cris/tls-gc-76.d, + ld-cris/tls-gc-76.s, ld-cris/tls-gd-1.d, ld-cris/tls-gd-1.s, + ld-cris/tls-gd-1h.d, ld-cris/tls-gd-2.d, ld-cris/tls-gd-2.s, + ld-cris/tls-gd-2h.d, ld-cris/tls-gd-3.d, ld-cris/tls-gd-3.s, + ld-cris/tls-gd-3h.d, ld-cris/tls-gdgotrelm.s, ld-cris/tls-global-74.d, + ld-cris/tls-gottprelm.s, ld-cris/tls-hx.s, ld-cris/tls-hx1x2.s, + ld-cris/tls-ie-10.d, ld-cris/tls-ie-10.s, ld-cris/tls-ie-11.d, + ld-cris/tls-ie-11.s, ld-cris/tls-ie-8.d, ld-cris/tls-ie-8.s, + ld-cris/tls-ie-9.d, ld-cris/tls-ie-9.s, ld-cris/tls-ld-4.d, + ld-cris/tls-ld-4.s, ld-cris/tls-ld-5.d, ld-cris/tls-ld-5.s, + ld-cris/tls-ld-6.d, ld-cris/tls-ld-6.s, ld-cris/tls-ld-7.d, + ld-cris/tls-ld-7.s, ld-cris/tls-ldgd-14.d, ld-cris/tls-ldgd-14.s, + ld-cris/tls-ldgd-15.d, ld-cris/tls-ldgd-15.s, ld-cris/tls-ldgde-14.d, + ld-cris/tls-ldgde-15.d, ld-cris/tls-ldgdex-14.d, + ld-cris/tls-ldgdex-15.d, ld-cris/tls-ldgdx-14.d, + ld-cris/tls-ldgdx-15.d, ld-cris/tls-le-12.d, ld-cris/tls-le-12.s, + ld-cris/tls-le-12s.d, ld-cris/tls-le-12s.s, ld-cris/tls-le-13.d, + ld-cris/tls-le-13.s, ld-cris/tls-le-13s.d, ld-cris/tls-le-13s.s, + ld-cris/tls-legd-16.d, ld-cris/tls-legd-16.s, 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-leie-19.s, ld-cris/tls-local-54.d, + ld-cris/tls-local-54.s, ld-cris/tls-local-57.d, + ld-cris/tls-local-57.s, ld-cris/tls-local-58.d, + ld-cris/tls-local-58.s, ld-cris/tls-local-59.d, + ld-cris/tls-local-59.s, ld-cris/tls-local-60.d, + ld-cris/tls-local-61.d, ld-cris/tls-local-63.d, + ld-cris/tls-local-64.d, ld-cris/tls-ok-30.d, ld-cris/tls-ok-32.d, + ld-cris/tls-ok-34.d, ld-cris/tls-ok-36.d, ld-cris/tls-tprelm.s, + ld-cris/tls-und-38.d, ld-cris/tls-und-42.d, ld-cris/tls-und-46.d, + ld-cris/tls-und-50.d, ld-cris/tls-x.s, ld-cris/tls-x1x2.s, + ld-cris/tls-z.s, ld-cris/tls128.s, ld-cris/tls128g.s: New tests. + + * ld-cris/start1.s: Prepend register name with $. + + * ld-cris/dso-1.s, ld-cris/libdso-1.d, ld-cris/libdso-11.d, + ld-cris/libdso-2.d, ld-cris/pv32.s, ld-cris/undef1.d: Correct + .size expressions and adjust expected output accordingly. + +2008-11-23 Hans-Peter Nilsson <hp@axis.com> + + * ld-cris/badgotr1.d: Robustify regexp. + +2008-10-29 Nick Clifton <nickc@redhat.com> + + * ld-gc/gc.c (dummy_func): New function - present so that + underscore prefixed aliases can be created of the used_func and + main functions. + +2008-10-10 Nathan Froyd <froydnj@codesourcery.com> + + * ld-powerpc/gnu-attr-12-1.s: New file. + * ld-powerpc/gnu-attr-12-2.s: New file. + * ld-powerpc/gnu-attr-12-11.d: New file. + * ld-powerpc/gnu-attr-12-21.d: New file. + * ld-powerpc/powerpc.exp: Run new dump tests. + +2008-10-07 Nick Clifton <nickc@redhat.com> + + * ld-ia64/tlsbin.rd: Update expected output now that --wide does + not truncate section names. + * ld-ia64/tlspic.rd: Likewise. + +2008-10-06 Tom Tromey <tromey@redhat.com> + + * ld-elf/eh1.d, ld-elf/eh2.d, ld-elf/eh3.d, ld-elf/eh4.d, + ld-elf/eh5.d, ld-elf/eh6.d, ld-mips-elf/eh-frame1-n32.d, + ld-mips-elf/eh-frame1-n64.d, ld-mips-elf/eh-frame2-n32.d, + ld-mips-elf/eh-frame2-n64.d, ld-mips-elf/eh-frame3.d, + ld-mips-elf/eh-frame4.d: Update for readelf change. + +2008-10-04 H.J. Lu <hongjiu.lu@intel.com> + + PR ld/6931 + * ld-elf/group7.d: New. + +2008-10-03 H.J. Lu <hongjiu.lu@intel.com> + + * ld-elf/group5.d: Updated. + * ld-elf/group6.d: Likewise. + +2008-10-03 Tristan Gingold <gingold@adacore.com> + + * ld-elf/stab.d: Don't run on alpha (to avoid relocation + overflow on 64 bits targets whose stab values is 32 bits). + +2008-10-03 H.J. Lu <hongjiu.lu@intel.com> + + PR ld/6931 + * ld-elf/group4.d: New. + * ld-elf/group5.d: Likewise. + * ld-elf/group6.d: Likewise. + +2008-10-03 Alan Modra <amodra@bigpond.net.au> + + * ld-powerpc/vxworks1-lib.rd: Update. + +2008-09-29 Alan Modra <amodra@bigpond.net.au> + + * ld-elf/extract-symbol-1sec.d: Correct section lma. + +2008-09-25 Alan Modra <amodra@bigpond.net.au> + + * ld-elf/eh-group.exp: Only run on ELF targets. + * ld-elf/eh5b.s: Export main, start, __start. + +2008-09-20 Richard Sandiford <rdsandiford@googlemail.com> + + * ld-mips-elf/reloc-estimate-1.d: Make endian-neutral. + +2008-09-20 Jan Kratochvil <jan.kratochvil@redhat.com> + + Provide virtual target "cfi" for targets supporting CFI. + * ld-elf/eh-frame-hdr.d: Replace target and xfail statements by single + `target: cfi'. + * ld-elf/eh-group.exp: Call check_as_cfi instead of is_elf_format. + * ld-elf/eh-group1.s, elf/eh-group2.s: Use more compatible section + flags prefix '%'. + * ld-elf/eh5.d: Replace target statement by `target: cfi' with an Alpha + exception. Relax the `Code alignment factor' matching. + * lib/ld-lib.exp: Rename istarget as istarget_ld. + (istarget, check_as_cfi): New procedure. + (run_dump_test): New comment for the virtual target `cfi'. + +2008-09-17 Jan Kratochvil <jan.kratochvil@redhat.com> + + * ld-elf/eh-group.exp, ld-elf/eh-group1.s, ld-elf/eh-group2.s: New test. + +2008-09-17 Jan Kratochvil <jan.kratochvil@redhat.com> + + Fix testcases compilation failures due to unused variables. + * ld-elfcomm/common1b.c (dummy1): Mark the variable for GCC as USED. + * ld-shared/main.c (main): Move the P variable only to the places where + it is used. + +2008-09-16 H.J. Lu <hongjiu.lu@intel.com> + + PR ld/6877 + * ld-elf/comm1.c: New. + * ld-elf/func1.c: Likewise. + + * ld-elf/shared.exp: Add tests for libfunc1.so and comm1. + +2008-08-26 Nick Clifton <nickc@redhat.com> + + * ld-arm/arm-elf.exp: Add farcall-thumb-arm-short test. + * ld-arm/farcall-group2.s: Fix comment. + * ld-arm/farcall-thumb-arm-short.d: New test. + * ld-arm/farcall-thumb-arm-short.s: New test. + +2008-08-22 Jan Kratochvil <jan.kratochvil@redhat.com> + + * ld-x86-64/dwarfreloc.exp, ld-x86-64/dwarfreloc.rd, + ld-x86-64/dwarfreloc1.s, ld-x86-64/dwarfreloc2.s: New test. + +2008-08-20 Bob Wilson <bob.wilson@acm.org> + + * ld-xtensa/tlsbin.dd, ld-xtensa/tlsbin.rd, ld-xtensa/tlsbin.s, + ld-xtensa/tlsbin.sd, ld-xtensa/tlsbin.td, ld-xtensa/tlslib.s, + ld-xtensa/tlspic.dd, ld-xtensa/tlspic.rd, ld-xtensa/tlspic.sd, + ld-xtensa/tlspic.td, ld-xtensa/tlspic1.s, ld-xtensa/tlspic2.s: New. + * ld-xtensa/xtensa.exp: Run them. + +2008-08-18 Richard Sandiford <rdsandiford@googlemail.com> + + * ld-mips-elf/mips16-pic-4a.s, ld-mips-elf/mips16-pic-4b.s, + ld-mips-elf/mips16-pic-4.ver, ld-mips-elf/mips16-pic-4a.dd, + ld-mips-elf/mips16-pic-4a.nd, ld-mips-elf/mips16-pic-4a.gd, + ld-mips-elf/mips16-pic-4c.s, ld-mips-elf/mips16-pic-4b.dd: New tests. + * ld-mips-elf/mips-elf.exp: Run them. + +2008-08-17 Nick Clifton <nickc@redhat.com> + + * ld-elf/sec-to-seg1.s: Shorten test data to align the section to + a 4-byte boundary. + +2008-08-08 Richard Sandiford <rdsandiford@googlemail.com> + Daniel Jacobowitz <dan@codesourcery.com> + + * ld-mips-elf/mips16-pic-3a.s, + ld-mips-elf/mips16-pic-3b.s, + ld-mips-elf/mips16-pic-3.dd, + ld-mips-elf/mips16-pic-3.gd, + ld-mips-elf/mips16-pic-3.rd, + ld-mips-elf/mips16-pic-3.inc, + ld-mips-elf/pic-and-nonpic-1a.s, + ld-mips-elf/pic-and-nonpic-1b.s, + ld-mips-elf/pic-and-nonpic-1.ld, + ld-mips-elf/pic-and-nonpic-1.dd, + ld-mips-elf/pic-and-nonpic-1.nd, + ld-mips-elf/pic-and-nonpic-1-rel.dd, + ld-mips-elf/pic-and-nonpic-1-rel.nd, + ld-mips-elf/pic-and-nonpic-2a.s, + ld-mips-elf/pic-and-nonpic-2b.s, + ld-mips-elf/pic-and-nonpic-2.d, + ld-mips-elf/pic-and-nonpic-3a.s, + ld-mips-elf/pic-and-nonpic-3a.ld, + ld-mips-elf/pic-and-nonpic-3a.dd, + ld-mips-elf/pic-and-nonpic-3a.gd, + ld-mips-elf/pic-and-nonpic-3a.sd, + ld-mips-elf/pic-and-nonpic-3b.s, + ld-mips-elf/pic-and-nonpic-3b.ld, + ld-mips-elf/pic-and-nonpic-3b.ad, + ld-mips-elf/pic-and-nonpic-3b.dd, + ld-mips-elf/pic-and-nonpic-3b.gd, + ld-mips-elf/pic-and-nonpic-3b.nd, + ld-mips-elf/pic-and-nonpic-3b.pd, + ld-mips-elf/pic-and-nonpic-3b.rd, + ld-mips-elf/pic-and-nonpic-3b.sd, + ld-mips-elf/pic-and-nonpic-3-error.d, + ld-mips-elf/pic-and-nonpic-4a.s, + ld-mips-elf/pic-and-nonpic-4b.s, + ld-mips-elf/pic-and-nonpic-4b.ld, + ld-mips-elf/pic-and-nonpic-4b.ad, + ld-mips-elf/pic-and-nonpic-4b.dd, + ld-mips-elf/pic-and-nonpic-4b.gd, + ld-mips-elf/pic-and-nonpic-4b.nd, + ld-mips-elf/pic-and-nonpic-4b.rd, + ld-mips-elf/pic-and-nonpic-4b.sd, + ld-mips-elf/pic-and-nonpic-4-error.d, + ld-mips-elf/pic-and-nonpic-5a.s, + ld-mips-elf/pic-and-nonpic-5b.s, + ld-mips-elf/pic-and-nonpic-5b.ld, + ld-mips-elf/pic-and-nonpic-5b.ad, + ld-mips-elf/pic-and-nonpic-5b.dd, + ld-mips-elf/pic-and-nonpic-5b.gd, + ld-mips-elf/pic-and-nonpic-5b.nd, + ld-mips-elf/pic-and-nonpic-5b.rd, + ld-mips-elf/pic-and-nonpic-5b.sd, + ld-mips-elf/pic-and-nonpic-5b.pd, + ld-mips-elf/pic-and-nonpic-6.ld, + ld-mips-elf/pic-and-nonpic-6-o32a.s, + ld-mips-elf/pic-and-nonpic-6-o32b.s, + ld-mips-elf/pic-and-nonpic-6-o32c.s, + ld-mips-elf/pic-and-nonpic-6-o32.ad, + ld-mips-elf/pic-and-nonpic-6-o32.dd, + ld-mips-elf/pic-and-nonpic-6-o32.gd, + ld-mips-elf/pic-and-nonpic-6-o32.nd, + ld-mips-elf/pic-and-nonpic-6-o32.pd, + ld-mips-elf/pic-and-nonpic-6-o32.rd, + ld-mips-elf/pic-and-nonpic-6-o32.sd, + ld-mips-elf/pic-and-nonpic-6-n32a.s, + ld-mips-elf/pic-and-nonpic-6-n32b.s, + ld-mips-elf/pic-and-nonpic-6-n32c.s, + ld-mips-elf/pic-and-nonpic-6-n32.ad, + ld-mips-elf/pic-and-nonpic-6-n32.dd, + ld-mips-elf/pic-and-nonpic-6-n32.gd, + ld-mips-elf/pic-and-nonpic-6-n32.nd, + ld-mips-elf/pic-and-nonpic-6-n32.pd, + ld-mips-elf/pic-and-nonpic-6-n32.rd, + ld-mips-elf/pic-and-nonpic-6-n32.sd, + ld-mips-elf/pic-and-nonpic-6-n64a.s, + ld-mips-elf/pic-and-nonpic-6-n64b.s, + ld-mips-elf/pic-and-nonpic-6-n64c.s, + ld-mips-elf/pic-and-nonpic-6-n64.ad, + ld-mips-elf/pic-and-nonpic-6-n64.dd, + ld-mips-elf/pic-and-nonpic-6-n64.gd, + ld-mips-elf/pic-and-nonpic-6-n64.nd, + ld-mips-elf/pic-and-nonpic-6-n64.pd, + ld-mips-elf/pic-and-nonpic-6-n64.rd, + ld-mips-elf/pic-and-nonpic-6-n64.sd: New tests. + * ld-mips-elf/mips-elf.exp: Run them. + +2008-08-07 Richard Sandiford <rdsandiford@googlemail.com> + + * ld-mips-elf/tls-hidden4.got, ld-mips-elf/tls-hidden4.r: We have + removed an unused GOT entry that was allocated for the R_MIPS_32 + relocation against "undef", so adjust addresses down by 4 bytes. + * ld-mips-elf/got-dump-1.d, ld-mips-elf/got-dump-2.d: We have + changed the order of the GOT entries so that reloc-only ones + come last. "undef" is only referred to by dynamic relocations, + so it now comes after "glob". + * ld-mips-elf/mips16-pic-2.dd, ld-mips-elf/mips16-pic-2.gd, + ld-mips-elf/mips16-pic-2.nd, ld-mips-elf/mips16-pic-2.rd: We have + removed two unused local GOT entries that were originally created + as global entries for the hidden symbols "used2" and "used3". + "used4" and "used5" are only referred to by relocations, so they + now come after "used6" and "used7". + +2008-08-07 Richard Sandiford <rdsandiford@googlemail.com> + + * ld-mips-elf/got-vers-1a.s, ld-mips-elf/got-vers-1b.s, + ld-mips-elf/got-vers-1.ver, ld-mips-elf/got-vers-1.dd, + ld-mips-elf/got-vers-1.sd, ld-mips-elf/got-vers-1.rd: New tests. + * ld-mips-elf/mips-elf.exp: Run them. + +2008-08-07 Richard Sandiford <rdsandiford@googlemail.com> + + * ld-mips-elf/tlsdyn-o32-2.got, ld-mips-elf/tlsdyn-o32-3.got, + ld-mips-elf/tlsdyn-o32-2.d, ld-mips-elf/tlsdyn-o32-3.d: Change the + GOT layout as follows: + + BEFORE AFTER + +0x08 %call16(__tls_get_addr) %call16(__tls_get_addr) + +0x0c %tlsldm(tlsbin_ld) %gottprel(tlsvar_ie) + +0x10 " " %tlsgd(tlsvar_gd) + +0x14 %tlsgd(tlsvar_gd) " " + +0x18 " " %tlsgd(tlsbin_gd) + +0x1c %gottprel(tlsvar_ie) " " + +0x20 %tlsgd(tlsbin_gd) %tlsldm(tlsbin_ld) + +0x24 " " " " + +0x28 %gottprel(tlsbin_ie) %gottprel(tlsbin_ie) + +2008-08-07 Richard Sandiford <rdsandiford@googlemail.com> + + * ld-mips-elf/reloc-estimate-1.d, ld-mips-elf/reloc-estimate-1.ld, + ld-mips-elf/reloc-estimate-1a.s, ld-mips-elf/reloc-estimate-1b.s: + New test. + * ld-mips-elf/mips-elf.exp: Run it. + +2008-08-06 Richard Sandiford <rdsandiford@googlemail.com> + + * ld-mips-elf/tls-hidden3.ld: Remove the unused .MIPS.stubs section. + Keep the text start address the same. + * ld-mips-elf/tls-multi-got-1.got: We have removed a .MIPS.stubs + section that contained only a 16-byte dummy stub. Subtract 16 + from addresses to account for the change. + * ld-mips-elf/tls-multi-got-1.r: Likewise. Adjust MIPS_UNREFEXTNO + to account the removed section symbol. + * ld-mips-elf/tlsdyn-o32-1.d: We have deleted a .MIPS.stubs + section that contained only a 16-byte dummy stub. Remove it + from the disassembly. + * ld-mips-elf/tlsdyn-o32-2.d: Likewise. + * ld-mips-elf/tlsdyn-o32-3.d: Likewise. + * ld-mips-elf/tlsdyn-o32.d: Likewise. + * ld-mips-elf/relax-jalr-n32-shared.d: Likewise. + * ld-mips-elf/relax-jalr-n64-shared.d: Likewise. + +2008-08-06 Richard Sandiford <rdsandiford@googlemail.com> + + * ld-mips-elf/mips16-local-stubs-1.d: Remove stub_for_h3, + which was only referenced by the .pdr section, and was not + actually needed by code. + * ld-mips-elf/mips16-intermix.d: Remove unused static function stubs. + * ld-mips-elf/mips16-pic-1a.s, + ld-mips-elf/mips16-pic-1b.s, + ld-mips-elf/mips16-pic-1-dummy.s, + ld-mips-elf/mips16-pic-1.dd, + ld-mips-elf/mips16-pic-1.gd, + ld-mips-elf/mips16-pic-1.inc, + ld-mips-elf/mips16-pic-1.ld, + ld-mips-elf/mips16-pic-2a.s, + ld-mips-elf/mips16-pic-2b.s, + ld-mips-elf/mips16-pic-2.ad, + ld-mips-elf/mips16-pic-2.dd, + ld-mips-elf/mips16-pic-2.gd, + ld-mips-elf/mips16-pic-2.nd, + ld-mips-elf/mips16-pic-2.rd: New tests. + * ld-mips-elf/mips-elf.exp: Run them. + +2008-08-06 Alan Modra <amodra@bigpond.net.au> + + * ld-elf/extract-symbol-1sec.d: Update. + +2008-07-30 Nick Clifton <nickc@redhat.com> + + * ld-elf/sec-to-seg.exp: New test: Checks the assignment of + sections to segments. + * ld-elf/sec-to-seg1.s: Test source file. + * ld-elf/sec-to-seg2.s: Test source file. + * ld-elf/sec-to-seg-script-same-page.t: Test linker script. + * ld-elf/sec-to-seg-script-adjoining-pages.t: Test linker script. + * ld-elf/sec-to-seg-script-disjoint-pages.t: Test linker script. + +2008-07-28 Alexandre Oliva <aoliva@redhat.com> + + * ld-i386/tlsbindesc.dd: Adjust incorrect expectations for LD to + LE relaxation. + * ld-x86-64/tlsbindesc.dd: Likewise. + * ld-i386/tlsbindesc.rd: Adjust address of _TLS_MODULE_BASE_. + * ld-x86-64/tlsbindesc.rd: Likewise. + Reported by Cary Coutant <ccoutant@google.com> + +2008-07-27 Alan Modra <amodra@bigpond.net.au> + + * ld-gc/gc.exp (test_gc): xfail powerpc64. + +2008-07-26 Michael Eager <eager@eagercon.com> + + * ld-powerpc/powerpc.exp: Run new tests. + * ld-powerpc/attr-gnu-4-03.d: New file. + * ld-powerpc/attr-gnu-4-14.d: New file. + * ld-powerpc/attr-gnu-4-23.d: New file. + * ld-powerpc/attr-gnu-4-24.d: New file. + * ld-powerpc/attr-gnu-4-32.d: New file. + * ld-powerpc/attr-gnu-4-33.d: New file. + * ld-powerpc/attr-gnu-4-34.d: New file. + * ld-powerpc/attr-gnu-4-41.d: New file. + * ld-powerpc/attr-gnu-4-4.s: New file. + * ld-powerpc/attr-gnu-4-13.d: Adjust. + * ld-powerpc/attr-gnu-4-31.d: Adjust. + +2008-07-26 Alan Modra <amodra@bigpond.net.au> + + * ld-scripts/include.exp: Don't run test for aout. + * ld-scripts/include.s: Use .fill rather than .4byte. + * ld-scripts/include-1.d: Adjust. + +2008-07-22 Alan Modra <amodra@bigpond.net.au> + + * ld-alpha/tlsbin.rd: Update. + * ld-alpha/tlsbinr.rd: Update. + * ld-arm/mixed-app.sym: Update. + * ld-arm/use-thumb-lib.sym: Update. + * ld-cris/pv32-1.d: Update. + +2008-07-21 Nick Clifton <nickc@redhat.com> + + * ld-scripts/include-sections.t: Discard all sections not + explicitly requested by the rest of the linker script. + * ld-scripts/include-1.d: Expect test to fail for AIX ports. + Do not assume that the .text section will be marked readonly. + * ld-scripts/include.s: Replace .section directives with just + .text or .data. + +2008-07-18 Joseph Myers <joseph@codesourcery.com> + + * ld-arm/attr-merge-wchar-0.s,ld-arm/attr-merge-wchar-2.s, + ld-arm/attr-merge-wchar-4.s, ld-arm/attr-merge-wchar-00-nowarn.d, + ld-arm/attr-merge-wchar-00.d, ld-arm/attr-merge-wchar-02-nowarn.d, + ld-arm/attr-merge-wchar-02.d, ld-arm/attr-merge-wchar-04-nowarn.d, + ld-arm/attr-merge-wchar-04.d, ld-arm/attr-merge-wchar-20-nowarn.d, + ld-arm/attr-merge-wchar-20.d, ld-arm/attr-merge-wchar-22-nowarn.d, + ld-arm/attr-merge-wchar-22.d, ld-arm/attr-merge-wchar-24-nowarn.d, + ld-arm/attr-merge-wchar-24.d, ld-arm/attr-merge-wchar-40-nowarn.d, + ld-arm/attr-merge-wchar-40.d, ld-arm/attr-merge-wchar-42-nowarn.d, + ld-arm/attr-merge-wchar-42.d, ld-arm/attr-merge-wchar-44-nowarn.d, + ld-arm/attr-merge-wchar-44.d: New. + * ld-arm/arm-elf.exp: Run new tests. + +2008-07-11 H.J. Lu <hongjiu.lu@intel.com> + + * ld-m68k/got-12.s: Removed. + * ld-m68k/got-13.s: Likewise. + * ld-m68k/got-14.s: Likewise. + * ld-m68k/got-15.s: Likewise. + * ld-m68k/got-34.s: Likewise. + * ld-m68k/got-35.s: Likewise. + * ld-m68k/xgot-15.s: Likewise. + + * ld-m68k/got-multigot-12-13-14-34-35-ok.d: Remove #source + and expected relocations. + * ld-m68k/got-multigot-14-ok.d: Likewise. + * ld-m68k/got-negative-12-13-14-34-ok.d: Likewise. + * ld-m68k/got-negative-14-ok.d: Likewise. + * ld-m68k/got-single-12-ok.d: Likewise. + * ld-m68k/got-xgot-12-13-14-15-34-35-ok.d: Likewise. + * ld-m68k/got-xgot-15-ok.d: Likewise. + + * ld-m68k/got-multigot-15-er.d: Remove #source. + * ld-m68k/got-negative-12-13-14-35-er.d: Likewise. + * ld-m68k/got-negative-15-er.d: Likewise. + * ld-m68k/got-single-13-er.d: Likewise. + + * ld-m68k/m68k.exp: Move GOT tests to ... + * ld-m68k/m68k-got.exp: This. New. + +2008-07-10 Richard Sandiford <rdsandiford@googlemail.com> + + * ld-mips-elf/no-shared-1-o32.s, + ld-mips-elf/no-shared-1-o32.d, + ld-mips-elf/no-shared-1-n32.d, + ld-mips-elf/no-shared-1-n64.s, + ld-mips-elf/no-shared-1-n64.d, + ld-mips-elf/no-shared-1.ld: New tests. + * ld-mips-elf/mips-elf.exp: Run them. + +2008-07-07 Stan Shebs <stan@codesourcery.com> + + * ld-arm/arm-elf.exp: Use objdump -d for arm-be8 test. + * ld-arm/arm-be8.d: Change to test disassembly. + +2008-07-06 Nathan Sidwell <nathan@codesourcery.com> + + * ld-scripts/include-1.d: New. + * ld-scripts/include-1.t: New. + * ld-scripts/include-data.t: New. + * ld-scripts/include-mem.t: New. + * ld-scripts/include-ram.t: New. + * ld-scripts/include-sections.t: New. + * ld-scripts/include-subdata.t: New. + * ld-scripts/include.exp: New. + * ld-scripts/include.s: New. + +2008-06-29 Andreas Schwab <schwab@suse.de> + + * ld-m68k/got-1.s: New file. + * ld-m68k/got-1.d: New dump test. + * ld-m68k/m68k.exp: Run it. + +2008-06-24 Daniel Jacobowitz <dan@codesourcery.com> + + * 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-blx-pic-veneer.d, + ld-arm/farcall-thumb-arm-blx.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/thumb2-bl-as-thumb1-bad.d, ld-arm/thumb2-bl-bad.d: Update for + stub symbols and stub corrections. + +2008-06-20 Alan Modra <amodra@bigpond.net.au> + + * ld-spu/ovl.d: Update. + * ld-spu/ovl2.d: Update. + +2008-06-16 Hans-Peter Nilsson <hp@bitrange.com> + + PR gas/6607 + * ld-mmix/loc10.d, ld-mmix/loc10.s, ld-mmix/loc10m.d, ld-mmix/loc8.d, + ld-mmix/loc8.s, ld-mmix/loc8m.d, ld-mmix/loc9.d, ld-mmix/loc9.s, + ld-mmix/loc9m.d: New tests. + +2008-06-12 Nick Clifton <nickc@redhat.com> + + * ld-scripts/overlay-size.t (end_of_bss_overlays): Define. + (end_of_text_overlays): Define. + (end_of_data_overlays): Define. + * ld-scripts/overlay-size-map.d: Add expected values for + end_of_bss_overlays, end_of_text_overlays and + end_of_data_overlays. + +2008-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp> + + * ld-sh/arch/arch_expected.txt: Regenerate. + +2008-06-09 Daniel Jacobowitz <dan@codesourcery.com> + + * ld-arm/mixed-lib.d: Loosen pattern. + +2008-06-09 Christophe Lyon <christophe.lyon@st.com> + + * ld-arm/farcall-thumb-thumb-m.d: Fix branch type. + * ld-arm/farcall-thumb-arm.d: Likewise. + +2008-05-31 Nick Clifton <nickc@redhat.com> + + PR ld/6430 + * ld-elfcomm/elfcomm.exp (test_sort_common): Test the + ascending/descending argument to the --sort-common command line + option. + * ld-elfcomm/sort-common.s: New file. + +2008-05-28 Christophe Lyon <christophe.lyon@st.com> + + * ld-arm/arm-elf.exp: Skip farcalls tests for non-ARM-EABI + targets. + * ld-arm/thumb2-bl-as-thumb1-bad-noeabi.d: New file. + * ld-arm/thumb2-bl-bad-noeabi.d: Likewise. + +2008-05-22 Christophe Lyon <christophe.lyon@st.com> + + * ld-arm/farcall-arm-arm.s: Force function type on 'bar'. + * ld-arm/farcall-thumb-arm.s: Likewise. + * ld-arm/farcall-thumb-arm-blx.d: Fix encoding. + * ld-arm/farcall-thumb-arm.d: Likewise. + * ld-arm/farcall-thumb-arm-blx-pic-veneer.d: Likewise. + * ld-arm/arm-elf.exp (armelftests): Add farcall-mix, farcall-mix2, + farcall-group-default, farcall-group-size2, farcall-section Ignore + gas warnings in farcall-thumb-arm, farcall-thumb-arm-blx, + farcall-thumb-arm-blx-pic-veneer. + +2008-05-21 Maxim Kuvyrkov <maxim@codesourcery.com> + + * ld-m68k/got-12.s: New file. + * ld-m68k/got-13.s: New file. + * ld-m68k/got-14.s: New file. + * ld-m68k/got-15.s: New file. + * ld-m68k/got-34.s: New file. + * ld-m68k/got-35.s: New file. + * ld-m68k/got-single-12-ok.d: New dump test. + * ld-m68k/got-single-13-er.d: New dump test. + * ld-m68k/got-negative-14-ok.d: New dump test. + * ld-m68k/got-negative-15-er.d: New dump test. + * ld-m68k/got-negative-12-13-14-34-ok.d: New dump test. + * ld-m68k/got-negative-12-13-14-35-er.d: New dump test. + * ld-m68k/got-multigot-14-ok.d: New dump test. + * ld-m68k/got-multigot-15-er.d: New dump test. + * ld-m68k/got-multigot-12-13-14-34-35-ok.d: New dump test. + * ld-m68k/xgot-15.s: New source. + * ld-m68k/got-xgot-15-ok.d: New test. + * ld-m68k/got-xgot-12-13-14-15-34-35-ok.d: New test. + * ld-m68k/m68k.exp: Run new tests. + +2008-05-15 Christophe Lyon <christophe.lyon@st.com> + + * ld-arm/arm-elf.exp (armelftests): Add farcall-arm-arm, + farcall-arm-arm-pic-veneer, farcall-arm-arm-be8 farcall-arm-thumb, + farcall-arm-thumb-blx, farcall-arm-thumb-pic-veneer, + farcall-arm-thumb-blx-pic-veneer, farcall-thumb-thumb, + farcall-thumb-thumb-pic-veneer, farcall-thumb-thumb-blx, + farcall-thumb-thumb-m, farcall-thumb-thumb-m-pic-veneer, + farcall-thumb-thumb-blx-pic-veneer, farcall-thumb-arm, + farcall-thumb-arm-pic-veneer, farcall-thumb-arm-blx, + farcall-thumb-arm-blx-pic-veneer. + Change thumb2-bl-as-thumb1-bad, thumb2-bl-bad. + * ld-arm/thumb2-bl-as-thumb1-bad.d: Reflects farcall stub + generation. + * ld-arm/thumb2-bl-bad.d: Likewise. + * ld-arm/thumb2-bl-as-thumb1-bad.s: Update comments. + * ld-arm/thumb2-bl-bad.s: Likewise. + +2008-05-08 Alan Modra <amodra@bigpond.net.au> + + * ld-spu/ear.s: Align various sections. + * ld-spu/embed.rd: Update. + +2008-05-05 Alan Modra <amodra@bigpond.net.au> + + PR 6473 + * ld-elf/lma.s, ld-elf/lma.lnk: New test. + * ld-elf/binutils.exp: Run it. + +2008-05-03 Mike Frysinger <vapier@gentoo.org> + + * ld-scripts/defined.s: Use .set syntax rather than =. + +2008-05-02 H.J. Lu <hongjiu.lu@intel.com> + + PR ld/6475 + * ld-scripts/rgn-over8-ok.d: Accept any alignment. + +2008-04-29 Daniel Jacobowitz <dan@codesourcery.com> + + * ld-arm/symbian-seg1.s, ld-arm/symbian-seg1.d: New files. + * ld-arm/arm-elf.exp: Run symbian-seg1. + +2008-04-28 Nathan Sidwell <nathan@codesourcery.com> + + * ld-scripts/rgn-over8.s: Tweak. + + * ld-scripts/rgn-over.exp: Allow -ok file names to pass. + * ld-scripts/rgn-over8.s: New. + * ld-scripts/rgn-over8.t: New. + * ld-scripts/rgn-over8-ok.d: New. + +2008-04-21 Nathan Sidwell <nathan@codesourcery.com> + + * ld-vxworks/plt-mips1.s: New. + * ld-vxworks/plt-mips1.d: New. + +2008-04-16 David S. Miller <davem@davemloft.net> + + * ld-sparc/gotop32.dd: New. + * ld-sparc/gotop32.rd: Likewise. + * ld-sparc/gotop32.s: Likewise. + * ld-sparc/gotop32.sd: Likewise. + * ld-sparc/gotop32.td: Likewise. + * ld-sparc/gotop64.dd: Likewise. + * ld-sparc/gotop64.rd: Likewise. + * ld-sparc/gotop64.s: Likewise. + * ld-sparc/gotop64.sd: Likewise. + * ld-sparc/gotop64.td: Likewise. + * ld-sparc/sparc.exp: Run new gotdata tests. + +2008-04-15 Andrew Stubbs <andrew.stubbs@st.com> + + * ld-sh/arch/sh-dsp.s: Regenerate. + * ld-sh/arch/sh.s: Regenerate. + * ld-sh/arch/sh2.s: Regenerate. + * ld-sh/arch/sh2a-nofpu-or-sh3-nommu.s: Regenerate. + * ld-sh/arch/sh2a-nofpu-or-sh4-nommu-nofpu.s: Regenerate. + * ld-sh/arch/sh2a-nofpu.s: Regenerate. + * ld-sh/arch/sh2a-or-sh3e.s: Regenerate.: Regenerate. + * ld-sh/arch/sh2a-or-sh4.s: Regenerate. + * ld-sh/arch/sh2a.s: Regenerate. + * ld-sh/arch/sh2e.s: Regenerate. + * ld-sh/arch/sh3-dsp.s: Regenerate. + * ld-sh/arch/sh3-nommu.s: Regenerate. + * ld-sh/arch/sh3.s: Regenerate. + * ld-sh/arch/sh3e.s: Regenerate. + * ld-sh/arch/sh4-nofpu.s: Regenerate. + * ld-sh/arch/sh4-nommu-nofpu.s: Regenerate. + * ld-sh/arch/sh4.s: Regenerate. + * ld-sh/arch/sh4a-nofpu.s: Regenerate. + * ld-sh/arch/sh4a.s: Regenerate. + * ld-sh/arch/sh4al-dsp.s: Regenerate. + +2008-04-08 Alan Modra <amodra@bigpond.net.au> + + * ld-spu/ovl2.s: Extend to test jump table references and + absolute _SPUEAR_ syms. + * ld-spu/ovl2.d: Update. + +2008-03-28 Joseph Myers <joseph@codesourcery.com> + + * ld-elfcomm/elfcomm.exp: Run $READELF not readelf. + +2008-03-26 Daniel Jacobowitz <dan@codesourcery.com> + + * ld-elf/flags1.d: Adjust for MIPS text alignment. + +2008-03-25 Nathan Sidwell <nathan@codesourcery.com> + + * ld-vxworks/tls-3.s: New. + * ld-vxworks/tls-3.d: New. + +2008-03-22 Hans-Peter Nilsson <hp@axis.com> + + * ld-cris/libdso-10.d: Adjust for change in objdump output. + +2008-03-21 Adam Nemet <anemet@caviumnetworks.com> + + * ld-mips-elf/dyn-sec64.d, ld-mips-elf/dyn-sec64.s, + ld-mips-elf/dyn-sec64.ld: New test. + * ld-mips-elf/mips-elf.exp: Run it. + +2008-03-20 Richard Sandiford <rsandifo@nildram.co.uk> + + * ld-mips-elf/got-dump-1.d, ld-mips-elf/got-dump-1.s, + ld-mips-elf/got-dump-1.ld, ld-mips-elf/got-dump-2.d, + ld-mips-elf/got-dump-2.s, ld-mips-elf/got-dump-2.ld: New tests. + * ld-mips-elf/mips-elf.exp: Run them. + +2008-03-20 Richard Sandiford <rsandifo@nildram.co.uk> + + * ld-mips-elf/elf-rel-got-n64-linux.d: Expect bit 63 rather than + bit 31 of the second GOT entry to be set. + * ld-mips-elf/elf-rel-got-n64.d: Likewise. + * ld-mips-elf/elf-rel-xgot-n64-linux.d: Likewise. + * ld-mips-elf/elf-rel-xgot-n64.d: Likewise. + +2008-03-17 Richard Sandiford <rsandifo@nildram.co.uk> + + * ld-mips-elf/eh-frame1-n32.d: Expect a warning about .eh_frame_hdr. + Remove duplicate CIEs. Adjust relocation addresses and .eh_frame + offsets accordingly. Do not allow there to be any trailing + R_MIPS_NONE relocations. + * ld-mips-elf/eh-frame1-n64.d: Likewise. + * ld-mips-elf/eh-frame2-n32.d: Likewise. + * ld-mips-elf/eh-frame2-n64.d: Likewise. + +2008-03-17 Richard Sandiford <rsandifo@nildram.co.uk> + + * ld-mips-elf/mips-elf.exp (o32_as_flags, o32_ld_flags): New variables. + (mips16_call_global_test, mips16_intermix_test): Use them. + +2008-03-16 H.J. Lu <hongjiu.lu@intel.com> + + PR ld/5789 + PR ld/5943 + * ld-i386/hidden1.d: New. + * ld-i386/hidden1.s: Likewise. + * ld-i386/hidden2.d: Likewise. + * ld-i386/hidden2.s: Likewise. + * ld-i386/hidden3.d: Likewise. + * ld-i386/hidden4.s: Likewise. + * ld-i386/protected1.d: Likewise. + * ld-i386/protected1.s: Likewise. + * ld-i386/protected2.d: Likewise. + * ld-i386/protected2.s: Likewise. + * ld-i386/protected3.d: Likewise. + * ld-i386/protected3.s: Likewise. + * ld-x86-64/hidden1.d: Likewise. + * ld-x86-64/hidden1.s: Likewise. + * ld-x86-64/hidden2.d: Likewise. + * ld-x86-64/hidden2.s: Likewise. + * ld-x86-64/hidden3.d: Likewise. + * ld-x86-64/hidden3.s: Likewise. + * ld-x86-64/protected1.d: Likewise. + * ld-x86-64/protected1.s: Likewise. + * ld-x86-64/protected2.d: Likewise. + * ld-x86-64/protected2.s: Likewise. + * ld-x86-64/protected3.d: Likewise. + * ld-x86-64/protected3.s: Likewise. + + * ld-i386/i386.exp: Run hidden1, hidden2, hidden3, protected1, + protected2 and protected3. + * ld-x86-64/x86-64.exp: Likewise. + +2008-03-14 Alan Modra <amodra@bigpond.net.au> + + * ld-spu/ovl2.s: Make setjmp global. + * ld-spu/ovl2.d: Update. + +2008-03-12 Alan Modra <amodra@bigpond.net.au> + + PR 5900 + * ld-elf/sec64k.exp: Update. + +2008-03-08 Paul Brook <paul@codesourcery.com> + + * ld-arm/arm-elf.exp (armeabitests): Add thumb2-b-interwork. + * ld-arm/thumb2-b-interwork.d: New test. + * ld-arm/thumb2-b-interwork.s: New test. + +2008-03-07 Paul Brook <paul@codesourcery.com> + + * ld-arm/arm-elf.exp (armelftests): Add movw-merge and arm-app-movw. + * ld-arm/arm-app-movw.s: New test. + * ld-arm/arm-app.r: Update expected output. + * ld-arm/movw-merge.d: New test. + * ld-arm/movw-merge.s: New test. + +2008-03-01 Alan Modra <amodra@bigpond.net.au> + + * ld-powerpc/relbrlt.d: Update. Also check .branch_lt section. + +2008-02-27 Catherine Moore <clm@codesourcery.com> + + * ld-cris/libdso-10.d: Update expected output for the Dynamic + Section to allow an arbitrary number of spaces. + +2008-02-20 Mark Mitchell <mark@codesourcery.com> + + ld/testsuite/ + * ld-elf/seg.d: Expect .reginfo section on MIPS. + +2008-02-20 Pedro Alves <pedro_alves@portugalmail.pt> + + * ld-auto-import/auto-import.exp: Use $ld to link the dll for + cygwin, not $CC. + +2008-02-18 Hans-Peter Nilsson <hp@axis.com> + + * lib/ld-lib.exp (run_dump_test): Don't apply prune_warnings + for tool invocations where warnings or errors can be matched. + +2008-02-14 H.J. Lu <hongjiu.lu@intel.com> + + * ld-shared/sh1.c (shlib_overriddencall2): Moved to ... + * ld-shared/sh2.c (shlib_overriddencall2): Here. New. + +2008-02-07 Alan Modra <amodra@bigpond.net.au> + + * ld-spu/ovl.d: Update. + * ld-spu/ovl2.d: Update. + +2008-02-04 Bob Wilson <bob.wilson@acm.org> + + * ld-undefined/undefined.exp: XFAIL for xtensa*-*-linux*. + +2008-01-31 Marc Gauthier <marc@tensilica.com> + + * ld-elf/merge.d: Recognize Xtensa processor variants. + * ld-xtensa/coalesce.exp: Likewise. + * ld-xtensa/lcall.exp: Likewise. + +2008-01-28 Petr Muller <pmuller@redhat.com> + + * ld-elfvers/vers.exp (test_ar): Sort the expected output so that + it has matches the ordering of the obtained output. + +2008-01-28 H.J. Lu <hongjiu.lu@intel.com> + + * ld-elf/eh1.d: Replace DW_CFA_def_cfa_reg with + DW_CFA_def_cfa_register. Updated for i386/x86-64 register + names. + * ld-elf/eh2.d: Likewise. + * ld-elf/eh3.d: Likewise. + * ld-elf/eh4.d: Likewise. + * ld-elf/eh5.d: Likewise. + +2008-01-28 Alan Modra <amodra@bigpond.net.au> + + * ld-spu/ovl.d: Update. + * ld-spu/ovl2.d: Update. + +2008-01-26 Alan Modra <amodra@bigpond.net.au> + + * ld-elf/loadaddr.t: New, extracted from.. + * ld-elf/loadaddr1.t: ..here. Use insert. + * ld-elf/loadaddr2.t: Likewise. + * ld-elf/loadaddr1.d: Update. + * ld-elf/loadaddr2.d: Update. + +2008-01-25 Alan Modra <amodra@bigpond.net.au> + + * ld-spu/ovl.lnk: Delete overlay. + * ld-spu/ovl1.lnk: New file. + * ld-spu/ovl2.lnk: New file. + * ld-spu/ovl.d: Update. + * ld-spu/ovl2.d: Update. + +2008-01-23 Andreas Schwab <schwab@suse.de> + + * ld-gc/gc.c: Make sure used_func is not inlined. + +2008-01-22 H.J. Lu <hongjiu.lu@intel.com> + + * ld-gc/gc.exp: Use [which $CC] != 0. + +2008-01-14 Tristan Gingold <gingold@adacore.com> + + * ld-gc/gc.exp (test_gc): Let missing C compiler make tests + "untested" instead of "failed". + +2008-01-10 Tristan Gingold <gingold@adacore.com> + + * lib/ld-lib.exp (check_gc_sections_available): Now available on + VxWorks. + * ld-gc: New directory for testing --gc-sections. + * ld-gc/gc.c: New file. + * ld-gc/gc.exp: New file. + * ld-gc/noent.s: New file. + * ld-gc/noent.d: New file. + +2008-01-09 Richard Sandiford <rsandifo@nildram.co.uk> + + PR ld/5526 + * ld-elf/eh6.s, ld-elf/eh6.d: New test. + +2008-01-07 H.J. Lu <hongjiu.lu@intel.com> + + PR ld/5522 + * ld-elf/noload-3.d: New file. + * ld-elf/noload-3.s: Likewise. + * ld-elf/noload-3.t: Likewise. + +For older changes see ChangeLog-2007 + +Local Variables: +mode: change-log +left-margin: 8 +fill-column: 74 +version-control: never +End: diff --git a/ld/testsuite/ld-elf/pr9676-1.c b/ld/testsuite/ld-elf/pr9676-1.c new file mode 100644 index 0000000..f8459c7 --- /dev/null +++ b/ld/testsuite/ld-elf/pr9676-1.c @@ -0,0 +1,15 @@ +extern int foo (void) __attribute__((section (".gnu.linkonce.t.1"), weak)); + +int +foo (void) +{ + return 1; +} + +extern int foo2 (void); + +int +bar (void) +{ + return foo2 (); +} diff --git a/ld/testsuite/ld-elf/pr9676-2.c b/ld/testsuite/ld-elf/pr9676-2.c new file mode 100644 index 0000000..e2a3404 --- /dev/null +++ b/ld/testsuite/ld-elf/pr9676-2.c @@ -0,0 +1,14 @@ +extern int foo (void) __attribute__((section (".gnu.linkonce.t.1"), weak, + __visibility__ ("hidden"))); + +int +foo (void) +{ + return 1; +} + +int +foo2 (void) +{ + return 1; +} diff --git a/ld/testsuite/ld-elf/pr9676-3.c b/ld/testsuite/ld-elf/pr9676-3.c new file mode 100644 index 0000000..e5985df --- /dev/null +++ b/ld/testsuite/ld-elf/pr9676-3.c @@ -0,0 +1,7 @@ +extern int foo (void) __attribute__((section (".gnu.linkonce.t.1"), weak)); + +int +foo (void) +{ + return 1; +} diff --git a/ld/testsuite/ld-elf/pr9676-4.c b/ld/testsuite/ld-elf/pr9676-4.c new file mode 100644 index 0000000..d5013c7 --- /dev/null +++ b/ld/testsuite/ld-elf/pr9676-4.c @@ -0,0 +1,9 @@ +extern int bar (void); +extern int foo (void); + +int +x (void) +{ + foo (); + return bar (); +} diff --git a/ld/testsuite/ld-elf/pr9676.rd b/ld/testsuite/ld-elf/pr9676.rd new file mode 100644 index 0000000..0585b1c --- /dev/null +++ b/ld/testsuite/ld-elf/pr9676.rd @@ -0,0 +1,5 @@ +Symbol table '\.dynsym' contains [0-9]+ entries: + +Num: +Value +Size Type +Bind +Vis +Ndx Name +#... + +[0-9]+: +[0-9a-f]+ +[0-9a-f]+ +FUNC +LOCAL +HIDDEN +[0-9]+ +foo +#... diff --git a/ld/testsuite/ld-elf/shared.exp b/ld/testsuite/ld-elf/shared.exp index f0bc403..ff8bc8f 100644 --- a/ld/testsuite/ld-elf/shared.exp +++ b/ld/testsuite/ld-elf/shared.exp @@ -129,6 +129,22 @@ set build_tests { {"Build libfunc1.so" "-shared" "-fPIC" {func1.c} {} "libfunc1.so"} + {"Build libpr9676-1.a" + "" "-fPIC" + {pr9676-1.c} {} "libpr9676-1.a"} + {"Build libpr9676-2.a" + "" "-fPIC" + {pr9676-2.c} {} "libpr9676-2.a"} + {"Build libpr9676-3.so" + "-shared" "-fPIC" + {pr9676-3.c} {} "libpr9676-3.so"} + {"Build libpr9676-4.so" + "-shared" "-fPIC" + {pr9676-4.c} {} "libpr9676-4.so"} + {"Build libpr9676-4a.so" + "-shared tmpdir/pr9676-4.o -Ltmpdir -lpr9676-3 -Wl,--start-group -lpr9676-1 -lpr9676-2 -Wl,--end-group" + "-fPIC" + {dummy.c} {{readelf {-s} pr9676.rd}} "libpr9676-4a.so"} } set run_tests { diff --git a/ld/testsuite/lib/ld-lib.exp b/ld/testsuite/lib/ld-lib.exp index 6152065..b4f21fd 100644 --- a/ld/testsuite/lib/ld-lib.exp +++ b/ld/testsuite/lib/ld-lib.exp @@ -1093,6 +1093,22 @@ proc file_contents { filename } { return $contents } +# Create an archive using ar +# +proc ar_simple_create { ar target objects } { + remote_file host delete $target + + set exec_output [run_host_cmd "$ar" "rc $target $objects"] + set exec_output [prune_warnings $exec_output] + + if [string match "" $exec_output] then { + send_log "$exec_output\n" + return 1 + } else { + return 0 + } +} + # List contains test-items with 3 items followed by 2 lists, one item and # one optional item: # 0:name 1:ld options 2:assembler options @@ -1108,6 +1124,7 @@ proc run_ld_link_tests { ldtests } { global ld global as global nm + global ar global objdump global READELF global srcdir @@ -1161,10 +1178,21 @@ proc run_ld_link_tests { ldtests } { continue } - if ![ld_simple_link $ld $binfile "-L$srcdir/$subdir $ld_options $objfiles"] { + if [regexp ".*a$" $binfile] then { + if ![ar_simple_create $ar $binfile "$objfiles"] { + fail $testname + set failed 1 + } else { + set failed 0 + } + } elseif ![ld_simple_link $ld $binfile "-L$srcdir/$subdir $ld_options $objfiles"] { fail $testname + set failed 1 } else { set failed 0 + } + + if { $failed == 0 } { foreach actionlist $actions { set action [lindex $actionlist 0] set progopts [lindex $actionlist 1] @@ -1429,6 +1457,7 @@ proc run_cc_link_tests { ldtests } { global CXX global CFLAGS global CXXFLAGS + global ar foreach testitem $ldtests { set testname [lindex $testitem 0] @@ -1466,10 +1495,21 @@ proc run_cc_link_tests { ldtests } { set cc_cmd $CC } - if ![ld_simple_link $cc_cmd $binfile "-L$srcdir/$subdir $ldflags $objfiles"] { + if [regexp ".*a$" $binfile] then { + if ![ar_simple_create $ar $binfile "$objfiles"] { + fail $testname + set failed 1 + } else { + set failed 0 + } + } elseif ![ld_simple_link $cc_cmd $binfile "-L$srcdir/$subdir $ldflags $objfiles"] { fail $testname + set failed 1 } else { set failed 0 + } + + if { $failed == 0 } { foreach actionlist $actions { set action [lindex $actionlist 0] set progopts [lindex $actionlist 1] |