* write.c (write_relocs): Remove unused variable.

This commit is contained in:
Thiemo Seufer 2003-04-07 03:54:00 +00:00
parent 842865702e
commit fe59a22369
2 changed files with 4 additions and 2 deletions

View 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> 2003-04-06 Chris Demetriou <cgd@broadcom.com>
* config/tc-mips.c (HAVE_64BIT_ADDRESS_CONSTANTS): New. * config/tc-mips.c (HAVE_64BIT_ADDRESS_CONSTANTS): New.

View file

@ -1017,7 +1017,6 @@ write_relocs (abfd, sec, xxx)
for (fixp = seginfo->fix_root; fixp != (fixS *) NULL; fixp = fixp->fx_next) for (fixp = seginfo->fix_root; fixp != (fixS *) NULL; fixp = fixp->fx_next)
{ {
arelent **reloc; arelent **reloc;
char *data;
bfd_reloc_status_type s; bfd_reloc_status_type s;
symbolS *sym; symbolS *sym;
int j; int j;
@ -1053,7 +1052,6 @@ write_relocs (abfd, sec, xxx)
relocs[i++] = reloc[j]; relocs[i++] = reloc[j];
assert (i <= n); assert (i <= n);
} }
data = fixp->fx_frag->fr_literal + fixp->fx_where;
if (fixp->fx_where + fixp->fx_size if (fixp->fx_where + fixp->fx_size
> fixp->fx_frag->fr_fix + fixp->fx_frag->fr_offset) > fixp->fx_frag->fr_fix + fixp->fx_frag->fr_offset)
as_bad_where (fixp->fx_file, fixp->fx_line, as_bad_where (fixp->fx_file, fixp->fx_line,