aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf32-bfin.c
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2020-06-05 06:22:56 -0700
committerH.J. Lu <hjl.tools@gmail.com>2020-06-05 06:22:56 -0700
commit8a4ba3a14258bb522f7dadf07d92faae99e59301 (patch)
tree505a91fa7c957e027db1004a6f6028fe05b8abb5 /bfd/elf32-bfin.c
parent981f151804e47290f4dcff507aeb530b3334ac17 (diff)
downloadgdb-8a4ba3a14258bb522f7dadf07d92faae99e59301.zip
gdb-8a4ba3a14258bb522f7dadf07d92faae99e59301.tar.gz
gdb-8a4ba3a14258bb522f7dadf07d92faae99e59301.tar.bz2
bfin: Initialize picrel to silence GCC warning
Diffstat (limited to 'bfd/elf32-bfin.c')
-rw-r--r--bfd/elf32-bfin.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/bfd/elf32-bfin.c b/bfd/elf32-bfin.c
index e067cde..31ae4a6 100644
--- a/bfd/elf32-bfin.c
+++ b/bfd/elf32-bfin.c
@@ -2552,6 +2552,7 @@ bfinfdpic_relocate_section (bfd * output_bfd,
h = NULL;
sym = NULL;
sec = NULL;
+ picrel = NULL;
if (r_symndx < symtab_hdr->sh_info)
{