a.out.h 1.0 KB

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