Add plugin visibility test
[deliverable/binutils-gdb.git] / ld / testsuite / ChangeLog
index 5537d0a15b5ab9a5b6384cc6c5dacbd197f36f72..3a1d4371f0002ffea80fc6ccff323022a2cbdedd 100644 (file)
@@ -1,3 +1,410 @@
+2012-12-07  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * ld-plugin/func1p.c: New file.
+       * ld-plugin/func2i.c: Likewise.
+       * ld-plugin/func3h.c: Likewise.
+
+       * ld-plugin/plugin.exp (plugin_extra_elf_tests): Add plugin
+       visibility test.
+
+2012-12-07  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * lib/ld-lib.exp (check_lto_available): New.  Check if compiler
+       supports LTO.
+
+2012-12-07  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * lib/ld-lib.exp (run_cc_link_tests): Properly check linker
+       warnings.
+
+2012-12-07  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * lib/ld-lib.exp (ar_simple_create): Pass -rc to ar.
+
+2012-12-07  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/14926
+       * ld-elf/pr14926.d: New file.
+       * ld-elf/pr14926.s: Likewise.
+
+2012-12-07  Alan Modra  <amodra@gmail.com>
+
+       * ld-elf/comm-data.exp: Revert last change.
+       * ld-elf/comm-data5.d: xfail frv-linux.
+
+2012-12-07  Alan Modra  <amodra@gmail.com>
+
+       * ld-elf/shared.exp (libneeded1a.so): Override any system
+       supplied --as-needed or --add-needed flag.
+
+2012-12-05  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/14915
+       * ld-elf/shared.exp (build_tests): Test --add-needed,
+       --copy-dt-needed-entries, --no-add-needed and
+       --no-copy-dt-needed-entries with -shared.
+       Add tests for --no-add-needed and --no-copy-dt-needed-entries
+       with -shared.
+
+2012-12-06  Alan Modra  <amodra@gmail.com>
+
+       * ld-elf/comm-data4.d, ld-elf/comm-data4.s: New test.
+       * ld-elf/comm-data5.d, ld-elf/comm-data5.s: New test.
+       * ld-elf/comm-data.exp: Run them.
+
+2012-12-04  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * ld-elf/shared.exp (build_tests): Build libneeded1b.so,
+       libneeded1a.so and libneeded1c.o.
+       (run_tests): Test --add-needed and --copy-dt-needed-entries.
+       Add tests for --no-add-needed and --no-copy-dt-needed-entries.
+
+       * ld-elf/needed1.out: New file.
+       * ld-elf/needed1a.c: Likewise.
+       * ld-elf/needed1b.c: Likewise.
+       * ld-elf/needed1c.c: Likewise.
+
+2012-12-03  Maciej W. Rozycki  <macro@codesourcery.com>
+
+       * ld-mips-elf/attr-gnu-4-45.d: Add missing "readelf" keyword.
+       Update dump according to current output.
+
+2012-12-03  Maciej W. Rozycki  <macro@codesourcery.com>
+
+       * ld-mips-elf/attr-gnu-4-12.d: Update the warning message.
+       * ld-mips-elf/attr-gnu-4-13.d: Likewise.
+       * ld-mips-elf/attr-gnu-4-14.d: Likewise.
+       * ld-mips-elf/attr-gnu-4-15.d: Likewise.
+       * ld-mips-elf/attr-gnu-4-21.d: Likewise.
+       * ld-mips-elf/attr-gnu-4-23.d: Likewise.
+       * ld-mips-elf/attr-gnu-4-24.d: Likewise.
+       * ld-mips-elf/attr-gnu-4-25.d: Likewise.
+       * ld-mips-elf/attr-gnu-4-31.d: Likewise.
+       * ld-mips-elf/attr-gnu-4-32.d: Likewise.
+       * ld-mips-elf/attr-gnu-4-34.d: Likewise.
+       * ld-mips-elf/attr-gnu-4-35.d: Likewise.
+       * ld-mips-elf/attr-gnu-4-41.d: Likewise.
+       * ld-mips-elf/attr-gnu-4-42.d: Likewise.
+       * ld-mips-elf/attr-gnu-4-43.d: Likewise.
+       * ld-mips-elf/attr-gnu-4-45.d: Likewise.
+       * ld-mips-elf/attr-gnu-4-51.d: Likewise.
+
+2012-12-03  Maciej W. Rozycki  <macro@codesourcery.com>
+
+       * ld-mips-elf/attr-gnu-4-12.d: Adjust the warning expected
+       according to changes to BFD.
+       * ld-mips-elf/attr-gnu-4-14.d: Likewise.
+       * ld-mips-elf/attr-gnu-4-31.d: Likewise.
+       * ld-mips-elf/attr-gnu-4-32.d: Likewise.
+       * ld-mips-elf/attr-gnu-4-34.d: Likewise.
+       * ld-mips-elf/attr-gnu-4-41.d: Likewise.
+
+2012-12-03  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/14904
+       * ld-plugin/plugin-2.d: Update expected error message.
+       * ld-plugin/plugin-4.d: Likewise.
+
+2012-11-30  Roland McGrath  <mcgrathr@google.com>
+
+       * ld-elf/ehdr_start.s: Put reference in .rodata section, not .data.
+
+2012-11-27  Roland McGrath  <mcgrathr@google.com>
+
+       * ld-elf/flags1.d: Add *-*-nacl* to xfail list.
+       * ld-elf/orphan-region.d: Likewise.
+
+2012-11-27  Roland McGrath  <mcgrathr@google.com>
+
+       * ld-elf/compress.exp: Bail out if zlib is not supported.
+       * lib/ld-lib.exp (run_dump_test): If as options include
+       --compress-debug-sections and zlib is not available, report
+       the test as unsupported.
+
+2012-11-23  Alan Modra  <amodra@gmail.com>
+
+       * ld-powerpc/plt1.d: Update for default "at" branch hints.
+       * ld-powerpc/tlsexe.d: Likewise.
+       * ld-powerpc/tlsexetoc.d: Likewise.
+       * ld-powerpc/tlsopt1.d: Likewise.
+       * ld-powerpc/tlsopt1_32.d: Likewise.
+       * ld-powerpc/tlsopt2.d: Likewise.
+       * ld-powerpc/tlsopt2_32.d: Likewise.
+       * ld-powerpc/tlsopt4.d: Likewise.
+       * ld-powerpc/tlsopt4_32.d: Likewise.
+       * ld-powerpc/tlsso.d: Likewise.
+       * ld-powerpc/tlstocso.d: Likewise.
+
+2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR binutils/14493
+       * ld-elf/maxpage5.d: New file.
+       * ld-elf/maxpage5.s: Likewise.
+       * ld-elf/maxpage5.t: Likewise.
+
+2012-11-21  Roland McGrath  <mcgrathr@google.com>
+
+       * ld-elf/comm-data.exp: Add XFAIL for arm*-*-* targets, referring
+       to PR ld/13802.
+
+2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * ld-elf/discard1.d: Run on x86_64-*-linux-gnu*.
+       * ld-elf/discard2.d: Likewise.
+       * ld-elf/discard3.d: Likewise.
+       * ld-elf/eh6.d: Likewise.
+       * ld-elf/maxpage3c.d: Run on i?86-*-linux-gnu.
+       * ld-elf/maxpage4.d: Likewise.
+
+2012-11-20  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/14862
+       * ld-elf/shared.exp (build_tests): Build libpr14862-1.o and
+       libpr14862.so.
+       (run_tests): Test pr14862.
+
+       * ld-elf/pr14862-1.c: New file.
+       * ld-elf/pr14862-2.c: Likewise.
+       * ld-elf/pr14862.map: Likewise.
+       * ld-elf/pr14862.out: Likewise.
+
+2012-11-20  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * ld-elf/global1.d: New file.
+
+2012-11-07  James Murray   <jsm@jsm-net.demon.co.uk>
+
+       * ld-m68hc11/movw.d: New test for 16bit relocate.
+       * ld-m68hc11/movw.s: Source for test.
+
+2012-10-30  Steve McIntyre   <steve.mcintyre@linaro.org>
+
+       * ld-arm/eabi-hard-float.s: New test source.
+       * ld-arm/eabi-soft-float.s: New test source.
+       * ld-arm/eabi-hard-float.d: New test.
+       * ld-arm/eabi-soft-float.d: New test.
+       * ld-arm/eabi-soft-float-ABI4.d: New test.
+       * ld-arm/eabi-soft-float-r.d: New test.
+       * ld-arm/arm-elf.xp: Use the new tests.
+
+2012-10-29  Alan Modra  <amodra@gmail.com>
+
+       * ld-powerpc/powerpc.exp: Modify emulation option passed to ld
+       when little-endian.
+       * ld-powerpc/apuinfo-nul.rd: Update for le output.
+       * ld-powerpc/apuinfo.rd: Likewise.
+       * ld-powerpc/plt1.d: Likewise.
+       * ld-powerpc/relax.d: Likewise.
+       * ld-powerpc/relaxr.d: Likewise.
+       * ld-powerpc/sdadyn.d: Likewise.
+       * ld-powerpc/tls.d: Likewise.
+       * ld-powerpc/tls.g: Likewise.
+       * ld-powerpc/tls.t: Likewise.
+       * ld-powerpc/tls32.d: Likewise.
+       * ld-powerpc/tls32.g: Likewise.
+       * ld-powerpc/tls32.t: Likewise.
+       * ld-powerpc/tlsexe.d: Likewise.
+       * ld-powerpc/tlsexe.g: Likewise.
+       * ld-powerpc/tlsexe.r: Likewise.
+       * ld-powerpc/tlsexe.t: Likewise.
+       * ld-powerpc/tlsexe32.d: Likewise.
+       * ld-powerpc/tlsexe32.g: Likewise.
+       * ld-powerpc/tlsexe32.r: Likewise.
+       * ld-powerpc/tlsexe32.t: Likewise.
+       * ld-powerpc/tlsexetoc.d: Likewise.
+       * ld-powerpc/tlsexetoc.g: Likewise.
+       * ld-powerpc/tlsexetoc.r: Likewise.
+       * ld-powerpc/tlsexetoc.t: Likewise.
+       * ld-powerpc/tlsmark.d: Likewise.
+       * ld-powerpc/tlsmark32.d: Likewise.
+       * ld-powerpc/tlsopt1.d: Likewise.
+       * ld-powerpc/tlsopt1_32.d: Likewise.
+       * ld-powerpc/tlsopt2.d: Likewise.
+       * ld-powerpc/tlsopt2_32.d: Likewise.
+       * ld-powerpc/tlsopt3.d: Likewise.
+       * ld-powerpc/tlsopt3_32.d: Likewise.
+       * ld-powerpc/tlsopt4.d: Likewise.
+       * ld-powerpc/tlsopt4_32.d: Likewise.
+       * ld-powerpc/tlsso.d: Likewise.
+       * ld-powerpc/tlsso.g: Likewise.
+       * ld-powerpc/tlsso.r: Likewise.
+       * ld-powerpc/tlsso.t: Likewise.
+       * ld-powerpc/tlsso32.d: Likewise.
+       * ld-powerpc/tlsso32.g: Likewise.
+       * ld-powerpc/tlsso32.r: Likewise.
+       * ld-powerpc/tlsso32.t: Likewise.
+       * ld-powerpc/tlstoc.d: Likewise.
+       * ld-powerpc/tlstoc.g: Likewise.
+       * ld-powerpc/tlstoc.t: Likewise.
+       * ld-powerpc/tlstocso.d: Likewise.
+       * ld-powerpc/tlstocso.g: Likewise.
+       * ld-powerpc/tlstocso.t: Likewise.
+       * ld-powerpc/tocopt.out: Likewise.
+
+2012-10-25  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * ld-elfvsb/main.c (main_visibility_checkcom): Remove address
+       check for visibility_def if HIDDEN_UNDEF_TEST is defined.
+       (main_visibility_checkweak): Remove address check for
+       visibility_func if HIDDEN_UNDEF_TEST is defined.
+
+2012-10-25  Nathan Sidwell  <nathan@codesourcery.com>
+
+       * ld-scripts/empty-aligned.d: Revert last change.  Allow more
+       than one header, just not two PT_LOAD.
+       * ld-elf/stack.s: Use .long 0 rather than nops.
+
+2012-10-23  Nathan Sidwell  <nathan@codesourcery.com>
+
+       * ld-elf/binutils.exp: Add -z stack-size=0.
+       * ld-elf/elf.exp: Add stack-exec and stack-size tests.
+       * ld-elf/orphan-region.d: Add stack-size option. Remove xfail.
+       * ld-elf/stack-exec.rd: New.
+       * ld-elf/stack-size.rd: New.
+       * ld-elf/stack.s: New.
+       * ld-scripts/empty-aligned.d: Add stack-size option.
+       * ld-sh/fdpic-stack-set.d: New.
+       * ld-tic6x/shlib-1.rd: Remove __stacksize symbol.
+       * ld-tic6x/shlib-1b.rd: Likewise.
+       * ld-tic6x/shlib-1r.rd: Likewise.
+       * ld-tic6x/shlib-1rb.rd: Likewise.
+       * ld-tic6x/shlib-app-1.rd: Likewise.
+       * ld-tic6x/shlib-app-1b.rd: Likewise.
+       * ld-tic6x/shlib-app-1r.rd: Likewise.
+       * ld-tic6x/shlib-app-1rb.rd: Likewise.
+       * ld-tic6x/shlib-noindex.rd: Likewise.
+       * ld-tic6x/static-app-1.rd: Likewise.
+       * ld-tic6x/static-app-1b.rd: Likewise.
+       * ld-tic6x/static-app-1r.rd: Likewise.
+       * ld-tic6x/static-app-1rb.rd: Likewise.
+
+2012-10-16  Sofiane Naci  <sofiane.naci@arm.com>
+
+       * ld-aarch64/tlsle-symbol-offset.s: New file.
+       * ld-aarch64/tlsle-symbol-offset.d: New file.
+       * ld-aarch64/aarch64-elf.exp: Add tlsle-symbol-offset test.
+
+2012-10-08  Joe Seymour  <jseymour@codesourcery.com>
+
+       * ld-scripts/sane1.d: Sort output from nm. Allow for other symbols in
+       output.
+
+2012-09-19  Chris Schlumberger-Socha  <chris.schlumberger-socha@arm.com>
+
+       * ld-aarch64/emit-relocs-309-low.d: Replace symbol with regexp.
+       * ld-aarch64/emit-relocs-309-up.d: Likewise.
+
+2012-09-19  Andrew Burgess  <aburgess@broadcom.com>
+
+       * ld-scripts/assign-loc.d: New file.  Test for assigning absolute
+       symbol to location counter.
+       * ld-scripts/assign-loc.t: New file.  Linker script for above test.
+       * ld-scripts/expr.exp: Add new assignment test.
+
+2012-09-18  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/14591
+       * ld-elf/comm-data.exp (run_ld_link_tests): Add comm-data3a and
+       comm-data3b tests.
+
+       * ld-ifunc/ifunc.exp (run_ld_link_exec_tests): New.
+
+       * ld-elf/comm-data3.sd: New file.
+       * ld-elf/comm-data3a.s: Likewise.
+       * ld-elf/comm-data3b.s: Likewise.
+       * ld-ifunc/ifunc-17a-i386.d: Likewise.
+       * ld-ifunc/ifunc-17a-x86-64.d: Likewise.
+       * ld-ifunc/ifunc-17a.s: Likewise.
+       * ld-ifunc/ifunc-17b-i386.d: Likewise.
+       * ld-ifunc/ifunc-17b-x86-64.d: Likewise.
+       * ld-ifunc/ifunc-17b.s: Likewise.
+       * ld-ifunc/ifunc-common-1.out: Likewise.
+       * ld-ifunc/ifunc-common-1a.c: Likewise.
+       * ld-ifunc/ifunc-common-1b.c: Likewise.
+
+2012-09-17  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * ld-elf/shared.exp (build_cxx_tests): Move out the commented out
+       test.
+
+       * lib/ld-lib.exp (run_ld_link_exec_tests): Assemble all sources
+       files in each test.
+
+2012-09-12  Chris Schlumberger-Socha  <chris.schlumberger-socha@arm.com>
+
+       * ld-aarch64/aarch64-elf.exp: New reloc tests.
+       * ld-aarch64/emit-relocs-309-low-bad.d: New file. Expected asm for test
+       failure (lower bound overflow).
+       * ld-aarch64/emit-relocs-309-low.d: New file. Expected asm for test
+       success (lower bound).
+       * ld-aarch64/emit-relocs-309-up-bad.d: New file. Expected asm for test
+       failure (upper bound overflow).
+       * ld-aarch64/emit-relocs-309-up.d: New file. Expected asm for test
+       success (upper bound).
+       * ld-aarch64/emit-relocs-309.s: New file. Asm for new reloc tests.
+
+2012-09-09  Hans-Peter Nilsson  <hp@bitrange.com>
+
+       * ld-mmix/sec-1.d, ld-mmix/sec-3.d: Force end-of-section symbols
+       to be emitted and checked.
+       * ld-mmix/data-1.s, ld-mmix/orph-.d, ld-mmix/orph-awp.d,
+       ld-mmix/orph-d-a.d, ld-mmix/orph-d-awn.d, ld-mmix/orph-d-awp.d,
+       ld-mmix/orph-d-awpe.d, ld-mmix/orph-d.d, ld-mmix/orph-dc-ap.d,
+       ld-mmix/orph-dc-awp.d, ld-mmix/orph-dc.d, ld-mmix/tm-ae.s,
+       ld-mmix/tm-ape.s, ld-mmix/tm-awne.s, ld-mmix/tm-awpe.s,
+       ld-mmix/tm-d-ap.s, ld-mmix/tm-d-awp.s, ld-mmix/tm-d.s,
+       ld-mmix/tm-e.s, ld-mmix/tm-orph1.s: New test files.
+
+2012-08-31  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * ld-i386/i386.exp: Run mov1a, mov1b.
+       * ld-x86-64/x86-64.exp: Run mov1a, mov1b, mov1c, mov1d.
+
+       * ld-i386/mov1.s: New file.
+       * ld-i386/mov1a.d: Likewise.
+       * ld-i386/mov1b.d: Likewise.
+       * ld-x86-64/mov1.s: Likewise.
+       * ld-x86-64/mov1a.d: Likewise.
+       * ld-x86-64/mov1b.d: Likewise.
+       * ld-x86-64/mov1c.d: Likewise.
+       * ld-x86-64/mov1d.d: Likewise.
+
+2012-08-31  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * ld-i386/i386.exp: Run lea1d, lea1f, lea1f.
+       * ld-x86-64/x86-64.exp: Run lea1g, lea1h, lea1i, lea1j, lea1k,
+       lea1l.
+
+       * ld-ifunc/ifunc-13-i386.d: Remove R_386_RELATIVE entry.
+
+       * ld-i386/lea1d.d: New file.
+       * ld-i386/lea1e.d: Likewise.
+       * ld-i386/lea1f.d: Likewise.
+       * ld-x86-64/lea1g.d: Likewise.
+       * ld-x86-64/lea1h.d: Likewise.
+       * ld-x86-64/lea1i.d: Likewise.
+       * ld-x86-64/lea1j.d: Likewise.
+       * ld-x86-64/lea1k.d: Likewise.
+       * ld-x86-64/lea1l.d: Likewise.
+
+2012-08-30  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * ld-i386/i386.exp: Run lea1a, lea1b, lea1c.
+       * ld-x86-64/x86-64.exp: Run lea1a, lea1b, lea1c, lea1d, lea1e,
+       lea1f.
+
+       * ld-i386/lea1.s: New file.
+       * ld-i386/lea1a.d: Likewise.
+       * ld-i386/lea1b.d: Likewise.
+       * ld-i386/lea1c.d: Likewise.
+       * ld-x86-64/lea1.s: Likewise.
+       * ld-x86-64/lea1a.d: Likewise.
+       * ld-x86-64/lea1b.d: Likewise.
+       * ld-x86-64/lea1c.d: Likewise.
+       * ld-x86-64/lea1d.d: Likewise.
+       * ld-x86-64/lea1e.d: Likewise.
+       * ld-x86-64/lea1f.d: Likewise.
+
 2012-08-30  H.J. Lu  <hongjiu.lu@intel.com>
 
        PR ld/14525
This page took 0.027427 seconds and 4 git commands to generate.