From: Jeff Law Date: Tue, 5 Apr 1994 00:06:46 +0000 (+0000) Subject: * config/tc-hppa.c (tc_gen_reloc): Fix thinko in ELF version. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=79381848ca2f6f1ae2f1caa2b4590dead4b5a353;p=binutils-gdb.git * config/tc-hppa.c (tc_gen_reloc): Fix thinko in ELF version. --- diff --git a/gas/ChangeLog b/gas/ChangeLog index 9bcefd1470c..ae167b7bbcc 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,7 @@ +Mon Apr 4 17:06:04 1994 Jeffrey A. Law (law@cygnus.com) + + * config/tc-hppa.c (tc_gen_reloc): Fix thinko in ELF version. + Mon Apr 4 12:39:23 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) * config/tc-ppc.c (ppc_insert_operand): Check PPC_OPERAND_SIGNED diff --git a/gas/config/tc-hppa.c b/gas/config/tc-hppa.c index 5cd40a0b8f6..8ba511c65ca 100644 --- a/gas/config/tc-hppa.c +++ b/gas/config/tc-hppa.c @@ -2774,10 +2774,9 @@ tc_gen_reloc (section, fixp) break; default: if (fixp->fx_addsy && fixp->fx_addsy->bsym->flags & BSF_FUNCTION) - relocs[i]->addend = 0; + reloc->addend = 0; else - relocs[i]->addend = fixp->fx_addnumber; - break; + reloc->addend = fixp->fx_addnumber; break; } break;