summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorkstailey <kstailey@cvs.openbsd.org>1996-11-15 15:31:05 +0000
committerkstailey <kstailey@cvs.openbsd.org>1996-11-15 15:31:05 +0000
commit4760a20aed570c8ba863d5db1166aeec1446d47f (patch)
treed1f60b4a2eabeeb27e7c685e3cef9692602f6b00 /sys
parentfafc6a01ef923a721ad270511abcc14b316d7ebc (diff)
added DO_AOUT for kvm_mkdb; added ELF defines too
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/sun3/include/exec.h13
1 files changed, 11 insertions, 2 deletions
diff --git a/sys/arch/sun3/include/exec.h b/sys/arch/sun3/include/exec.h
index b28a4ea597d..81004f085f2 100644
--- a/sys/arch/sun3/include/exec.h
+++ b/sys/arch/sun3/include/exec.h
@@ -27,7 +27,9 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef __LDPGSZ
+#ifndef _SUN3_EXEC_H_
+#define _SUN3_EXEC_H_
+
#define __LDPGSZ 8192
/* Relocation format. */
@@ -44,4 +46,11 @@ struct relocation_info_m68k {
};
#define relocation_info relocation_info_m68k
-#endif /* _LDPGSZ */
+#define ELF_TARG_CLASS ELFCLASS32
+#define ELF_TARG_DATA ELFDATA2MSB
+#define ELF_TARG_MACH EM_M68K
+
+#define DO_AOUT /* support a.out */
+#define DO_ELF /* support ELF */
+
+#endif /* _SUN3_EXEC_H_ */