summaryrefslogtreecommitdiff
path: root/arch/parisc/include/asm/a.out.h
diff options
context:
space:
mode:
authorKyle McMartin <kyle@mcmartin.ca>2008-07-28 23:02:13 -0400
committerKyle McMartin <kyle@hera.kernel.org>2008-10-10 16:32:29 +0000
commitdeae26bf6a10e47983606f5df080b91e97650ead (patch)
tree84a8a68145d0f713d7c5a1f9e6b3b03be9b3a4c8 /arch/parisc/include/asm/a.out.h
parent6c86cb8237bf08443806089130dc108051569a93 (diff)
downloadlwn-deae26bf6a10e47983606f5df080b91e97650ead.tar.gz
lwn-deae26bf6a10e47983606f5df080b91e97650ead.zip
parisc: move include/asm-parisc to arch/parisc/include/asm
Diffstat (limited to 'arch/parisc/include/asm/a.out.h')
-rw-r--r--arch/parisc/include/asm/a.out.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/arch/parisc/include/asm/a.out.h b/arch/parisc/include/asm/a.out.h
new file mode 100644
index 000000000000..eb04e34c5bb1
--- /dev/null
+++ b/arch/parisc/include/asm/a.out.h
@@ -0,0 +1,20 @@
+#ifndef __PARISC_A_OUT_H__
+#define __PARISC_A_OUT_H__
+
+struct exec
+{
+ unsigned int a_info; /* Use macros N_MAGIC, etc for access */
+ unsigned a_text; /* length of text, in bytes */
+ unsigned a_data; /* length of data, in bytes */
+ unsigned a_bss; /* length of uninitialized data area for file, in bytes */
+ unsigned a_syms; /* length of symbol table data in file, in bytes */
+ unsigned a_entry; /* start address */
+ unsigned a_trsize; /* length of relocation info for text, in bytes */
+ unsigned a_drsize; /* length of relocation info for data, in bytes */
+};
+
+#define N_TRSIZE(a) ((a).a_trsize)
+#define N_DRSIZE(a) ((a).a_drsize)
+#define N_SYMSIZE(a) ((a).a_syms)
+
+#endif /* __A_OUT_GNU_H__ */