diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 4971b87828..bfcb337cda 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,5 +1,6 @@ 2020-06-05 H.J. Lu + PR ld/26080 * elf32-bfin.c (bfinfdpic_relocate_section): Skip non SEC_ALLOC section. diff --git a/bfd/elf32-bfin.c b/bfd/elf32-bfin.c index e067cdeaad..31ae4a6875 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) {