aboutsummaryrefslogtreecommitdiff
path: root/bfd/elfnn-aarch64.c
diff options
context:
space:
mode:
authorPekka Seppänen <pexu@sourceware.mail.kapsi.fi>2022-06-28 11:11:35 +0930
committerAlan Modra <amodra@gmail.com>2022-06-28 11:14:58 +0930
commit7c24bdc583511d7c98a37d77f5536a005075ff05 (patch)
tree53c0c2cf3ab64c1dbda3e0bced1f576842b532c0 /bfd/elfnn-aarch64.c
parent766077c17343e4e539f3588f1c7f63d920f2bfa2 (diff)
downloadgdb-7c24bdc583511d7c98a37d77f5536a005075ff05.zip
gdb-7c24bdc583511d7c98a37d77f5536a005075ff05.tar.gz
gdb-7c24bdc583511d7c98a37d77f5536a005075ff05.tar.bz2
PR29293, elfnn-aarch64.c: def_protected member unintialized
PR 29293 * elfnn-aarch64.c (elfNN_aarch64_link_hash_newfunc): Init def_protected.
Diffstat (limited to 'bfd/elfnn-aarch64.c')
-rw-r--r--bfd/elfnn-aarch64.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/bfd/elfnn-aarch64.c b/bfd/elfnn-aarch64.c
index c688b7cf..251a27e 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;