Hi,

Please review this patch which adds SPARC v9 support to Targets.cpp.

Triple::sparcv9 is the 64-bit counterpart to Triple::sparc. The architectures 
are very similar, so they share most of the TargetInfo implementation. I 
included operating systems with known sparcv9 ports in AllocateTarget().

This also fixes two issues with the existing 32-bit sparc data layout string: 
It was accidentally marked as little endian, and there was no stack alignment. 
A 64-bit aligned stack is required by the SPARC v8 System V ABI.

Attachment: 0001-Add-support-for-sparcv9-targets.patch
Description: Binary data


Thanks,
/jakob

_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to