[llvm-commits] [patch] Update llvm-gcc to produce "" for the default calling convention on ARM
Rafael Espindola
espindola at google.com
Tue Jun 15 14:50:45 PDT 2010
> As far as I understand this, you want to change llvm-gcc and clang to set the CC to "" when it matches the backend's default for the target. This patch seems insufficient. You'll need to check to see what the current target is set to and compare the current ABI against the default for that target.
An updated patch is attached. With it and a gcc configured for
arm-none-linux-gnueabi I get:
*) no -mabi -> ""
*) -mabi=aapcs -> ""
*) -mcpu=cortex-a8 -> arm_apcscc
*) -mfloat-abi=hard -> arm_aapcs_vfpcc
Is it OK?
Cheers,
--
Rafael Ávila de Espíndola
-------------- next part --------------
A non-text attachment was scrubbed...
Name: llvm-gcc-cc.patch
Type: text/x-patch
Size: 1913 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20100615/08ce618c/attachment.bin>
More information about the llvm-commits
mailing list