switch to libiberty version of xmalloc
authorKen Raeburn <raeburn@cygnus>
Wed, 30 Nov 1994 00:56:43 +0000 (00:56 +0000)
committerKen Raeburn <raeburn@cygnus>
Wed, 30 Nov 1994 00:56:43 +0000 (00:56 +0000)
gas/ChangeLog
gas/as.c

index 5087841..3b582ae 100644 (file)
@@ -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.
index 5d69aa3..1d17186 100644 (file)
--- 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