forked from Imagelibrary/binutils-gdb
2001-05-02 H.J. Lu <hjl@gnu.org>
* ldfile.c: Include "libiberty.h". * ldlex.l: Likewise. * ldmisc.c (buystring): Removed. * ldmisc.h: Likewise. * ldfile.c: Replace buystring with xstrdup. * ldlang.c: Likewise. * ldlex.l: Likewise. * ldmain.c: Likewise. * ldmisc.c: Likewise. * lexsup.c: Likewise. * mpw-eppcmac.c: Likewise.
This commit is contained in:
@@ -33,6 +33,7 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA
|
||||
#include "ldgram.h"
|
||||
#include "ldlex.h"
|
||||
#include "ldemul.h"
|
||||
#include "libiberty.h"
|
||||
|
||||
#include <ctype.h>
|
||||
|
||||
@@ -414,7 +415,7 @@ void
|
||||
ldfile_add_arch (in_name)
|
||||
CONST char *in_name;
|
||||
{
|
||||
char *name = buystring (in_name);
|
||||
char *name = xstrdup (in_name);
|
||||
search_arch_type *new =
|
||||
(search_arch_type *) xmalloc (sizeof (search_arch_type));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user