aboutsummaryrefslogtreecommitdiff
path: root/gas/as.c
diff options
context:
space:
mode:
authorKen Raeburn <raeburn@cygnus>1994-11-30 00:56:43 +0000
committerKen Raeburn <raeburn@cygnus>1994-11-30 00:56:43 +0000
commitd2a0c9f9604f1243ab8020860e43a99030985675 (patch)
tree7e8dd61b6a9b4c7dea26f8f5317ef5ed2ac4bb7f /gas/as.c
parent75af551fc4d909d7569d5a2f82d0c9b3ce09f316 (diff)
downloadgdb-d2a0c9f9604f1243ab8020860e43a99030985675.zip
gdb-d2a0c9f9604f1243ab8020860e43a99030985675.tar.gz
gdb-d2a0c9f9604f1243ab8020860e43a99030985675.tar.bz2
switch to libiberty version of xmalloc
Diffstat (limited to 'gas/as.c')
-rw-r--r--gas/as.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gas/as.c b/gas/as.c
index 5d69aa3..1d17186 100644
--- a/gas/as.c
+++ b/gas/as.c
@@ -385,9 +385,12 @@ main (argc, argv)
#endif
myname = argv[0];
+ xmalloc_set_program_name (myname);
+
#ifndef OBJ_DEFAULT_OUTPUT_FILE_NAME
#define OBJ_DEFAULT_OUTPUT_FILE_NAME "a.out"
#endif
+
out_file_name = OBJ_DEFAULT_OUTPUT_FILE_NAME;
#ifdef BFD_ASSEMBLER