aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorJeff Law <law@redhat.com>1994-04-05 00:06:46 +0000
committerJeff Law <law@redhat.com>1994-04-05 00:06:46 +0000
commit79381848ca2f6f1ae2f1caa2b4590dead4b5a353 (patch)
treee32d18c2fa8ff933861389c0f5824967bf1e9124 /gas
parentc4dd531f11649c6143ef5bad2390374512e5828b (diff)
downloadgdb-79381848ca2f6f1ae2f1caa2b4590dead4b5a353.zip
gdb-79381848ca2f6f1ae2f1caa2b4590dead4b5a353.tar.gz
gdb-79381848ca2f6f1ae2f1caa2b4590dead4b5a353.tar.bz2
* config/tc-hppa.c (tc_gen_reloc): Fix thinko in ELF version.
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog4
-rw-r--r--gas/config/tc-hppa.c5
2 files changed, 6 insertions, 3 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 9bcefd1..ae167b7 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 5cd40a0..8ba511c 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;