* elf32-xtensa.c (elf_xtensa_relocate_section): Fix typo that clobbered

dynamic relocation offsets.
This commit is contained in:
Bob Wilson 2003-09-23 20:23:55 +00:00
parent 274bcba01c
commit f0578e28d6
2 changed files with 7 additions and 2 deletions

View file

@ -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

View file

@ -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)
{