* 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>
|
2003-09-23 Alan Modra <alan@modra.org>
|
||||||
|
|
||||||
* simple.c (bfd_simple_get_relocated_section_contents): Free the
|
* simple.c (bfd_simple_get_relocated_section_contents): Free the
|
||||||
|
|
|
@ -2081,7 +2081,7 @@ elf_xtensa_relocate_section (output_bfd, info, input_bfd,
|
||||||
memset (&outrel, 0, sizeof outrel);
|
memset (&outrel, 0, sizeof outrel);
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
outrel.r_offset = (input_section->output_section->vma
|
outrel.r_offset += (input_section->output_section->vma
|
||||||
+ input_section->output_offset);
|
+ input_section->output_offset);
|
||||||
|
|
||||||
if (dynamic_symbol)
|
if (dynamic_symbol)
|
||||||
|
|
Loading…
Add table
Reference in a new issue