]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - ld/ChangeLog
x86: Update GNU_PROPERTY_X86_XXX macros
[thirdparty/binutils-gdb.git] / ld / ChangeLog
index cbff2d06ee9c46c3be277536fa9b593a724db7a6..942843c7f150ac052a4d93d09ee0f5e67a4f2c08 100644 (file)
@@ -1,3 +1,344 @@
+2018-08-24  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * testsuite/ld-i386/i386.exp: Run pr23372c, pr23372d, pr23486c
+       and pr23486d.
+       * testsuite/ld-i386/pr23372a.s: Update comments.
+       * testsuite/ld-i386/pr23372b.s: Likewise.
+       * testsuite/ld-i386/pr23372c.s: Likewise.
+       * testsuite/ld-x86-64/pr23372a.s: Likewise.
+       * testsuite/ld-x86-64/pr23372b.s: Likewise.
+       * testsuite/ld-x86-64/pr23372c.s: Likewise.
+       * testsuite/ld-x86-64/pr23486a.s: Likewise.
+       * testsuite/ld-x86-64/pr23486b.s: Likewise.
+       * testsuite/ld-i386/pr23372c.d: New file.
+       * testsuite/ld-i386/pr23372d.d: Likewise.
+       * testsuite/ld-i386/pr23486c.d: Likewise.
+       * testsuite/ld-i386/pr23486d.d: Likewise.
+       * testsuite/ld-x86-64/pr23372c-x32.d: Likewise.
+       * testsuite/ld-x86-64/pr23372c.d: Likewise.
+       * testsuite/ld-x86-64/pr23372d-x32.d: Likewise.
+       * testsuite/ld-x86-64/pr23372d.d: Likewise.
+       * testsuite/ld-x86-64/pr23372d.s: Likewise.
+       * testsuite/ld-x86-64/pr23372e.s: Likewise.
+       * testsuite/ld-x86-64/pr23372f.s: Likewise.
+       * testsuite/ld-x86-64/pr23486c-x32.d: Likewise.
+       * testsuite/ld-x86-64/pr23486c.d: Likewise.
+       * testsuite/ld-x86-64/pr23486c.s: Likewise.
+       * testsuite/ld-x86-64/pr23486d-x32.d: Likewise.
+       * testsuite/ld-x86-64/pr23486d.d: Likewise.
+       * testsuite/ld-x86-64/pr23486d.s: Likewise.
+       * testsuite/ld-i386/property-3.r: Updated.
+       * testsuite/ld-i386/property-4.r: Likewise.
+       * testsuite/ld-i386/property-5.r: Likewise.
+       * testsuite/ld-i386/property-x86-3.d: Likewise.
+       * testsuite/ld-i386/property-x86-ibt3a.d: Likewise.
+       * testsuite/ld-i386/property-x86-shstk3a.d: Likewise.
+       * testsuite/ld-i386/property-x86-shstk3b.d: Likewise.
+       * testsuite/ld-x86-64/property-3.r: Likewise.
+       * testsuite/ld-x86-64/property-4.r: Likewise.
+       * testsuite/ld-x86-64/property-5.r: Likewise.
+       * testsuite/ld-x86-64/property-x86-3-x32.d: Likewise.
+       * testsuite/ld-x86-64/property-x86-3.d: Likewise.
+       * testsuite/ld-x86-64/property-x86-ibt3a-x32.d: Likewise.
+       * testsuite/ld-x86-64/property-x86-ibt3a.d: Likewise.
+       * testsuite/ld-x86-64/property-x86-ibt3b-x32.d: Likewise.
+       * testsuite/ld-x86-64/property-x86-ibt3b.d: Likewise.
+       * testsuite/ld-x86-64/property-x86-shstk3a-x32.d: Likewise.
+       * testsuite/ld-x86-64/property-x86-shstk3a.d: Likewise.
+       * testsuite/ld-x86-64/property-x86-shstk3b-x32.d: Likewise.
+       * testsuite/ld-x86-64/property-x86-shstk3b.d: Likewise.
+       * testsuite/ld-i386/property-x86-1.S: Updated to the current
+       GNU_PROPERTY_X86_ISA_1_USED and GNU_PROPERTY_X86_ISA_1_NEEDED
+       values.
+       * testsuite/ld-i386/property-x86-2.S: Likewise.
+       * testsuite/ld-i386/property-x86-3.s: Likewise.
+       * testsuite/ld-x86-64/property-x86-1.S: Likewise.
+       * testsuite/ld-x86-64/property-x86-2.S: Likewise.
+       * testsuite/ld-x86-64/property-x86-3.s: Likewise.
+       * ld/testsuite/ld-x86-64/x86-64.exp: Run pr23372c, pr23372c-x32,
+       pr23372d, pr23372d-x32, pr23486c, pr23486c-x32, pr23486d and
+       pr23486d-x32.
+
+2018-08-24  Alan Modra  <amodra@gmail.com>
+
+       * emultempl/elf32.em (before_allocation): Don't restore
+       __ehdr_start u.*.next pointer.
+
+2018-08-23  Alan Modra  <amodra@gmail.com>
+
+       PR 23566
+       * emultempl/elf32.em (before_allocation): Warning fix.
+
+2018-08-23  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/23536
+       * Makefile.am (development.exp): New target.
+       (EXTRA_DEJAGNU_SITE_CONFIG): New.
+       (DISTCLEANFILES): Add development.exp.
+       * Makefile.in: Regenerated.
+       * testsuite/ld-bootstrap/bootstrap.exp: Call prune_warnings to
+       prune BFD output.
+       * testsuite/ld-plugin/lto.exp: Likewise.
+       * testsuite/lib/ld-lib.exp (prune_warnings): Removed.
+       * testsuite/ld-elf/shared.exp: Allow "\n" in linker warnings.
+
+2018-08-21  Nick Clifton  <nickc@redhat.com>
+
+       PR 23426
+       * ld.texi (--hash-style): Note that the default is configurable
+       and that for most Linux based systems it will be "both".
+
+2018-08-18  Alan Modra  <amodra@gmail.com>
+
+       * testsuite/ld-elf/elf.exp (is_elf64): Delete.
+
+2018-08-17  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/23515
+       * testsuite/ld-i386/ibt-plt-2a.d: Updated.
+       * testsuite/ld-i386/ibt-plt-2b.d: Likewise.
+       * testsuite/ld-x86-64/ibt-plt-2a-x32.d: Likewise.
+       * testsuite/ld-x86-64/ibt-plt-2a.d: Likewise.
+       * testsuite/ld-x86-64/ibt-plt-2b-x32.d: Likewise.
+       * testsuite/ld-x86-64/ibt-plt-2b.d: Likewise.
+
+2018-08-12  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * testsuite/ld-x86-64/pr23486b.d: Swap pr23486a.s and pr23486a.s.
+
+2018-08-11  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/23428
+       * testsuite/ld-elf/dummy.s: New file.
+       * testsuite/ld-elf/linux-x86.S: Add X86_FEATURE_1_AND property.
+       * testsuite/ld-elf/linux-x86.exp: Add dummy.s to pr23428.
+
+2018-08-08  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/23486
+       * testsuite/ld-i386/i386.exp: Run PR ld/23486 tests.
+       * testsuite/ld-x86-64/x86-64.exp: Likewise.
+       * testsuite/ld-i386/pr23486a.d: New file.
+       * testsuite/ld-i386/pr23486b.d: Likewise.
+       * testsuite/ld-x86-64/pr23486a-x32.d: Likewise.
+       * testsuite/ld-x86-64/pr23486a.d: Likewise.
+       * testsuite/ld-x86-64/pr23486a.s: Likewise.
+       * testsuite/ld-x86-64/pr23486b-x32.d: Likewise.
+       * testsuite/ld-x86-64/pr23486b.d: Likewise.
+       * testsuite/ld-x86-64/pr23486b.s: Likewise.
+       * testsuite/ld-i386/property-3.r: Remove "x86 ISA used".
+       * testsuite/ld-i386/property-4.r: Likewise.
+       * testsuite/ld-i386/property-5.r: Likewise.
+       * testsuite/ld-i386/property-x86-ibt3a.d: Likewise.
+       * testsuite/ld-i386/property-x86-ibt3b.d: Likewise.
+       * testsuite/ld-i386/property-x86-shstk3a.d: Likewise.
+       * testsuite/ld-i386/property-x86-shstk3b.d: Likewise.
+       * testsuite/ld-x86-64/property-3.r: Likewise.
+       * testsuite/ld-x86-64/property-4.r: Likewise.
+       * testsuite/ld-x86-64/property-5.r: Likewise.
+       * testsuite/ld-x86-64/property-x86-ibt3a-x32.d: Likewise.
+       * testsuite/ld-x86-64/property-x86-ibt3a.d: Likewise.
+       * testsuite/ld-x86-64/property-x86-ibt3b-x32.d: Likewise.
+       * testsuite/ld-x86-64/property-x86-ibt3b.d: Likewise.
+       * testsuite/ld-x86-64/property-x86-shstk3a-x32.d: Likewise.
+       * testsuite/ld-x86-64/property-x86-shstk3a.d: Likewise.
+       * testsuite/ld-x86-64/property-x86-shstk3b-x32.d: Likewise.
+       * testsuite/ld-x86-64/property-x86-shstk3b.d: Likewise.
+
+2018-08-07  Alan Modra  <amodra@gmail.com>
+
+       * testsuite/ld-powerpc/notoc.s: Generate some cfi.
+       * testsuite/ld-powerpc/notoc.d: Adjust.
+       * testsuite/ld-powerpc/notoc.wf: New file.
+       * testsuite/ld-powerpc/powerpc.exp: Run "ext" and "notoc" tests
+       as run_ld_link_tests rather than run_dump_test.
+
+2018-08-07  Martin Storsjo  <martin@martin.st>
+
+       * scripttempl/pe.sc: Improve the comment about overriding
+       __CTOR_LIST__ and __DTOR_LIST__ symbols.
+       * scripttemp/pep.sc: Likewise.
+
+2018-08-07  Nick Clifton  <nickc@redhat.com>
+
+       * po/bg.po: Updated Bulgarian translation.
+
+2018-08-06  Claudiu Zissulescu  <claziss@synopsys.com>
+
+       * testsuite/ld-arc/attr-merge-6.d: New file.
+       * testsuite/ld-arc/attr-merge-6a.s: Likewise.
+       * testsuite/ld-arc/attr-merge-6b.s: Likewise.
+       * testsuite/ld-arc/attr-merge-6bis.d: Likewise.
+
+2018-08-06  Claudiu Zissulescu  <claziss@synopsys.com>
+
+       * testsuite/ld-arc/attr-merge-0.d: Update test.
+       * testsuite/ld-arc/attr-merge-1.d: Likewise.
+       * testsuite/ld-arc/attr-merge-2.d: Likewise.
+       * testsuite/ld-arc/attr-merge-3.d: Likewise.
+       * testsuite/ld-arc/attr-merge-5.d: Likewise.
+
+2018-08-05  Alan Modra  <amodra@gmail.com>
+
+       * testsuite/ld-powerpc/ext.d,
+       * testsuite/ld-powerpc/ext.s,
+       * testsuite/ld-powerpc/ext.lnk,
+       * testsuite/ld-powerpc/notoc.d,
+       * testsuite/ld-powerpc/notoc.s: New tests.
+       * testsuite/ld-powerpc/powerpc.exp: Run them.
+
+2018-08-05  Alan Modra  <amodra@gmail.com>
+
+       * testsuite/ld-powerpc/elfv2exe.d: Adjust for stub symbol change.
+       * testsuite/ld-powerpc/tocopt6.d: Likewise.
+
+2018-08-03  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * testsuite/ld-x86-64/property-x86-3.s: Use ".p2align 2" to
+       align .note.gnu.property section if __64_bit__ is undefined.
+
+2018-08-02  Nick Clifton  <nickc@redhat.com>
+
+       PR 23463
+       * testsuite/ld-plugin/pr12982.d: Revert previous delta.
+       * testsuite/ld-plugin/lto.exp: Skip the pr12982 test for HPPA
+       targets.
+
+2018-08-02  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * testsuite/ld-ifunc/ifunc.exp: Always build static_nonifunc_prog.
+
+2018-08-02  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR binutils/23460
+       * testsuite/ld-plugin/lto.exp: Run the PR binutils/23460 test.
+       * testsuite/ld-plugin/pr23460a.c: New file.
+       * testsuite/ld-plugin/pr23460b.c: Likewise.
+       * testsuite/ld-plugin/pr23460c.c: Likewise.
+       * testsuite/ld-plugin/pr23460d.c: Likewise.
+       * testsuite/ld-plugin/pr23460e.c: Likewise.
+       * testsuite/ld-plugin/pr23460f.c: Likewise.
+
+2018-08-01  Roland McGrath  <mcgrathr@google.com>
+
+       * testsuite/ld-aarch64/ifunc-1-local.d: Adjust regexps to match
+       the offsets emitted by aarch64-elf configurations.
+       * testsuite/ld-aarch64/ifunc-1.d: Likewise.
+       * testsuite/ld-aarch64/ifunc-2-local.d: Likewise.
+       * testsuite/ld-aarch64/ifunc-2.d: Likewise.
+       * testsuite/ld-aarch64/ifunc-21.d: Likewise.
+       * testsuite/ld-aarch64/ifunc-3a.d: Likewise.
+
+2018-08-01  Nick Clifton  <nickc@redhat.com>
+
+       PR 23463
+       * testsuite/ld-plugin/pr12982.d: Skip this test for the HPPA
+       target.
+
+2018-08-01  Alan Modra  <amodra@gmail.com>
+
+       * testsuite/ld-powerpc/powerpc.exp: Run tlsopt5 with hash-style
+       specified.
+
+2018-08-01  Alan Modra  <amodra@gmail.com>
+
+       * testsuite/ld-powerpc/powerpc.exp: Run tlsopt5 with plt alignment.
+       * testsuite/ld-powerpc/tlsopt5.s: Add extra call.
+       * testsuite/ld-powerpc/tlsopt5.wf: Adjust expected output.
+       * testsuite/ld-powerpc/tlsopt5.d: Likewise.
+
+2018-08-01  Alan Modra  <amodra@gmail.com>
+
+       * po/BLD-POTFILES.in: Regenerate.
+
+2018-07-30  Nick Clifton  <nickc@redhat.com>
+
+       * scripttempl/elf.sc: Move the .gnu.build.attributes section to
+       after the .comment section.
+
+2018-07-30  Andrew Jenner  <andrew@codesourcery.com>
+
+       * Makefile.am (ALL_EMULATION_SOURCES): Add C-SKY emulations.
+       (ecskyelf.c, ecskyelf_linux.c): New rules.
+       * Makefile.in: Regenerated.
+       * configure.tgt: Add C-SKY.
+       * emulparams/cskyelf.sh: New file.
+       * emulparams/cskyelf_linux.sh: New file.
+       * emultempl/cskyelf.em: New file.
+       * gen-doc.texi: Add C-SKY.
+       * ld.texi: Likewise.
+       (Options specific to C-SKY targets): New section.
+       * testsuite/ld-csky/*: New tests.
+       * NEWS: Mention the support.
+
+2018-07-30  Nick Clifton  <nickc@redhat.com>
+
+       * scripttempl/elf.sc: Place .gnu.build.attributes sections with
+       other read-only sections.
+
+2018-07-27  John Darrington  <john@darrington.wattle.id.au>
+
+       * scripttempl/elfm9s12z.sc: Put input sections called .common
+       into the .bss segment.
+
+2018-07-27  John Darrington  <john@darrington.wattle.id.au>
+
+       * scripttempl/elfm9s12z.sc: Emit the data_section at the end of text.
+
+2018-07-26  Alan Modra  <amodra@gmail.com>
+
+       * testsuite/ld-powerpc/vxworks-relax-2.rd: Update for 2018-07-25
+       ppc_elf_relax_section changes.
+
+2018-07-26  Alan Modra  <amodra@gmail.com>
+
+       * ld-powerpc/elfv2.s: Add .localentry f5,1 testcase.
+       * ld-powerpc/elfv2exe.d: Update.
+       * ld-powerpc/elfv2so.d: Update.
+
+2018-07-25  Alan Modra  <amodra@gmail.com>
+
+       * testsuite/ld-powerpc/big.s: New file.
+       * testsuite/ld-powerpc/relaxrl.d: New test.
+       * testsuite/ld-powerpc/powerpc.exp: Run new test.
+       * testsuite/ld-powerpc/relaxr.d: Adjust.
+
+2018-07-24  Nick Clifton  <nickc@redhat.com>
+
+       * po/fr.po: Updated French translation.
+
+2018-07-23  Max Filippov  <jcmvbkbc@gmail.com>
+
+       * testsuite/ld-xtensa/coalesce.d: New file.
+       * testsuite/ld-xtensa/coalesce.exp: Remove file.
+       * testsuite/ld-xtensa/diff_overflow.d: New file.
+       * testsuite/ld-xtensa/diff_overflow.exp: Remove file.
+       * testsuite/ld-xtensa/lcall.d: New file.
+       * testsuite/ld-xtensa/lcall.exp: Remove file.
+       * testsuite/ld-xtensa/xtensa.exp (coalesce, diff_overflow)
+       (lcall): New tests.
+
+2018-07-23  Max Filippov  <jcmvbkbc@gmail.com>
+
+       * testsuite/ld-xtensa/relax-static-defs.s: New file.
+       * testsuite/ld-xtensa/relax-static-local-pie.d: New file.
+       * testsuite/ld-xtensa/relax-static-local-shared.d: New file.
+       * testsuite/ld-xtensa/relax-static-local.s: New file.
+       * testsuite/ld-xtensa/relax-static-pie.d: New file.
+       * testsuite/ld-xtensa/relax-static-shared.d: New file.
+       * testsuite/ld-xtensa/relax-static.s: New file.
+       * testsuite/ld-xtensa/relax-undef-weak-local-pie.d: New file.
+       * testsuite/ld-xtensa/relax-undef-weak-local-shared.d: New file.
+       * testsuite/ld-xtensa/relax-undef-weak-local.s: New file.
+       * testsuite/ld-xtensa/relax-undef-weak-pie.d: New file.
+       * testsuite/ld-xtensa/relax-undef-weak-shared.d: New file.
+       * testsuite/ld-xtensa/relax-undef-weak.s: New file.
+       * testsuite/ld-xtensa/xtensa.exp: New file.
+
+2018-07-23  Max Filippov  <jcmvbkbc@gmail.com>
+
+       * testsuite/ld-xtensa/xtensa.exp: Rename to xtensa-linux.exp.
+
 2018-07-23  Alan Modra  <amodra@gmail.com>
 
        * testsuite/ld-elf/reloc-discard-warn.d: New.