bfin: Initialize picrel to silence GCC warning

This commit is contained in:
H.J. Lu 2020-06-05 06:22:56 -07:00
parent 981f151804
commit 8a4ba3a142
2 changed files with 2 additions and 0 deletions

View File

@ -1,5 +1,6 @@
2020-06-05 H.J. Lu <hongjiu.lu@intel.com>
PR ld/26080
* elf32-bfin.c (bfinfdpic_relocate_section): Skip non SEC_ALLOC
section.

View File

@ -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)
{