X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gas%2Fas.c;h=83fbf1a2eaf8f0c0cc38112f6daba36865210546;hb=411863a44d47767443870273ecd7d6f51c84fcac;hp=d5922b07d1aca0a6d9c39a08db4c0080d895ac59;hpb=6c19f3384a3cce101ee1336f2e45cbbf032200e5;p=deliverable%2Fbinutils-gdb.git diff --git a/gas/as.c b/gas/as.c index d5922b07d1..83fbf1a2ea 100644 --- a/gas/as.c +++ b/gas/as.c @@ -1,6 +1,6 @@ /* as.c - GAS main program. Copyright 1987, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, - 1999, 2000, 2001 + 1999, 2000, 2001, 2002 Free Software Foundation, Inc. This file is part of GAS, the GNU Assembler. @@ -500,8 +500,8 @@ parse_args (pargc, pargv) break; case OPTION_TARGET_HELP: - md_show_usage (stdout); - exit (EXIT_SUCCESS); + md_show_usage (stdout); + exit (EXIT_SUCCESS); case OPTION_HELP: show_usage (stdout); @@ -524,8 +524,12 @@ parse_args (pargc, pargv) case OPTION_VERSION: /* This output is intended to follow the GNU standards document. */ +#ifdef BFD_ASSEMBLER printf (_("GNU assembler %s\n"), BFD_VERSION_STRING); - printf (_("Copyright 2001 Free Software Foundation, Inc.\n")); +#else + printf (_("GNU assembler %s\n"), VERSION); +#endif + printf (_("Copyright 2002 Free Software Foundation, Inc.\n")); printf (_("\ This program is free software; you may redistribute it under the terms of\n\ the GNU General Public License. This program has absolutely no warranty.\n")); @@ -762,6 +766,10 @@ the GNU General Public License. This program has absolutely no warranty.\n")); *pargc = new_argc; *pargv = new_argv; + +#ifdef md_after_parse_args + md_after_parse_args (); +#endif } static long start_time; @@ -789,13 +797,7 @@ main (argc, argv) textdomain (PACKAGE); if (debug_memory) - { -#ifdef BFD_ASSEMBLER - extern long _bfd_chunksize; - _bfd_chunksize = 64; -#endif - chunksize = 64; - } + chunksize = 64; #ifdef HOST_SPECIAL_INIT HOST_SPECIAL_INIT (argc, argv);