Linux kernel mirror (for testing)
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel
os
linux
1#ifndef __ALPHA_A_OUT_H__
2#define __ALPHA_A_OUT_H__
3
4#include <uapi/asm/a.out.h>
5
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) \
12 set_personality (((BFPM->taso || EX.ah.entry < 0x100000000L \
13 ? ADDR_LIMIT_32BIT : 0) | PER_OSF4))
14
15#endif /* __A_OUT_GNU_H__ */