bug-binutils
[Top][All Lists]
Advanced

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

[Bug gas/18401] New: MIPS -march=xlp results in inconsistent ISA markers


From: matthew.fortune at imgtec dot com
Subject: [Bug gas/18401] New: MIPS -march=xlp results in inconsistent ISA markers
Date: Tue, 12 May 2015 09:06:32 +0000

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

            Bug ID: 18401
           Summary: MIPS -march=xlp results in inconsistent ISA markers
           Product: binutils
           Version: 2.25
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gas
          Assignee: unassigned at sourceware dot org
          Reporter: matthew.fortune at imgtec dot com
  Target Milestone: ---

When using -march=xlp the assembler will mark an object with MIPS64 in the ELF
flags but will mark it (correctly) with MIPS64R2.

This is because the XLP CPU is marked as MIPS64R2 with XLR as the processor.
The processor is used to determine the BFD arch and the BFD arch then sets the
e_flags. However, the architecture in the .MIPS.abiflags uses the ISA rather
than the processor.

The simple fix would be to lie and represent the XLP as a MIPS64 but it would
be better to update the e_flags to be MIPS64R2 instead.

-- 
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]