mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-08-06 14:49:38 +08:00
Fix typo in last change
This commit is contained in:
@ -2294,8 +2294,8 @@ ppc_elf_relocate_section (output_bfd, info, input_bfd, input_section,
|
|||||||
ret = false;
|
ret = false;
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
relocation = (sdata->sym_hash->root.u.def.value
|
relocation = (sdata2->sym_hash->root.u.def.value
|
||||||
+ sdata->sym_hash->root.u.def.section->output_section->vma
|
+ sdata2->sym_hash->root.u.def.section->output_section->vma
|
||||||
- relocation);
|
- relocation);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
@ -2311,8 +2311,8 @@ ppc_elf_relocate_section (output_bfd, info, input_bfd, input_section,
|
|||||||
if (strcmp (name, ".sdata") == 0 || strcmp (name, ".sbss") == 0)
|
if (strcmp (name, ".sdata") == 0 || strcmp (name, ".sbss") == 0)
|
||||||
{
|
{
|
||||||
reg = 13;
|
reg = 13;
|
||||||
relocation = (sdata2->sym_hash->root.u.def.value
|
relocation = (sdata->sym_hash->root.u.def.value
|
||||||
+ sdata2->sym_hash->root.u.def.section->output_section->vma
|
+ sdata->sym_hash->root.u.def.section->output_section->vma
|
||||||
- relocation);
|
- relocation);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user