projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
981f151
)
bfin: Initialize picrel to silence GCC warning
author
H.J. Lu
<hjl.tools@gmail.com>
Fri, 5 Jun 2020 13:22:56 +0000
(06:22 -0700)
committer
H.J. Lu
<hjl.tools@gmail.com>
Fri, 5 Jun 2020 13:22:56 +0000
(06:22 -0700)
bfd/ChangeLog
patch
|
blob
|
history
bfd/elf32-bfin.c
patch
|
blob
|
history
diff --git
a/bfd/ChangeLog
b/bfd/ChangeLog
index 4971b878285aa39e851043d3bc991e4194e10827..bfcb337cda015c9f2aac5e8dda45da3863bfdeed 100644
(file)
--- 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 e067cdeaad9a28c775a3820aebe659f8663dc92e..31ae4a68755b9757f61748458d86d477fc64ba04 100644
(file)
--- 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)
{