projects
/
platform
/
upstream
/
binutils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bc68afb
)
fix last patch
author
Ian Lance Taylor
<ian@airs.com>
Tue, 18 Mar 1997 00:24:50 +0000
(
00:24
+0000)
committer
Ian Lance Taylor
<ian@airs.com>
Tue, 18 Mar 1997 00:24:50 +0000
(
00:24
+0000)
gas/write.c
patch
|
blob
|
history
diff --git
a/gas/write.c
b/gas/write.c
index
e737075
..
779c73d
100644
(file)
--- 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)