projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
gas: sparc: fix collision of registers and pseudo-ops.
[deliverable/binutils-gdb.git]
/
gas
/
ecoff.c
diff --git
a/gas/ecoff.c
b/gas/ecoff.c
index e7d7ab6cf7b221e926c800086ee127a7950f4c63..a5fc62cc4baec72b555d99d0ff40f48e285c5602 100644
(file)
--- a/
gas/ecoff.c
+++ b/
gas/ecoff.c
@@
-3610,7
+3610,7
@@
ecoff_add_bytes (char **buf,
if (need < PAGE_SIZE)
need = PAGE_SIZE;
want = (*bufend - *buf) + need;
if (need < PAGE_SIZE)
need = PAGE_SIZE;
want = (*bufend - *buf) + need;
- *buf =
(char *) xrealloc (
*buf, want);
+ *buf =
XRESIZEVEC (char,
*buf, want);
*bufend = *buf + want;
return *buf + at;
}
*bufend = *buf + want;
return *buf + at;
}
@@
-4691,7
+4691,7
@@
ecoff_build_debug (HDRR *hdr,
/* Build the symbolic information. */
offset = 0;
/* Build the symbolic information. */
offset = 0;
- buf =
(char *) xmalloc (
PAGE_SIZE);
+ buf =
XNEWVEC (char,
PAGE_SIZE);
bufend = buf + PAGE_SIZE;
/* Build the line number information. */
bufend = buf + PAGE_SIZE;
/* Build the line number information. */
This page took
0.024671 seconds
and
4
git commands to generate.