* write.c (write_relocs): Remove unused variable.
authorThiemo Seufer <ths@networkno.de>
Mon, 7 Apr 2003 03:54:00 +0000 (03:54 +0000)
committerThiemo Seufer <ths@networkno.de>
Mon, 7 Apr 2003 03:54:00 +0000 (03:54 +0000)
gas/ChangeLog
gas/write.c

index b4183d2ede55d38357e2367e40bb85572f83fc28..f958f69f1a5928af05f20c2706f50bbb3ff56039 100644 (file)
@@ -1,3 +1,7 @@
+2003-04-07  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
+
+       * write.c (write_relocs): Remove unused variable.
+
 2003-04-06  Chris Demetriou  <cgd@broadcom.com>
 
        * config/tc-mips.c (HAVE_64BIT_ADDRESS_CONSTANTS): New.
index e4ce91cb921574125fc0812da2ac5a7ed2433cf8..ce40572749cc967079f327ee23b413425d559b06 100644 (file)
@@ -1017,7 +1017,6 @@ write_relocs (abfd, sec, xxx)
   for (fixp = seginfo->fix_root; fixp != (fixS *) NULL; fixp = fixp->fx_next)
     {
       arelent **reloc;
-      char *data;
       bfd_reloc_status_type s;
       symbolS *sym;
       int j;
@@ -1053,7 +1052,6 @@ write_relocs (abfd, sec, xxx)
          relocs[i++] = reloc[j];
          assert (i <= n);
        }
-      data = fixp->fx_frag->fr_literal + fixp->fx_where;
       if (fixp->fx_where + fixp->fx_size
          > fixp->fx_frag->fr_fix + fixp->fx_frag->fr_offset)
        as_bad_where (fixp->fx_file, fixp->fx_line,