bug-binutils
[Top][All Lists]
Advanced

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

[Bug gas/13614] New: SPARC hardware capabilities are not initialized unl


From: asl at math dot spbu.ru
Subject: [Bug gas/13614] New: SPARC hardware capabilities are not initialized unless -A is explicitly requested
Date: Mon, 23 Jan 2012 12:34:33 +0000

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: address@hidden
        ReportedBy: address@hidden
    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.



reply via email to

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