[llvm-commits] [compiler-rt] r144660 - /compiler-rt/trunk/lib/
Daniel Dunbar
daniel at zuster.org
Tue Nov 15 10:34:44 PST 2011
Author: ddunbar
Date: Tue Nov 15 12:34:44 2011
New Revision: 144660
URL: http://llvm.org/viewvc/llvm-project?rev=144660&view=rev
Log:
lib: Integrate abi.h into int_lib.h, there aren't good enough reasons for this extra complexity.
Removed:
compiler-rt/trunk/lib/abi.h
Modified:
compiler-rt/trunk/lib/absvdi2.c
compiler-rt/trunk/lib/absvsi2.c
compiler-rt/trunk/lib/adddf3.c
compiler-rt/trunk/lib/addsf3.c
compiler-rt/trunk/lib/addvdi3.c
compiler-rt/trunk/lib/addvsi3.c
compiler-rt/trunk/lib/ashldi3.c
compiler-rt/trunk/lib/ashrdi3.c
compiler-rt/trunk/lib/clzdi2.c
compiler-rt/trunk/lib/clzsi2.c
compiler-rt/trunk/lib/cmpdi2.c
compiler-rt/trunk/lib/ctzdi2.c
compiler-rt/trunk/lib/ctzsi2.c
compiler-rt/trunk/lib/divdf3.c
compiler-rt/trunk/lib/divdi3.c
compiler-rt/trunk/lib/divmoddi4.c
compiler-rt/trunk/lib/divmodsi4.c
compiler-rt/trunk/lib/divsf3.c
compiler-rt/trunk/lib/divsi3.c
compiler-rt/trunk/lib/extendsfdf2.c
compiler-rt/trunk/lib/ffsdi2.c
compiler-rt/trunk/lib/fixdfdi.c
compiler-rt/trunk/lib/fixdfsi.c
compiler-rt/trunk/lib/fixsfdi.c
compiler-rt/trunk/lib/fixsfsi.c
compiler-rt/trunk/lib/fixunsdfdi.c
compiler-rt/trunk/lib/fixunsdfsi.c
compiler-rt/trunk/lib/fixunssfdi.c
compiler-rt/trunk/lib/fixunssfsi.c
compiler-rt/trunk/lib/floatdidf.c
compiler-rt/trunk/lib/floatdisf.c
compiler-rt/trunk/lib/floatsidf.c
compiler-rt/trunk/lib/floatsisf.c
compiler-rt/trunk/lib/floatundidf.c
compiler-rt/trunk/lib/floatundisf.c
compiler-rt/trunk/lib/floatunsidf.c
compiler-rt/trunk/lib/floatunsisf.c
compiler-rt/trunk/lib/fp_lib.h
compiler-rt/trunk/lib/int_lib.h
compiler-rt/trunk/lib/lshrdi3.c
compiler-rt/trunk/lib/moddi3.c
compiler-rt/trunk/lib/modsi3.c
compiler-rt/trunk/lib/muldf3.c
compiler-rt/trunk/lib/muldi3.c
compiler-rt/trunk/lib/mulsf3.c
compiler-rt/trunk/lib/negdf2.c
compiler-rt/trunk/lib/negsf2.c
compiler-rt/trunk/lib/negvdi2.c
compiler-rt/trunk/lib/negvsi2.c
compiler-rt/trunk/lib/paritydi2.c
compiler-rt/trunk/lib/paritysi2.c
compiler-rt/trunk/lib/popcountdi2.c
compiler-rt/trunk/lib/popcountsi2.c
compiler-rt/trunk/lib/powidf2.c
compiler-rt/trunk/lib/powisf2.c
compiler-rt/trunk/lib/subdf3.c
compiler-rt/trunk/lib/subsf3.c
compiler-rt/trunk/lib/subvdi3.c
compiler-rt/trunk/lib/subvsi3.c
compiler-rt/trunk/lib/truncdfsf2.c
compiler-rt/trunk/lib/ucmpdi2.c
compiler-rt/trunk/lib/udivdi3.c
compiler-rt/trunk/lib/udivmoddi4.c
compiler-rt/trunk/lib/udivmodsi4.c
compiler-rt/trunk/lib/udivsi3.c
compiler-rt/trunk/lib/umoddi3.c
compiler-rt/trunk/lib/umodsi3.c
Removed: compiler-rt/trunk/lib/abi.h
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/abi.h?rev=144659&view=auto
==============================================================================
--- compiler-rt/trunk/lib/abi.h (original)
+++ compiler-rt/trunk/lib/abi.h (removed)
@@ -1,23 +0,0 @@
-/* ===------ abi.h - configuration header for compiler-rt -----------------===
- *
- * 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.
- *
- * ===----------------------------------------------------------------------===
- *
- * This file is a configuration header for compiler-rt.
- * This file is not part of the interface of this library.
- *
- * ===----------------------------------------------------------------------===
- */
-
-#if __ARM_EABI__
-# define ARM_EABI_FNALIAS(aeabi_name, name) \
- void __aeabi_##aeabi_name() __attribute__((alias("__" #name)));
-# define COMPILER_RT_ABI __attribute__((pcs("aapcs")))
-#else
-# define ARM_EABI_FNALIAS(aeabi_name, name)
-# define COMPILER_RT_ABI
-#endif
Modified: compiler-rt/trunk/lib/absvdi2.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/absvdi2.c?rev=144660&r1=144659&r2=144660&view=diff
==============================================================================
--- compiler-rt/trunk/lib/absvdi2.c (original)
+++ compiler-rt/trunk/lib/absvdi2.c Tue Nov 15 12:34:44 2011
@@ -11,7 +11,6 @@
*
*===----------------------------------------------------------------------===
*/
-#include "abi.h"
#include "int_lib.h"
#include <stdlib.h>
Modified: compiler-rt/trunk/lib/absvsi2.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/absvsi2.c?rev=144660&r1=144659&r2=144660&view=diff
==============================================================================
--- compiler-rt/trunk/lib/absvsi2.c (original)
+++ compiler-rt/trunk/lib/absvsi2.c Tue Nov 15 12:34:44 2011
@@ -11,7 +11,6 @@
*
* ===----------------------------------------------------------------------===
*/
-#include "abi.h"
#include "int_lib.h"
#include <stdlib.h>
Modified: compiler-rt/trunk/lib/adddf3.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/adddf3.c?rev=144660&r1=144659&r2=144660&view=diff
==============================================================================
--- compiler-rt/trunk/lib/adddf3.c (original)
+++ compiler-rt/trunk/lib/adddf3.c Tue Nov 15 12:34:44 2011
@@ -12,8 +12,6 @@
//
//===----------------------------------------------------------------------===//
-#include "abi.h"
-
#define DOUBLE_PRECISION
#include "fp_lib.h"
Modified: compiler-rt/trunk/lib/addsf3.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/addsf3.c?rev=144660&r1=144659&r2=144660&view=diff
==============================================================================
--- compiler-rt/trunk/lib/addsf3.c (original)
+++ compiler-rt/trunk/lib/addsf3.c Tue Nov 15 12:34:44 2011
@@ -12,8 +12,6 @@
//
//===----------------------------------------------------------------------===//
-#include "abi.h"
-
#define SINGLE_PRECISION
#include "fp_lib.h"
Modified: compiler-rt/trunk/lib/addvdi3.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/addvdi3.c?rev=144660&r1=144659&r2=144660&view=diff
==============================================================================
--- compiler-rt/trunk/lib/addvdi3.c (original)
+++ compiler-rt/trunk/lib/addvdi3.c Tue Nov 15 12:34:44 2011
@@ -11,7 +11,6 @@
*
* ===----------------------------------------------------------------------===
*/
-#include "abi.h"
#include "int_lib.h"
#include <stdlib.h>
Modified: compiler-rt/trunk/lib/addvsi3.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/addvsi3.c?rev=144660&r1=144659&r2=144660&view=diff
==============================================================================
--- compiler-rt/trunk/lib/addvsi3.c (original)
+++ compiler-rt/trunk/lib/addvsi3.c Tue Nov 15 12:34:44 2011
@@ -11,7 +11,6 @@
*
* ===----------------------------------------------------------------------===
*/
-#include "abi.h"
#include "int_lib.h"
#include <stdlib.h>
Modified: compiler-rt/trunk/lib/ashldi3.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/ashldi3.c?rev=144660&r1=144659&r2=144660&view=diff
==============================================================================
--- compiler-rt/trunk/lib/ashldi3.c (original)
+++ compiler-rt/trunk/lib/ashldi3.c Tue Nov 15 12:34:44 2011
@@ -11,7 +11,6 @@
*
* ===----------------------------------------------------------------------===
*/
-#include "abi.h"
#include "int_lib.h"
Modified: compiler-rt/trunk/lib/ashrdi3.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/ashrdi3.c?rev=144660&r1=144659&r2=144660&view=diff
==============================================================================
--- compiler-rt/trunk/lib/ashrdi3.c (original)
+++ compiler-rt/trunk/lib/ashrdi3.c Tue Nov 15 12:34:44 2011
@@ -11,7 +11,6 @@
*
* ===----------------------------------------------------------------------===
*/
-#include "abi.h"
#include "int_lib.h"
Modified: compiler-rt/trunk/lib/clzdi2.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/clzdi2.c?rev=144660&r1=144659&r2=144660&view=diff
==============================================================================
--- compiler-rt/trunk/lib/clzdi2.c (original)
+++ compiler-rt/trunk/lib/clzdi2.c Tue Nov 15 12:34:44 2011
@@ -11,7 +11,6 @@
*
* ===----------------------------------------------------------------------===
*/
-#include "abi.h"
#include "int_lib.h"
Modified: compiler-rt/trunk/lib/clzsi2.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/clzsi2.c?rev=144660&r1=144659&r2=144660&view=diff
==============================================================================
--- compiler-rt/trunk/lib/clzsi2.c (original)
+++ compiler-rt/trunk/lib/clzsi2.c Tue Nov 15 12:34:44 2011
@@ -11,7 +11,6 @@
*
* ===----------------------------------------------------------------------===
*/
-#include "abi.h"
#include "int_lib.h"
Modified: compiler-rt/trunk/lib/cmpdi2.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/cmpdi2.c?rev=144660&r1=144659&r2=144660&view=diff
==============================================================================
--- compiler-rt/trunk/lib/cmpdi2.c (original)
+++ compiler-rt/trunk/lib/cmpdi2.c Tue Nov 15 12:34:44 2011
@@ -11,7 +11,6 @@
*
* ===----------------------------------------------------------------------===
*/
-#include "abi.h"
#include "int_lib.h"
Modified: compiler-rt/trunk/lib/ctzdi2.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/ctzdi2.c?rev=144660&r1=144659&r2=144660&view=diff
==============================================================================
--- compiler-rt/trunk/lib/ctzdi2.c (original)
+++ compiler-rt/trunk/lib/ctzdi2.c Tue Nov 15 12:34:44 2011
@@ -11,7 +11,6 @@
*
* ===----------------------------------------------------------------------===
*/
-#include "abi.h"
#include "int_lib.h"
Modified: compiler-rt/trunk/lib/ctzsi2.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/ctzsi2.c?rev=144660&r1=144659&r2=144660&view=diff
==============================================================================
--- compiler-rt/trunk/lib/ctzsi2.c (original)
+++ compiler-rt/trunk/lib/ctzsi2.c Tue Nov 15 12:34:44 2011
@@ -11,7 +11,6 @@
*
* ===----------------------------------------------------------------------===
*/
-#include "abi.h"
#include "int_lib.h"
Modified: compiler-rt/trunk/lib/divdf3.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/divdf3.c?rev=144660&r1=144659&r2=144660&view=diff
==============================================================================
--- compiler-rt/trunk/lib/divdf3.c (original)
+++ compiler-rt/trunk/lib/divdf3.c Tue Nov 15 12:34:44 2011
@@ -15,7 +15,6 @@
// underflow with correct rounding.
//
//===----------------------------------------------------------------------===//
-#include "abi.h"
#define DOUBLE_PRECISION
#include "fp_lib.h"
Modified: compiler-rt/trunk/lib/divdi3.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/divdi3.c?rev=144660&r1=144659&r2=144660&view=diff
==============================================================================
--- compiler-rt/trunk/lib/divdi3.c (original)
+++ compiler-rt/trunk/lib/divdi3.c Tue Nov 15 12:34:44 2011
@@ -11,7 +11,6 @@
*
* ===----------------------------------------------------------------------===
*/
-#include "abi.h"
#include "int_lib.h"
Modified: compiler-rt/trunk/lib/divmoddi4.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/divmoddi4.c?rev=144660&r1=144659&r2=144660&view=diff
==============================================================================
--- compiler-rt/trunk/lib/divmoddi4.c (original)
+++ compiler-rt/trunk/lib/divmoddi4.c Tue Nov 15 12:34:44 2011
@@ -11,7 +11,6 @@
*
* ===----------------------------------------------------------------------===
*/
-#include "abi.h"
#include "int_lib.h"
Modified: compiler-rt/trunk/lib/divmodsi4.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/divmodsi4.c?rev=144660&r1=144659&r2=144660&view=diff
==============================================================================
--- compiler-rt/trunk/lib/divmodsi4.c (original)
+++ compiler-rt/trunk/lib/divmodsi4.c Tue Nov 15 12:34:44 2011
@@ -11,7 +11,6 @@
*
* ===----------------------------------------------------------------------===
*/
-#include "abi.h"
#include "int_lib.h"
Modified: compiler-rt/trunk/lib/divsf3.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/divsf3.c?rev=144660&r1=144659&r2=144660&view=diff
==============================================================================
--- compiler-rt/trunk/lib/divsf3.c (original)
+++ compiler-rt/trunk/lib/divsf3.c Tue Nov 15 12:34:44 2011
@@ -15,7 +15,6 @@
// underflow with correct rounding.
//
//===----------------------------------------------------------------------===//
-#include "abi.h"
#define SINGLE_PRECISION
#include "fp_lib.h"
Modified: compiler-rt/trunk/lib/divsi3.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/divsi3.c?rev=144660&r1=144659&r2=144660&view=diff
==============================================================================
--- compiler-rt/trunk/lib/divsi3.c (original)
+++ compiler-rt/trunk/lib/divsi3.c Tue Nov 15 12:34:44 2011
@@ -11,7 +11,6 @@
*
* ===----------------------------------------------------------------------===
*/
-#include "abi.h"
#include "int_lib.h"
Modified: compiler-rt/trunk/lib/extendsfdf2.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/extendsfdf2.c?rev=144660&r1=144659&r2=144660&view=diff
==============================================================================
--- compiler-rt/trunk/lib/extendsfdf2.c (original)
+++ compiler-rt/trunk/lib/extendsfdf2.c Tue Nov 15 12:34:44 2011
@@ -41,7 +41,7 @@
#include <stdint.h>
#include <limits.h>
-#include "abi.h"
+#include "int_lib.h"
typedef float src_t;
typedef uint32_t src_rep_t;
Modified: compiler-rt/trunk/lib/ffsdi2.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/ffsdi2.c?rev=144660&r1=144659&r2=144660&view=diff
==============================================================================
--- compiler-rt/trunk/lib/ffsdi2.c (original)
+++ compiler-rt/trunk/lib/ffsdi2.c Tue Nov 15 12:34:44 2011
@@ -11,7 +11,6 @@
*
* ===----------------------------------------------------------------------===
*/
-#include "abi.h"
#include "int_lib.h"
Modified: compiler-rt/trunk/lib/fixdfdi.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/fixdfdi.c?rev=144660&r1=144659&r2=144660&view=diff
==============================================================================
--- compiler-rt/trunk/lib/fixdfdi.c (original)
+++ compiler-rt/trunk/lib/fixdfdi.c Tue Nov 15 12:34:44 2011
@@ -11,7 +11,6 @@
*
* ===----------------------------------------------------------------------===
*/
-#include "abi.h"
#include "int_lib.h"
Modified: compiler-rt/trunk/lib/fixdfsi.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/fixdfsi.c?rev=144660&r1=144659&r2=144660&view=diff
==============================================================================
--- compiler-rt/trunk/lib/fixdfsi.c (original)
+++ compiler-rt/trunk/lib/fixdfsi.c Tue Nov 15 12:34:44 2011
@@ -12,7 +12,6 @@
// conversion is undefined for out of range values in the C standard.
//
//===----------------------------------------------------------------------===//
-#include "abi.h"
#define DOUBLE_PRECISION
#include "fp_lib.h"
Modified: compiler-rt/trunk/lib/fixsfdi.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/fixsfdi.c?rev=144660&r1=144659&r2=144660&view=diff
==============================================================================
--- compiler-rt/trunk/lib/fixsfdi.c (original)
+++ compiler-rt/trunk/lib/fixsfdi.c Tue Nov 15 12:34:44 2011
@@ -11,7 +11,6 @@
*
* ===----------------------------------------------------------------------===
*/
-#include "abi.h"
#include "int_lib.h"
Modified: compiler-rt/trunk/lib/fixsfsi.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/fixsfsi.c?rev=144660&r1=144659&r2=144660&view=diff
==============================================================================
--- compiler-rt/trunk/lib/fixsfsi.c (original)
+++ compiler-rt/trunk/lib/fixsfsi.c Tue Nov 15 12:34:44 2011
@@ -12,7 +12,6 @@
// conversion is undefined for out of range values in the C standard.
//
//===----------------------------------------------------------------------===//
-#include "abi.h"
#define SINGLE_PRECISION
#include "fp_lib.h"
Modified: compiler-rt/trunk/lib/fixunsdfdi.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/fixunsdfdi.c?rev=144660&r1=144659&r2=144660&view=diff
==============================================================================
--- compiler-rt/trunk/lib/fixunsdfdi.c (original)
+++ compiler-rt/trunk/lib/fixunsdfdi.c Tue Nov 15 12:34:44 2011
@@ -11,7 +11,6 @@
*
* ===----------------------------------------------------------------------===
*/
-#include "abi.h"
#include "int_lib.h"
Modified: compiler-rt/trunk/lib/fixunsdfsi.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/fixunsdfsi.c?rev=144660&r1=144659&r2=144660&view=diff
==============================================================================
--- compiler-rt/trunk/lib/fixunsdfsi.c (original)
+++ compiler-rt/trunk/lib/fixunsdfsi.c Tue Nov 15 12:34:44 2011
@@ -11,7 +11,6 @@
*
* ===----------------------------------------------------------------------===
*/
-#include "abi.h"
#include "int_lib.h"
Modified: compiler-rt/trunk/lib/fixunssfdi.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/fixunssfdi.c?rev=144660&r1=144659&r2=144660&view=diff
==============================================================================
--- compiler-rt/trunk/lib/fixunssfdi.c (original)
+++ compiler-rt/trunk/lib/fixunssfdi.c Tue Nov 15 12:34:44 2011
@@ -11,7 +11,6 @@
*
* ===----------------------------------------------------------------------===
*/
-#include "abi.h"
#include "int_lib.h"
/* Returns: convert a to a unsigned long long, rounding toward zero.
Modified: compiler-rt/trunk/lib/fixunssfsi.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/fixunssfsi.c?rev=144660&r1=144659&r2=144660&view=diff
==============================================================================
--- compiler-rt/trunk/lib/fixunssfsi.c (original)
+++ compiler-rt/trunk/lib/fixunssfsi.c Tue Nov 15 12:34:44 2011
@@ -11,7 +11,6 @@
*
* ===----------------------------------------------------------------------===
*/
-#include "abi.h"
#include "int_lib.h"
Modified: compiler-rt/trunk/lib/floatdidf.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/floatdidf.c?rev=144660&r1=144659&r2=144660&view=diff
==============================================================================
--- compiler-rt/trunk/lib/floatdidf.c (original)
+++ compiler-rt/trunk/lib/floatdidf.c Tue Nov 15 12:34:44 2011
@@ -11,7 +11,6 @@
*
*===----------------------------------------------------------------------===
*/
-#include "abi.h"
#include "int_lib.h"
#include <float.h>
Modified: compiler-rt/trunk/lib/floatdisf.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/floatdisf.c?rev=144660&r1=144659&r2=144660&view=diff
==============================================================================
--- compiler-rt/trunk/lib/floatdisf.c (original)
+++ compiler-rt/trunk/lib/floatdisf.c Tue Nov 15 12:34:44 2011
@@ -12,7 +12,6 @@
*===----------------------------------------------------------------------===
*/
-#include "abi.h"
#include <float.h>
/* Returns: convert a to a float, rounding toward even.*/
Modified: compiler-rt/trunk/lib/floatsidf.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/floatsidf.c?rev=144660&r1=144659&r2=144660&view=diff
==============================================================================
--- compiler-rt/trunk/lib/floatsidf.c (original)
+++ compiler-rt/trunk/lib/floatsidf.c Tue Nov 15 12:34:44 2011
@@ -12,7 +12,6 @@
// mode.
//
//===----------------------------------------------------------------------===//
-#include "abi.h"
#define DOUBLE_PRECISION
#include "fp_lib.h"
Modified: compiler-rt/trunk/lib/floatsisf.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/floatsisf.c?rev=144660&r1=144659&r2=144660&view=diff
==============================================================================
--- compiler-rt/trunk/lib/floatsisf.c (original)
+++ compiler-rt/trunk/lib/floatsisf.c Tue Nov 15 12:34:44 2011
@@ -12,7 +12,6 @@
// mode.
//
//===----------------------------------------------------------------------===//
-#include "abi.h"
#define SINGLE_PRECISION
#include "fp_lib.h"
Modified: compiler-rt/trunk/lib/floatundidf.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/floatundidf.c?rev=144660&r1=144659&r2=144660&view=diff
==============================================================================
--- compiler-rt/trunk/lib/floatundidf.c (original)
+++ compiler-rt/trunk/lib/floatundidf.c Tue Nov 15 12:34:44 2011
@@ -12,7 +12,6 @@
* ===----------------------------------------------------------------------===
*/
-#include "abi.h"
#include <float.h>
/* Returns: convert a to a double, rounding toward even. */
Modified: compiler-rt/trunk/lib/floatundisf.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/floatundisf.c?rev=144660&r1=144659&r2=144660&view=diff
==============================================================================
--- compiler-rt/trunk/lib/floatundisf.c (original)
+++ compiler-rt/trunk/lib/floatundisf.c Tue Nov 15 12:34:44 2011
@@ -12,7 +12,6 @@
*===----------------------------------------------------------------------===
*/
-#include "abi.h"
#include <float.h>
/* Returns: convert a to a float, rounding toward even. */
Modified: compiler-rt/trunk/lib/floatunsidf.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/floatunsidf.c?rev=144660&r1=144659&r2=144660&view=diff
==============================================================================
--- compiler-rt/trunk/lib/floatunsidf.c (original)
+++ compiler-rt/trunk/lib/floatunsidf.c Tue Nov 15 12:34:44 2011
@@ -12,7 +12,6 @@
// mode.
//
//===----------------------------------------------------------------------===//
-#include "abi.h"
#define DOUBLE_PRECISION
#include "fp_lib.h"
Modified: compiler-rt/trunk/lib/floatunsisf.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/floatunsisf.c?rev=144660&r1=144659&r2=144660&view=diff
==============================================================================
--- compiler-rt/trunk/lib/floatunsisf.c (original)
+++ compiler-rt/trunk/lib/floatunsisf.c Tue Nov 15 12:34:44 2011
@@ -12,7 +12,6 @@
// mode.
//
//===----------------------------------------------------------------------===//
-#include "abi.h"
#define SINGLE_PRECISION
#include "fp_lib.h"
Modified: compiler-rt/trunk/lib/fp_lib.h
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/fp_lib.h?rev=144660&r1=144659&r2=144660&view=diff
==============================================================================
--- compiler-rt/trunk/lib/fp_lib.h (original)
+++ compiler-rt/trunk/lib/fp_lib.h Tue Nov 15 12:34:44 2011
@@ -24,6 +24,7 @@
#include <stdint.h>
#include <stdbool.h>
#include <limits.h>
+#include "int_lib.h"
#if defined SINGLE_PRECISION
Modified: compiler-rt/trunk/lib/int_lib.h
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/int_lib.h?rev=144660&r1=144659&r2=144660&view=diff
==============================================================================
--- compiler-rt/trunk/lib/int_lib.h (original)
+++ compiler-rt/trunk/lib/int_lib.h Tue Nov 15 12:34:44 2011
@@ -16,6 +16,17 @@
#ifndef INT_LIB_H
#define INT_LIB_H
+/* ABI macro definitions */
+
+#if __ARM_EABI__
+# define ARM_EABI_FNALIAS(aeabi_name, name) \
+ void __aeabi_##aeabi_name() __attribute__((alias("__" #name)));
+# define COMPILER_RT_ABI __attribute__((pcs("aapcs")))
+#else
+# define ARM_EABI_FNALIAS(aeabi_name, name)
+# define COMPILER_RT_ABI
+#endif
+
/* Assumption: signed integral is 2's complement */
/* Assumption: right shift of signed negative is arithmetic shift */
Modified: compiler-rt/trunk/lib/lshrdi3.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/lshrdi3.c?rev=144660&r1=144659&r2=144660&view=diff
==============================================================================
--- compiler-rt/trunk/lib/lshrdi3.c (original)
+++ compiler-rt/trunk/lib/lshrdi3.c Tue Nov 15 12:34:44 2011
@@ -11,7 +11,6 @@
*
* ===----------------------------------------------------------------------===
*/
-#include "abi.h"
#include "int_lib.h"
Modified: compiler-rt/trunk/lib/moddi3.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/moddi3.c?rev=144660&r1=144659&r2=144660&view=diff
==============================================================================
--- compiler-rt/trunk/lib/moddi3.c (original)
+++ compiler-rt/trunk/lib/moddi3.c Tue Nov 15 12:34:44 2011
@@ -11,7 +11,6 @@
*
* ===----------------------------------------------------------------------===
*/
-#include "abi.h"
#include "int_lib.h"
Modified: compiler-rt/trunk/lib/modsi3.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/modsi3.c?rev=144660&r1=144659&r2=144660&view=diff
==============================================================================
--- compiler-rt/trunk/lib/modsi3.c (original)
+++ compiler-rt/trunk/lib/modsi3.c Tue Nov 15 12:34:44 2011
@@ -11,7 +11,6 @@
*
* ===----------------------------------------------------------------------===
*/
-#include "abi.h"
#include "int_lib.h"
Modified: compiler-rt/trunk/lib/muldf3.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/muldf3.c?rev=144660&r1=144659&r2=144660&view=diff
==============================================================================
--- compiler-rt/trunk/lib/muldf3.c (original)
+++ compiler-rt/trunk/lib/muldf3.c Tue Nov 15 12:34:44 2011
@@ -11,7 +11,6 @@
// with the IEEE-754 default rounding (to nearest, ties to even).
//
//===----------------------------------------------------------------------===//
-#include "abi.h"
#define DOUBLE_PRECISION
#include "fp_lib.h"
Modified: compiler-rt/trunk/lib/muldi3.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/muldi3.c?rev=144660&r1=144659&r2=144660&view=diff
==============================================================================
--- compiler-rt/trunk/lib/muldi3.c (original)
+++ compiler-rt/trunk/lib/muldi3.c Tue Nov 15 12:34:44 2011
@@ -11,7 +11,6 @@
*
* ===----------------------------------------------------------------------===
*/
-#include "abi.h"
#include "int_lib.h"
Modified: compiler-rt/trunk/lib/mulsf3.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/mulsf3.c?rev=144660&r1=144659&r2=144660&view=diff
==============================================================================
--- compiler-rt/trunk/lib/mulsf3.c (original)
+++ compiler-rt/trunk/lib/mulsf3.c Tue Nov 15 12:34:44 2011
@@ -11,7 +11,6 @@
// with the IEEE-754 default rounding (to nearest, ties to even).
//
//===----------------------------------------------------------------------===//
-#include "abi.h"
#define SINGLE_PRECISION
#include "fp_lib.h"
Modified: compiler-rt/trunk/lib/negdf2.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/negdf2.c?rev=144660&r1=144659&r2=144660&view=diff
==============================================================================
--- compiler-rt/trunk/lib/negdf2.c (original)
+++ compiler-rt/trunk/lib/negdf2.c Tue Nov 15 12:34:44 2011
@@ -10,7 +10,6 @@
// This file implements double-precision soft-float negation.
//
//===----------------------------------------------------------------------===//
-#include "abi.h"
#define DOUBLE_PRECISION
#include "fp_lib.h"
Modified: compiler-rt/trunk/lib/negsf2.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/negsf2.c?rev=144660&r1=144659&r2=144660&view=diff
==============================================================================
--- compiler-rt/trunk/lib/negsf2.c (original)
+++ compiler-rt/trunk/lib/negsf2.c Tue Nov 15 12:34:44 2011
@@ -10,7 +10,6 @@
// This file implements single-precision soft-float negation.
//
//===----------------------------------------------------------------------===//
-#include "abi.h"
#define SINGLE_PRECISION
#include "fp_lib.h"
Modified: compiler-rt/trunk/lib/negvdi2.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/negvdi2.c?rev=144660&r1=144659&r2=144660&view=diff
==============================================================================
--- compiler-rt/trunk/lib/negvdi2.c (original)
+++ compiler-rt/trunk/lib/negvdi2.c Tue Nov 15 12:34:44 2011
@@ -11,7 +11,6 @@
*
* ===----------------------------------------------------------------------===
*/
-#include "abi.h"
#include "int_lib.h"
#include <stdlib.h>
Modified: compiler-rt/trunk/lib/negvsi2.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/negvsi2.c?rev=144660&r1=144659&r2=144660&view=diff
==============================================================================
--- compiler-rt/trunk/lib/negvsi2.c (original)
+++ compiler-rt/trunk/lib/negvsi2.c Tue Nov 15 12:34:44 2011
@@ -11,7 +11,6 @@
*
* ===----------------------------------------------------------------------===
*/
-#include "abi.h"
#include "int_lib.h"
#include <stdlib.h>
Modified: compiler-rt/trunk/lib/paritydi2.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/paritydi2.c?rev=144660&r1=144659&r2=144660&view=diff
==============================================================================
--- compiler-rt/trunk/lib/paritydi2.c (original)
+++ compiler-rt/trunk/lib/paritydi2.c Tue Nov 15 12:34:44 2011
@@ -11,7 +11,6 @@
*
* ===----------------------------------------------------------------------===
*/
-#include "abi.h"
#include "int_lib.h"
Modified: compiler-rt/trunk/lib/paritysi2.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/paritysi2.c?rev=144660&r1=144659&r2=144660&view=diff
==============================================================================
--- compiler-rt/trunk/lib/paritysi2.c (original)
+++ compiler-rt/trunk/lib/paritysi2.c Tue Nov 15 12:34:44 2011
@@ -11,7 +11,6 @@
*
* ===----------------------------------------------------------------------===
*/
-#include "abi.h"
#include "int_lib.h"
Modified: compiler-rt/trunk/lib/popcountdi2.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/popcountdi2.c?rev=144660&r1=144659&r2=144660&view=diff
==============================================================================
--- compiler-rt/trunk/lib/popcountdi2.c (original)
+++ compiler-rt/trunk/lib/popcountdi2.c Tue Nov 15 12:34:44 2011
@@ -11,7 +11,6 @@
*
* ===----------------------------------------------------------------------===
*/
-#include "abi.h"
#include "int_lib.h"
Modified: compiler-rt/trunk/lib/popcountsi2.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/popcountsi2.c?rev=144660&r1=144659&r2=144660&view=diff
==============================================================================
--- compiler-rt/trunk/lib/popcountsi2.c (original)
+++ compiler-rt/trunk/lib/popcountsi2.c Tue Nov 15 12:34:44 2011
@@ -11,7 +11,6 @@
*
* ===----------------------------------------------------------------------===
*/
-#include "abi.h"
#include "int_lib.h"
Modified: compiler-rt/trunk/lib/powidf2.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/powidf2.c?rev=144660&r1=144659&r2=144660&view=diff
==============================================================================
--- compiler-rt/trunk/lib/powidf2.c (original)
+++ compiler-rt/trunk/lib/powidf2.c Tue Nov 15 12:34:44 2011
@@ -11,7 +11,6 @@
*
* ===----------------------------------------------------------------------===
*/
-#include "abi.h"
#include "int_lib.h"
Modified: compiler-rt/trunk/lib/powisf2.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/powisf2.c?rev=144660&r1=144659&r2=144660&view=diff
==============================================================================
--- compiler-rt/trunk/lib/powisf2.c (original)
+++ compiler-rt/trunk/lib/powisf2.c Tue Nov 15 12:34:44 2011
@@ -11,7 +11,6 @@
*
* ===----------------------------------------------------------------------===
*/
-#include "abi.h"
#include "int_lib.h"
Modified: compiler-rt/trunk/lib/subdf3.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/subdf3.c?rev=144660&r1=144659&r2=144660&view=diff
==============================================================================
--- compiler-rt/trunk/lib/subdf3.c (original)
+++ compiler-rt/trunk/lib/subdf3.c Tue Nov 15 12:34:44 2011
@@ -11,7 +11,6 @@
// IEEE-754 default rounding (to nearest, ties to even).
//
//===----------------------------------------------------------------------===//
-#include "abi.h"
#define DOUBLE_PRECISION
#include "fp_lib.h"
Modified: compiler-rt/trunk/lib/subsf3.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/subsf3.c?rev=144660&r1=144659&r2=144660&view=diff
==============================================================================
--- compiler-rt/trunk/lib/subsf3.c (original)
+++ compiler-rt/trunk/lib/subsf3.c Tue Nov 15 12:34:44 2011
@@ -11,7 +11,6 @@
// IEEE-754 default rounding (to nearest, ties to even).
//
//===----------------------------------------------------------------------===//
-#include "abi.h"
#define SINGLE_PRECISION
#include "fp_lib.h"
Modified: compiler-rt/trunk/lib/subvdi3.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/subvdi3.c?rev=144660&r1=144659&r2=144660&view=diff
==============================================================================
--- compiler-rt/trunk/lib/subvdi3.c (original)
+++ compiler-rt/trunk/lib/subvdi3.c Tue Nov 15 12:34:44 2011
@@ -11,7 +11,6 @@
*
* ===----------------------------------------------------------------------===
*/
-#include "abi.h"
#include "int_lib.h"
#include <stdlib.h>
Modified: compiler-rt/trunk/lib/subvsi3.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/subvsi3.c?rev=144660&r1=144659&r2=144660&view=diff
==============================================================================
--- compiler-rt/trunk/lib/subvsi3.c (original)
+++ compiler-rt/trunk/lib/subvsi3.c Tue Nov 15 12:34:44 2011
@@ -11,7 +11,6 @@
*
* ===----------------------------------------------------------------------===
*/
-#include "abi.h"
#include "int_lib.h"
#include <stdlib.h>
Modified: compiler-rt/trunk/lib/truncdfsf2.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/truncdfsf2.c?rev=144660&r1=144659&r2=144660&view=diff
==============================================================================
--- compiler-rt/trunk/lib/truncdfsf2.c (original)
+++ compiler-rt/trunk/lib/truncdfsf2.c Tue Nov 15 12:34:44 2011
@@ -41,7 +41,7 @@
#include <limits.h>
#include <stdbool.h>
-#include "abi.h"
+#include "int_lib.h"
typedef double src_t;
typedef uint64_t src_rep_t;
Modified: compiler-rt/trunk/lib/ucmpdi2.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/ucmpdi2.c?rev=144660&r1=144659&r2=144660&view=diff
==============================================================================
--- compiler-rt/trunk/lib/ucmpdi2.c (original)
+++ compiler-rt/trunk/lib/ucmpdi2.c Tue Nov 15 12:34:44 2011
@@ -11,7 +11,6 @@
*
* ===----------------------------------------------------------------------===
*/
-#include "abi.h"
#include "int_lib.h"
Modified: compiler-rt/trunk/lib/udivdi3.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/udivdi3.c?rev=144660&r1=144659&r2=144660&view=diff
==============================================================================
--- compiler-rt/trunk/lib/udivdi3.c (original)
+++ compiler-rt/trunk/lib/udivdi3.c Tue Nov 15 12:34:44 2011
@@ -11,7 +11,6 @@
*
* ===----------------------------------------------------------------------===
*/
-#include "abi.h"
#include "int_lib.h"
Modified: compiler-rt/trunk/lib/udivmoddi4.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/udivmoddi4.c?rev=144660&r1=144659&r2=144660&view=diff
==============================================================================
--- compiler-rt/trunk/lib/udivmoddi4.c (original)
+++ compiler-rt/trunk/lib/udivmoddi4.c Tue Nov 15 12:34:44 2011
@@ -11,7 +11,6 @@
*
* ===----------------------------------------------------------------------===
*/
-#include "abi.h"
#include "int_lib.h"
Modified: compiler-rt/trunk/lib/udivmodsi4.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/udivmodsi4.c?rev=144660&r1=144659&r2=144660&view=diff
==============================================================================
--- compiler-rt/trunk/lib/udivmodsi4.c (original)
+++ compiler-rt/trunk/lib/udivmodsi4.c Tue Nov 15 12:34:44 2011
@@ -11,7 +11,6 @@
*
* ===----------------------------------------------------------------------===
*/
-#include "abi.h"
#include "int_lib.h"
Modified: compiler-rt/trunk/lib/udivsi3.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/udivsi3.c?rev=144660&r1=144659&r2=144660&view=diff
==============================================================================
--- compiler-rt/trunk/lib/udivsi3.c (original)
+++ compiler-rt/trunk/lib/udivsi3.c Tue Nov 15 12:34:44 2011
@@ -11,7 +11,6 @@
*
* ===----------------------------------------------------------------------===
*/
-#include "abi.h"
#include "int_lib.h"
Modified: compiler-rt/trunk/lib/umoddi3.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/umoddi3.c?rev=144660&r1=144659&r2=144660&view=diff
==============================================================================
--- compiler-rt/trunk/lib/umoddi3.c (original)
+++ compiler-rt/trunk/lib/umoddi3.c Tue Nov 15 12:34:44 2011
@@ -11,7 +11,6 @@
*
* ===----------------------------------------------------------------------===
*/
-#include "abi.h"
#include "int_lib.h"
Modified: compiler-rt/trunk/lib/umodsi3.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/umodsi3.c?rev=144660&r1=144659&r2=144660&view=diff
==============================================================================
--- compiler-rt/trunk/lib/umodsi3.c (original)
+++ compiler-rt/trunk/lib/umodsi3.c Tue Nov 15 12:34:44 2011
@@ -11,7 +11,6 @@
*
* ===----------------------------------------------------------------------===
*/
-#include "abi.h"
#include "int_lib.h"
More information about the llvm-commits
mailing list