Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | #ifndef __ASM_SH64_A_OUT_H |
| 2 | #define __ASM_SH64_A_OUT_H |
| 3 | |
| 4 | /* |
| 5 | * This file is subject to the terms and conditions of the GNU General Public |
| 6 | * License. See the file "COPYING" in the main directory of this archive |
| 7 | * for more details. |
| 8 | * |
| 9 | * include/asm-sh64/a.out.h |
| 10 | * |
| 11 | * Copyright (C) 2000, 2001 Paolo Alberelli |
| 12 | * |
| 13 | */ |
| 14 | |
| 15 | struct exec |
| 16 | { |
| 17 | unsigned long a_info; /* Use macros N_MAGIC, etc for access */ |
| 18 | unsigned a_text; /* length of text, in bytes */ |
| 19 | unsigned a_data; /* length of data, in bytes */ |
| 20 | unsigned a_bss; /* length of uninitialized data area for file, in bytes */ |
| 21 | unsigned a_syms; /* length of symbol table data in file, in bytes */ |
| 22 | unsigned a_entry; /* start address */ |
| 23 | unsigned a_trsize; /* length of relocation info for text, in bytes */ |
| 24 | unsigned a_drsize; /* length of relocation info for data, in bytes */ |
| 25 | }; |
| 26 | |
| 27 | #define N_TRSIZE(a) ((a).a_trsize) |
| 28 | #define N_DRSIZE(a) ((a).a_drsize) |
| 29 | #define N_SYMSIZE(a) ((a).a_syms) |
| 30 | |
| 31 | #ifdef __KERNEL__ |
| 32 | |
| 33 | #define STACK_TOP TASK_SIZE |
| 34 | |
| 35 | #endif |
| 36 | |
| 37 | #endif /* __ASM_SH64_A_OUT_H */ |