1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef __ALPHA_A_OUT_H__
3 #define __ALPHA_A_OUT_H__
4 
5 #include <uapi/asm/a.out.h>
6 
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) \
13 	set_personality (((BFPM->taso || EX.ah.entry < 0x100000000L \
14 			   ? ADDR_LIMIT_32BIT : 0) | PER_OSF4))
15 
16 #endif /* __A_OUT_GNU_H__ */
17