Fixes for the magic number used in PDP11 AOUT binaries.
[deliverable/binutils-gdb.git] / ld / ChangeLog
index bf7a7eb06155aec983fe3c9f1f115c4a9ff68592..f53b2260846274a1d8867d53a9b2803e44ed6a1a 100644 (file)
@@ -1,3 +1,180 @@
+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
+       * testsuite/ld-arm/arm-elf.exp (thumb-plt-got): New.
+       * testsuite/ld-arm/thumb-plt-got.d: New test.
+
+2020-04-01  Tamar Christina  <tamar.christina@arm.com>
+
+       * testsuite/ld-arm/arm-elf.exp (thumb-plt): New.
+       * testsuite/ld-arm/thumb-plt.d: New test.
+       * testsuite/ld-arm/thumb-plt.s: New test.
+
 2020-04-01  Hans-Peter Nilsson  <hp@bitrange.com>
 
        * testsuite/ld-scripts/defined4.d: Don't xfail mmix-*-*.
This page took 0.027427 seconds and 4 git commands to generate.