diff options
author | Ian Lance Taylor <ian@airs.com> | 1999-09-19 23:03:56 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1999-09-19 23:03:56 +0000 |
commit | 4cc782b5919b187ce44ea9d4a66793105aeb07da (patch) | |
tree | ece8a5f3af3aa92da2c71eb2052749536f9b75b2 /gas/config | |
parent | 9eb7245e8b2e541a21f5484afa8fb7b734f05ea3 (diff) | |
download | gdb-4cc782b5919b187ce44ea9d4a66793105aeb07da.zip gdb-4cc782b5919b187ce44ea9d4a66793105aeb07da.tar.gz gdb-4cc782b5919b187ce44ea9d4a66793105aeb07da.tar.bz2 |
1999-09-19 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
* config/tc-i386.c (md_shortopts): Check OBJ_MAYBE_ELF as well as
OBJ_ELF. If ELF, add "sq".
(md_parse_option): If ELF, ignore -s and -q.
(md_show_usage): Mention ELF options.
Diffstat (limited to 'gas/config')
-rw-r--r-- | gas/config/tc-i386.c | 24 |
1 files changed, 21 insertions, 3 deletions
diff --git a/gas/config/tc-i386.c b/gas/config/tc-i386.c index a8055cc..7397f43 100644 --- a/gas/config/tc-i386.c +++ b/gas/config/tc-i386.c @@ -4128,8 +4128,8 @@ parse_register (reg_string, end_op) return r; } -#ifdef OBJ_ELF -CONST char *md_shortopts = "kmVQ:"; +#if defined (OBJ_ELF) || defined (OBJ_MAYBE_ELF) +CONST char *md_shortopts = "kmVQ:sq"; #else CONST char *md_shortopts = "m"; #endif @@ -4163,6 +4163,16 @@ md_parse_option (c, arg) should be emitted or not. FIXME: Not implemented. */ case 'Q': break; + + case 's': + /* -s: On i386 Solaris, this tells the native assembler to use + .stab instead of .stab.excl. We always use .stab anyhow. */ + break; + + case 'q': + /* -q: On i386 Solaris, this tells the native assembler does + fewer checks. */ + break; #endif default: @@ -4176,7 +4186,15 @@ md_show_usage (stream) FILE *stream; { fprintf (stream, _("\ --m do long jump\n")); + -m do long jump\n")); +#if defined (OBJ_ELF) || defined (OBJ_MAYBE_ELF) + fprintf (stream, _("\ + -V print assembler version number\n\ + -k ignored\n\ + -Qy, -Qn ignored\n\ + -q ignored\n\ + -s ignored\n")); +#endif } #ifdef BFD_ASSEMBLER |