summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2002-07-31 20:33:23 +0000
committerderaadt <deraadt@openbsd.org>2002-07-31 20:33:23 +0000
commitf5b4a17d1abe6b85b9bb75152ff03f1ca9453146 (patch)
tree12c556fd11e3606d87f56362902b0f2c687395e3
parentlucifier is technical now; ok mickey@ (diff)
downloadwireguard-openbsd-f5b4a17d1abe6b85b9bb75152ff03f1ca9453146.tar.xz
wireguard-openbsd-f5b4a17d1abe6b85b9bb75152ff03f1ca9453146.zip
fake out ELF stuff
-rw-r--r--sys/arch/vax/include/exec.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/sys/arch/vax/include/exec.h b/sys/arch/vax/include/exec.h
index df88191b9a5..fd9b62b6150 100644
--- a/sys/arch/vax/include/exec.h
+++ b/sys/arch/vax/include/exec.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: exec.h,v 1.6 2000/04/26 03:08:41 bjc Exp $ */
+/* $OpenBSD: exec.h,v 1.7 2002/07/31 20:33:23 deraadt Exp $ */
/* $NetBSD: exec.h,v 1.4 1995/09/23 14:57:40 ragge Exp $ */
/*
@@ -51,4 +51,10 @@ struct relocation_info_vax {
#define _KERN_DO_AOUT
+#define ARCH_ELFSIZE 32
+
+#define ELF_TARG_CLASS ELFCLASS32
+#define ELF_TARG_DATA ELFDATA2LSB
+#define ELF_TARG_MACH EM_VAX
+
#endif /* _VAX_EXEC_H_ */