[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug gas/28866] The results of "as" command are not consistent in arm an
From: |
nickc at redhat dot com |
Subject: |
[Bug gas/28866] The results of "as" command are not consistent in arm and x86 |
Date: |
Thu, 10 Feb 2022 11:15:39 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=28866
Nick Clifton <nickc at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |NOTABUG
Status|UNCONFIRMED |RESOLVED
CC| |nickc at redhat dot com
--- Comment #1 from Nick Clifton <nickc at redhat dot com> ---
Hi panxiaohe,
> Hello, the results of "as" command are not consistent in arm and x86.
> This is because md_shortopts and md_parse_option() are different in
> tc-aarch64.c and tc-i386.c.
> May I ask why does it have different values in arm and x86?
Because accepting -V as an alternative to the -v option is an x86 specific
feature. In particular -V is supported by the x86 assembler because the same
option is supported by the old SVR4 assembler. Ie this is a backwards
compatibility feature.
The AArch64 assembler does not need to be backwards compatible with earlier
assemblers (there are none) and so it does not support the -V option.
Note that both assemblers do support -v and --version.
--
You are receiving this mail because:
You are on the CC list for the bug.