* ldmisc.c (ldmalloc, xmalloc, ldrealloc, xrealloc): Functions
authorDavid MacKenzie <djm@cygnus>
Sat, 5 Feb 1994 01:14:56 +0000 (01:14 +0000)
committerDavid MacKenzie <djm@cygnus>
Sat, 5 Feb 1994 01:14:56 +0000 (01:14 +0000)
commit0b2f8d2edd598eb8f013e8b61fd49def1d908281
tree8d99e3f160ccf34311dc788184ca63c9e83ef8fe
parent6adfba803c6aee9ed765b4b3c1d07497c9719424
* 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.
ld/ChangeLog
ld/Makefile.in
ld/ldlang.c
ld/ldmain.c