non-contiguous elf test
[deliverable/binutils-gdb.git] / ld / ChangeLog
index 44a68879807bca3d1c2d0b1664eea2d8a39430fb..79fd3bef013090c71de744c03a311f716b509477 100644 (file)
@@ -1,3 +1,207 @@
+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.
+       * ldfile.c: Likewise.
+       * ldlang.c: Likewise.
+       * plugin.c: Likewise.
+
+2020-02-26  Alan Modra  <amodra@gmail.com>
+
+       PR 25593
+       * ldelf.c (ldelf_try_needed): Add DT_NEEDED lib to input_bfds.
+       (ldelf_after_open): Save state of input_bfds list before loading
+       DT_NEEDED libs.  Traverse input_bfds list adding DT_NEEDED tags.
+       Restore input_bfds list.
+       * testsuite/ld-cris/gotplt1.d: Adjust for changed .dynstr order.
+
+2020-02-24  Nick Clifton  <nickc@redhat.com>
+
+       * po/fr.po: Update French translation.
+
+2020-02-22  Alan Modra  <amodra@gmail.com>
+
+       PR 25585
+       * NEWS: Mention better "PHDR segment not covered by LOAD segment"
+       checking.
+
+2020-02-19  Sergey Belyashov  <sergey.belyashov@gmail.com>
+
+       PR 25537
+       * emultempl/z80.em: Remove machine compatability checking.
+
+2020-02-19  Sergey Belyashov  <sergey.belyashov@gmail.com>
+
+       PR 25517
+       * testsuite/ld-z80/arch_ez80_adl.d: Update command line.
+       * testsuite/ld-z80/arch_ez80_z80.d: Likewise.
+       * testsuite/ld-z80/arch_r800.d: Likewise.
+       * testsuite/ld-z80/arch_z180.d: Likewise.
+       * testsuite/ld-z80/arch_z80n.d: Likewise.
+       * testsuite/ld-z80/comb_arch_ez80_z80.d: Likewise.
+       * testsuite/ld-z80/comb_arch_z180_z80.d: Likewise.
+       * testsuite/ld-z80/comb_arch_z80_ez80.d: Likewise.
+       * testsuite/ld-z80/comb_arch_z80_z180.d: Likewise.
+       * testsuite/ld-z80/comb_arch_z80_z80n.d: Likewise.
+       * testsuite/ld-z80/relocs_b_ez80.d: Likewise.
+       * testsuite/ld-z80/relocs_b_z80.d: Likewise.
+       * testsuite/ld-z80/relocs_f_ez80.d: Likewise.
+       * testsuite/ld-z80/relocs_f_z80.d: Likewise.
+       * testsuite/ld-z80/relocs_f_z80n.d: Likewise.
+
+2020-02-19  Alan Modra  <amodra@gmail.com>
+
+       * testsuite/ld-plugin/pr25355.d: Allow alpha-linux nm result.
+
+2020-02-10  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR binutils/25355
+       * testsuite/ld-plugin/lto.exp: Run PR binutils/25355 test.
+       * testsuite/ld-plugin/pr25355.c: New file.
+       * testsuite/ld-plugin/pr25355.d: Likewise.
+       * testsuite/lib/ld-lib.exp (run_cc_link_tests): Support compile
+       only dump.
+
+2020-02-07  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * testsuite/ld-unique/unique.exp (contains_unique_symbol): Updated.
+
 2020-02-07  Sergey Belyashov  <sergey.belyashov@gmail.com>
 
        PR 25469
This page took 0.039278 seconds and 4 git commands to generate.