http://sourceware.org/bugzilla/show_bug.cgi?id=13614

             Bug #: 13614
           Summary: SPARC hardware capabilities are not initialized unless
                    -A is explicitly requested
           Product: binutils
           Version: 2.23 (HEAD)
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gas
        AssignedTo: unassig...@sourceware.org
        ReportedBy: a...@math.spbu.ru
    Classification: Unclassified


Created attachment 6172
  --> http://sourceware.org/bugzilla/attachment.cgi?id=6172
Patch to fix the bug

The default arch on sparc is "sparclite" which has hardware multiplier,
divider, etc. However, the hardware capabilities in gas are not initialized
(always zero) unless explicit -A / -xarch option is provided.

The solution is to initialize the hw capabilities inside init_default_arch()
depending on the default arch provided.

The patch is attached.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to