Add markers for 2.38 branch
[binutils-gdb.git] / ld / ChangeLog
index 2d130b455ff96aeab6106d25add5dc3d29feda51..fe4b7d8f6903ec8ca075c08c36fac38045d65612 100644 (file)
@@ -1,3 +1,255 @@
+2022-01-22  Nick Clifton  <nickc@redhat.com>
+
+       * 2.38 release branch created.
+
+2022-01-21  Nick Clifton  <nickc@redhat.com>
+
+       * po/sr.po: Updated Serbian translation.
+
+2022-01-17  Nick Clifton  <nickc@redhat.com>
+
+       * Makefile.in: Regenerate.
+       * po/ld.pot: Regenerate.
+
+2022-01-11  Martin Storsjö  <martin@martin.st>
+
+       * pe-dll.c (make_head): Prefix the symbol name with the dll name.
+       (make_tail, make_one, make_singleton_name_thunk): Likewise.
+       (make_import_fixup_entry, make_runtime_pseudo_reloc): Likewise.
+       (pe_create_runtime_relocator_reference): Likewise.
+       (pe_dll_generate_implib): Set dll_symname_len.
+       (pe_process_import_defs): Likewise.
+
+2021-12-16  Nick Clifton  <nickc@redhat.com>
+
+       PR 28686
+       * testsuite/ld-avr/avr-prop-7.d: Adjust expected output.
+       * testsuite/ld-avr/avr-prop-8.d: Likewise.
+       * testsuite/ld-avr/pr13402.d: Likewise.
+
+2021-11-30  Nick Clifton  <nickc@redhat.com>
+
+       * scripttempl/pru.sc (.pru_irq_map): Define output section.
+       * testsuite/ld-pru/pru_irq_map-1.d: New test.
+       * testsuite/ld-pru/pru_irq_map-2.d: New test.
+       * testsuite/ld-pru/pru_irq_map.s: New test.
+
+2021-11-17  Jeremy Drake  <cygwin@jdrake.com>
+
+       * emultempl/pep.em (DEFAULT_DLL_CHARACTERISTICS): Set to 0 for
+       Cygwin targets.
+       * emultempl/pep.em (DEFAULT_DLL_CHARACTERISTICS): Likewise.
+
+2021-11-17  Nick Clifton  <nickc@redhat.com>
+
+       PR 28452
+       * ldgram.y: Add support for PT_GNU_RELRO and PT_GNU_PROPERTY.
+       * ldgram.c: Regenerate.
+
+2021-11-15  Roland McGrath  <mcgrathr@google.com>
+
+       * testsuite/ld-aarch64/dt_textrel.d: Pass explicit -z notext in
+       case ld was configured with --enable-textrel-check=error.
+       * testsuite/ld-aarch64/pr22764.d: Likewise.
+       * testsuite/ld-aarch64/pr20402.d: Likewise.
+
+2021-10-25  Nick Alcock  <nick.alcock@oracle.com>
+
+       * testsuite/ld-ctf/nonrepresentable-member.*: New test.
+
+2021-10-25  Nick Alcock  <nick.alcock@oracle.com>
+
+       * testsuite/ld-ctf/array.d: Change --ctf=.ctf to --ctf.
+       * testsuite/ld-ctf/conflicting-cycle-1.B-1.d: Likewise.
+       * testsuite/ld-ctf/conflicting-cycle-1.B-2.d: Likewise.
+       * testsuite/ld-ctf/conflicting-cycle-1.parent.d: Likewise.
+       * testsuite/ld-ctf/conflicting-cycle-2.A-1.d: Likewise.
+       * testsuite/ld-ctf/conflicting-cycle-2.A-2.d: Likewise.
+       * testsuite/ld-ctf/conflicting-cycle-2.parent.d: Likewise.
+       * testsuite/ld-ctf/conflicting-cycle-3.C-1.d: Likewise.
+       * testsuite/ld-ctf/conflicting-cycle-3.C-2.d: Likewise.
+       * testsuite/ld-ctf/conflicting-cycle-3.parent.d: Likewise.
+       * testsuite/ld-ctf/conflicting-enums.d: Likewise.
+       * testsuite/ld-ctf/conflicting-typedefs.d: Likewise.
+       * testsuite/ld-ctf/cross-tu-cyclic-conflicting.d: Likewise.
+       * testsuite/ld-ctf/cross-tu-cyclic-nonconflicting.d: Likewise.
+       * testsuite/ld-ctf/cross-tu-into-cycle.d: Likewise.
+       * testsuite/ld-ctf/cross-tu-noncyclic.d: Likewise.
+       * testsuite/ld-ctf/cycle-1.d: Likewise.
+       * testsuite/ld-ctf/cycle-2.A.d: Likewise.
+       * testsuite/ld-ctf/cycle-2.B.d: Likewise.
+       * testsuite/ld-ctf/cycle-2.C.d: Likewise.
+       * testsuite/ld-ctf/data-func-conflicted.d: Likewise.
+       * testsuite/ld-ctf/diag-cttname-null.d: Likewise.
+       * testsuite/ld-ctf/diag-cuname.d: Likewise.
+       * testsuite/ld-ctf/diag-parlabel.d: Likewise.
+       * testsuite/ld-ctf/enum-forward.d: Likewise.
+       * testsuite/ld-ctf/enums.d: Likewise.
+       * testsuite/ld-ctf/forward.d: Likewise.
+       * testsuite/ld-ctf/function.d: Likewise.
+       * testsuite/ld-ctf/nonrepresentable.d: Likewise.
+       * testsuite/ld-ctf/slice.d: Likewise.
+       * testsuite/ld-ctf/super-sub-cycles.d: Likewise.
+
+2021-09-30  Dimitar Dimitrov  <dimitar@dinux.eu>
+
+       * scripttempl/pru.sc (.resource_table): Align the output
+       section, not the first symbol.
+
+2021-09-27  Nick Alcock  <nick.alcock@oracle.com>
+
+       * configure: Regenerate.
+
+2021-09-21  Nick Clifton  <nickc@redhat.com>
+
+       * ldlang.c (lang_end): When computing the entry point, only
+       try the start address of the entry section when creating an
+       executable.
+       * ld.texi (Entry point): Update description of heuristic used to
+       choose the entry point.
+       testsuite/ld-alpha/tlspic.rd: Update expected entry point address.
+       testsuite/ld-arm/tls-gdesc-got.d: Likewise.
+       testsuite/ld-i386/tlsnopic.rd: Likewise.
+       testsuite/ld-ia64/tlspic.rd: Likewise.
+       testsuite/ld-sparc/gotop32.rd: Likewise.
+       testsuite/ld-sparc/gotop64.rd: Likewise.
+       testsuite/ld-sparc/tlssunnopic32.rd: Likewise.
+       testsuite/ld-sparc/tlssunnopic64.rd: Likewise.
+       testsuite/ld-sparc/tlssunpic32.rd: Likewise.
+       testsuite/ld-sparc/tlssunpic64.rd: Likewise.
+       testsuite/ld-tic6x/shlib-1.rd: Likewise.
+       testsuite/ld-tic6x/shlib-1b.rd: Likewise.
+       testsuite/ld-tic6x/shlib-1r.rd: Likewise.
+       testsuite/ld-tic6x/shlib-1rb.rd: Likewise.
+       testsuite/ld-tic6x/shlib-noindex.rd: Likewise.
+       testsuite/ld-x86-64/pr14207.d: Likewise.
+       testsuite/ld-x86-64/tlsdesc.rd: Likewise.
+       testsuite/ld-x86-64/tlspic.rd: Likewise.
+       testsuite/ld-x86-64/tlspic2.rd: Likewise.
+
+2021-09-15  Claudiu Zissulescu  <claziss@synopsys.com>
+
+       * testsuite/ld-arc/got-weak.d: Update file.
+
+2021-09-14  Claudiu Zissulescu  <claziss@synopsys.com>
+
+       * ld-arc/got-weak.d: New file.
+       * ld-arc/got-weak.s: Likewise.
+
+2021-07-26  Roland McGrath  <mcgrathr@google.com>
+
+       * testsuite/ld-x86-64/x86-64.exp (Build textrel-1): Use --warn-textrel.
+
+2021-07-06  Michael Matz  <matz@suse.de>
+
+       PR ld/28021
+       * testsuite/ld-riscv-elf/relax-twice.ver: New.
+       * testsuite/ld-riscv-elf/relax-twice-1.s: New.
+       * testsuite/ld-riscv-elf/relax-twice-2.s: New.
+       * testsuite/ld-riscv-elf/ld-riscv-elf.exp
+       (run_relax_twice_test): New, and call it.
+
+2021-07-03  Nick Clifton  <nickc@redhat.com>
+
+       * configure: Regenerate.
+       * po/ld.pot: Regenerate.
+
+2021-07-03  Nick Clifton  <nickc@redhat.com>
+
+       * 2.37 release branch created.
+
+2021-06-22  Nelson Chu  <nelson.chu@sifive.com>
+
+       * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Updated.
+       * testsuite/ld-riscv-elf/pcrel-lo-addend-3a.d: New testcase.
+       * testsuite/ld-riscv-elf/pcrel-lo-addend-3a.s: Likewise.
+       * testsuite/ld-riscv-elf/pcrel-lo-addend-3b.d: New testcase.
+       Should report error since the %pcrel_lo with addend refers to
+       %got_pcrel_hi.
+       * testsuite/ld-riscv-elf/pcrel-lo-addend-3b.s: Likewise.
+       * testsuite/ld-riscv-elf/pcrel-lo-addend-3c.d: New testcase.
+       Should report error since the %got_pcrel_hi with addend.
+       * testsuite/ld-riscv-elf/pcrel-lo-addend-3c.s: Likewise.
+       * testsuite/ld-riscv-elf/pcrel-lo-addend-3.ld: Likewise.
+
+2021-06-19  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/27998
+       * testsuite/ld-i386/i386.exp: Run PR ld/27998 tests.
+       * testsuite/ld-i386/pr27998a.d: New file.
+       * testsuite/ld-i386/pr27998a.s: Likewise.
+       * testsuite/ld-i386/pr27998b.d: Likewise.
+       * testsuite/ld-i386/pr27998b.s: Likewise.
+
+2021-06-19  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * testsuite/ld-x86-64/textrel-1.err: New file.
+       * testsuite/ld-x86-64/textrel-1a.s: Likewise.
+       * testsuite/ld-x86-64/textrel-1b.s: Likewise.
+       * testsuite/ld-x86-64/x86-64.exp: Run textrel-1 tests.
+
+2021-06-18  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * testsuite/ld-elf/property-and-1.d: Skip am33_2.0, hppa-hpux
+       and mn10300.
+       Pass --generate-missing-build-notes=no to assembler.  Allow
+       other note sections for xtensa.
+       * testsuite/ld-elf/property-and-2.d: Likewise.
+       * testsuite/ld-elf/property-and-3.d: Likewise.
+       * testsuite/ld-elf/property-and-4.d: Likewise.
+       * testsuite/ld-elf/property-or-1.d: Likewise.
+       * testsuite/ld-elf/property-or-2.d: Likewise.
+       * testsuite/ld-elf/property-or-3.d: Likewise.
+       * testsuite/ld-elf/property-or-4.d: Likewise.
+
+2021-06-18  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * ld.texi: Move -z unique-symbol after -z undefs.
+
+2021-06-18  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * testsuite/ld-elf/property-and-1.d: New file.
+       * testsuite/ld-elf/property-and-1.s: Likewise.
+       * testsuite/ld-elf/property-and-2.d: Likewise.
+       * testsuite/ld-elf/property-and-2.s: Likewise.
+       * testsuite/ld-elf/property-and-3.d: Likewise.
+       * testsuite/ld-elf/property-and-3.s: Likewise.
+       * testsuite/ld-elf/property-and-4.d: Likewise.
+       * testsuite/ld-elf/property-and-empty.s: Likewise.
+       * testsuite/ld-elf/property-or-1.d: Likewise.
+       * testsuite/ld-elf/property-or-1.s: Likewise.
+       * testsuite/ld-elf/property-or-2.d: Likewise.
+       * testsuite/ld-elf/property-or-2.s: Likewise.
+       * testsuite/ld-elf/property-or-3.d: Likewise.
+       * testsuite/ld-elf/property-or-3.s: Likewise.
+       * testsuite/ld-elf/property-or-4.d: Likewise.
+       * testsuite/ld-elf/property-or-empty.s: Likewise.
+
+2021-06-17  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/27973
+       * testsuite/ld-x86-64/x86-64.exp: Pass $NOPIE_LDFLAGS and
+       $NOPIE_CFLAGS to protected-func-1 without PIE.
+
+2021-06-17  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/27973
+       * testsuite/ld-x86-64/x86-64.exp: Run protected function tests.
+       * testsuite/ld-x86-64/protected-func-1.h: New file.
+       * testsuite/ld-x86-64/protected-func-1a.s: Likewise.
+       * testsuite/ld-x86-64/protected-func-1b.c: Likewise.
+
+2021-06-17  Fangrui Song  <maskray@google.com>
+
+       * ldlex.h (enum option_values): Add OPTION_NO_PIE.
+       * lexsup.c (struct ld_options): Add -no-pie.
+       (parse_args): Handle -no-pie.
+       * ld.texi: Document -no-pie.
+
+2021-06-15  Alan Modra  <amodra@gmail.com>
+
+       * testsuite/ld-pie/vaddr-0.d: Update expected output.
+
 2021-06-11  Alan Modra  <amodra@gmail.com>
 
        PR 27952
 2021-06-11  Alan Modra  <amodra@gmail.com>
 
        PR 27952
 
 For older changes see ChangeLog-2020
 \f
 
 For older changes see ChangeLog-2020
 \f
-Copyright (C) 2021 Free Software Foundation, Inc.
+Copyright (C) 2021-2022 Free Software Foundation, Inc.
 
 Copying and distribution of this file, with or without modification,
 are permitted in any medium without royalty provided the copyright
 
 Copying and distribution of this file, with or without modification,
 are permitted in any medium without royalty provided the copyright