summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2011-11-15 18:34:44 +0000
committerDaniel Dunbar <daniel@zuster.org>2011-11-15 18:34:44 +0000
commitb6f75f73fde2c7b4a19dd8fee5f3be1bc87d5705 (patch)
treef8745c34b8d7301a25595745755d3a04175c2d54 /compiler-rt/lib
parent3306157ab3ea637db40473a24ba95ab9bd5d0ca5 (diff)
downloadbcm5719-llvm-b6f75f73fde2c7b4a19dd8fee5f3be1bc87d5705.tar.gz
bcm5719-llvm-b6f75f73fde2c7b4a19dd8fee5f3be1bc87d5705.zip
lib: Integrate abi.h into int_lib.h, there aren't good enough reasons for this extra complexity.
llvm-svn: 144660
Diffstat (limited to 'compiler-rt/lib')
-rw-r--r--compiler-rt/lib/abi.h23
-rw-r--r--compiler-rt/lib/absvdi2.c1
-rw-r--r--compiler-rt/lib/absvsi2.c1
-rw-r--r--compiler-rt/lib/adddf3.c2
-rw-r--r--compiler-rt/lib/addsf3.c2
-rw-r--r--compiler-rt/lib/addvdi3.c1
-rw-r--r--compiler-rt/lib/addvsi3.c1
-rw-r--r--compiler-rt/lib/ashldi3.c1
-rw-r--r--compiler-rt/lib/ashrdi3.c1
-rw-r--r--compiler-rt/lib/clzdi2.c1
-rw-r--r--compiler-rt/lib/clzsi2.c1
-rw-r--r--compiler-rt/lib/cmpdi2.c1
-rw-r--r--compiler-rt/lib/ctzdi2.c1
-rw-r--r--compiler-rt/lib/ctzsi2.c1
-rw-r--r--compiler-rt/lib/divdf3.c1
-rw-r--r--compiler-rt/lib/divdi3.c1
-rw-r--r--compiler-rt/lib/divmoddi4.c1
-rw-r--r--compiler-rt/lib/divmodsi4.c1
-rw-r--r--compiler-rt/lib/divsf3.c1
-rw-r--r--compiler-rt/lib/divsi3.c1
-rw-r--r--compiler-rt/lib/extendsfdf2.c2
-rw-r--r--compiler-rt/lib/ffsdi2.c1
-rw-r--r--compiler-rt/lib/fixdfdi.c1
-rw-r--r--compiler-rt/lib/fixdfsi.c1
-rw-r--r--compiler-rt/lib/fixsfdi.c1
-rw-r--r--compiler-rt/lib/fixsfsi.c1
-rw-r--r--compiler-rt/lib/fixunsdfdi.c1
-rw-r--r--compiler-rt/lib/fixunsdfsi.c1
-rw-r--r--compiler-rt/lib/fixunssfdi.c1
-rw-r--r--compiler-rt/lib/fixunssfsi.c1
-rw-r--r--compiler-rt/lib/floatdidf.c1
-rw-r--r--compiler-rt/lib/floatdisf.c1
-rw-r--r--compiler-rt/lib/floatsidf.c1
-rw-r--r--compiler-rt/lib/floatsisf.c1
-rw-r--r--compiler-rt/lib/floatundidf.c1
-rw-r--r--compiler-rt/lib/floatundisf.c1
-rw-r--r--compiler-rt/lib/floatunsidf.c1
-rw-r--r--compiler-rt/lib/floatunsisf.c1
-rw-r--r--compiler-rt/lib/fp_lib.h1
-rw-r--r--compiler-rt/lib/int_lib.h11
-rw-r--r--compiler-rt/lib/lshrdi3.c1
-rw-r--r--compiler-rt/lib/moddi3.c1
-rw-r--r--compiler-rt/lib/modsi3.c1
-rw-r--r--compiler-rt/lib/muldf3.c1
-rw-r--r--compiler-rt/lib/muldi3.c1
-rw-r--r--compiler-rt/lib/mulsf3.c1
-rw-r--r--compiler-rt/lib/negdf2.c1
-rw-r--r--compiler-rt/lib/negsf2.c1
-rw-r--r--compiler-rt/lib/negvdi2.c1
-rw-r--r--compiler-rt/lib/negvsi2.c1
-rw-r--r--compiler-rt/lib/paritydi2.c1
-rw-r--r--compiler-rt/lib/paritysi2.c1
-rw-r--r--compiler-rt/lib/popcountdi2.c1
-rw-r--r--compiler-rt/lib/popcountsi2.c1
-rw-r--r--compiler-rt/lib/powidf2.c1
-rw-r--r--compiler-rt/lib/powisf2.c1
-rw-r--r--compiler-rt/lib/subdf3.c1
-rw-r--r--compiler-rt/lib/subsf3.c1
-rw-r--r--compiler-rt/lib/subvdi3.c1
-rw-r--r--compiler-rt/lib/subvsi3.c1
-rw-r--r--compiler-rt/lib/truncdfsf2.c2
-rw-r--r--compiler-rt/lib/ucmpdi2.c1
-rw-r--r--compiler-rt/lib/udivdi3.c1
-rw-r--r--compiler-rt/lib/udivmoddi4.c1
-rw-r--r--compiler-rt/lib/udivmodsi4.c1
-rw-r--r--compiler-rt/lib/udivsi3.c1
-rw-r--r--compiler-rt/lib/umoddi3.c1
-rw-r--r--compiler-rt/lib/umodsi3.c1
68 files changed, 14 insertions, 90 deletions
diff --git a/compiler-rt/lib/abi.h b/compiler-rt/lib/abi.h
deleted file mode 100644
index 2534317ac8f..00000000000
--- a/compiler-rt/lib/abi.h
+++ /dev/null
@@ -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
diff --git a/compiler-rt/lib/absvdi2.c b/compiler-rt/lib/absvdi2.c
index 9c5d4a299ba..09c77b8a14f 100644
--- a/compiler-rt/lib/absvdi2.c
+++ b/compiler-rt/lib/absvdi2.c
@@ -11,7 +11,6 @@
*
*===----------------------------------------------------------------------===
*/
-#include "abi.h"
#include "int_lib.h"
#include <stdlib.h>
diff --git a/compiler-rt/lib/absvsi2.c b/compiler-rt/lib/absvsi2.c
index 80a1a78984a..fd7fc40c350 100644
--- a/compiler-rt/lib/absvsi2.c
+++ b/compiler-rt/lib/absvsi2.c
@@ -11,7 +11,6 @@
*
* ===----------------------------------------------------------------------===
*/
-#include "abi.h"
#include "int_lib.h"
#include <stdlib.h>
diff --git a/compiler-rt/lib/adddf3.c b/compiler-rt/lib/adddf3.c
index 3cc997b71a3..7eb40a15d2a 100644
--- a/compiler-rt/lib/adddf3.c
+++ b/compiler-rt/lib/adddf3.c
@@ -12,8 +12,6 @@
//
//===----------------------------------------------------------------------===//
-#include "abi.h"
-
#define DOUBLE_PRECISION
#include "fp_lib.h"
diff --git a/compiler-rt/lib/addsf3.c b/compiler-rt/lib/addsf3.c
index 20610ef31fa..e57270a1e28 100644
--- a/compiler-rt/lib/addsf3.c
+++ b/compiler-rt/lib/addsf3.c
@@ -12,8 +12,6 @@
//
//===----------------------------------------------------------------------===//
-#include "abi.h"
-
#define SINGLE_PRECISION
#include "fp_lib.h"
diff --git a/compiler-rt/lib/addvdi3.c b/compiler-rt/lib/addvdi3.c
index 51ad397f571..8df8aabae1e 100644
--- a/compiler-rt/lib/addvdi3.c
+++ b/compiler-rt/lib/addvdi3.c
@@ -11,7 +11,6 @@
*
* ===----------------------------------------------------------------------===
*/
-#include "abi.h"
#include "int_lib.h"
#include <stdlib.h>
diff --git a/compiler-rt/lib/addvsi3.c b/compiler-rt/lib/addvsi3.c
index c18f7bd4598..f8101eabe7e 100644
--- a/compiler-rt/lib/addvsi3.c
+++ b/compiler-rt/lib/addvsi3.c
@@ -11,7 +11,6 @@
*
* ===----------------------------------------------------------------------===
*/
-#include "abi.h"
#include "int_lib.h"
#include <stdlib.h>
diff --git a/compiler-rt/lib/ashldi3.c b/compiler-rt/lib/ashldi3.c
index adce4e2cb75..6c558fe6557 100644
--- a/compiler-rt/lib/ashldi3.c
+++ b/compiler-rt/lib/ashldi3.c
@@ -11,7 +11,6 @@
*
* ===----------------------------------------------------------------------===
*/
-#include "abi.h"
#include "int_lib.h"
diff --git a/compiler-rt/lib/ashrdi3.c b/compiler-rt/lib/ashrdi3.c
index 03692a31d82..38ab7164527 100644
--- a/compiler-rt/lib/ashrdi3.c
+++ b/compiler-rt/lib/ashrdi3.c
@@ -11,7 +11,6 @@
*
* ===----------------------------------------------------------------------===
*/
-#include "abi.h"
#include "int_lib.h"
diff --git a/compiler-rt/lib/clzdi2.c b/compiler-rt/lib/clzdi2.c
index c281945ffdf..b9e64da492b 100644
--- a/compiler-rt/lib/clzdi2.c
+++ b/compiler-rt/lib/clzdi2.c
@@ -11,7 +11,6 @@
*
* ===----------------------------------------------------------------------===
*/
-#include "abi.h"
#include "int_lib.h"
diff --git a/compiler-rt/lib/clzsi2.c b/compiler-rt/lib/clzsi2.c
index d0a6aeabcb3..25b8ed2c4c2 100644
--- a/compiler-rt/lib/clzsi2.c
+++ b/compiler-rt/lib/clzsi2.c
@@ -11,7 +11,6 @@
*
* ===----------------------------------------------------------------------===
*/
-#include "abi.h"
#include "int_lib.h"
diff --git a/compiler-rt/lib/cmpdi2.c b/compiler-rt/lib/cmpdi2.c
index 999c3d2a662..c2b1f69f4fc 100644
--- a/compiler-rt/lib/cmpdi2.c
+++ b/compiler-rt/lib/cmpdi2.c
@@ -11,7 +11,6 @@
*
* ===----------------------------------------------------------------------===
*/
-#include "abi.h"
#include "int_lib.h"
diff --git a/compiler-rt/lib/ctzdi2.c b/compiler-rt/lib/ctzdi2.c
index b3d37d01b0c..db3c6fdc08f 100644
--- a/compiler-rt/lib/ctzdi2.c
+++ b/compiler-rt/lib/ctzdi2.c
@@ -11,7 +11,6 @@
*
* ===----------------------------------------------------------------------===
*/
-#include "abi.h"
#include "int_lib.h"
diff --git a/compiler-rt/lib/ctzsi2.c b/compiler-rt/lib/ctzsi2.c
index 2ff0e5d7655..c69486ea445 100644
--- a/compiler-rt/lib/ctzsi2.c
+++ b/compiler-rt/lib/ctzsi2.c
@@ -11,7 +11,6 @@
*
* ===----------------------------------------------------------------------===
*/
-#include "abi.h"
#include "int_lib.h"
diff --git a/compiler-rt/lib/divdf3.c b/compiler-rt/lib/divdf3.c
index 925abd509e1..cc034dd7acb 100644
--- a/compiler-rt/lib/divdf3.c
+++ b/compiler-rt/lib/divdf3.c
@@ -15,7 +15,6 @@
// underflow with correct rounding.
//
//===----------------------------------------------------------------------===//
-#include "abi.h"
#define DOUBLE_PRECISION
#include "fp_lib.h"
diff --git a/compiler-rt/lib/divdi3.c b/compiler-rt/lib/divdi3.c
index d62df56f678..2c2bcc26d58 100644
--- a/compiler-rt/lib/divdi3.c
+++ b/compiler-rt/lib/divdi3.c
@@ -11,7 +11,6 @@
*
* ===----------------------------------------------------------------------===
*/
-#include "abi.h"
#include "int_lib.h"
diff --git a/compiler-rt/lib/divmoddi4.c b/compiler-rt/lib/divmoddi4.c
index d3ca745ac69..a2b8714b4c6 100644
--- a/compiler-rt/lib/divmoddi4.c
+++ b/compiler-rt/lib/divmoddi4.c
@@ -11,7 +11,6 @@
*
* ===----------------------------------------------------------------------===
*/
-#include "abi.h"
#include "int_lib.h"
diff --git a/compiler-rt/lib/divmodsi4.c b/compiler-rt/lib/divmodsi4.c
index 4dc1978282a..c7f7b1a7c32 100644
--- a/compiler-rt/lib/divmodsi4.c
+++ b/compiler-rt/lib/divmodsi4.c
@@ -11,7 +11,6 @@
*
* ===----------------------------------------------------------------------===
*/
-#include "abi.h"
#include "int_lib.h"
diff --git a/compiler-rt/lib/divsf3.c b/compiler-rt/lib/divsf3.c
index b73330793a0..a8230e4a024 100644
--- a/compiler-rt/lib/divsf3.c
+++ b/compiler-rt/lib/divsf3.c
@@ -15,7 +15,6 @@
// underflow with correct rounding.
//
//===----------------------------------------------------------------------===//
-#include "abi.h"
#define SINGLE_PRECISION
#include "fp_lib.h"
diff --git a/compiler-rt/lib/divsi3.c b/compiler-rt/lib/divsi3.c
index 01ef2747300..0d81cb80c37 100644
--- a/compiler-rt/lib/divsi3.c
+++ b/compiler-rt/lib/divsi3.c
@@ -11,7 +11,6 @@
*
* ===----------------------------------------------------------------------===
*/
-#include "abi.h"
#include "int_lib.h"
diff --git a/compiler-rt/lib/extendsfdf2.c b/compiler-rt/lib/extendsfdf2.c
index c0b628dffcd..a63015430b1 100644
--- a/compiler-rt/lib/extendsfdf2.c
+++ b/compiler-rt/lib/extendsfdf2.c
@@ -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;
diff --git a/compiler-rt/lib/ffsdi2.c b/compiler-rt/lib/ffsdi2.c
index 89f1b7bf478..a5ac9900ff1 100644
--- a/compiler-rt/lib/ffsdi2.c
+++ b/compiler-rt/lib/ffsdi2.c
@@ -11,7 +11,6 @@
*
* ===----------------------------------------------------------------------===
*/
-#include "abi.h"
#include "int_lib.h"
diff --git a/compiler-rt/lib/fixdfdi.c b/compiler-rt/lib/fixdfdi.c
index 85a456d1122..c6732dbbb72 100644
--- a/compiler-rt/lib/fixdfdi.c
+++ b/compiler-rt/lib/fixdfdi.c
@@ -11,7 +11,6 @@
*
* ===----------------------------------------------------------------------===
*/
-#include "abi.h"
#include "int_lib.h"
diff --git a/compiler-rt/lib/fixdfsi.c b/compiler-rt/lib/fixdfsi.c
index fbcf1470b71..3d4379e8f90 100644
--- a/compiler-rt/lib/fixdfsi.c
+++ b/compiler-rt/lib/fixdfsi.c
@@ -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"
diff --git a/compiler-rt/lib/fixsfdi.c b/compiler-rt/lib/fixsfdi.c
index d80e33eb74c..81ceab02480 100644
--- a/compiler-rt/lib/fixsfdi.c
+++ b/compiler-rt/lib/fixsfdi.c
@@ -11,7 +11,6 @@
*
* ===----------------------------------------------------------------------===
*/
-#include "abi.h"
#include "int_lib.h"
diff --git a/compiler-rt/lib/fixsfsi.c b/compiler-rt/lib/fixsfsi.c
index 67749a56778..f6de609541e 100644
--- a/compiler-rt/lib/fixsfsi.c
+++ b/compiler-rt/lib/fixsfsi.c
@@ -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"
diff --git a/compiler-rt/lib/fixunsdfdi.c b/compiler-rt/lib/fixunsdfdi.c
index d80b84a8d66..c0ff1606ab3 100644
--- a/compiler-rt/lib/fixunsdfdi.c
+++ b/compiler-rt/lib/fixunsdfdi.c
@@ -11,7 +11,6 @@
*
* ===----------------------------------------------------------------------===
*/
-#include "abi.h"
#include "int_lib.h"
diff --git a/compiler-rt/lib/fixunsdfsi.c b/compiler-rt/lib/fixunsdfsi.c
index ecdfb5d622e..2ce4999752f 100644
--- a/compiler-rt/lib/fixunsdfsi.c
+++ b/compiler-rt/lib/fixunsdfsi.c
@@ -11,7 +11,6 @@
*
* ===----------------------------------------------------------------------===
*/
-#include "abi.h"
#include "int_lib.h"
diff --git a/compiler-rt/lib/fixunssfdi.c b/compiler-rt/lib/fixunssfdi.c
index 150642045bd..09078db2c50 100644
--- a/compiler-rt/lib/fixunssfdi.c
+++ b/compiler-rt/lib/fixunssfdi.c
@@ -11,7 +11,6 @@
*
* ===----------------------------------------------------------------------===
*/
-#include "abi.h"
#include "int_lib.h"
/* Returns: convert a to a unsigned long long, rounding toward zero.
diff --git a/compiler-rt/lib/fixunssfsi.c b/compiler-rt/lib/fixunssfsi.c
index dbaa5115b2b..d80ed182474 100644
--- a/compiler-rt/lib/fixunssfsi.c
+++ b/compiler-rt/lib/fixunssfsi.c
@@ -11,7 +11,6 @@
*
* ===----------------------------------------------------------------------===
*/
-#include "abi.h"
#include "int_lib.h"
diff --git a/compiler-rt/lib/floatdidf.c b/compiler-rt/lib/floatdidf.c
index 5ba95263503..95807703272 100644
--- a/compiler-rt/lib/floatdidf.c
+++ b/compiler-rt/lib/floatdidf.c
@@ -11,7 +11,6 @@
*
*===----------------------------------------------------------------------===
*/
-#include "abi.h"
#include "int_lib.h"
#include <float.h>
diff --git a/compiler-rt/lib/floatdisf.c b/compiler-rt/lib/floatdisf.c
index 4dc13cab477..5a213c091f0 100644
--- a/compiler-rt/lib/floatdisf.c
+++ b/compiler-rt/lib/floatdisf.c
@@ -12,7 +12,6 @@
*===----------------------------------------------------------------------===
*/
-#include "abi.h"
#include <float.h>
/* Returns: convert a to a float, rounding toward even.*/
diff --git a/compiler-rt/lib/floatsidf.c b/compiler-rt/lib/floatsidf.c
index 72273353ac5..74cb66b2aac 100644
--- a/compiler-rt/lib/floatsidf.c
+++ b/compiler-rt/lib/floatsidf.c
@@ -12,7 +12,6 @@
// mode.
//
//===----------------------------------------------------------------------===//
-#include "abi.h"
#define DOUBLE_PRECISION
#include "fp_lib.h"
diff --git a/compiler-rt/lib/floatsisf.c b/compiler-rt/lib/floatsisf.c
index e5250ffd602..a981391b0c0 100644
--- a/compiler-rt/lib/floatsisf.c
+++ b/compiler-rt/lib/floatsisf.c
@@ -12,7 +12,6 @@
// mode.
//
//===----------------------------------------------------------------------===//
-#include "abi.h"
#define SINGLE_PRECISION
#include "fp_lib.h"
diff --git a/compiler-rt/lib/floatundidf.c b/compiler-rt/lib/floatundidf.c
index e74e9d8d2fd..5848f8d241a 100644
--- a/compiler-rt/lib/floatundidf.c
+++ b/compiler-rt/lib/floatundidf.c
@@ -12,7 +12,6 @@
* ===----------------------------------------------------------------------===
*/
-#include "abi.h"
#include <float.h>
/* Returns: convert a to a double, rounding toward even. */
diff --git a/compiler-rt/lib/floatundisf.c b/compiler-rt/lib/floatundisf.c
index eea45a74594..9ddafc38f56 100644
--- a/compiler-rt/lib/floatundisf.c
+++ b/compiler-rt/lib/floatundisf.c
@@ -12,7 +12,6 @@
*===----------------------------------------------------------------------===
*/
-#include "abi.h"
#include <float.h>
/* Returns: convert a to a float, rounding toward even. */
diff --git a/compiler-rt/lib/floatunsidf.c b/compiler-rt/lib/floatunsidf.c
index 37562996a41..0722248ddfe 100644
--- a/compiler-rt/lib/floatunsidf.c
+++ b/compiler-rt/lib/floatunsidf.c
@@ -12,7 +12,6 @@
// mode.
//
//===----------------------------------------------------------------------===//
-#include "abi.h"
#define DOUBLE_PRECISION
#include "fp_lib.h"
diff --git a/compiler-rt/lib/floatunsisf.c b/compiler-rt/lib/floatunsisf.c
index 14ef10307f7..3dc1cd442ba 100644
--- a/compiler-rt/lib/floatunsisf.c
+++ b/compiler-rt/lib/floatunsisf.c
@@ -12,7 +12,6 @@
// mode.
//
//===----------------------------------------------------------------------===//
-#include "abi.h"
#define SINGLE_PRECISION
#include "fp_lib.h"
diff --git a/compiler-rt/lib/fp_lib.h b/compiler-rt/lib/fp_lib.h
index 6c9455ace0e..de5f17fde19 100644
--- a/compiler-rt/lib/fp_lib.h
+++ b/compiler-rt/lib/fp_lib.h
@@ -24,6 +24,7 @@
#include <stdint.h>
#include <stdbool.h>
#include <limits.h>
+#include "int_lib.h"
#if defined SINGLE_PRECISION
diff --git a/compiler-rt/lib/int_lib.h b/compiler-rt/lib/int_lib.h
index e1fd6b73dc7..27d01fdbb49 100644
--- a/compiler-rt/lib/int_lib.h
+++ b/compiler-rt/lib/int_lib.h
@@ -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 */
diff --git a/compiler-rt/lib/lshrdi3.c b/compiler-rt/lib/lshrdi3.c
index 911edb19142..8af3e0c1a61 100644
--- a/compiler-rt/lib/lshrdi3.c
+++ b/compiler-rt/lib/lshrdi3.c
@@ -11,7 +11,6 @@
*
* ===----------------------------------------------------------------------===
*/
-#include "abi.h"
#include "int_lib.h"
diff --git a/compiler-rt/lib/moddi3.c b/compiler-rt/lib/moddi3.c
index af0a80832ae..2f3b9cc4f29 100644
--- a/compiler-rt/lib/moddi3.c
+++ b/compiler-rt/lib/moddi3.c
@@ -11,7 +11,6 @@
*
* ===----------------------------------------------------------------------===
*/
-#include "abi.h"
#include "int_lib.h"
diff --git a/compiler-rt/lib/modsi3.c b/compiler-rt/lib/modsi3.c
index 05ce806f710..d16213c4903 100644
--- a/compiler-rt/lib/modsi3.c
+++ b/compiler-rt/lib/modsi3.c
@@ -11,7 +11,6 @@
*
* ===----------------------------------------------------------------------===
*/
-#include "abi.h"
#include "int_lib.h"
diff --git a/compiler-rt/lib/muldf3.c b/compiler-rt/lib/muldf3.c
index f402cfb39d3..86d72d883e2 100644
--- a/compiler-rt/lib/muldf3.c
+++ b/compiler-rt/lib/muldf3.c
@@ -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"
diff --git a/compiler-rt/lib/muldi3.c b/compiler-rt/lib/muldi3.c
index e6322bf5df8..3e996302d35 100644
--- a/compiler-rt/lib/muldi3.c
+++ b/compiler-rt/lib/muldi3.c
@@ -11,7 +11,6 @@
*
* ===----------------------------------------------------------------------===
*/
-#include "abi.h"
#include "int_lib.h"
diff --git a/compiler-rt/lib/mulsf3.c b/compiler-rt/lib/mulsf3.c
index bf46e148167..fce2fd4fb2a 100644
--- a/compiler-rt/lib/mulsf3.c
+++ b/compiler-rt/lib/mulsf3.c
@@ -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"
diff --git a/compiler-rt/lib/negdf2.c b/compiler-rt/lib/negdf2.c
index b47f3978b41..b11b4806c04 100644
--- a/compiler-rt/lib/negdf2.c
+++ b/compiler-rt/lib/negdf2.c
@@ -10,7 +10,6 @@
// This file implements double-precision soft-float negation.
//
//===----------------------------------------------------------------------===//
-#include "abi.h"
#define DOUBLE_PRECISION
#include "fp_lib.h"
diff --git a/compiler-rt/lib/negsf2.c b/compiler-rt/lib/negsf2.c
index 98f9fc0c0a3..f8ef2d1da6a 100644
--- a/compiler-rt/lib/negsf2.c
+++ b/compiler-rt/lib/negsf2.c
@@ -10,7 +10,6 @@
// This file implements single-precision soft-float negation.
//
//===----------------------------------------------------------------------===//
-#include "abi.h"
#define SINGLE_PRECISION
#include "fp_lib.h"
diff --git a/compiler-rt/lib/negvdi2.c b/compiler-rt/lib/negvdi2.c
index aafaa9dc5ea..3ea0030ac5e 100644
--- a/compiler-rt/lib/negvdi2.c
+++ b/compiler-rt/lib/negvdi2.c
@@ -11,7 +11,6 @@
*
* ===----------------------------------------------------------------------===
*/
-#include "abi.h"
#include "int_lib.h"
#include <stdlib.h>
diff --git a/compiler-rt/lib/negvsi2.c b/compiler-rt/lib/negvsi2.c
index 559ea18e48b..9e441ccdb81 100644
--- a/compiler-rt/lib/negvsi2.c
+++ b/compiler-rt/lib/negvsi2.c
@@ -11,7 +11,6 @@
*
* ===----------------------------------------------------------------------===
*/
-#include "abi.h"
#include "int_lib.h"
#include <stdlib.h>
diff --git a/compiler-rt/lib/paritydi2.c b/compiler-rt/lib/paritydi2.c
index e7bebf68524..2ded54c90b9 100644
--- a/compiler-rt/lib/paritydi2.c
+++ b/compiler-rt/lib/paritydi2.c
@@ -11,7 +11,6 @@
*
* ===----------------------------------------------------------------------===
*/
-#include "abi.h"
#include "int_lib.h"
diff --git a/compiler-rt/lib/paritysi2.c b/compiler-rt/lib/paritysi2.c
index 64d509fa795..59998466384 100644
--- a/compiler-rt/lib/paritysi2.c
+++ b/compiler-rt/lib/paritysi2.c
@@ -11,7 +11,6 @@
*
* ===----------------------------------------------------------------------===
*/
-#include "abi.h"
#include "int_lib.h"
diff --git a/compiler-rt/lib/popcountdi2.c b/compiler-rt/lib/popcountdi2.c
index 136fc0486fd..5e8a62f075e 100644
--- a/compiler-rt/lib/popcountdi2.c
+++ b/compiler-rt/lib/popcountdi2.c
@@ -11,7 +11,6 @@
*
* ===----------------------------------------------------------------------===
*/
-#include "abi.h"
#include "int_lib.h"
diff --git a/compiler-rt/lib/popcountsi2.c b/compiler-rt/lib/popcountsi2.c
index bfaa3fff2ee..44544ff4989 100644
--- a/compiler-rt/lib/popcountsi2.c
+++ b/compiler-rt/lib/popcountsi2.c
@@ -11,7 +11,6 @@
*
* ===----------------------------------------------------------------------===
*/
-#include "abi.h"
#include "int_lib.h"
diff --git a/compiler-rt/lib/powidf2.c b/compiler-rt/lib/powidf2.c
index 2e211eb3dcb..ac13b172b04 100644
--- a/compiler-rt/lib/powidf2.c
+++ b/compiler-rt/lib/powidf2.c
@@ -11,7 +11,6 @@
*
* ===----------------------------------------------------------------------===
*/
-#include "abi.h"
#include "int_lib.h"
diff --git a/compiler-rt/lib/powisf2.c b/compiler-rt/lib/powisf2.c
index e6b43b3a3cc..0c400ec6dd6 100644
--- a/compiler-rt/lib/powisf2.c
+++ b/compiler-rt/lib/powisf2.c
@@ -11,7 +11,6 @@
*
* ===----------------------------------------------------------------------===
*/
-#include "abi.h"
#include "int_lib.h"
diff --git a/compiler-rt/lib/subdf3.c b/compiler-rt/lib/subdf3.c
index 825e3c66297..5eb1853ef79 100644
--- a/compiler-rt/lib/subdf3.c
+++ b/compiler-rt/lib/subdf3.c
@@ -11,7 +11,6 @@
// IEEE-754 default rounding (to nearest, ties to even).
//
//===----------------------------------------------------------------------===//
-#include "abi.h"
#define DOUBLE_PRECISION
#include "fp_lib.h"
diff --git a/compiler-rt/lib/subsf3.c b/compiler-rt/lib/subsf3.c
index 625376acc37..351be0ef46a 100644
--- a/compiler-rt/lib/subsf3.c
+++ b/compiler-rt/lib/subsf3.c
@@ -11,7 +11,6 @@
// IEEE-754 default rounding (to nearest, ties to even).
//
//===----------------------------------------------------------------------===//
-#include "abi.h"
#define SINGLE_PRECISION
#include "fp_lib.h"
diff --git a/compiler-rt/lib/subvdi3.c b/compiler-rt/lib/subvdi3.c
index 36b51ad979a..bcbee0bbb6d 100644
--- a/compiler-rt/lib/subvdi3.c
+++ b/compiler-rt/lib/subvdi3.c
@@ -11,7 +11,6 @@
*
* ===----------------------------------------------------------------------===
*/
-#include "abi.h"
#include "int_lib.h"
#include <stdlib.h>
diff --git a/compiler-rt/lib/subvsi3.c b/compiler-rt/lib/subvsi3.c
index 03983f747e4..88d446e9017 100644
--- a/compiler-rt/lib/subvsi3.c
+++ b/compiler-rt/lib/subvsi3.c
@@ -11,7 +11,6 @@
*
* ===----------------------------------------------------------------------===
*/
-#include "abi.h"
#include "int_lib.h"
#include <stdlib.h>
diff --git a/compiler-rt/lib/truncdfsf2.c b/compiler-rt/lib/truncdfsf2.c
index 1dbf02f5ef6..2353b9b407c 100644
--- a/compiler-rt/lib/truncdfsf2.c
+++ b/compiler-rt/lib/truncdfsf2.c
@@ -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;
diff --git a/compiler-rt/lib/ucmpdi2.c b/compiler-rt/lib/ucmpdi2.c
index f2d3f99f880..3242bbf0804 100644
--- a/compiler-rt/lib/ucmpdi2.c
+++ b/compiler-rt/lib/ucmpdi2.c
@@ -11,7 +11,6 @@
*
* ===----------------------------------------------------------------------===
*/
-#include "abi.h"
#include "int_lib.h"
diff --git a/compiler-rt/lib/udivdi3.c b/compiler-rt/lib/udivdi3.c
index bbd551ac711..6c0303df3d4 100644
--- a/compiler-rt/lib/udivdi3.c
+++ b/compiler-rt/lib/udivdi3.c
@@ -11,7 +11,6 @@
*
* ===----------------------------------------------------------------------===
*/
-#include "abi.h"
#include "int_lib.h"
diff --git a/compiler-rt/lib/udivmoddi4.c b/compiler-rt/lib/udivmoddi4.c
index dcf186df111..73043d421fc 100644
--- a/compiler-rt/lib/udivmoddi4.c
+++ b/compiler-rt/lib/udivmoddi4.c
@@ -11,7 +11,6 @@
*
* ===----------------------------------------------------------------------===
*/
-#include "abi.h"
#include "int_lib.h"
diff --git a/compiler-rt/lib/udivmodsi4.c b/compiler-rt/lib/udivmodsi4.c
index 2a3ee27f8dc..5b49089fccc 100644
--- a/compiler-rt/lib/udivmodsi4.c
+++ b/compiler-rt/lib/udivmodsi4.c
@@ -11,7 +11,6 @@
*
* ===----------------------------------------------------------------------===
*/
-#include "abi.h"
#include "int_lib.h"
diff --git a/compiler-rt/lib/udivsi3.c b/compiler-rt/lib/udivsi3.c
index 721ae89e4bf..39ef48bea65 100644
--- a/compiler-rt/lib/udivsi3.c
+++ b/compiler-rt/lib/udivsi3.c
@@ -11,7 +11,6 @@
*
* ===----------------------------------------------------------------------===
*/
-#include "abi.h"
#include "int_lib.h"
diff --git a/compiler-rt/lib/umoddi3.c b/compiler-rt/lib/umoddi3.c
index 9de1a64fdad..3541ab6e91d 100644
--- a/compiler-rt/lib/umoddi3.c
+++ b/compiler-rt/lib/umoddi3.c
@@ -11,7 +11,6 @@
*
* ===----------------------------------------------------------------------===
*/
-#include "abi.h"
#include "int_lib.h"
diff --git a/compiler-rt/lib/umodsi3.c b/compiler-rt/lib/umodsi3.c
index 569b7fcb168..aae741d896d 100644
--- a/compiler-rt/lib/umodsi3.c
+++ b/compiler-rt/lib/umodsi3.c
@@ -11,7 +11,6 @@
*
* ===----------------------------------------------------------------------===
*/
-#include "abi.h"
#include "int_lib.h"
OpenPOWER on IntegriCloud