summaryrefslogtreecommitdiff
path: root/lib/x86_64
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-10-27 17:49:50 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-10-27 17:49:50 +0000
commit19336a2d6b9b375ac106125950f4ff09742d1aec (patch)
treeeb2b4b2223c21a78fa78c553d750417da7e8b2dd /lib/x86_64
parent51c80ccf6f7779c3b88e9ede81c0e0cfc35dc959 (diff)
Add assembly.h for use in .S files.
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@85263 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/x86_64')
-rw-r--r--lib/x86_64/Makefile.mk2
-rw-r--r--lib/x86_64/floatundidf.S2
-rw-r--r--lib/x86_64/floatundisf.S2
-rw-r--r--lib/x86_64/floatundixf.S2
4 files changed, 7 insertions, 1 deletions
diff --git a/lib/x86_64/Makefile.mk b/lib/x86_64/Makefile.mk
index d6a2ac75f..950f2fc8c 100644
--- a/lib/x86_64/Makefile.mk
+++ b/lib/x86_64/Makefile.mk
@@ -17,6 +17,6 @@ ObjNames := $(Sources:%.c=%.o) $(AsmSources:%.S=%.o)
Target := Optimized
# FIXME: use automatic dependencies?
-Dependencies := $(wildcard $(Dir)/*.h)
+Dependencies := $(wildcard lib/*.h $(Dir)/*.h)
include make/subdir.mk
diff --git a/lib/x86_64/floatundidf.S b/lib/x86_64/floatundidf.S
index 4ccaac2ce..fea46af84 100644
--- a/lib/x86_64/floatundidf.S
+++ b/lib/x86_64/floatundidf.S
@@ -11,6 +11,8 @@
//
//===----------------------------------------------------------------------===//
+#include "../assembly.h"
+
// double __floatundidf(du_int a);
#ifdef __x86_64__
diff --git a/lib/x86_64/floatundisf.S b/lib/x86_64/floatundisf.S
index b40868740..4cbbf2017 100644
--- a/lib/x86_64/floatundisf.S
+++ b/lib/x86_64/floatundisf.S
@@ -1,6 +1,8 @@
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
+#include "../assembly.h"
+
// float __floatundisf(du_int a);
#ifdef __x86_64__
diff --git a/lib/x86_64/floatundixf.S b/lib/x86_64/floatundixf.S
index 0764da49a..47a0ff4f5 100644
--- a/lib/x86_64/floatundixf.S
+++ b/lib/x86_64/floatundixf.S
@@ -1,6 +1,8 @@
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
+#include "../assembly.h"
+
// long double __floatundixf(du_int a);
#ifdef __x86_64__