summaryrefslogtreecommitdiff
path: root/cpu/sysdeps/i386
diff options
context:
space:
mode:
Diffstat (limited to 'cpu/sysdeps/i386')
-rwxr-xr-xcpu/sysdeps/i386/configure-fragment8
-rw-r--r--cpu/sysdeps/i386/i586/README2
-rw-r--r--cpu/sysdeps/i386/i686/README2
-rw-r--r--cpu/sysdeps/i386/i786/Implies2
-rw-r--r--cpu/sysdeps/i386/preconfigure12
-rw-r--r--cpu/sysdeps/i386/preconfigure.ac11
6 files changed, 37 insertions, 0 deletions
diff --git a/cpu/sysdeps/i386/configure-fragment b/cpu/sysdeps/i386/configure-fragment
new file mode 100755
index 0000000..a64629c
--- /dev/null
+++ b/cpu/sysdeps/i386/configure-fragment
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+# Regenerate this directory's sourced preconfigure fragment from preconfigure.ac.
+# Run from the architecture sysdeps directory.
+autoconf -Wno-syntax -I ../../.. -o preconfigure preconfigure.ac || exit 1
+chmod a-x preconfigure
+rm -f preconfigure~
+rm -rf autom4te.cache
diff --git a/cpu/sysdeps/i386/i586/README b/cpu/sysdeps/i386/i586/README
new file mode 100644
index 0000000..f00b0cb
--- /dev/null
+++ b/cpu/sysdeps/i386/i586/README
@@ -0,0 +1,2 @@
+This directory is part of the LibMCPU HOST sysdeps inheritance tree.
+HOST-dependent syscall wrappers will be added here in later releases.
diff --git a/cpu/sysdeps/i386/i686/README b/cpu/sysdeps/i386/i686/README
new file mode 100644
index 0000000..f00b0cb
--- /dev/null
+++ b/cpu/sysdeps/i386/i686/README
@@ -0,0 +1,2 @@
+This directory is part of the LibMCPU HOST sysdeps inheritance tree.
+HOST-dependent syscall wrappers will be added here in later releases.
diff --git a/cpu/sysdeps/i386/i786/Implies b/cpu/sysdeps/i386/i786/Implies
new file mode 100644
index 0000000..1cd29f6
--- /dev/null
+++ b/cpu/sysdeps/i386/i786/Implies
@@ -0,0 +1,2 @@
+# The PPro and PII cores are mostly the same.
+i386/i686
diff --git a/cpu/sysdeps/i386/preconfigure b/cpu/sysdeps/i386/preconfigure
new file mode 100644
index 0000000..43a17f4
--- /dev/null
+++ b/cpu/sysdeps/i386/preconfigure
@@ -0,0 +1,12 @@
+# This file is generated from preconfigure.ac by Autoconf. DO NOT EDIT!
+
+# Local preconfigure fragment for cpu/sysdeps/i386.
+
+case "$machine" in
+i456786)
+ base_machine=i386
+ machine=i386/$machine
+ MCPU_HOST_DATA_MODEL=ILP32
+ ;;
+esac
+
diff --git a/cpu/sysdeps/i386/preconfigure.ac b/cpu/sysdeps/i386/preconfigure.ac
new file mode 100644
index 0000000..cd419ee
--- /dev/null
+++ b/cpu/sysdeps/i386/preconfigure.ac
@@ -0,0 +1,11 @@
+dnl See acsite.m4 in the top-level source directory.
+MCPU_PROVIDES
+# Local preconfigure fragment for cpu/sysdeps/i386.
+
+case "$machine" in
+i[4567]86)
+ base_machine=i386
+ machine=i386/$machine
+ MCPU_HOST_DATA_MODEL=ILP32
+ ;;
+esac