patch-2.1.19 linux/include/asm-sparc64/a.out.h
Next file: linux/include/asm-sparc64/bitops.h
Previous file: linux/include/asm-sparc/unistd.h
Back to the patch index
Back to the overall index
- Lines: 40
- Date:
Mon Dec 30 12:00:02 1996
- Orig file:
v2.1.18/linux/include/asm-sparc64/a.out.h
- Orig date:
Wed Dec 18 15:59:02 1996
diff -u --recursive --new-file v2.1.18/linux/include/asm-sparc64/a.out.h linux/include/asm-sparc64/a.out.h
@@ -1,10 +1,12 @@
-/* $Id: a.out.h,v 1.1 1996/11/20 12:05:19 davem Exp $ */
+/* $Id: a.out.h,v 1.2 1996/12/28 18:39:49 davem Exp $ */
#ifndef __SPARC64_A_OUT_H__
#define __SPARC64_A_OUT_H__
#define SPARC_PGSIZE 0x2000 /* Thanks to the sun4 architecture... */
#define SEGMENT_SIZE SPARC_PGSIZE /* whee... */
+#ifndef __ASSEMBLY__
+
struct exec {
unsigned char a_dynamic:1; /* A __DYNAMIC is in this image */
unsigned char a_toolversion:7;
@@ -19,6 +21,8 @@
unsigned int a_drsize;
};
+#endif __ASSEMBLY__
+
/* Where in the file does the text information begin? */
#define N_TXTOFF(x) (N_MAGIC(x) == ZMAGIC ? 0 : sizeof (struct exec))
@@ -41,6 +45,8 @@
#define N_DRSIZE(a) ((a).a_drsize)
#define N_SYMSIZE(a) ((a).a_syms)
+#ifndef __ASSEMBLY__
+
/*
* Sparc relocation types
*/
@@ -93,4 +99,6 @@
#endif
-#endif /* __SPARC64_A_OUT_H__ */
+#endif /* !(__ASSEMBLY__) */
+
+#endif /* !(__SPARC64_A_OUT_H__) */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov