From d2a0c9f9604f1243ab8020860e43a99030985675 Mon Sep 17 00:00:00 2001 From: Ken Raeburn Date: Wed, 30 Nov 1994 00:56:43 +0000 Subject: [PATCH] switch to libiberty version of xmalloc --- gas/ChangeLog | 7 +++++++ gas/as.c | 3 +++ 2 files changed, 10 insertions(+) diff --git a/gas/ChangeLog b/gas/ChangeLog index 5087841fb78..3b582ae8278 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,5 +1,12 @@ Tue Nov 29 13:58:10 1994 Ken Raeburn + 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 5d69aa379a2..1d17186e9c3 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 -- 2.30.2