summaryrefslogtreecommitdiff
path: root/sysdeps/wordsize-32
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1996-06-10 13:03:12 +0000
committerRoland McGrath <roland@gnu.org>1996-06-10 13:03:12 +0000
commit567c63af19d2f03836d14856596b4ae6259c03a8 (patch)
tree1be11c1b7255851437f33e4bf8bd9f91b0f0c02a /sysdeps/wordsize-32
parent266180eb985e14fa9f77cfd3b41e9211e9986162 (diff)
downloadglibc-567c63af19d2f03836d14856596b4ae6259c03a8.tar.gz
* elf/link.h: Include elfclass.h to define __ELF_NATIVE_CLASS.
(ElfW, ELFW): Use it. * elf/Makefile (headers): Add elfclass.h. * sysdeps/wordsize-32/elfclass.h: New file. * sysdeps/wordsize-64/elfclass.h: New file. * sysdeps/alpha/Implies: Add wordsize-64. * sysdeps/i386/Implies: Add wordsize-32. * sysdeps/m68k/Implies: Add wordsize-32. * sysdeps/mips/Implies: Add wordsize-32. * sysdeps/sparc/Implies: Add wordsize-32.
Diffstat (limited to 'sysdeps/wordsize-32')
-rw-r--r--sysdeps/wordsize-32/elfclass.h5
1 files changed, 5 insertions, 0 deletions
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