PR27719, lang_mark_undefineds trashes memory
[deliverable/binutils-gdb.git] / ld / ChangeLog
index d2c3c04745c0e784e00f85d8d74b402f0f103ff6..aad02a2086af20bcd11ea8cb58b52663284d2d29 100644 (file)
@@ -1,3 +1,60 @@
+2021-04-12  Alan Modra  <amodra@gmail.com>
+
+       PR 27719
+       * ldlang.c (lang_mark_undefineds, undef_start_stop): Test that
+       the symbol hash table is the correct type before accessing
+       elf_link_hash_entry symbols.
+       * plugin.c (is_visible_from_outside): Likewise.
+       * emultempl/armelf.em (ld${EMULATION_NAME}_finish): Likewise.
+       * emultempl/solaris2.em (elf_solaris2_before_allocation): Likewise.
+
+2021-04-09  Alan Modra  <amodra@gmail.com>
+
+       * testsuite/ld-powerpc/inlinepcrel-1.d: Update expected output.
+       * testsuite/ld-powerpc/inlinepcrel-2.d: Likewise.
+       * testsuite/ld-powerpc/notoc2.d: Likewise.
+       * testsuite/ld-powerpc/notoc3.d: Likewise.
+       * testsuite/ld-powerpc/pcrelopt.d: Likewise.
+       * testsuite/ld-powerpc/startstop.d: Likewise.
+       * testsuite/ld-powerpc/tlsget.d: Likewise.
+       * testsuite/ld-powerpc/tlsget2.d: Likewise.
+       * testsuite/ld-powerpc/tlsld.d: Likewise.
+       * testsuite/ld-powerpc/weak1.d: Likewise.
+       * testsuite/ld-powerpc/weak1so.d: Likewise.
+
+2021-04-06  Jan Beulich  <jbeulich@suse.com>
+
+       * pe-dll.c (generate_reloc): Bail immediately when .reloc is
+       being discarded. Warn when relocated entry is above .reloc.
+
+2021-04-05  Alan Modra  <amodra@gmail.com>
+
+       * configure.ac: Move initfini-array arg handling earlier.  Don't
+       check for string.h, strings.h, stdlib.h, or locale.h.  Do check
+       for inttypes.h, stdint.h, sys/types.h.  Don't check for
+       setlocale, free, getev or strstr.
+       (AC_ISC_POSIX): Don't invoke.
+       * sysdep.h: Include string.h and stdlib.h unconditionally.  Test
+       HAVE_SYS_TYPE_H and HAVE_SYS_STAT_H.  Remove strstr, free and
+       getenv fallback declarations.
+       * ld.h: Don't test HAVE_LOCALE_H.
+       * ldmain.c: Don't test HAVE_SETLOCALE.
+       * config.in: Regenerate.
+       * configure: Regenerate.
+
+2021-04-01  Tamar Christina  <tamar.christina@arm.com>
+
+       PR ld/26659
+       * testsuite/ld-pe/pe.exp: Add test.
+       * testsuite/ld-pe/pr26659-weak-undef-sym.d: New test.
+       * testsuite/ld-pe/pr26659-weak-undef-sym.s: New test.
+
+2021-04-01  Martin Liska  <mliska@suse.cz>
+
+       * ldbuildid.c (strneq): Remove strneq and use startswith.
+       (validate_build_id_style): Likewise.
+       (compute_build_id_size): Likewise.
+
 2021-03-31  Alan Modra  <amodra@gmail.com>
 
        * sysdep.h (POISON_BFD_BOOLEAN): Define.
This page took 0.040556 seconds and 4 git commands to generate.