Commit e1a132c6 by Richard Kenner Committed by Richard Kenner

toplev.c (main): Call xmalloc_set_program_name.

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

From-SVN: r38535
parent 5184f7c5
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> 2000-12-29 Philip Blundell <philb@gnu.org>
* config/arm/arm.c (arm_override_options): Fix typo in warning * config/arm/arm.c (arm_override_options): Fix typo in warning
......
...@@ -5243,6 +5243,8 @@ main (argc, argv) ...@@ -5243,6 +5243,8 @@ main (argc, argv)
--p; --p;
programname = p; programname = p;
xmalloc_set_program_name (programname);
#ifdef GCC_DRIVER_HOST_INITIALIZATION #ifdef GCC_DRIVER_HOST_INITIALIZATION
/* Perform host dependant initialization when needed. */ /* Perform host dependant initialization when needed. */
GCC_DRIVER_HOST_INITIALIZATION; GCC_DRIVER_HOST_INITIALIZATION;
......
...@@ -4525,6 +4525,8 @@ main (argc, argv) ...@@ -4525,6 +4525,8 @@ main (argc, argv)
--p; --p;
progname = p; progname = p;
xmalloc_set_program_name (progname);
/* LC_CTYPE determines the character set used by the terminal so it has be set /* LC_CTYPE determines the character set used by the terminal so it has be set
to output messages correctly. */ to output messages correctly. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment