]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
PR29293, elfnn-aarch64.c: def_protected member unintialized
authorPekka Seppänen <pexu@sourceware.mail.kapsi.fi>
Tue, 28 Jun 2022 01:41:35 +0000 (11:11 +0930)
committerAlan Modra <amodra@gmail.com>
Tue, 28 Jun 2022 01:44:58 +0000 (11:14 +0930)
PR 29293
* elfnn-aarch64.c (elfNN_aarch64_link_hash_newfunc): Init def_protected.

bfd/elfnn-aarch64.c

index c688b7cff2dd31f7601cd165ce45e5b1bd8c7c4e..251a27edb571a91fc51a2d0de2613f72c29e299d 100644 (file)
@@ -2715,6 +2715,7 @@ elfNN_aarch64_link_hash_newfunc (struct bfd_hash_entry *entry,
   if (ret != NULL)
     {
       ret->got_type = GOT_UNKNOWN;
+      ret->def_protected = 0;
       ret->plt_got_offset = (bfd_vma) - 1;
       ret->stub_cache = NULL;
       ret->tlsdesc_got_jump_table_offset = (bfd_vma) - 1;