BSD 4_3 release
[unix-history] / usr / src / include / a.out.h
index f0cb47c..91d4fcd 100644 (file)
@@ -1,22 +1,17 @@
-/*     a.out.h 4.1     83/05/03        */
-
 /*
 /*
- * Header prepended to each a.out file.
+ * Copyright (c) 1980 Regents of the University of California.
+ * All rights reserved.  The Berkeley software License Agreement
+ * specifies the terms and conditions for redistribution.
+ *
+ *     @(#)a.out.h     5.1 (Berkeley) 5/30/85
  */
  */
-struct exec {
-       long    a_magic;        /* magic number */
-unsigned long  a_text;         /* size of text segment */
-unsigned long  a_data;         /* size of initialized data */
-unsigned long  a_bss;          /* size of uninitialized data */
-unsigned long  a_syms;         /* size of symbol table */
-unsigned long  a_entry;        /* entry point */
-unsigned long  a_trsize;       /* size of text relocation */
-unsigned long  a_drsize;       /* size of data relocation */
-};
 
 
-#define        OMAGIC  0407            /* old impure format */
-#define        NMAGIC  0410            /* read-only text */
-#define        ZMAGIC  0413            /* demand load format */
+/*
+ * Definitions of the a.out header
+ * and magic numbers are shared with
+ * the kernel.
+ */
+#include <sys/exec.h>
 
 /*
  * Macros which take exec structures as arguments and tell whether
 
 /*
  * Macros which take exec structures as arguments and tell whether