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. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils