i386: Add tests for -malign-branch-boundary and -malign-branch
[deliverable/binutils-gdb.git] / ld / ChangeLog
index 5a3b2ddd1cac063d5f784cb385809cd2955dbeb6..4b7e746498e81c76439430c09bec195f7d4a869d 100644 (file)
@@ -1,3 +1,96 @@
+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
This page took 0.035436 seconds and 4 git commands to generate.