summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Wemm <peter@FreeBSD.org>1998-10-18 15:31:23 +0000
committerPeter Wemm <peter@FreeBSD.org>1998-10-18 15:31:23 +0000
commit034db87204ff697e7ad8444b4b27cdc9626cb032 (patch)
tree139e89ca391b6a840a5eff193e6e37ee4aff4fce
parentc8e89e8bbda21904d681a210cef3ed70a205cd35 (diff)
Notes
-rw-r--r--sys/amd64/include/elf.h4
-rw-r--r--sys/i386/include/elf.h4
2 files changed, 6 insertions, 2 deletions
diff --git a/sys/amd64/include/elf.h b/sys/amd64/include/elf.h
index 5605b6fb3f84..93f486bf2d02 100644
--- a/sys/amd64/include/elf.h
+++ b/sys/amd64/include/elf.h
@@ -23,7 +23,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: elf.h,v 1.3 1998/08/16 03:03:31 jdp Exp $
+ * $Id: elf.h,v 1.4 1998/09/14 20:30:12 jdp Exp $
*/
#ifndef _MACHINE_ELF_H_
@@ -40,6 +40,8 @@
#define ELF_ARCH EM_386
+#define ELF_MACHINE_OK(x) ((x) == EM_386 || (x) == EM_486)
+
/*
* Auxiliary vector entries for passing information to the interpreter.
*
diff --git a/sys/i386/include/elf.h b/sys/i386/include/elf.h
index 5605b6fb3f84..93f486bf2d02 100644
--- a/sys/i386/include/elf.h
+++ b/sys/i386/include/elf.h
@@ -23,7 +23,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: elf.h,v 1.3 1998/08/16 03:03:31 jdp Exp $
+ * $Id: elf.h,v 1.4 1998/09/14 20:30:12 jdp Exp $
*/
#ifndef _MACHINE_ELF_H_
@@ -40,6 +40,8 @@
#define ELF_ARCH EM_386
+#define ELF_MACHINE_OK(x) ((x) == EM_386 || (x) == EM_486)
+
/*
* Auxiliary vector entries for passing information to the interpreter.
*