[PATCH] [ARM] Change default ABI for AArch32 to be "aapcs" (was "apcs-gnu")

Oliver Stannard oliver.stannard at arm.com
Thu Aug 28 03:39:48 PDT 2014


The current default abi when no environment is given is "apcs-gnu",
which is obsolete. This patch changes the default to "aapcs". "aapcs" has both
hard- and soft-float variants, so the -mhard-float, -msoft-float and
-mfloat-abi= options now all behave as expected when no environment is
specified in the triple.

While writing this I also noticed that a preprocessor test claims to be
checking darwin, but is actually checking the defaults, which are
different for darwin.

http://reviews.llvm.org/D5096

Files:
  lib/Driver/Tools.cpp
  test/Driver/arm-abi.c
  test/Preprocessor/init.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D5096.13027.patch
Type: text/x-patch
Size: 4382 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140828/e204a7f6/attachment.bin>


More information about the cfe-commits mailing list