From 7c24bdc583511d7c98a37d77f5536a005075ff05 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Pekka=20Sepp=C3=A4nen?= Date: Tue, 28 Jun 2022 11:11:35 +0930 Subject: [PATCH] PR29293, elfnn-aarch64.c: def_protected member unintialized PR 29293 * elfnn-aarch64.c (elfNN_aarch64_link_hash_newfunc): Init def_protected. --- bfd/elfnn-aarch64.c | 1 + 1 file changed, 1 insertion(+) 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; -- 2.30.2