i386: Add tests for -malign-branch-boundary and -malign-branch
[deliverable/binutils-gdb.git] / ld / ChangeLog
index ad521979f44eee6a975c04c35d836b064c22df69..4b7e746498e81c76439430c09bec195f7d4a869d 100644 (file)
@@ -1,3 +1,147 @@
+2019-12-12  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * testsuite/ld-i386/align-branch-1.d: New file.
+       * testsuite/ld-i386/align-branch-1.s: Likewise.
+       * testsuite/ld-x86-64/align-branch-1.d: Likewise.
+       * testsuite/ld-x86-64/align-branch-1.3: Likewise.
+       * testsuite/ld-i386/i386.exp: Run the new test.
+       * testsuite/ld-x86-64/x86-64.exp: Likewise.
+
+2019-12-08  Alan Modra  <amodra@gmail.com>
+
+       * testsuite/ld-elf/eh4.d: Match optional padding DW_CFA_nop in FDEs.
+       * testsuite/ld-elf/eh5.d: Likewise, and extra CIEs emitted on
+       embedded targets.
+
+2019-12-06  Alan Modra  <amodra@gmail.com>
+
+       * testsuite/ld-mips-elf/eh-frame1-n32.d: Pass --eh-frame-hdr to ld.
+       * testsuite/ld-mips-elf/eh-frame1-n64.d: Likewise.
+       * testsuite/ld-mips-elf/eh-frame2-n32.d: Likewise.
+       * testsuite/ld-mips-elf/eh-frame2-n64.d: Likewise.
+
+2019-12-05  Alan Modra  <amodra@gmail.com>
+
+       PR 25244
+       * ldlang.c (lang_print_memory_usage): Correct last patch.
+
+2019-12-05  Alan Modra  <amodra@gmail.com>
+
+       PR 25243
+       * emulparams/armelf.sh (OTHER_READONLY_SECTIONS): Move definition
+       of __exidx_start and __exidx_end into ARM.exidx.
+       * emulparams/armelf_linux_eabi.sh (OTHER_READONLY_SECTIONS): Likewise.
+       * emulparams/armsymbian.sh (OTHER_READONLY_SECTIONS): Similarly.
+       * emulparams/elf32_tic6x_le.sh (OTHER_READONLY_SECTIONS): Similarly.
+       * emulparams/armelf_fuchsia.sh: Source armelf_linux_eabi.sh,
+       just redefining TEXT_START_ADDR.
+       * emulparams/armelf_linux_fdpiceabi.sh: Source armelf_linux_eabi.sh,
+       adding to OTHER_READONLY_SECTIONS.
+
+2019-12-05  Alan Modra  <amodra@gmail.com>
+
+       PR 25244
+       * ldlang.c (lang_print_memory_usage): Don't print percent used
+       when length is zero.
+
+2019-11-27  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * testsuite/ld-elf/eh5.d: Accept version 3 DWARF CIE.
+
+2019-11-26  Martin Liska  <mliska@suse.cz>
+
+       * scripttempl/arclinux.sc: Add .text.sorted.* which is sorted
+       by default.
+       * scripttempl/elf.sc: Likewise.
+       * scripttempl/elf64bpf.sc: Likewise.
+       * scripttempl/nds32elf.sc: Likewise.
+       * testsuite/ld-arm/arm-no-rel-plt.ld: Expect .text.sorted.*
+       in the default linker script.
+       * testsuite/ld-arm/fdpic-main.ld: Likewise.
+       * testsuite/ld-arm/fdpic-shared.ld: Likewise.
+
+2019-11-25  Alan Modra  <amodra@gmail.com>
+
+       * ldexp.c (fold_name): Pass section to bfd_octets_per_byte.
+       * ldlang.c (init_opb): Don't call bfd_arch_mach_octets_per_byte
+       unnecessarily.
+
+2019-11-25  Christian Eggers  <ceggers@gmx.de>
+
+       * ldexp.c (fold_name): Provide section parameter to
+       bfd_octets_per_byte.
+       * ldlang (init_opb): New argument s. Set opb_shift to 0 if
+       SEC_ELF_OCTETS for the current section is set.
+       (print_input_section): Pass current section to init_opb.
+       (print_data_statement,print_reloc_statement,
+       print_padding_statement): Likewise.
+       (lang_check_section_addresses): Call init_opb for each
+       section.
+       (lang_size_sections_1,lang_size_sections_1,
+       lang_do_assignments_1): Likewise.
+       (lang_process): Pass NULL to init_opb.
+
+2019-11-22  Nick Clifton  <nickc@redhat.com>
+
+       * ld.texi (Output Section Discarding): Add note indicating that
+       /DISCARD/ed sections ignore ELF section grouping.
+
+2019-11-22  Nick Clifton  <nickc@redhat.com>
+
+       * ldlang.h (LANG_FOR_EACH_INPUT_STATEMENT): Use cast instead of
+       extra check.
+
+2019-11-21  Nick Clifton  <nickc@redhat.com>
+
+       * ldlang.h (LANG_FOR_EACH_INPUT_STATEMENT): Check for an empty
+       file chain before examining the first input statement.
+
+2019-11-21  Alan Modra  <amodra@gmail.com>
+
+       PR 46
+       * scripttempl/pe.sc: Comment on ld -Ur fail.  Wrap .gcc_exc comment.
+       * scripttempl/pep.sc: Likewise.
+       * scripttempl/i386beos.sc: Wrap .gcc_exc comment.
+       * scripttempl/mcorepe.sc: Likewise.
+       * testsuite/ld-cdtest/cdtest.exp (test2): xfail for pe.
+
+2019-11-12  Jim Wilson  <jimw@sifive.com>
+
+       PR 25181
+       * testsuite/ld-riscv-elf/call-relax-0.s: New file.
+       * testsuite/ld-riscv-elf/call-relax-1.s: New file.
+       * testsuite/ld-riscv-elf/call-relax-2.s: New file.
+       * testsuite/ld-riscv-elf/call-relax-3.s: New file.
+       * testsuite/ld-riscv-elf/call-relax.d: New test.
+       * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Run call-relax test.
+
+2019-11-08  Alan Modra  <amodra@gmail.com>
+
+       * emulparams/aarch64elf.sh: Revert 2019-11-05 change.
+       * emulparams/aarch64elf32.sh: Likewise.
+       * emulparams/arcelf.sh: Likewise.
+       * emulparams/armelf.sh: Likewise.
+       * emulparams/armelf_fbsd.sh: Likewise.
+       * emulparams/armelf_nbsd.sh: Likewise.
+       * emulparams/armelf_vxworks.sh: Likewise.
+       * emulparams/armsymbian.sh: Likewise.
+       * emulparams/elf32bfin.sh: Likewise.
+       * emulparams/elf32microblaze.sh: Likewise.
+       * emulparams/score3_elf.sh: Likewise.
+       * emulparams/shelf.sh: Likewise.
+       * emulparams/shelf_nbsd.sh: Likewise.
+       * emulparams/shelf_uclinux.sh: Likewise.
+
+2019-11-07  Alan Modra  <amodra@gmail.com>
+
+       * emulparams/elf32cr16c.sh: Delete.
+       * scripttempl/elf32cr16c.sc: Delete.
+       * Makefile.am,
+       * configure.tgt: Remove cr16c support.
+       * NEWS: Mention removal of cr16c.
+       * Makefile.in,
+       * po/BLD-POTFILES.in: Regenerate.
+
 2019-11-07  Alan Modra  <amodra@gmail.com>
 
        * configure.tgt: Order targets by cpu.
This page took 0.029583 seconds and 4 git commands to generate.