aboutsummaryrefslogtreecommitdiff
path: root/bfd
diff options
context:
space:
mode:
Diffstat (limited to 'bfd')
-rw-r--r--bfd/ChangeLog1
-rw-r--r--bfd/elf32-bfin.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 4971b87..bfcb337 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -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.
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)
{