From: Pekka Seppänen Date: Tue, 28 Jun 2022 01:41:35 +0000 (+0930) Subject: PR29293, elfnn-aarch64.c: def_protected member unintialized X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7c24bdc583511d7c98a37d77f5536a005075ff05;p=binutils-gdb.git PR29293, elfnn-aarch64.c: def_protected member unintialized PR 29293 * elfnn-aarch64.c (elfNN_aarch64_link_hash_newfunc): Init def_protected. --- diff --git a/bfd/elfnn-aarch64.c b/bfd/elfnn-aarch64.c index c688b7cff2d..251a27edb57 100644 --- a/bfd/elfnn-aarch64.c +++ b/bfd/elfnn-aarch64.c @@ -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;