a.out.h 894 B

12345678910111213141516171819202122232425262728293031323334
  1. #ifndef __ARM_A_OUT_H__
  2. #define __ARM_A_OUT_H__
  3. #include <linux/personality.h>
  4. #include <linux/types.h>
  5. struct exec
  6. {
  7. __u32 a_info; /* Use macros N_MAGIC, etc for access */
  8. __u32 a_text; /* length of text, in bytes */
  9. __u32 a_data; /* length of data, in bytes */
  10. __u32 a_bss; /* length of uninitialized data area for file, in bytes */
  11. __u32 a_syms; /* length of symbol table data in file, in bytes */
  12. __u32 a_entry; /* start address */
  13. __u32 a_trsize; /* length of relocation info for text, in bytes */
  14. __u32 a_drsize; /* length of relocation info for data, in bytes */
  15. };
  16. /*
  17. * This is always the same
  18. */
  19. #define N_TXTADDR(a) (0x00008000)
  20. #define N_TRSIZE(a) ((a).a_trsize)
  21. #define N_DRSIZE(a) ((a).a_drsize)
  22. #define N_SYMSIZE(a) ((a).a_syms)
  23. #define M_ARM 103
  24. #ifndef LIBRARY_START_TEXT
  25. #define LIBRARY_START_TEXT (0x00c00000)
  26. #endif
  27. #endif /* __A_OUT_GNU_H__ */