projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
PR ld/13177
[deliverable/binutils-gdb.git]
/
bfd
/
elf32-m32r.c
diff --git
a/bfd/elf32-m32r.c
b/bfd/elf32-m32r.c
index 51ef61e6b4980b1165628a3e747ada923a2692c2..37d995d14c362308fa3c95ad5433d530c1da2067 100644
(file)
--- a/
bfd/elf32-m32r.c
+++ b/
bfd/elf32-m32r.c
@@
-2589,7
+2589,11
@@
m32r_elf_relocate_section (bfd *output_bfd ATTRIBUTE_UNUSED,
relocation = (h->root.u.def.value
+ sec->output_section->vma
+ sec->output_offset);
relocation = (h->root.u.def.value
+ sec->output_section->vma
+ sec->output_offset);
- else if (!info->relocatable)
+ else if (!info->relocatable
+ && (_bfd_elf_section_offset (output_bfd, info,
+ input_section,
+ rel->r_offset)
+ != (bfd_vma) -1))
{
(*_bfd_error_handler)
(_("%B(%A+0x%lx): unresolvable %s relocation against symbol `%s'"),
{
(*_bfd_error_handler)
(_("%B(%A+0x%lx): unresolvable %s relocation against symbol `%s'"),
This page took
0.025124 seconds
and
4
git commands to generate.