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 5087841fb78b729f6171a234909deb5ac022c08a..3b582ae82788d3612ebcebd4b981307de67213de 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 5d69aa379a25ab477ab57de52b3aea461a479616..1d17186e9c38321901387b8606bce9a4614ae0b1 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