summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2011-11-16 01:19:16 +0000
committerDaniel Dunbar <daniel@zuster.org>2011-11-16 01:19:16 +0000
commit2f9c1404dd75a1273ee302de1f475104fa06b81f (patch)
tree530a864dfbaaa1caf3c3a2ad3836a63c63e24d61
parent7557f0248a5067b1a6c3a131711b74c8708d751c (diff)
downloadbcm5719-llvm-2f9c1404dd75a1273ee302de1f475104fa06b81f.tar.gz
bcm5719-llvm-2f9c1404dd75a1273ee302de1f475104fa06b81f.zip
lib/{ppc,x86_64}: Fixup a number of files to include int_lib.h instead of
directly including system headers. llvm-svn: 144750
-rw-r--r--compiler-rt/lib/ppc/DD.h2
-rw-r--r--compiler-rt/lib/ppc/fixtfdi.c1
-rw-r--r--compiler-rt/lib/ppc/fixunstfdi.c1
-rw-r--r--compiler-rt/lib/ppc/floatditf.c1
-rw-r--r--compiler-rt/lib/ppc/floatunditf.c1
-rw-r--r--compiler-rt/lib/x86_64/floatdidf.c2
-rw-r--r--compiler-rt/lib/x86_64/floatdisf.c2
-rw-r--r--compiler-rt/lib/x86_64/floatdixf.c2
8 files changed, 4 insertions, 8 deletions
diff --git a/compiler-rt/lib/ppc/DD.h b/compiler-rt/lib/ppc/DD.h
index 9ecd1f50b8a..13862dc9840 100644
--- a/compiler-rt/lib/ppc/DD.h
+++ b/compiler-rt/lib/ppc/DD.h
@@ -1,7 +1,7 @@
#ifndef __DD_HEADER
#define __DD_HEADER
-#include <stdint.h>
+#include "../int_lib.h"
typedef union {
long double ld;
diff --git a/compiler-rt/lib/ppc/fixtfdi.c b/compiler-rt/lib/ppc/fixtfdi.c
index fa113a037e9..43bc15fb1c4 100644
--- a/compiler-rt/lib/ppc/fixtfdi.c
+++ b/compiler-rt/lib/ppc/fixtfdi.c
@@ -7,7 +7,6 @@
*/
#include "DD.h"
-#include <stdint.h>
uint64_t __fixtfdi(long double input)
{
diff --git a/compiler-rt/lib/ppc/fixunstfdi.c b/compiler-rt/lib/ppc/fixunstfdi.c
index 1fb52488172..5e6e2cedf6a 100644
--- a/compiler-rt/lib/ppc/fixunstfdi.c
+++ b/compiler-rt/lib/ppc/fixunstfdi.c
@@ -6,7 +6,6 @@
/* This file implements the PowerPC 128-bit double-double -> uint64_t conversion */
#include "DD.h"
-#include <stdint.h>
uint64_t __fixunstfdi(long double input)
{
diff --git a/compiler-rt/lib/ppc/floatditf.c b/compiler-rt/lib/ppc/floatditf.c
index ed23dc84d73..beabdd01742 100644
--- a/compiler-rt/lib/ppc/floatditf.c
+++ b/compiler-rt/lib/ppc/floatditf.c
@@ -6,7 +6,6 @@
/* This file implements the PowerPC long long -> long double conversion */
#include "DD.h"
-#include <stdint.h>
long double __floatditf(int64_t a) {
diff --git a/compiler-rt/lib/ppc/floatunditf.c b/compiler-rt/lib/ppc/floatunditf.c
index 20a3b71b317..b12e1e738fd 100644
--- a/compiler-rt/lib/ppc/floatunditf.c
+++ b/compiler-rt/lib/ppc/floatunditf.c
@@ -6,7 +6,6 @@
/* This file implements the PowerPC unsigned long long -> long double conversion */
#include "DD.h"
-#include <stdint.h>
long double __floatunditf(uint64_t a) {
diff --git a/compiler-rt/lib/x86_64/floatdidf.c b/compiler-rt/lib/x86_64/floatdidf.c
index cce3cd514a4..388404e5e08 100644
--- a/compiler-rt/lib/x86_64/floatdidf.c
+++ b/compiler-rt/lib/x86_64/floatdidf.c
@@ -6,7 +6,7 @@
#ifdef __x86_64__
-#include <stdint.h>
+#include "../int_lib.h"
double __floatdidf(int64_t a)
{
diff --git a/compiler-rt/lib/x86_64/floatdisf.c b/compiler-rt/lib/x86_64/floatdisf.c
index 753ba90dfb0..96c3728e92c 100644
--- a/compiler-rt/lib/x86_64/floatdisf.c
+++ b/compiler-rt/lib/x86_64/floatdisf.c
@@ -4,7 +4,7 @@
#ifdef __x86_64__
-#include <stdint.h>
+#include "../int_lib.h"
float __floatdisf(int64_t a)
{
diff --git a/compiler-rt/lib/x86_64/floatdixf.c b/compiler-rt/lib/x86_64/floatdixf.c
index 569f7277400..c01193a82b5 100644
--- a/compiler-rt/lib/x86_64/floatdixf.c
+++ b/compiler-rt/lib/x86_64/floatdixf.c
@@ -6,7 +6,7 @@
#ifdef __x86_64__
-#include <stdint.h>
+#include "../int_lib.h"
long double __floatdixf(int64_t a)
{
OpenPOWER on IntegriCloud