diff options
Diffstat (limited to 'bfd/elf32-xtensa.c')
-rw-r--r-- | bfd/elf32-xtensa.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bfd/elf32-xtensa.c b/bfd/elf32-xtensa.c index c9fce98..ee8f311 100644 --- a/bfd/elf32-xtensa.c +++ b/bfd/elf32-xtensa.c @@ -2081,8 +2081,8 @@ elf_xtensa_relocate_section (output_bfd, info, input_bfd, memset (&outrel, 0, sizeof outrel); else { - outrel.r_offset = (input_section->output_section->vma - + input_section->output_offset); + outrel.r_offset += (input_section->output_section->vma + + input_section->output_offset); if (dynamic_symbol) { |