aboutsummaryrefslogtreecommitdiff
path: root/gas/as.c
diff options
context:
space:
mode:
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