non-contiguous elf test
[deliverable/binutils-gdb.git] / ld / ChangeLog
index 9333dffbdf6d77383dd872f735fe58974d3f3e6e..79fd3bef013090c71de744c03a311f716b509477 100644 (file)
@@ -1,3 +1,140 @@
+2020-03-14  Alan Modra  <amodra@gmail.com>
+
+       * testsuite/ld-elf/non-contiguous.d: Don't xfail generic ELF
+       targets.  Don't skip xtensa, xfail instead.
+
+2020-03-13  Christophe Lyon  <christophe.lyon@linaro.org>
+
+       * ldlang.c (lang_add_section): Add support for
+       non_contiguous_regions.
+       (size_input_section): Likewise.
+       (lang_size_sections_1): Likewise.
+       (process_insert_statements): Likewise.
+       * ldlex.h (option_values): Add OPTION_NON_CONTIGUOUS_REGIONS and
+       OPTION_NON_CONTIGUOUS_REGIONS_WARNINGS.
+       * lexsup.c (ld_options): Add entries for
+       --enable-non-contiguous-regions and
+       --enable-non-contiguous-regions-warnings.
+       (parse_args): Handle it.
+       * NEWS: Add --enable-non-contiguous-regions and
+       --enable-non-contiguous-regions-warnings.
+       * ld.texi: Add --enable-non-contiguous-regions and
+       --enable-non-contiguous-regions-warnings documentation.
+       * emultempl/armelf.em (elf32_arm_add_stub_section): Add
+       SEC_LINKER_CREATED flag.
+       * emultempl/xtensaelf.em (ld_build_required_section_dependence):
+       Emit an error when --enable-non-contiguous-regions is used.
+       * testsuite/ld-elf/non-contiguous.d: New.
+       * testsuite/ld-elf/non-contiguous.ld: New.
+       * testsuite/ld-elf/non-contiguous.s: New.
+       * testsuite/ld-arm/arm-elf.exp: Run the new tests.
+       * testsuite/ld-arm/arm-elf/non-contiguous-arm.s: New.
+       * testsuite/ld-arm/arm-elf/non-contiguous-arm.d: New.
+       * testsuite/ld-arm/arm-elf/non-contiguous-arm.ld: New.
+       * testsuite/ld-arm/arm-elf/non-contiguous-arm2.d: New.
+       * testsuite/ld-arm/arm-elf/non-contiguous-arm3.ld: New.
+       * testsuite/ld-arm/arm-elf/non-contiguous-arm3.d: New.
+       * testsuite/ld-arm/arm-elf/non-contiguous-arm3.ld: New.
+       * testsuite/ld-arm/arm-elf/non-contiguous-arm4.d: New.
+       * testsuite/ld-arm/arm-elf/non-contiguous-arm4.ld: New.
+       * testsuite/ld-arm/arm-elf/non-contiguous-arm5.d: New.
+       * testsuite/ld-arm/arm-elf/non-contiguous-arm5.ld: New.
+       * testsuite/ld-arm/arm-elf/non-contiguous-arm6.d: New.
+       * testsuite/ld-arm/arm-elf/non-contiguous-arm6.ld: New.
+       * testsuite/ld-powerpc/powerpc.exp: Run new tests.
+       * testsuite/ld-powerpc/non-contiguous-powerpc.d: New.
+       * testsuite/ld-powerpc/non-contiguous-powerpc.ld: New.
+       * testsuite/ld-powerpc/non-contiguous-powerpc.sd: New.
+       * testsuite/ld-powerpc/non-contiguous-powerpc64.d: New.
+
+2020-03-13  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/24920
+       * emulparams/elf32_x86_64.sh: Use static.sh.
+       * emulparams/elf_i386.sh: Likewise.
+       * emulparams/elf_x86_64.sh: Likewise.
+       * emulparams/static.sh: New file.
+       * emultempl/elf-x86.em: Include "ldlex.h".
+       * testsuite/ld-elf/pr24920.err: New file.
+       * testsuite/ld-elf/linux-x86.exp: Run ld/24920 tests.
+
+2020-03-13  Christian Eggers  <ceggers@gmx.de>
+
+       * ldexp.c (fold_name): Return SIZEOF_HEADERS in bytes.
+
+2020-03-11  Alan Modra  <amodra@gmail.com>
+
+       * ldelf.c (elf_orphan_compatible): Return false when two sections
+       have differing SHF_MASKPROC or SHF_MASKOS flags.
+
+2020-03-05  Alan Modra  <amodra@gmail.com>
+
+       PR 25570
+       * ldlang.c (lang_size_sections_1): Don't report changes on
+       second and subsequent iterations that make no change in
+       alignment from that already reported.
+
+2020-03-05  Alan Modra  <amodra@gmail.com>
+
+       PR 25570
+       * ldlang.c (lang_sizing_iteration): New static var.
+       (lang_size_sections_1): Warn about no memory region only on first
+       iteration.  Warn about changing start address on first iteration
+       then any delta from that on subsequent iterations.  Report a signed
+       delta.
+       (one_lang_size_sections_pass): Increment lang_sizing_iteration.
+
+2020-03-03  Nick Clifton  <nickc@redhat.com>
+
+       PR 25588
+       * ld.texi (Options): Update the description of the --rpath-link
+       option.
+
+2020-03-02  Alan Modra  <amodra@gmail.com>
+
+       * plugin.c (plugin_object_p): Return a bfd_cleanup.
+       (plugin_cleanup): New function.
+
+2020-03-01  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/25618
+       * plugin.c (plugin_object_p): Copy the no_export field to the IR
+       dummy object.
+       * testsuite/ld-plugin/lto.exp (lto_link_elf_tests): Add
+       PR ld/25618 tests.
+       * testsuite/ld-plugin/pr25618.d: New file.
+       * testsuite/ld-plugin/pr25618a.cc: Likewise.
+       * testsuite/ld-plugin/pr25618a.h: Likewise.
+       * testsuite/ld-plugin/pr25618b.cc: Likewise.
+       * testsuite/ld-plugin/pr25618b.h: Likewise.
+
+2020-02-27  Alan Modra  <amodra@gmail.com>
+
+       PR 24511
+       * testsuite/ld-mmix/b-fixo2.d: Adjust for .data change.
+       * testsuite/ld-mmix/sec-2.d: Likewise.
+       * testsuite/ld-mmix/sec-3.d: Likewise.
+       * testsuite/ld-mmix/sec-4.d: Likewise.
+       * testsuite/ld-mmix/spec802.d: Likewise.
+       * testsuite/ld-mmix/spec803.d: Likewise.
+       * testsuite/ld-mmix/spec804.d: Likewise.
+       * testsuite/ld-mmix/spec805.d: Likewise.
+       * testsuite/ld-mmix/spec806.d: Likewise.
+       * testsuite/ld-mmix/spec807.d: Likewise.
+       * testsuite/ld-mmix/spec808.d: Likewise.
+
+2020-02-26  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/25593
+       * testsuite/ld-plugin/lto.exp: Run PR ld/25593 tests.
+       * testsuite/ld-plugin/pr25593.d: New file.
+       * testsuite/ld-plugin/pr25593a-1.c: Likewise.
+       * testsuite/ld-plugin/pr25593a-2.c: Likewise.
+       * testsuite/ld-plugin/pr25593b.c: Likewise.
+       * testsuite/ld-plugin/pr25593c.c: Likewise.
+       * testsuite/ld-plugin/pr25593d.c: Likewise.
+       * testsuite/ld-plugin/pr25593e.c: Likewise.
+
 2020-02-26  Alan Modra  <amodra@gmail.com>
 
        * emultempl/cskyelf.em: Indent labels correctly.
This page took 0.026785 seconds and 4 git commands to generate.