[cfe-commits] [PATCH] Pre-define _MIPS_ARCH for MIPS target.

Logan Chien tzuhsiang.chien at gmail.com
Wed Aug 29 03:35:41 PDT 2012


Dear all,

  It seems that clang is not pre-defining _MIPS_ARCH as gcc did.
This may cause some problem when we are using clang as the
cross compiler.  The attached patch contains a simple fix and the
test cases.  Please have a look.  Thanks.

Sincerely,
Logan

FYI. http://gcc.gnu.org/onlinedocs/gcc/MIPS-Options.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120829/f35296c0/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Pre-define-_MIPS_ARCH-for-Mips-target.patch
Type: application/octet-stream
Size: 2317 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120829/f35296c0/attachment.obj>


More information about the cfe-commits mailing list