aboutsummaryrefslogtreecommitdiff
path: root/gas/write.c
diff options
context:
space:
mode:
authorThiemo Seufer <ths@networkno.de>2003-04-07 03:54:00 +0000
committerThiemo Seufer <ths@networkno.de>2003-04-07 03:54:00 +0000
commitfe59a22369f015fd4ba7a425470bbd08180ca5c7 (patch)
tree3e4b266e519b45b25bf67b20780372063234ba90 /gas/write.c
parent842865702e99a706f8826f628cdaf544b4a1754b (diff)
downloadgdb-fe59a22369f015fd4ba7a425470bbd08180ca5c7.zip
gdb-fe59a22369f015fd4ba7a425470bbd08180ca5c7.tar.gz
gdb-fe59a22369f015fd4ba7a425470bbd08180ca5c7.tar.bz2
* write.c (write_relocs): Remove unused variable.
Diffstat (limited to 'gas/write.c')
-rw-r--r--gas/write.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/gas/write.c b/gas/write.c
index e4ce91c..ce40572 100644
--- a/gas/write.c
+++ b/gas/write.c
@@ -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,