summaryrefslogtreecommitdiff
path: root/sys/arch/vax/include
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2008-03-30 18:24:31 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2008-03-30 18:24:31 +0000
commitf70b2a3816f37851dbad8bcd97eb612ae4cacf6c (patch)
tree5a6886792d61db602837339fdb4775dcb3c768d1 /sys/arch/vax/include
parentb0e1884ff306947e19e268610be80b4bf70966de (diff)
Let the kernel load forthcoming ELF binaries.
Diffstat (limited to 'sys/arch/vax/include')
-rw-r--r--sys/arch/vax/include/exec.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/arch/vax/include/exec.h b/sys/arch/vax/include/exec.h
index fd9b62b6150..67900f666d5 100644
--- a/sys/arch/vax/include/exec.h
+++ b/sys/arch/vax/include/exec.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: exec.h,v 1.7 2002/07/31 20:33:23 deraadt Exp $ */
+/* $OpenBSD: exec.h,v 1.8 2008/03/30 18:24:30 miod Exp $ */
/* $NetBSD: exec.h,v 1.4 1995/09/23 14:57:40 ragge Exp $ */
/*
@@ -33,7 +33,7 @@
#define __LDPGSZ 4096
-/* Relocation format. */
+/* a.out relocation format. */
struct relocation_info_vax {
int r_address; /* offset in text or data segment */
unsigned int r_symbolnum : 24, /* ordinal number of add symbol */
@@ -48,8 +48,10 @@ struct relocation_info_vax {
#define relocation_info relocation_info_vax
#define _NLIST_DO_AOUT
+#define _NLIST_DO_ELF
#define _KERN_DO_AOUT
+#define _KERN_DO_ELF
#define ARCH_ELFSIZE 32