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