aboutsummaryrefslogtreecommitdiff
path: root/ld/Makefile.in
diff options
context:
space:
mode:
authorDavid MacKenzie <djm@cygnus>1994-02-05 01:14:56 +0000
committerDavid MacKenzie <djm@cygnus>1994-02-05 01:14:56 +0000
commit0b2f8d2edd598eb8f013e8b61fd49def1d908281 (patch)
tree8d99e3f160ccf34311dc788184ca63c9e83ef8fe /ld/Makefile.in
parent6adfba803c6aee9ed765b4b3c1d07497c9719424 (diff)
downloadgdb-0b2f8d2edd598eb8f013e8b61fd49def1d908281.zip
gdb-0b2f8d2edd598eb8f013e8b61fd49def1d908281.tar.gz
gdb-0b2f8d2edd598eb8f013e8b61fd49def1d908281.tar.bz2
* ldmisc.c (ldmalloc, xmalloc, ldrealloc, xrealloc): Functions
deleted; will use libiberty versions instead. * ldctor.c ldfile.c ldlang.c ldmain.c ldmisc.c ldmisc.h lexsup.c mri.c Makefile.in: Change callers. * ldmisc.c (vfinfo): Remove cleanup code. * ldmain.c (remove_output): Put it here (new function). (preserve_output): New function. (main): Register remove_output and preserve_output with atexit. * ldmain.c ldgram.y: Call xexit instead of exit. * ldmisc.h: Declare xexit.
Diffstat (limited to 'ld/Makefile.in')
-rw-r--r--ld/Makefile.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/ld/Makefile.in b/ld/Makefile.in
index 171721d..b2c168f 100644
--- a/ld/Makefile.in
+++ b/ld/Makefile.in
@@ -235,7 +235,7 @@ ldlex.c: ldlex.l
$(LEX) -I -Cem $(srcdir)/ldlex.l
-sed -e '/^int.*free();/d' \
-e '/^char.*malloc();/d' \
- -e 's/malloc/ldmalloc/g' \
+ -e 's/malloc/xmalloc/g' \
< lex.yy.c > ldlex.c.new
-rm lex.yy.c
mv ldlex.c.new ./ldlex.c