aboutsummaryrefslogtreecommitdiff
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
parent75af551fc4d909d7569d5a2f82d0c9b3ce09f316 (diff)
downloadgdb-d2a0c9f9604f1243ab8020860e43a99030985675.zip
gdb-d2a0c9f9604f1243ab8020860e43a99030985675.tar.gz
gdb-d2a0c9f9604f1243ab8020860e43a99030985675.tar.bz2
switch to libiberty version of xmalloc
-rw-r--r--gas/ChangeLog7
-rw-r--r--gas/as.c3
2 files changed, 10 insertions, 0 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 5087841..3b582ae 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,5 +1,12 @@
Tue Nov 29 13:58:10 1994 Ken Raeburn <raeburn@cujo.cygnus.com>
+ Use libiberty version of xmalloc:
+ * Makefile.in (REAL_SOURCES): Delete xmalloc.c.
+ (OBJS): Delete xmalloc.o.
+ (xmalloc.o): Delete dependencies.
+ * as.c (main): Call xmalloc_set_program_name once program name is
+ known.
+
* config/tc-alpha.c (in_range_signed, in_range_unsigned): New
routines, split from in_range.
(in_range): Deleted. All calls changed to in_range_*signed.
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