Re: Enable --build-id for moxie-elf-ld
[deliverable/binutils-gdb.git] / ld / ChangeLog
index 39646cb1dc8ebbd4ed51fa3d220c93afba8cff7b..cececa09c24199045365ae67050cf36cc1b8dac6 100644 (file)
@@ -1,3 +1,186 @@
+2019-12-19  Alan Modra  <amodra@gmail.com>
+
+       * testsuite/lib/ld-lib.exp (uses_genelf): Remove moxie.
+
+2019-12-18  Anthony Green  <green@moxielogic.com>
+
+       * emulparams/elf32moxie.sh (TEMPLATE_NAME): Switch to elf template
+       to enable --build-id.
+       * configure.tgt: Don't define targ_extra_ofiles for moxie-*-*.
+
+2019-12-18  Alan Modra  <amodra@gmail.com>
+
+       * pe-dll.c (pe_get32, pe_as32): Avoid signed overflow.
+
+2019-12-17  Alan Modra  <amodra@gmail.com>
+
+       * testsuite/ld-avr/lds-mega.d: Adjust symbols to suit objdump change.
+       * testsuite/ld-avr/lds-tiny.d: Likewise.
+       * testsuite/ld-x86-64/load2.d: Likewise.
+       * testsuite/ld-mips-elf/compact-eh1.s: Give function symbols
+       function type.
+       * testsuite/ld-mips-elf/compact-eh1a.s: Likewise.
+       * testsuite/ld-mips-elf/compact-eh1b.s: Likewise.
+       * testsuite/ld-mips-elf/compact-eh2.s: Likewise.
+       * testsuite/ld-mips-elf/compact-eh3.s: Likewise.
+       * testsuite/ld-mips-elf/compact-eh3a.s: Likewise.
+       * testsuite/ld-mips-elf/eh-frame5.s: Likewise.
+       * testsuite/ld-mips-elf/ehdr_start-new.s: Likewise.
+       * testsuite/ld-mips-elf/ehdr_start-o32.s: Likewise.
+       * testsuite/ld-mips-elf/emit-relocs-1a.s: Likewise.
+       * testsuite/ld-mips-elf/jaloverflow-2.s: Likewise.
+       * testsuite/ld-mips-elf/jaloverflow.s: Likewise.
+       * testsuite/ld-mips-elf/mips16-call-global-1.s: Likewise.
+       * testsuite/ld-mips-elf/mips16-intermix-1.s: Likewise.
+       * testsuite/ld-mips-elf/mips16-pic-1b.s: Likewise.
+       * testsuite/ld-mips-elf/mips16-pic-4c.s: Likewise.
+       * testsuite/ld-mips-elf/no-shared-1-n64.s: Likewise.
+       * testsuite/ld-mips-elf/no-shared-1-o32.s: Likewise.
+       * testsuite/ld-mips-elf/pic-and-nonpic-1b-micromips.s: Likewise.
+       * testsuite/ld-mips-elf/pic-and-nonpic-1b.s: Likewise.
+       * testsuite/ld-mips-elf/pic-and-nonpic-2a.s: Likewise.
+       * testsuite/ld-mips-elf/pic-and-nonpic-3b.s: Likewise.
+       * testsuite/ld-mips-elf/pic-and-nonpic-4b.s: Likewise.
+       * testsuite/ld-mips-elf/pic-and-nonpic-5a.s: Likewise.
+       * testsuite/ld-mips-elf/pic-and-nonpic-6-n32c.s: Likewise.
+       * testsuite/ld-mips-elf/pic-and-nonpic-6-n64c.s: Likewise.
+       * testsuite/ld-mips-elf/pic-and-nonpic-6-o32c.s: Likewise.
+       * testsuite/ld-mips-elf/pie.s: Likewise.
+       * testsuite/ld-mips-elf/relax-jalr.s: Likewise.
+       * testsuite/ld-mips-elf/reloc-1a.s: Likewise.
+       * testsuite/ld-mips-elf/reloc-2a.s: Likewise.
+       * testsuite/ld-mips-elf/reloc-4.s: Likewise.
+       * testsuite/ld-mips-elf/reloc-5.s: Likewise.
+       * testsuite/ld-mips-elf/reloc-6b.s: Likewise.
+       * testsuite/ld-mips-elf/textrel-1.s: Likewise.
+       * testsuite/ld-mips-elf/undefweak-overflow.s: Likewise.
+       * testsuite/ld-mips-elf/undefweak-overflow.d: Adjust.
+
+2019-12-17  Alan Modra  <amodra@gmail.com>
+
+       * testsuite/ld-elf/pr21233-l.sd: Accept OBJECT for type and
+       PRC for section of symbols.
+       * testsuite/ld-elf/pr23591.d: Likewise.
+       * testsuite/ld-elf/provide-hidden-s.nd: Likewise.
+       * testsuite/ld-mips-elf/start.s: Make symbols function type.
+       * testsuite/ld-mips-elf/hash2.d: Adjust.  Don't xfail irix.
+
+2019-12-17  Alan Modra  <amodra@gmail.com>
+
+       * emulparams/tic80coff.sh: Delete file.
+       * scripttempl/tic80coff.sc: Delete file.
+       * configure.tgt: Remove tic80 support.
+       * Makefile.am: Likewise.
+       * Makefile.in: Regenerate.
+       * po/BLD-POTFILES.in: Regenerate.
+
+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
This page took 0.035856 seconds and 4 git commands to generate.