Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 */
0002 #ifndef __ALPHA_A_OUT_H__
0003 #define __ALPHA_A_OUT_H__
0004 
0005 #include <uapi/asm/a.out.h>
0006 
0007 
0008 /* Assume that start addresses below 4G belong to a TASO application.
0009    Unfortunately, there is no proper bit in the exec header to check.
0010    Worse, we have to notice the start address before swapping to use
0011    /sbin/loader, which of course is _not_ a TASO application.  */
0012 #define SET_AOUT_PERSONALITY(BFPM, EX) \
0013     set_personality (((BFPM->taso || EX.ah.entry < 0x100000000L \
0014                ? ADDR_LIMIT_32BIT : 0) | PER_OSF4))
0015 
0016 #endif /* __A_OUT_GNU_H__ */