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