]> granicus.if.org Git - clang/commit
[ARM] Change default ABI for AArch32 to be "aapcs" (was "apcs-gnu")
authorOliver Stannard <oliver.stannard@arm.com>
Thu, 28 Aug 2014 12:15:49 +0000 (12:15 +0000)
committerOliver Stannard <oliver.stannard@arm.com>
Thu, 28 Aug 2014 12:15:49 +0000 (12:15 +0000)
commite6e29e4248bd05f19273f16cdc424b88f547402d
treeecc488cf38104a37aab87d3a974fc28a94109040
parent0c331cfac17ab12d6e6a67319b722b1de7f0a554
[ARM] Change default ABI for AArch32 to be "aapcs" (was "apcs-gnu")

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.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@216662 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Driver/Tools.cpp
test/Driver/arm-abi.c [new file with mode: 0644]
test/Preprocessor/init.c