a.out.h 574 B

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