x86: Don't mask out the GNU_PROPERTY_X86_UINT32_VALID bit
[deliverable/binutils-gdb.git] / ld / ChangeLog
index b1b8cf5d1a670ed321154bf7ec5e1af59ae9ac43..0cf02abde2548085879f7df18c09876473b4ae1d 100644 (file)
@@ -1,3 +1,138 @@
+2018-08-27  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * testsuite/ld-i386/i386.exp: Run property-x86-5.
+       * testsuite/ld-i386/property-x86-5.d: New file.
+       * testsuite/ld-x86-64/property-x86-5-x32.d: Likewise.
+       * testsuite/ld-x86-64/property-x86-5.d: Likewise.
+       * testsuite/ld-x86-64/property-x86-5a.s: Likewise.
+       * testsuite/ld-x86-64/property-x86-5b.s: Likewise.
+       * testsuite/ld-x86-64/x86-64.exp: Run property-x86-5 and
+       property-x86-5-x32.
+
+2018-08-26  Alan Modra  <amodra@gmail.com>
+
+       PR 23571
+       * ldlang.h (section_alignment): Make it an expression tree.
+       (subsection_alignment): Likewise.
+       * ldlang.c (topower): Delete.
+       (output_section_statement_newfunc): Adjust initialization.
+       (init_os): Evaluate section_alignment.
+       (lang_size_sections_1): Likewise.
+       (size_input_section): Evaluate subsection_alignment.
+       (lang_enter_output_section_statement): Don't evaluate here.
+       (lang_new_phdr): Use exp_get_vma rather than exp_get_value_int.
+       * ldexp.h (exp_get_value_int): Delete.
+       (exp_get_power): Declare.
+       * ldexp.c (exp_get_value_int): Delete.
+       (exp_get_power): New function.
+       * emultempl/pe.em (place_orphan): Build expression for section
+       alignment.
+       * emultempl/pep.em (place_orphan): Likewise.
+       * testsuite/ld-scripts/pr23571.d,
+       * testsuite/ld-scripts/pr23571.t: New test.
+       * testsuite/ld-scripts/align.exp: Run it.
+
+2018-08-24  Chenghua Xu  <paul.hua.gm@gmail.com>
+
+       * testsuite/ld-mips-elf/mips-elf-flags.exp
+       (check_ld_support_32bit, check_is_32bit_args): New procedures.
+       (good_combination, bad_combination): Skip 32bit test if ld
+       not support 32bit emulations.
+
+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
This page took 0.02432 seconds and 4 git commands to generate.