Commit Graph

12 Commits

Author SHA1 Message Date
David MacKenzie f3d817d8b7 * as.c (show_usage): Remove target specific messages;
instead, call md_show_usage.
	(parse_args): Use getopt_long_only.  Take pointers to argc and
	argv.
	(main): Pass parse_args pointers.
	* as.h: Remove 3 variables that are redundant with flagseen.
	* as.c, messages.c: Change their users to use flagseen.
	Define getopt stuff.
	* tc.h: Update md_parse_option decl.  Add md_show_usage decl.
	* config/tc-*.c: Add md_shortopts, md_longopts,
	md_longopts_size, md_show_usage.  Change calling convention for
	md_parse_option.  Remove md_parse_long_option.
	* config/tc-ns32k.c: Rename `struct option' to `struct ns32k_option'.
	* config/tc-i386.h: Don't define md_parse_option.
1994-06-03 17:42:27 +00:00
Ken Raeburn 8d3be8030e * messages.c (as_fatal): Do mention that it's the assembler that
got the fatal error.
1993-10-11 20:17:28 +00:00
Ken Raeburn 6efd877de5 Ran "indent", for GNU coding style; some code & comments still need fixup.
Removed some unneeded files.

configure.in: Don't look for te-386bsd.h, which doesn't exist...
1992-11-23 20:39:57 +00:00
Ken Raeburn 4959cb7bf9 defined(__STDC__) / __STDC__==1 changes recommended by gnu 1992-09-25 21:14:46 +00:00
Ian Lance Taylor b1520b1f70 Thu Sep 10 09:23:15 1992 Ian Lance Taylor (ian@cygnus.com)
* input-scrub.c (input_scrub_push): call input_file_begin, not
	input_scrub_begin.
	messages.c (as_perror): print ": " between the passed in error and
	the strerror, like perror does.
1992-09-10 16:25:31 +00:00
Ken Raeburn 4772861e5b From p3:
* messages.c (as_warn): Use fputs, not fprintf, with a buffer that
has already been formatted (but may still contain %-characters).
(as_bad): Likewise.
1992-08-21 19:21:52 +00:00
Ken Raeburn 09952cd955 mainly link-relax changes 1992-08-19 14:42:21 +00:00
Ken Raeburn c1c28543bc * messages.c (as_tsktsk): Use correct ANSI form for stdarg version.
Discard bogus DONTDEF version.
(as_warn, as_bad, as_fatal): Likewise.
1992-08-17 20:20:54 +00:00
K. Richard Pixley 8b228fe958 force all files to end in "/* end of filename" 1992-02-13 09:13:54 +00:00
K. Richard Pixley 1d63ba3ba0 remove all rcs keywords 1992-02-13 08:39:15 +00:00
K. Richard Pixley a39116f1c9 White space and comments only. The devo tree prior to this delta is
tagged as "vanilla" for your convenience.

There are also some comment changes.
1992-02-13 08:33:54 +00:00
K. Richard Pixley fecd2382e7 Initial revision 1991-04-04 18:19:53 +00:00