aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1997-03-18 00:24:50 +0000
committerIan Lance Taylor <ian@airs.com>1997-03-18 00:24:50 +0000
commitb1400218528ed697ce328e13e48a5d2e4f13fbd3 (patch)
treef3fd07b3a2dd88a32a7ae06c67fd08462b9ef78f
parentbc68afb23733537164a5f5eb2eed1d42a7e5a44a (diff)
downloadgdb-b1400218528ed697ce328e13e48a5d2e4f13fbd3.zip
gdb-b1400218528ed697ce328e13e48a5d2e4f13fbd3.tar.gz
gdb-b1400218528ed697ce328e13e48a5d2e4f13fbd3.tar.bz2
fix last patch
-rw-r--r--gas/write.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gas/write.c b/gas/write.c
index e737075..779c73d 100644
--- a/gas/write.c
+++ b/gas/write.c
@@ -920,7 +920,7 @@ write_relocs (abfd, sec, xxx)
#else
n = n * MAX_RELOC_EXPANSION;
/* Set up reloc information as well. */
- relocs = (arelent **) xmalloc (stdoutput, n * sizeof (arelent *));
+ relocs = (arelent **) xmalloc (n * sizeof (arelent *));
i = 0;
for (fixp = seginfo->fix_root; fixp != (fixS *) NULL; fixp = fixp->fx_next)