ELF: Group and sort output note sections by section alignments
[deliverable/binutils-gdb.git] / ld / ChangeLog
index f1a55063d6265c5497ebe277c7a071c1c5689bd8..f17a8f27d8a9135a1cdee20a25f7bbdd628177b0 100644 (file)
@@ -1,3 +1,247 @@
+2018-10-03  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/23658
+       * ldlang.c (lang_insert_orphan): Group and sort output note
+       sections by section alignments.
+
+2018-09-25  Eric Botcazou  <ebotcazou@adacore.com>
+
+       * testsuite/ld-elf/pr14156b.d: Adjust for extra symbols.
+       * testsuite/ld-elf/pr22677.s: Define main/start/_start/__start.
+
+2018-09-24  Jim Wilson  <jimw@sifive.com>
+
+       * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Run pcrel-lo-addend-2.
+       * testsuite/ld-riscv/elf/ld-riscv-elf/pcrel-lo-addend-2.d: New.
+       * testsuite/ld-riscv/elf/ld-riscv-elf/pcrel-lo-addend-2.s: New.
+       * testsuite/ld-riscv/elf/ld-riscv-elf/pcrel-lo-addend.d: Update name
+       and error string.
+
+2018-09-21  Alan Modra  <amodra@gmail.com>
+
+       * testsuite/ld-avr/gc-section-debugline.d: Update.
+
+2018-09-20  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * testsuite/ld-checks/over2.s: Add "_main" for LynxOS targets.
+       * testsuite/ld-elf/comm-data4.s: Likewise.
+       * testsuite/ld-elf/comm-data5.s: Likewise.
+       * testsuite/ld-elf/eh5b.s: Likewise.
+       * testsuite/ld-elf/empty.s: Likewise.
+       * testsuite/ld-elf/empty2.s: Likewise.
+       * testsuite/ld-elf/exclude3.s: Likewise.
+       * testsuite/ld-elf/fini0.s: Likewise.
+       * testsuite/ld-elf/init0.s: Likewise.
+       * testsuite/ld-elf/linkonce1b.s: Likewise.
+       * testsuite/ld-elf/orphan3a.s: Likewise.
+       * testsuite/ld-elf/pr14926.s: Likewise.
+       * testsuite/ld-elf/pr20513a.s: Likewise.
+       * testsuite/ld-elf/sec64k.exp: Likewise.
+       * testsuite/ld-elf/start.s: Likewise.
+       * testsuite/ld-elf/var1.s: Likewise.
+
+2018-09-20  Kito Cheng  <kito@andestech.com>
+
+       * emulparams/elf32lriscv.sh: Correct the library search path.
+       * emulparams/elf32lriscv_ilp32.sh: Likewise.
+       * emulparams/elf32lriscv_ilp32f.sh: Likewise.
+
+2018-09-20  Nelson Chu <nelson.chu1990@gmail.com>
+
+       * emultempl/nds32elf.em (hyper_relax): New variable.
+       (nds32_elf_create_output_section_statements):
+       the parameters of bfd_elf32_nds32_set_target_option
+       (PARSE_AND_LIST_PROLOGUE, PARSE_AND_LIST_OPTIONS,
+       PARSE_AND_LIST_ARGS_CASES): Add new option --mhyper-relax.
+       * emultempl/nds32elf.em (nds32_elf_after_open): Updated.
+       * emultempl/nds32elf.em (tls_desc_trampoline): New variable.
+       * (nds32_elf_create_output_section_statements): Updated.
+       * (nds32_elf_after_parse): Disable relaxations when PIC is enable.
+       * (PARSE_AND_LIST_PROLOGUE, PARSE_AND_LIST_OPTIONS,
+       PARSE_AND_LIST_ARGS_CASES): Add new option --m[no-]tlsdesc-trampoline.
+
+2018-09-19  Alan Modra  <amodra@gmail.com>
+
+       PR ld/23648
+       * ldlang.c (lang_process): Move lang_do_memory_regions earlier.
+       Comment on lang_do_assignments call.
+       * ldgram.y (origin_exp): Don't assign region->current.
+       * testsuite/ld-elf/pr23648.d,
+       * testsuite/ld-elf/pr23648.s,
+       * testsuite/ld-elf/pr23648.t: New test.
+
+2018-09-19  Alan Modra  <amodra@gmail.com>
+
+       * ldmain.c (add_archive_element): Handle auto-inport symbols
+       when printing map.
+
+2018-09-17  Alan Modra  <amodra@gmail.com>
+
+       * testsuite/ld-elf/comm-data5.d: Remove notarget for hppa.
+       * testsuite/ld-scripts/defined6.d: Likewise.
+
+2018-09-17  Nick Clifton  <nickc@redhat.com>
+
+       * testuite/ld/ld-elf/audit.exp: Differentiate the names of the
+       two "Run with shared with --audit" tests.
+       * testuite/ld/ld-elf/compress.exp: Differentiate the zlib
+       compressed debug output test names.
+       * testuite/ld/ld-i386/tlspie1.d: Add extra details to the test
+       name.
+       * testuite/ld/ld-i386/tlspie2.d: Likewise.
+       * testuite/ld/ld-size/size.exp: Add missing escapes to the end
+       of lines in the size-3e test.
+       * testuite/ld/ld-unique/unique.exp: Differentiate the names of
+       the two "Checking unique PIC object" tests.
+       * testuite/ld/ld-x86-64/tlspie1.d: Add extra details to the test
+       name.
+
+2018-09-15  Alan Modra  <amodra@gmail.com>
+
+       * testsuite/ld-d10v/reloc-007.d,
+       * testsuite/ld-d10v/reloc-008.d,
+       * testsuite/ld-d10v/reloc-015.d,
+       * testsuite/ld-d10v/reloc-016.d: Remove "error:".
+       * testsuite/ld-elf/eh-frame-hdr.d,
+       * testsuite/ld-elf/eh5.d,
+       * testsuite/ld-gc/personality.d: Replace "cfi" and "shared" in
+       target list with appropriate proc.
+       * testsuite/ld-elf/frame.exp: Use check_shared_lib_support rather
+       than "istarget shared".
+       * testsuite/lib/ld-lib.exp (proc big_or_little_endian): Delete.
+       (run_dump_test, slurp_options, file_contents): Delete.
+       (set_file_contents, istarget): Delete.
+
+2018-09-15  Alan Modra  <amodra@gmail.com>
+
+       * testsuite/lib/ld-lib.exp (run_dump_test): Replace PROG
+       with DUMPPROG.
+
+2018-09-15  Alan Modra  <amodra@gmail.com>
+
+       * testsuite/ld-elf/interleave-0.d,
+       * testsuite/ld-elf/interleave-4.d: Don't objcopy to srec,
+       objdump instead.
+       * testsuite/ld-gc/all-debug-sections.d,
+       * testsuite/ld-scripts/provide-4.d,
+       * testsuite/ld-scripts/provide-5.d,
+       * testsuite/ld-scripts/provide-6.d,
+       * testsuite/ld-scripts/provide-7.d,
+       * testsuite/ld-scripts/provide-8.d,
+       * testsuite/ld-scripts/segment-start.d: Remove PROG, specify
+       nm instead.
+       * testsuite/lib/ld-lib.exp (run_dump_test): Remove support
+       for objcopy as a dump tool.
+
+2018-09-14  Maciej W. Rozycki  <macro@mips.com>
+
+       PR ld/21375
+       * testsuite/ld-mips-elf/pr21375-abi.hd: New test.
+       * testsuite/ld-mips-elf/pr21375-noabi.hd: New test.
+       * testsuite/ld-mips-elf/pr21375.dd: New test.
+       * testsuite/ld-mips-elf/pr21375h.dd: New test.
+       * testsuite/ld-mips-elf/pr21375p.dd: New test.
+       * testsuite/ld-mips-elf/pr21375ph.dd: New test.
+       * testsuite/ld-mips-elf/pr21375s.dd: New test.
+       * testsuite/ld-mips-elf/pr21375s-n32.dd: New test.
+       * testsuite/ld-mips-elf/pr21375s-n64.dd: New test.
+       * testsuite/ld-mips-elf/pr21375sh.dd: New test.
+       * testsuite/ld-mips-elf/pr21375sh-n32.dd: New test.
+       * testsuite/ld-mips-elf/pr21375sh-n64.dd: New test.
+       * testsuite/ld-mips-elf/pr21375shg.dd: New test.
+       * testsuite/ld-mips-elf/pr21375sx.dd: New test.
+       * testsuite/ld-mips-elf/pr21375sxh.dd: New test.
+       * testsuite/ld-mips-elf/pr21375sm16.dd: New test.
+       * testsuite/ld-mips-elf/pr21375sm16h.dd: New test.
+       * testsuite/ld-mips-elf/pr21375su.dd: New test.
+       * testsuite/ld-mips-elf/pr21375su-n32.dd: New test.
+       * testsuite/ld-mips-elf/pr21375su-n64.dd: New test.
+       * testsuite/ld-mips-elf/pr21375suh.dd: New test.
+       * testsuite/ld-mips-elf/pr21375suh-n32.dd: New test.
+       * testsuite/ld-mips-elf/pr21375suh-n64.dd: New test.
+       * testsuite/ld-mips-elf/pr21375sux.dd: New test.
+       * testsuite/ld-mips-elf/pr21375suxh.dd: New test.
+       * testsuite/ld-mips-elf/pr21375.gd: New test.
+       * testsuite/ld-mips-elf/pr21375h.gd: New test.
+       * testsuite/ld-mips-elf/pr21375p.gd: New test.
+       * testsuite/ld-mips-elf/pr21375ph.gd: New test.
+       * testsuite/ld-mips-elf/pr21375s.gd: New test.
+       * testsuite/ld-mips-elf/pr21375s-n32.gd: New test.
+       * testsuite/ld-mips-elf/pr21375s-n64.gd: New test.
+       * testsuite/ld-mips-elf/pr21375sh.gd: New test.
+       * testsuite/ld-mips-elf/pr21375sh-n32.gd: New test.
+       * testsuite/ld-mips-elf/pr21375sh-n64.gd: New test.
+       * testsuite/ld-mips-elf/pr21375shg.gd: New test.
+       * testsuite/ld-mips-elf/pr21375shl.gd: New test.
+       * testsuite/ld-mips-elf/pr21375shv.gd: New test.
+       * testsuite/ld-mips-elf/pr21375sx.gd: New test.
+       * testsuite/ld-mips-elf/pr21375sxh.gd: New test.
+       * testsuite/ld-mips-elf/pr21375.sd: New test.
+       * testsuite/ld-mips-elf/pr21375-irix.sd: New test.
+       * testsuite/ld-mips-elf/pr21375h.sd: New test.
+       * testsuite/ld-mips-elf/pr21375h-irix.sd: New test.
+       * testsuite/ld-mips-elf/pr21375p.sd: New test.
+       * testsuite/ld-mips-elf/pr21375p-irix.sd: New test.
+       * testsuite/ld-mips-elf/pr21375ph.sd: New test.
+       * testsuite/ld-mips-elf/pr21375ph-irix.sd: New test.
+       * testsuite/ld-mips-elf/pr21375s.sd: New test.
+       * testsuite/ld-mips-elf/pr21375s-irix.sd: New test.
+       * testsuite/ld-mips-elf/pr21375s-n32.sd: New test.
+       * testsuite/ld-mips-elf/pr21375s-n32-irix.sd: New test.
+       * testsuite/ld-mips-elf/pr21375s-n64.sd: New test.
+       * testsuite/ld-mips-elf/pr21375s-n64-irix.sd: New test.
+       * testsuite/ld-mips-elf/pr21375sh.sd: New test.
+       * testsuite/ld-mips-elf/pr21375sh-irix.sd: New test.
+       * testsuite/ld-mips-elf/pr21375sh-n32.sd: New test.
+       * testsuite/ld-mips-elf/pr21375sh-n32-irix.sd: New test.
+       * testsuite/ld-mips-elf/pr21375sh-n64.sd: New test.
+       * testsuite/ld-mips-elf/pr21375sh-n64-irix.sd: New test.
+       * testsuite/ld-mips-elf/pr21375shg.sd: New test.
+       * testsuite/ld-mips-elf/pr21375shg-irix.sd: New test.
+       * testsuite/ld-mips-elf/pr21375shl.sd: New test.
+       * testsuite/ld-mips-elf/pr21375shl-irix.sd: New test.
+       * testsuite/ld-mips-elf/pr21375shv.sd: New test.
+       * testsuite/ld-mips-elf/pr21375shv-irix.sd: New test.
+       * testsuite/ld-mips-elf/pr21375sx.sd: New test.
+       * testsuite/ld-mips-elf/pr21375sx-irix.sd: New test.
+       * testsuite/ld-mips-elf/pr21375sxh.sd: New test.
+       * testsuite/ld-mips-elf/pr21375sxh-irix.sd: New test.
+       * testsuite/ld-mips-elf/pr21375.ld: New test linker script.
+       * testsuite/ld-mips-elf/pr21375-xgot.ld: New test linker script.
+       * testsuite/ld-mips-elf/pr21375.ver: New test version script.
+       * testsuite/ld-mips-elf/pr21375v.ver: New test version script.
+       * testsuite/ld-mips-elf/pr21375.s: New test source.
+       * testsuite/ld-mips-elf/pr21375-mips16.s: New test source.
+       * testsuite/ld-mips-elf/pr21375-n32.s: New test source.
+       * testsuite/ld-mips-elf/pr21375-n64.s: New test source.
+       * testsuite/ld-mips-elf/pr21375-xgot.s: New test source.
+       * testsuite/ld-mips-elf/mips-elf.exp (run_mips_undefweak_test):
+       New procedure; run the new tests.
+
+2018-09-14  Maciej W. Rozycki  <macro@mips.com>
+
+       PR ld/21375
+       * emultempl/mipself.em: Set `gnu_target' according to ${target}.
+       (mips_create_output_section_statements): Update call to
+       `_bfd_mips_elf_linker_flags'.
+       * testsuite/ld-mips-elf/pr21334.s: Use LWL rather than LW.
+       * testsuite/ld-mips-elf/pr21334.dd: Update accordingly.
+
+2018-09-14  Maciej W. Rozycki  <macro@mips.com>
+           Maciej W. Rozycki  <macro@linux-mips.org>
+
+       * ldexp.c (fold_binary): Always make the result of SEGMENT_START
+       section-relative.
+       * testsuite/ld-scripts/segment-start.d: New test.
+       * testsuite/ld-scripts/segment-start.ld: New test linker script.
+       * testsuite/ld-scripts/segment-start.s: New test source.
+       * testsuite/ld-scripts/script.exp: Run the new test.
+
+2018-09-14  Maciej W. Rozycki  <macro@linux-mips.org>
+
+       * ldexp.c (fold_binary): Check that `config.maxpagesize' is
+       non-zero before using it as a divisor.
+
 2018-09-03  Nick Clifton  <nickc@redhat.com>
 
        * po/fi.po: Updated Finnish translation.
This page took 0.025815 seconds and 4 git commands to generate.