about summary refs log tree commit diff
path: root/math/machine
diff options
context:
space:
mode:
Diffstat (limited to 'math/machine')
-rw-r--r--math/machine/asm.h10
-rw-r--r--math/machine/endian.h4
2 files changed, 14 insertions, 0 deletions
diff --git a/math/machine/asm.h b/math/machine/asm.h
new file mode 100644
index 0000000000..548e248556
--- /dev/null
+++ b/math/machine/asm.h
@@ -0,0 +1,10 @@
+/* The libm assembly code wants to include <machine/asm.h> to define the
+   ENTRY macro.  We define assembly-related macros in sysdep.h and
+   asm-syntax.h.  */
+
+#include <sysdep.h>
+#include <asm-syntax.h>
+
+/* The libm assembly code uses this macro for RCSid strings.
+   We don't put RCSid strings into object files.  */
+#define RCSID(id) /* ignore them */
diff --git a/math/machine/endian.h b/math/machine/endian.h
new file mode 100644
index 0000000000..88804564bf
--- /dev/null
+++ b/math/machine/endian.h
@@ -0,0 +1,4 @@
+/* math_private.h wants to include <machine/endian.h>; we provide this
+   file so it can, leaving math_private.h unmodified from the original.  */
+
+#include <endian.h>