mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-09-12 17:47:18 +08:00
* elf32-xtensa.c (elf_xtensa_relocate_section): Fix typo that clobbered
dynamic relocation offsets.
This commit is contained in:
@ -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)
|
||||||
|
Reference in New Issue
Block a user