summaryrefslogtreecommitdiff
path: root/sys/arch/sparc
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2001-01-22 14:51:08 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2001-01-22 14:51:08 +0000
commit575b660a4d503622d7984556411f699a43a2a0b7 (patch)
treed804b16e87d3f127730954b3977303efa7bc911e /sys/arch/sparc
parentadfc95d92dfb44cc8440e06aa0ad81a0cd195768 (diff)
Define ARCH_ELFSIZE that is the default elf size on this arch.
Diffstat (limited to 'sys/arch/sparc')
-rw-r--r--sys/arch/sparc/include/exec.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/sparc/include/exec.h b/sys/arch/sparc/include/exec.h
index 520345dbe10..88401eb08bb 100644
--- a/sys/arch/sparc/include/exec.h
+++ b/sys/arch/sparc/include/exec.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: exec.h,v 1.7 1997/08/08 08:26:16 downsj Exp $ */
+/* $OpenBSD: exec.h,v 1.8 2001/01/22 14:51:06 art Exp $ */
/* $NetBSD: exec.h,v 1.7 1994/11/20 20:53:02 deraadt Exp $ */
/*
@@ -58,6 +58,8 @@ struct relocation_info_sparc {
};
#define relocation_info relocation_info_sparc
+#define ARCH_ELFSIZE 32
+
#define ELF_TARG_CLASS ELFCLASS32
#define ELF_TARG_DATA ELFDATA2MSB
#define ELF_TARG_MACH EM_SPARC