diff options
author | Anton Korobeynikov <asl@math.spbu.ru> | 2011-04-19 17:52:09 +0000 |
---|---|---|
committer | Anton Korobeynikov <asl@math.spbu.ru> | 2011-04-19 17:52:09 +0000 |
commit | e63da933eba10f5ea5bf39af47a0ded719c2cf5d (patch) | |
tree | 3e39bc5ad29874dfa68646379425fc218b3f78aa /compiler-rt/lib/subvsi3.c | |
parent | 75e3c1993c6d1b78cddfd93d3a936b3dcdf5cebb (diff) | |
download | bcm5719-llvm-e63da933eba10f5ea5bf39af47a0ded719c2cf5d.tar.gz bcm5719-llvm-e63da933eba10f5ea5bf39af47a0ded719c2cf5d.zip |
Move abi bits to separate header. Force AAPCS for EABI in accordance with ARM RTABI.
llvm-svn: 129769
Diffstat (limited to 'compiler-rt/lib/subvsi3.c')
-rw-r--r-- | compiler-rt/lib/subvsi3.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/compiler-rt/lib/subvsi3.c b/compiler-rt/lib/subvsi3.c index 51bb454475a..03983f747e4 100644 --- a/compiler-rt/lib/subvsi3.c +++ b/compiler-rt/lib/subvsi3.c @@ -1,6 +1,6 @@ /* ===-- subvsi3.c - Implement __subvsi3 -----------------------------------=== * - * The LLVM Compiler Infrastructure + * The LLVM Compiler Infrastructure * * This file is dual licensed under the MIT and the University of Illinois Open * Source Licenses. See LICENSE.TXT for details. @@ -11,6 +11,7 @@ * * ===----------------------------------------------------------------------=== */ +#include "abi.h" #include "int_lib.h" #include <stdlib.h> @@ -19,7 +20,7 @@ /* Effects: aborts if a - b overflows */ -si_int +COMPILER_RT_ABI si_int __subvsi3(si_int a, si_int b) { si_int s = a - b; |