summary refs log tree commit diff
path: root/sysdeps
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/alpha/Implies1
-rw-r--r--sysdeps/i386/Implies1
-rw-r--r--sysdeps/m68k/Implies1
-rw-r--r--sysdeps/mips/Implies1
-rw-r--r--sysdeps/sparc/Implies1
-rw-r--r--sysdeps/wordsize-32/elfclass.h5
-rw-r--r--sysdeps/wordsize-64/elfclass.h5
7 files changed, 15 insertions, 0 deletions
diff --git a/sysdeps/alpha/Implies b/sysdeps/alpha/Implies
index 93234096f0..37fee79d97 100644
--- a/sysdeps/alpha/Implies
+++ b/sysdeps/alpha/Implies
@@ -1,2 +1,3 @@
+wordsize-64
 # Alpha uses IEEE 754 floating point.
 ieee754
diff --git a/sysdeps/i386/Implies b/sysdeps/i386/Implies
index 1610bfdc5b..d6acf04a82 100644
--- a/sysdeps/i386/Implies
+++ b/sysdeps/i386/Implies
@@ -1 +1,2 @@
+wordsize-32
 ieee754
diff --git a/sysdeps/m68k/Implies b/sysdeps/m68k/Implies
index a67e1c2741..09dd873973 100644
--- a/sysdeps/m68k/Implies
+++ b/sysdeps/m68k/Implies
@@ -1,2 +1,3 @@
+wordsize-32
 # 68k uses IEEE 754 floating point.
 ieee754
diff --git a/sysdeps/mips/Implies b/sysdeps/mips/Implies
index 60732cef94..5aeb9ae460 100644
--- a/sysdeps/mips/Implies
+++ b/sysdeps/mips/Implies
@@ -1,2 +1,3 @@
+wordsize-32
 # MIPS uses IEEE 754 floating point.
 ieee754
diff --git a/sysdeps/sparc/Implies b/sysdeps/sparc/Implies
index da719e1707..8a2007c5ce 100644
--- a/sysdeps/sparc/Implies
+++ b/sysdeps/sparc/Implies
@@ -1,2 +1,3 @@
+wordsize-32
 # SPARC uses IEEE 754 floating point.
 ieee754
diff --git a/sysdeps/wordsize-32/elfclass.h b/sysdeps/wordsize-32/elfclass.h
new file mode 100644
index 0000000000..49411d66f3
--- /dev/null
+++ b/sysdeps/wordsize-32/elfclass.h
@@ -0,0 +1,5 @@
+/* This file specifies the native word size of the machine, which indicates
+   the ELF file class used for executables and shared objects on this
+   machine.  */
+
+#define __ELF_NATIVE_CLASS 32
diff --git a/sysdeps/wordsize-64/elfclass.h b/sysdeps/wordsize-64/elfclass.h
new file mode 100644
index 0000000000..ac52904886
--- /dev/null
+++ b/sysdeps/wordsize-64/elfclass.h
@@ -0,0 +1,5 @@
+/* This file specifies the native word size of the machine, which indicates
+   the ELF file class used for executables and shared objects on this
+   machine.  */
+
+#define __ELF_NATIVE_CLASS 64