Correct mingw target select
[deliverable/binutils-gdb.git] / ld / ChangeLog
index 16ffc3034885e6313e2594e29a1af1bc1ff8f4b0..79f8e63adccc3c4da764e9be36c4e866e03cdcf5 100644 (file)
@@ -1,3 +1,251 @@
+2020-04-22  Alan Modra  <amodra@gmail.com>
+
+       * testsuite/ld-scripts/default-script1.d: Correct mingw skip.
+       * testsuite/ld-scripts/default-script2.d: Likewise.
+       * testsuite/ld-scripts/default-script3.d: Likewise.
+       * testsuite/ld-scripts/default-script4.d: Likewise.
+
+2020-04-21  Stephen Casner  <casner@acm.org>
+
+       PR 25829
+       * testsuite/ld-scripts/script.exp (check_script)
+       (extract_symbol_test): Make test addresses fit in 16 bits.
+       * testsuite/ld-scripts/memory.t: Likewise.
+       * testsuite/ld-scripts/memory_sym.t (TXT_LENGTH): Likewise.
+       * testsuite/ld-scripts/default-script.t (_START): Likewise.
+       * testsuite/ld-scripts/default-script1.d: Likewise.
+       * testsuite/ld-scripts/default-script2.d: Likewise.
+       * testsuite/ld-scripts/default-script3.d: Likewise.
+       * testsuite/ld-scripts/default-script4.d: Likewise.
+       * testsuite/ld-scripts/empty-address-1.t: Likewise.
+       * testsuite/ld-scripts/empty-address-1.d: Likewise.
+       * testsuite/ld-scripts/empty-address-2a.d: Likewise.
+       * testsuite/ld-scripts/empty-address-2b.d: Likewise.
+       * testsuite/ld-misc/start.s: .long -> .dc.a to allow relocation to
+       fit target address size.
+       * testsuite/ld-scripts/empty-address-1.s: Likewise.
+       * testsuite/ld-scripts/empty-address-2.s: Likewise.
+
+2020-04-21  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/25849
+       * ldelfgen.c (ldelf_map_segments): Call
+       elf_backend_strip_zero_sized_dynamic_sections.
+       * testsuite/ld-alpha/tlsbinr.rd: Updated.
+
+2020-04-20  Alan Modra  <amodra@gmail.com>
+
+       * testsuite/ld-powerpc/tlsopt5.s: Rename foo to aaaaa.
+       * testsuite/ld-powerpc/tlsopt5.d: Adjust to suit.
+       * testsuite/ld-powerpc/tlsopt6.d: Likewise.
+
+2020-04-18  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
+
+       * testsuite/ld-elf/warn1.d: Don't xfail on 64-bit Solaris/SPARC.
+       * testsuite/ld-elf/warn2.d: Likewise.
+
+2020-04-18  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * testsuite/ld-elf/elf.exp (ASFLAGS): Add "--defsym NO_SET=1" for
+       alpha target.
+       * testsuite/ld-elf/pr19789.s: Use "=" if NO_SET is defined.
+
+2020-04-16  Stephen Casner  <casner@acm.org>
+
+       PR 18963
+       * testsuite/ld-scripts/pr18963.t: Reduce section sizes to fit in
+       16-bit address space.
+       * testsuite/ld-scripts/pr18963.d: Likewise.
+
+2020-04-17  Juan Manuel Guerrero  <juan.guerrero@gmx.de>
+            Jan W. Jagersma  <jwjagersma@gmail.com>
+
+       * scripttempl/i386go32.sc: Provide symbol _environ.  Link in
+       .ctors and .dtors.  Discard LTO sections.
+
+2020-04-17  Nick Clifton  <nickc@redhat.com>
+
+       * testsuite/config/default.exp: If not already set then create the
+       CCC_OVERRIDE_OPTIONS environment variable to help when running the
+       testsuite with clang.
+       * testsuite/ld-elf/pr22269-1.c: Add a missing return statement.
+       * testsuite/ld-elfvers/vers.exp: Add checks to detect if files
+       were built before attempting to copy them.
+
+2020-04-15  Fangrui Song <maskray@google.com>
+
+       PR binutils/24613
+       * lexsup.c (parse_args): Change RM_GENERATE_WARNING and
+       RM_GENERATE_ERROR to RM_DIAGNOSE.
+       * emultempl/aix.em (ld_${EMULATION_NAME}_emulation): Change
+       RM_GENERATE_ERROR to RM_DIAGNOSE.
+       * emultempl/elf.em (ld_${EMULATION_NAME}_emulation): Likewise.
+
+2020-04-14  Stephen Casner  <casner@acm.org>
+
+       PR ld/25677
+       * emulparams/pdp11.sh (SCRIPT_NAME): Change to pdp11.
+       (EXTRA_EM_FILE): New, add emulation file pdp11.
+       * scripttempl/pdp11.sc: New, derived from aout.sc without
+       irrelevant input sections.
+       * emultempl/pdp11.em (_add_options, _handle_option)
+       (_list_options): New. Add options -z, --imagic for pdp11-aout.
+       (_before_parse): Make --omagic be default instead of --nmagic.
+       (_get_script): Modify special-case linker script for --imagic.
+       * lexsup.c (parse_args): Explictly set config.text_read_only for -n.
+       * ld.texi (Options): Add documentation of PDP11-specific options.
+       (Options): Fix unrelated typo to --no-compact-branches.
+       * gen-doc.texi: @set PDP11.
+       * testsuite/ld-pdp11/pdp11.exp: New, start pdp11 testing.
+       * testsuite/ld-pdp11/sections.s: New, source for options tests.
+       * testsuite/ld-pdp11/imagic.d: New, test --imagic format.
+       * testsuite/ld-pdp11/imagicz.d: New, test -z (imagic) format.
+       * testsuite/ld-pdp11/nmagic.d: New, test --nmagic format.
+       * testsuite/ld-pdp11/omagic.d: New, test --omagic format.
+
+2020-04-14  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR binutils/25707
+       * testsuite/ld-arm/armthumb-lib.sym: Updated.
+       * testsuite/ld-arm/farcall-mixed-app.sym: Likewise.
+       * testsuite/ld-arm/farcall-mixed-app2.sym: Likewise.
+       * testsuite/ld-arm/fdpic-main-m.sym: Likewise.
+       * testsuite/ld-arm/fdpic-main.sym: Likewise.
+       * testsuite/ld-arm/fdpic-shared-m.sym: Likewise.
+       * testsuite/ld-arm/fdpic-shared.sym: Likewise.
+       * testsuite/ld-arm/mixed-app.sym: Likewise.
+       * testsuite/ld-arm/mixed-lib.sym: Likewise.
+       * testsuite/ld-arm/preempt-app.sym: Likewise.
+       * testsuite/ld-elf/hash.d: Likewise.
+       * testsuite/ld-elf/pr13195.d: Likewise.
+       * testsuite/ld-elfvsb/hidden2.d: Likewise.
+       * testsuite/ld-mips-elf/hash2.d: Likewise.
+
+2020-04-10  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
+
+       * testsuite/ld-shared/shared.exp: Remove dangling comments.
+       xfail shared non PIC tests on Solaris.
+
+2020-04-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
+
+       * testsuite/ld-elf/shared.exp: Add -Av9 to AFLAGS_PIC on sparc*-*-*.
+
+2020-04-02  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * testsuite/config/default.exp (NOCF_PROTECTION_CFLAGS): Replace
+       nopie with available.
+
+2020-04-02  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * testsuite/config/default.exp (NOCF_PROTECTION_CFLAGS): New.
+       Set to "-fcf-protection=none" if target compiler supports it.
+       * testsuite/ld-srec/srec.exp: Add $NOCF_PROTECTION_CFLAGS to
+       CC and CXX.
+       * testsuite/ld-x86-64/x86-64.exp: Add $NOCF_PROTECTION_CFLAGS
+       to PLT BND tests.
+
+2020-04-02  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * testsuite/ld-elf/linux-x86.exp (check_pr25749a): Compile with
+       -I../bfd.
+       (check_pr25749b): Likewise.
+
+2020-04-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
+
+       * testsuite/ld-ifunc/ifunc-10-i386.d: Remove *-*-solaris2* from
+       notarget.
+       * ifunc-11-i386.d: Likewise.
+       * ifunc-12-i386.d: Likewise.
+       * ifunc-13-i386.d: Likewise.
+       * ifunc-14a-i386.d: Likewise.
+       * ifunc-14b-i386.d: Likewise.
+       * ifunc-14c-i386.d: Likewise.
+       * ifunc-14d-i386.d: Likewise.
+       * ifunc-14e-i386.d: Likewise.
+       * ifunc-14f-i386.d: Likewise.
+       * ifunc-15-i386.d: Likewise.
+       * ifunc-16-i386-now.d: Likewise.
+       * ifunc-16-i386.d: Likewise.
+       * ifunc-17a-i386.d: Likewise.
+       * ifunc-17b-i386.d: Likewise.
+       * ifunc-18a-i386.d: Likewise.
+       * ifunc-18b-i386.d: Likewise.
+       * ifunc-19a-i386.d: Likewise.
+       * ifunc-19b-i386.d: Likewise.
+       * ifunc-2-i386-now.d: Likewise.
+       * ifunc-2-i386.d: Likewise.
+       * ifunc-2-local-i386-now.d: Likewise.
+       * ifunc-2-local-i386.d: Likewise.
+       * ifunc-20-i386.d: Likewise.
+       * ifunc-21-i386.d: Likewise.
+       * ifunc-22-i386.d: Likewise.
+       * ifunc-5a-i386.d: Likewise.
+       * ifunc-5a-local-i386.d: Likewise.
+       * ifunc-5b-i386.d: Likewise.
+       * ifunc-5b-local-i386.d: Likewise.
+       * ifunc-5r-local-i386.d: Likewise.
+       * ifunc-6a-i386.d: Likewise.
+       * ifunc-6b-i386.d: Likewise.
+       * ifunc-7a-i386.d: Likewise.
+       * ifunc-7b-i386.d: Likewise.
+       * ifunc-8-i386.d: Likewise.
+       * ifunc-9-i386.d: Likewise.
+       * pr17154-i386-now.d: Likewise.
+       * pr17154-i386.d: Likewise.
+
+       * ifunc-23a-x86.d: Remove notarget.
+       * ifunc-24a-x86.d: Likewise.
+       * ifunc-25a-x86.d: Likewise.
+
+2020-04-02  Nick Clifton  <nickc@redhat.com>
+
+       PR ld/25747
+       * ldfile.c (ldfile_open_file): Fix typo in warning message.
+
+2020-04-01  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/25749
+       PR ld/25754
+       * testsuite/ld-elf/linux-x86.exp: Run ld/25749 tests.
+       * testsuite/ld-elf/pr25749-1.c: New file.
+       * testsuite/ld-elf/pr25749-1a.c: Likewise.
+       * testsuite/ld-elf/pr25749-1b.c: Likewise.
+       * testsuite/ld-elf/pr25749-1b.err: Likewise.
+       * testsuite/ld-elf/pr25749-1c.c: Likewise.
+       * testsuite/ld-elf/pr25749-1d.c: Likewise.
+       * testsuite/ld-elf/pr25749-2.c: Likewise.
+       * testsuite/ld-elf/pr25749-2a.s: Likewise.
+       * testsuite/ld-elf/pr25749-2b.s: Likewise.
+       * testsuite/ld-elf/pr25749.rd: Likewise.
+       * testsuite/ld-elf/pr25754-1a.c: Likewise.
+       * testsuite/ld-elf/pr25754-1b.s: Likewise.
+       * testsuite/ld-elf/pr25754-2a.c: Likewise.
+       * testsuite/ld-elf/pr25754-2b.err: Likewise.
+       * testsuite/ld-elf/pr25754-2b.s: Likewise.
+       * testsuite/ld-elf/pr25754-3a.c: Likewise.
+       * testsuite/ld-elf/pr25754-3b.s: Likewise.
+       * testsuite/ld-elf/pr25754-4a.c: Likewise.
+       * testsuite/ld-elf/pr25754-4b.s: Likewise.
+       * testsuite/ld-elf/pr25754-4c.s: Likewise.
+       * testsuite/ld-elf/pr25754-5a.c: Likewise.
+       * testsuite/ld-elf/pr25754-5b.s: Likewise.
+       * testsuite/ld-elf/pr25754-5c.s: Likewise.
+       * testsuite/ld-elf/pr25754-6a.c: Likewise.
+       * testsuite/ld-elf/pr25754-6b.s: Likewise.
+       * testsuite/ld-x86-64/pr19609-6a.d: Don't expect linker error.
+
+2020-04-01  Tamar Christina  <tamar.christina@arm.com>
+
+       PR ld/16017
+       * testsuite/ld-arm/arm-elf.exp (thumb-plt, thumb-plt-got): Skip for NaCL.
+
+2020-04-01  Nick Clifton  <nickc@redhat.com>
+
+       PR ld/25747
+       * ldfile.c (ldfile_open_file): If a search for a library fails,
+       but there is a file that would match if it had a "lib" prefix to
+       its name, then tell the user.
+
 2020-04-01  Tamar Christina  <tamar.christina@arm.com>
 
        PR ld/16017
This page took 0.025836 seconds and 4 git commands to generate.