summaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux/abi-tag.h
blob: 6c71eece8528a8c670a8578fe3a4bef1e2871d83 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/* Define the GNU ABI tag for the Linux kernel we need.
   The is a 4-byte quantity in native byte order:
   the high byte is 0 to indicate Linux;
   the low three bytes are the LINUX_VERSION_CODE for the earliest
   compatible Linux kernel.  */

#define ABI_LINUX_TAG	0

#define ABI_LINUX_MAJOR	2
#define ABI_LINUX_MINOR	0
#define ABI_LINUX_PATCH	0

/* Don't use `|' in this expression, it is a comment character in the
   assembler.  */
#define ABI_TAG ((ABI_LINUX_TAG << 24) +				      \
		 (ABI_LINUX_MAJOR << 16) +				      \
		 (ABI_LINUX_MINOR << 8) +				      \
		 (ABI_LINUX_PATCH << 0))