bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug gas/28866] New: The results of "as" command are not consistent in a


From: panxh_ran at 163 dot com
Subject: [Bug gas/28866] New: The results of "as" command are not consistent in arm and x86
Date: Sun, 06 Feb 2022 07:08:48 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=28866

            Bug ID: 28866
           Summary: The results of "as" command are not consistent in arm
                    and x86
           Product: binutils
           Version: unspecified
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: gas
          Assignee: unassigned at sourceware dot org
          Reporter: panxh_ran at 163 dot com
  Target Milestone: ---

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?

arm:
#as -V
as:unrecognized option '-V'
x86:
#as -V
GNU assembler version 2.34
using BFD version (GNU Binutils) 2.34

arm: gas/config/tc-aarch64.c:9637:const char *md_shortopts = "m:";
x86: gas/config/tc-i386.c:
#if defined (OBJ_ELF) || defined (OBJ_MAYBE_ELF)
const char *md_shortopts = "kVQ:sqnO::";
#else
const char *md_shortopts = "qnO::";
#endif

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]