toplev.c (main): Call xmalloc_set_program_name.

* toplev.c (main): Call xmalloc_set_program_name.
	* gcc.c (main): Likewise.

From-SVN: r38535
This commit is contained in:
Richard Kenner 2000-12-29 13:09:35 +00:00 committed by Richard Kenner
parent 5184f7c5e1
commit e1a132c650
3 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2000-12-29 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
* toplev.c (main): Call xmalloc_set_program_name.
* gcc.c (main): Likewise.
2000-12-29 Philip Blundell <philb@gnu.org>
* config/arm/arm.c (arm_override_options): Fix typo in warning

View File

@ -5243,6 +5243,8 @@ main (argc, argv)
--p;
programname = p;
xmalloc_set_program_name (programname);
#ifdef GCC_DRIVER_HOST_INITIALIZATION
/* Perform host dependant initialization when needed. */
GCC_DRIVER_HOST_INITIALIZATION;

View File

@ -4525,6 +4525,8 @@ main (argc, argv)
--p;
progname = p;
xmalloc_set_program_name (progname);
/* LC_CTYPE determines the character set used by the terminal so it has be set
to output messages correctly. */