* elf32-xtensa.c (elf_xtensa_relocate_section): Fix typo that clobbered
dynamic relocation offsets.
This commit is contained in:
parent
274bcba01c
commit
f0578e28d6
2 changed files with 7 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
|||
2003-09-23 Bob Wilson <bob.wilson@acm.org>
|
||||
|
||||
* elf32-xtensa.c (elf_xtensa_relocate_section): Fix typo that clobbered
|
||||
dynamic relocation offsets.
|
||||
|
||||
2003-09-23 Alan Modra <alan@modra.org>
|
||||
|
||||
* simple.c (bfd_simple_get_relocated_section_contents): Free the
|
||||
|
|
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue