a.out.h 535 B

12345678910111213141516
  1. #ifndef __ALPHA_A_OUT_H__
  2. #define __ALPHA_A_OUT_H__
  3. #include <uapi/asm/a.out.h>
  4. /* Assume that start addresses below 4G belong to a TASO application.
  5. Unfortunately, there is no proper bit in the exec header to check.
  6. Worse, we have to notice the start address before swapping to use
  7. /sbin/loader, which of course is _not_ a TASO application. */
  8. #define SET_AOUT_PERSONALITY(BFPM, EX) \
  9. set_personality (((BFPM->taso || EX.ah.entry < 0x100000000L \
  10. ? ADDR_LIMIT_32BIT : 0) | PER_OSF4))
  11. #endif /* __A_OUT_GNU_H__ */