git: 2c6b910716e9 - main - elf_common.h: define EF_ARM_EABI_VERSION
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 20 Jan 2023 23:17:32 UTC
The branch main has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=2c6b910716e93ebc1a2e24b63781419982edbd30 commit 2c6b910716e93ebc1a2e24b63781419982edbd30 Author: Warner Losh <imp@FreeBSD.org> AuthorDate: 2023-01-20 23:15:04 +0000 Commit: Warner Losh <imp@FreeBSD.org> CommitDate: 2023-01-20 23:15:04 +0000 elf_common.h: define EF_ARM_EABI_VERSION The Linux distributions have had the EF_ARM_EABI_VERSION macro for a while now. The kernel of arm* targets build depends on it being in the host's elf.h environment. Add it here so it gets pulled in so there's one fewer hack required to build a Linux kernel on a FreeBSD host. Sponsored by: Netflix Reviewed by: jrtc27, kib, jhb Differential Revision: https://reviews.freebsd.org/D38139 --- sys/sys/elf_common.h | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/sys/elf_common.h b/sys/sys/elf_common.h index 9366593b24bd..87b6d1fbaedd 100644 --- a/sys/sys/elf_common.h +++ b/sys/sys/elf_common.h @@ -332,6 +332,7 @@ typedef struct { #define EF_ARM_EABI_VER3 0x03000000 #define EF_ARM_EABI_VER4 0x04000000 #define EF_ARM_EABI_VER5 0x05000000 +#define EF_ARM_EABI_VERSION(x) (x & EF_ARM_EABIMASK) #define EF_ARM_INTERWORK 0x00000004 #define EF_ARM_APCS_26 0x00000008 #define EF_ARM_APCS_FLOAT 0x00000010