* config/tc-hppa.c (tc_gen_reloc): Fix thinko in ELF version.
authorJeff Law <law@redhat.com>
Tue, 5 Apr 1994 00:06:46 +0000 (00:06 +0000)
committerJeff Law <law@redhat.com>
Tue, 5 Apr 1994 00:06:46 +0000 (00:06 +0000)
gas/ChangeLog
gas/config/tc-hppa.c

index 9bcefd1470c17ada015a2540027365675e98110e..ae167b7bbcc1cc7e5cc9871a83b2d02e29086137 100644 (file)
@@ -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
index 5cd40a0b8f631a3df436eb1041a55993eb78389a..8ba511c65ca65c2bf4cfcdc31634f50a6fc785ff 100644 (file)
@@ -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;