ld: Issue an error for GC on __patchable_function_entries section
[binutils-gdb.git] / ld / ChangeLog
index 369ffee04ad7def50167d7ffe3f059baf36b0708..3ad571f169179811e97e5136a40093ed5cbaa98d 100644 (file)
@@ -1,3 +1,198 @@
+2020-02-06  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/25490
+       * testsuite/ld-elf/pr25490-1.d: New file.
+       * testsuite/ld-elf/pr25490-1.s: Likewise.
+
+2020-02-06  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/24526
+       PR ld/25021
+       PR ld/25490
+       * testsuite/ld-elf/elf.exp: Run PR ld/25490 tests.
+       * testsuite/ld-elf/pr24526.d: New file.
+       * testsuite/ld-elf/pr24526.s: Likewise.
+       * testsuite/ld-elf/pr25021.d: Likewise.
+       * testsuite/ld-elf/pr25021.s: Likewise.
+       * testsuite/ld-elf/pr25490-2-16.rd: Likewise.
+       * testsuite/ld-elf/pr25490-2-32.rd: Likewise.
+       * testsuite/ld-elf/pr25490-2-64.rd: Likewise.
+       * testsuite/ld-elf/pr25490-2.s: Likewise.
+       * testsuite/ld-elf/pr25490-3-16.rd: Likewise.
+       * testsuite/ld-elf/pr25490-3-32.rd: Likewise.
+       * testsuite/ld-elf/pr25490-3-64.rd: Likewise.
+       * testsuite/ld-elf/pr25490-3.s: Likewise.
+       * testsuite/ld-elf/pr25490-4-16.rd: Likewise.
+       * testsuite/ld-elf/pr25490-4-32.rd: Likewise.
+       * testsuite/ld-elf/pr25490-4-64.rd: Likewise.
+       * testsuite/ld-elf/pr25490-4.s: Likewise.
+       * testsuite/ld-elf/pr25490-5-16.rd: Likewise.
+       * testsuite/ld-elf/pr25490-5-32.rd: Likewise.
+       * testsuite/ld-elf/pr25490-5-64.rd: Likewise.
+       * testsuite/ld-elf/pr25490-5.s: Likewise.
+       * testsuite/ld-elf/pr25490-6-16.rd: Likewise.
+       * testsuite/ld-elf/pr25490-6-32.rd: Likewise.
+       * testsuite/ld-elf/pr25490-6-64.rd: Likewise.
+       * testsuite/ld-elf/pr25490-6.s: Likewise.
+
+2020-02-06  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * testsuite/lib/ld-lib.exp (check_gc_sections_available): Mark
+       z80 as not supported.
+
+2020-02-06  Alan Modra  <amodra@gmail.com>
+
+       * testsuite/ld-ifunc/ifunc.exp: Enable for more targets, specifying
+       targets that don't support ifunc rather than ones that do.
+       (contains_irelative_reloc): Match R_PARISC_IPLT.
+       * testsuite/ld-ifunc/lib.c: Don't use .set in asm.
+       * testsuite/ld-ifunc/ifunc-23-x86.s,
+       * testsuite/ld-ifunc/ifunc-24-x86.s,
+       * testsuite/ld-ifunc/ifunc-25-x86.s,
+       * testsuite/ld-ifunc/ifunc-4-local-x86.s,
+       * testsuite/ld-ifunc/ifunc-4-x86.s: Define _main.
+       * testsuite/ld-ifunc/ifunc-10-i386.d,
+       * testsuite/ld-ifunc/ifunc-11-i386.d,
+       * testsuite/ld-ifunc/ifunc-12-i386.d,
+       * testsuite/ld-ifunc/ifunc-13-i386.d,
+       * testsuite/ld-ifunc/ifunc-14a-i386.d,
+       * testsuite/ld-ifunc/ifunc-14b-i386.d,
+       * testsuite/ld-ifunc/ifunc-14c-i386.d,
+       * testsuite/ld-ifunc/ifunc-14d-i386.d,
+       * testsuite/ld-ifunc/ifunc-14e-i386.d,
+       * testsuite/ld-ifunc/ifunc-14f-i386.d,
+       * testsuite/ld-ifunc/ifunc-15-i386.d,
+       * testsuite/ld-ifunc/ifunc-16-i386-now.d,
+       * testsuite/ld-ifunc/ifunc-16-i386.d,
+       * testsuite/ld-ifunc/ifunc-17a-i386.d,
+       * testsuite/ld-ifunc/ifunc-17b-i386.d,
+       * testsuite/ld-ifunc/ifunc-18a-i386.d,
+       * testsuite/ld-ifunc/ifunc-18b-i386.d,
+       * testsuite/ld-ifunc/ifunc-19a-i386.d,
+       * testsuite/ld-ifunc/ifunc-19b-i386.d,
+       * testsuite/ld-ifunc/ifunc-2-i386-now.d,
+       * testsuite/ld-ifunc/ifunc-2-i386.d,
+       * testsuite/ld-ifunc/ifunc-2-local-i386-now.d,
+       * testsuite/ld-ifunc/ifunc-2-local-i386.d,
+       * testsuite/ld-ifunc/ifunc-20-i386.d,
+       * testsuite/ld-ifunc/ifunc-21-i386.d,
+       * testsuite/ld-ifunc/ifunc-22-i386.d,
+       * testsuite/ld-ifunc/ifunc-26.d,
+       * testsuite/ld-ifunc/ifunc-5a-i386.d,
+       * testsuite/ld-ifunc/ifunc-5a-local-i386.d,
+       * testsuite/ld-ifunc/ifunc-5b-i386.d,
+       * testsuite/ld-ifunc/ifunc-5b-local-i386.d,
+       * testsuite/ld-ifunc/ifunc-5r-local-i386.d,
+       * testsuite/ld-ifunc/ifunc-6a-i386.d,
+       * testsuite/ld-ifunc/ifunc-6b-i386.d,
+       * testsuite/ld-ifunc/ifunc-7a-i386.d,
+       * testsuite/ld-ifunc/ifunc-7b-i386.d,
+       * testsuite/ld-ifunc/ifunc-8-i386.d,
+       * testsuite/ld-ifunc/ifunc-9-i386.d,
+       * testsuite/ld-ifunc/pr17154-i386-now.d,
+       * testsuite/ld-ifunc/pr17154-i386.d: xfail lynxos, nto, and solaris.
+
+2020-02-06  Alan Modra  <amodra@gmail.com>
+
+       * testsuite/lib/ld-lib.exp (is_generic): Delete.
+       * testsuite/ld-unique/unique.exp: Exclude tic6x.
+
+2020-02-06  Alan Modra  <amodra@gmail.com>
+
+       * configure.tgt (i[3-7]86-*-moss*): Don't clear targ_extra_ofiles.
+       (i[3-7]86-*-openbsd*, x86_64-*-openbsd*): Add.
+
+2020-02-02  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR gas/25380
+       * testsuite/ld-i386/pr22001-1c.S: Use "unique,N" in .section
+       directives.
+       * testsuite/ld-i386/tls-gd1.S: Likewise.
+       * testsuite/ld-x86-64/pr21481b.S: Likewise.
+
+2020-01-30  Jan Beulich  <jbeulich@suse.com>
+
+       * ld.texi: Remove space between @option and brace.
+
+2020-01-29  Alan Modra  <amodra@gmail.com>
+
+       PR 25477
+       * ldelf.c (ldelf_check_ld_so_conf): Add prefix parameter and
+       correct concat.
+       (ldelf_after_open): Add prefix parameter.
+       * ldelf.h (ldelf_after_open): Update prototype.
+       * emultempl/elf.em (gld${EMULATION_NAME}_after_open): Pass $prefix
+       to ldelf_after_open.
+       * Makefile.am: Correct z80 dependencies.
+       * Makefile.in: Regenerate.
+
+2020-01-28  Alan Modra  <amodra@gmail.com>
+
+       * ldexp.c (fold_name): Don't print bfd_link_hash_lookup failed
+       in first phase.
+
+2020-01-27  Alan Modra  <amodra@gmail.com>
+
+       * testsuite/ld-elfvers/vers.exp: Replace case statements with
+       switch statements.
+       * testsuite/ld-ifunc/ifunc.exp: Likewise.
+       * testsuite/ld-unique/unique.exp: Likewise.
+
+2020-01-27  H.J. Lu  <hongjiu.lu@intel.com>
+           Alan Modra  <amodra@gmail.com>
+
+       PR ld/25458
+       * testsuite/ld-elf/pr25458.map: New file.
+       * testsuite/ld-elf/pr25458.rd: Likewise.
+       * testsuite/ld-elf/pr25458a.s: Likewise.
+       * testsuite/ld-elf/pr25458b.s: Likewise.
+       * testsuite/ld-elf/shared.exp: Run PR ld/25458 test.
+
+2020-01-22  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/25416
+       * testsuite/ld-x86-64/tls.exp: Skip GNU2 TLS tests only without
+       compiler support.
+
+2020-01-22  Alan Modra  <amodra@gmail.com>
+
+       * testsuite/ld-powerpc/tlsdesc3.d,
+       * testsuite/ld-powerpc/tlsdesc3.wf,
+       * testsuite/ld-powerpc/tlsdesc4.d,
+       * testsuite/ld-powerpc/tlsdesc4.s,
+       * testsuite/ld-powerpc/tlsdesc4.wf: New tests.
+       * testsuite/ld-powerpc/powerpc.exp: Run them.
+
+2020-01-22  Alan Modra  <amodra@gmail.com>
+
+       * emultempl/ppc64elf.em (ppc64_opt, PARSE_AND_LIST_LONGOPTS),
+       (PARSE_AND_LIST_OPTIONS, PARSE_AND_LIST_ARGS_CASES): Support
+       --tls-get-addr-regsave and --no-tls-get-addr-regsave.
+       (params): Init new field.
+       * ld.texi (--tls-get-addr-regsave, --no-tls-get-addr-regsave):
+       Document.
+       * testsuite/ld-powerpc/tlsdesc.s,
+       * testsuite/ld-powerpc/tlsdesc.d,
+       * testsuite/ld-powerpc/tlsdesc.wf,
+       * testsuite/ld-powerpc/tlsdesc2.d,
+       * testsuite/ld-powerpc/tlsdesc2.wf,
+       * testsuite/ld-powerpc/tlsexenors.d,
+       * testsuite/ld-powerpc/tlsexenors.r,
+       * testsuite/ld-powerpc/tlsexers.d,
+       * testsuite/ld-powerpc/tlsexers.r,
+       * testsuite/ld-powerpc/tlsexetocnors.d,
+       * testsuite/ld-powerpc/tlsexetocrs.d,
+       * testsuite/ld-powerpc/tlsexetocrs.r,
+       * testsuite/ld-powerpc/tlsopt6.d,
+       * testsuite/ld-powerpc/tlsopt6.wf: New.
+       * testsuite/ld-powerpc/powerpc.exp: Run new tests.
+
+2020-01-22  Yuri Chornoivan  <yurchor@mageia.org>
+
+       PR 25417
+       * ldlang.c (ldlang_open_ctf): Fix error message typo.
+       * emultempl/z80elf.em (z80_elf_after_open): Likewise.
+
 2020-01-21  H.J. Lu  <hongjiu.lu@intel.com>
 
        * testsuite/ld-elf/pr23900-1.d: Adjusted.