ld testsuite: change unresolved to unsupported/fail
[binutils-gdb.git] / ld / ChangeLog
index 688a4427e828c7ba8f206a109e4ad8b97a0676d0..26fbe401893a26996f2945b8342ec37e69993d24 100644 (file)
@@ -1,3 +1,239 @@
+2021-02-14  Alan Modra  <amodra@gmail.com>
+
+       * testsuite/ld-cdtest/cdtest.exp,
+       * testsuite/ld-checks/checks.exp,
+       * testsuite/ld-elf/binutils.exp,
+       * testsuite/ld-elf/compress.exp,
+       * testsuite/ld-elf/dwarf.exp,
+       * testsuite/ld-elf/exclude.exp,
+       * testsuite/ld-elf/frame.exp,
+       * testsuite/ld-elf/indirect.exp,
+       * testsuite/ld-elf/linux-x86.exp,
+       * testsuite/ld-elf/sec-to-seg.exp,
+       * testsuite/ld-elf/tls_common.exp,
+       * testsuite/ld-elfcomm/elfcomm.exp,
+       * testsuite/ld-elfvers/vers.exp,
+       * testsuite/ld-elfvsb/elfvsb.exp,
+       * testsuite/ld-elfweak/elfweak.exp,
+       * testsuite/ld-ifunc/binutils.exp,
+       * testsuite/ld-mips-elf/mips-elf-flags.exp,
+       * testsuite/ld-misc/defsym.exp,
+       * testsuite/ld-mn10300/mn10300.exp,
+       * testsuite/ld-plugin/lto.exp,
+       * testsuite/ld-plugin/plugin.exp,
+       * testsuite/ld-scripts/align.exp,
+       * testsuite/ld-scripts/assert.exp,
+       * testsuite/ld-scripts/crossref.exp,
+       * testsuite/ld-scripts/defined.exp,
+       * testsuite/ld-scripts/extern.exp,
+       * testsuite/ld-scripts/log2.exp,
+       * testsuite/ld-scripts/map-address.exp,
+       * testsuite/ld-scripts/phdrs.exp,
+       * testsuite/ld-scripts/phdrs2.exp,
+       * testsuite/ld-scripts/script.exp,
+       * testsuite/ld-scripts/section-flags.exp,
+       * testsuite/ld-scripts/sizeof.exp,
+       * testsuite/ld-scripts/weak.exp,
+       * testsuite/ld-selective/selective.exp,
+       * testsuite/ld-sh/sh.exp,
+       * testsuite/ld-shared/shared.exp,
+       * testsuite/ld-srec/srec.exp,
+       * testsuite/ld-tic6x/tic6x.exp,
+       * testsuite/ld-undefined/undefined.exp,
+       * testsuite/ld-undefined/weak-undef.exp,
+       * testsuite/lib/ld-lib.exp: Don't use unresolved except after
+       perror.  Instead report "unsupported" or "fail".
+
+2021-02-12  Nick Clifton  <nickc@redhat.com>
+
+       * testsuite/ld-elf/sec64k.exp: Stop readelf from automatically
+       following debug links.
+
+2021-02-11  Alan Modra  <amodra@gmail.com>
+
+       * NEWS: Mention arm-symbianelf removal.
+
+2021-02-09  Alan Modra  <amodra@gmail.com>
+
+       * Makefile.am (ALL_EMULATION_SOURCES): Remove earmsymbian.c.
+       Don't include symbian dep file.
+       * configure.tgt: Remove arm*-*-symbianelf* entry.
+       * emulparams/armsymbian.sh: Delete.
+       * ld.texi: Don't mention symbian.
+       * scripttempl/armbpabi.sc: Delete.
+       * testsuite/ld-arm/symbian-seg1.d: Delete.
+       * testsuite/ld-arm/symbian-seg1.s: Delete.
+       * testsuite/ld-arm/arm-elf.exp: Don't run symbian-seg1.
+       * Makefile.in: Regenerate.
+       * po/BLD-POTFILES.in: Regenerate.
+
+2021-02-07  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/27358
+       * testsuite/ld-i386/i386.exp: Remove property 3/4/5 run-time
+       tests.
+       * testsuite/ld-x86-64/x86-64.exp: Likewise.
+
+2021-01-26  Nick Alcock  <nick.alcock@oracle.com>
+
+       * ldlang.c (lang_merge_ctf): Set CTF_LINK_NO_FILTER_REPORTED_SYMS
+       when appropriate.
+
+2021-02-04  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/19609
+       * testsuite/ld-x86-64/pr19609-2a.d: Updated.
+       * testsuite/ld-x86-64/pr19609-2b.d: Likewise.
+       * testsuite/ld-x86-64/pr19609-4a.d: Likewise.
+       * testsuite/ld-x86-64/pr19609-4c.d: Likewise.
+       * testsuite/ld-x86-64/pr19609-5d.d: Likewise.
+       * testsuite/ld-x86-64/pr19609-7a.d: Likewise.
+       * testsuite/ld-x86-64/pr19609-7c.d: Likewise.
+
+2021-02-04  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/15146
+       * testsuite/ld-plugin/lto.exp: Run PR ld/15146 tests.
+       * testsuite/ld-plugin/pr15146.d: Restored.
+       * testsuite/ld-plugin/pr15146a.c: Likewise.
+       * testsuite/ld-plugin/pr15146b.c: Likewise.
+       * testsuite/ld-plugin/pr15146c.c: Likewise.
+       * testsuite/ld-plugin/pr15146d.c: Likewise.
+
+2021-02-04  Alan Modra  <amodra@gmail.com>
+
+       * testsuite/ld-plugin/pr27311d.c: New test.
+       * testsuite/ld-plugin/lto.exp: Rename pr27311 to pr27311-1, compile
+       and link new test as pr27311-2.
+
+2021-02-03  Alan Modra  <amodra@gmail.com>
+
+       * testsuite/ld-ifunc/ifunc.exp (libpr16467b.so, libpr16467bn.so):
+       Link with --as-needed.
+
+2021-02-02  Alan Modra  <amodra@gmail.com>
+
+       * testsuite/ld-plugin/pr27311.d,
+       * testsuite/ld-plugin/pr27311.ver,
+       * testsuite/ld-plugin/pr27311a.c,
+       * testsuite/ld-plugin/pr27311b.c,
+       * testsuite/ld-plugin/pr27311c.c: New testcase.
+       * testsuite/ld-plugin/lto.exp: Run it.  Correct PR14918 and
+       PR12982 entries.
+
+2021-02-01  Emery Hemingway  <ehmry@posteo.net>
+
+       * configure.tgt: Add *-*-genode* as a target for AArch64 and x86.
+
+2021-02-01  Alan Modra  <amodra@gmail.com>
+
+       * ldgram.y (defsym_expr): Use assignment rule.
+       * ldlex.h (ldlex_defsym): Delete.
+       * ldlex.l (DEFSYMEXP, ldlex_defsym): Delete.
+
+2021-02-01  Alan Modra  <amodra@gmail.com>
+
+       * ldgram.y (section): Call ldlex_backup.  Remove empty action.
+       * ldlex.h (ldlex_backup): Declare.
+       * ldlex.l (<EXPRESSION>NAME): Don't use NOCFILENAMECHAR set of
+       chars, use SYMBOLNAMECHAR.
+       (ldlex_backup): New function.
+
+2021-02-01  Alan Modra  <amodra@gmail.com>
+
+       * ldgram.y: Whitespace fixes.
+
+2021-02-01  Alan Modra  <amodra@gmail.com>
+
+       * testsuite/ld-elf/pr27259.d: Correct sh_link match.
+
+2021-01-29  Alan Modra  <amodra@gmail.com>
+
+       * testsuite/ld-tic6x/tic6x.exp: Add pr27271 test.
+
+2021-01-28  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/27259
+       * testsuite/ld-elf/pr27259.d: New file.
+       * testsuite/ld-elf/pr27259.s: Likewise.
+
+2021-01-28  Alan Modra  <amodra@gmail.com>
+
+       PR 27259
+       * ldelf.c (ldelf_before_place_orphans): Use linker_mark to
+       prevent endless looping of linked-to sections.
+
+2021-01-26  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * testsuite/ld-x86-64/bnd-plt-1.d: Fix a typo.
+
+2021-01-26  Alan Modra  <amodra@gmail.com>
+
+       PR 27226
+       * emulparams/alphavms.sh: Don't set COMPILE_IN.
+       * emulparams/elf64_ia64_vms.sh: Likewise.
+       * emulparams/elf64mmix.sh: Likewise.
+       * emulparams/elf_iamcu.sh: Likewise.
+       * emulparams/elf_k1om.sh: Likewise.
+       * emulparams/elf_l1om.sh: Likewise.
+       * emulparams/mmo.sh: Likewise.
+       * emulparams/pdp11.sh: Set DATA_SEG_ADDR.
+       * scripttempl/pdp11.sc: Use it.
+       * emultempl/pdp11.em: Don't edit .xn script for separate_code,
+       instead use .xe script.  Support scripts from file system.
+       * emultempl/beos.em: Support scripts from file system.
+       * emultempl/pe.em: Likewise.
+       * emultempl/pep.em: Likewise.
+       * testsuite/ld-bootstrap/bootstrap.exp: Make tmpdir/ldscripts link.
+
+2021-01-25  Fangrui Song  <maskray@google.com>
+
+       PR ld/27230
+       * scripttempl/DWARF.sc: Add .debug_* sections.
+
+2021-01-25  Nick Clifton  <nickc@redhat.com>
+
+       * scripttempl/DWARF.sc: Add .debug_loclists, .debug_rnglists,
+       .debug_line_str and .debug_str_offsets.  Move .debug_macro and
+       .debug_addr into DWARF-5 section.
+
+2021-01-21  Alan Modra  <amodra@gmail.com>
+
+       * testsuite/ld-elf/pr26936.d: No longer xfail mips.
+
+2021-01-20  Alan Modra  <amodra@gmail.com>
+
+       * testsuite/ld-powerpc/relbrlt.s: Make symbols global.
+       * testsuite/ld-powerpc/relbrlt.d: Adjust to suit.
+       * testsuite/ld-powerpc/tlsget.d: Adjust for reordered stubs.
+       * testsuite/ld-powerpc/tlsget.wf: Likewise.
+       * testsuite/ld-powerpc/tlsget2.d: Likewise.
+       * testsuite/ld-powerpc/tlsget2.wf: Likewise.
+       * testsuite/ld-powerpc/tlsexe.r: Adjust for removed section syms.
+       * testsuite/ld-powerpc/tlsexe32.r: Likewise.
+       * testsuite/ld-powerpc/tlsexe32no.r: Likewise.
+       * testsuite/ld-powerpc/tlsexeno.r: Likewise.
+       * testsuite/ld-powerpc/tlsexenors.r: Likewise.
+       * testsuite/ld-powerpc/tlsexers.r: Likewise.
+       * testsuite/ld-powerpc/tlsexetoc.r: Likewise.
+       * testsuite/ld-powerpc/tlsexetocrs.r: Likewise.
+       * testsuite/ld-powerpc/tlsso.r: Likewise.
+       * testsuite/ld-powerpc/tlsso32.r: Likewise.
+       * testsuite/ld-powerpc/tlstocso.r: Likewise.
+
+2021-01-19  Nick Alcock  <nick.alcock@oracle.com>
+
+       * testsuite/ld-ctf/data-func-2.c: Stop removal of the extern foo_t
+       symbols by the optimizer.
+       * testsuite/ld-ctf/data-func-conflicted.d: Adjust accordingly.
+
+2021-01-19  Nelson Chu  <nelson.chu@sifive.com>
+
+       * testsuite/ld-elf/elf.exp (riscv_little_endian): Added.  Return true
+       if target is riscv little endian.  Otherwise, return false.
+       * testsuite/ld-elf/compressed1d.d: Only xfail the riscv little endian
+       targets by [riscv_little_endian].
+
 2021-01-18  Alan Modra  <amodra@gmail.com>
 
        PR 26378