From: Michael Meissner Date: Mon, 22 Jan 1996 20:10:51 +0000 (+0000) Subject: Fix typo in last change X-Git-Tag: gdb-4_18~9593 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e37a16442ab45ed0c20e20ae459fec8140307e48;p=external%2Fbinutils.git Fix typo in last change --- diff --git a/bfd/elf32-ppc.c b/bfd/elf32-ppc.c index 9e087cf..6554cf9 100644 --- a/bfd/elf32-ppc.c +++ b/bfd/elf32-ppc.c @@ -2294,8 +2294,8 @@ ppc_elf_relocate_section (output_bfd, info, input_bfd, input_section, ret = false; continue; } - relocation = (sdata->sym_hash->root.u.def.value - + sdata->sym_hash->root.u.def.section->output_section->vma + relocation = (sdata2->sym_hash->root.u.def.value + + sdata2->sym_hash->root.u.def.section->output_section->vma - relocation); 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) { reg = 13; - relocation = (sdata2->sym_hash->root.u.def.value - + sdata2->sym_hash->root.u.def.section->output_section->vma + relocation = (sdata->sym_hash->root.u.def.value + + sdata->sym_hash->root.u.def.section->output_section->vma - relocation); }