aboutsummaryrefslogtreecommitdiff
path: root/ld/mpw-eppcmac.c
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2001-05-02 16:42:55 +0000
committerH.J. Lu <hjl.tools@gmail.com>2001-05-02 16:42:55 +0000
commitd1b2b2dcb9990cc1b113ce35fe9ebe120d34b1c3 (patch)
tree1b9443e600a2baea4f6e474bbbf51aa384bb04fb /ld/mpw-eppcmac.c
parent5cb1517bba5802b8b14e2ed42cffdaee788704df (diff)
downloadgdb-d1b2b2dcb9990cc1b113ce35fe9ebe120d34b1c3.zip
gdb-d1b2b2dcb9990cc1b113ce35fe9ebe120d34b1c3.tar.gz
gdb-d1b2b2dcb9990cc1b113ce35fe9ebe120d34b1c3.tar.bz2
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.
Diffstat (limited to 'ld/mpw-eppcmac.c')
-rw-r--r--ld/mpw-eppcmac.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ld/mpw-eppcmac.c b/ld/mpw-eppcmac.c
index 204a6eb..0cd70fb 100644
--- a/ld/mpw-eppcmac.c
+++ b/ld/mpw-eppcmac.c
@@ -843,7 +843,7 @@ gldppcmacos_read_file (filename, import)
n = ((struct export_symbol_list *)
xmalloc (sizeof (struct export_symbol_list)));
n->next = export_symbols;
- n->name = buystring (symname);
+ n->name = xstrdup (symname);
n->syscall = syscall;
export_symbols = n;
}