[PATCH] Implements -mfpu=softvfp+variants on ARM driver
Renato Golin
renato.golin at linaro.org
Mon Feb 17 08:15:57 PST 2014
Hi mcrosier, bogden, joey,
The ARM compiler and GCC have a way of specifying soft float ABI with VFP hardware described here:
http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dui0472c/BABDGGBI.html
Mainly, softvfp == soft ABI and whatever comes later is the currently supported -mfpu flag.
This patch implements it on Clang and warns when the user is trying to force sof-float on gnueabihf targets and so on.
Fixes http://llvm.org/bugs/show_bug.cgi?id=18689.
http://llvm-reviews.chandlerc.com/D2817
Files:
include/clang/Basic/DiagnosticDriverKinds.td
lib/Driver/Tools.cpp
test/Driver/arm-mfpu.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D2817.1.patch
Type: text/x-patch
Size: 9326 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140217/ecd7831d/attachment.bin>
More information about the cfe-commits
mailing list