From nobody Fri Jan 20 23:17:32 2023 X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4NzFlJ4Qyvz2srGf; Fri, 20 Jan 2023 23:17:32 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4NzFlJ3q4Zz3rFW; Fri, 20 Jan 2023 23:17:32 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1674256652; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=wZR5alIsLT7fVXz/8c8+6HaDWnLJGCa7pvnJFUGLKkw=; b=RYa0XmM7wYiNFjBiIvEHC9B+AZRDpiGmrPkTj0hDuZyAhJVfii/Hpv1tcrCtm2kcaFOXO6 gFzNxhMrHOUJduTGfJwe8T3pVVqhoKzsGgLgl6UWw52kUnPOjO0q+yYEFwP2fQTQBeOyeD Ni88D+EuiHbxvX3nfeIlngq4DdiX8iFBLjMcR7jpen1A3EZke5f+j0Ll8fvOcpS0LI7gsJ GX9zULllar7UcV0dOaDqirU0Rr8IfpGrTVhQAfTLuxx65j2wq2j7qgKJmbXiF3Tr3fuLVs 9HVYzfaseYddD6LkHKEBCW1gZ9kiIZuRemJxUpPJTrvadHNEG7jMU29nOLBNog== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1674256652; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=wZR5alIsLT7fVXz/8c8+6HaDWnLJGCa7pvnJFUGLKkw=; b=fCyraGhdoNq7vnn6bBDTDEBSM2PTKenGkvFGuzCLCvvLw5qFXCWAl9R4T6jCLOoUvs7grl +pkjNVVYKrT3Yy/KFZb/Rf3vLjAqCr5DgfjBTVMDh+FXvYuWjmiG6jK5cR497cfCMk1sfD hucKQDRmmaCCMFl7bB3eKbqSr5FvjzrPWn7eOS0oc1HJ9SobhAW4WQ7g2vRHXECu/vON3y iYDk/50pPst/X2c96dNUnsZou3gf/pCEwRM4JDr/nNItKul41oy3m/5gWdldFkBOBx/09a 9wR1zcrMGMF7nFIeAy1ZpnBv95H57Q7L+4KM44vTzaT3jKA0upg/2gvRG7RLGQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1674256652; a=rsa-sha256; cv=none; b=h2S0DZyv2mopA7ViDyn0GFS4kE0/v+lwuR+v4jz46qBVkI1f+BcgOLOUFBeBaMSv7sUgIJ MzvK1/qiU3t8McI4Ji5W2YSAQTpqoGm5C9oTr/fxn4OA6giLjtH3ca+2LUAha2HNCJw3GS PUwxxFDpGt3in0JMXyc1RP52sG0QAki0rCNSYrmd/TihGb5ocq6ffWfy5UZsz0NET4H68L 84Q7rfmH0rId6KbHUl86DYi0dEZ8zvQnUD96cuL28P7E/axQUOiM2xcvi3Pd1aKKwfmhD2 oH2mkdjQ0/siqiG8XhKO+SAU0EyV2G+YvsNLdPGrpLeSgG6MrAZcUAbYmy+ABg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4NzFlJ2fZlzp42; Fri, 20 Jan 2023 23:17:32 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 30KNHWP4045219; Fri, 20 Jan 2023 23:17:32 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 30KNHWgV045218; Fri, 20 Jan 2023 23:17:32 GMT (envelope-from git) Date: Fri, 20 Jan 2023 23:17:32 GMT Message-Id: <202301202317.30KNHWgV045218@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Warner Losh Subject: git: 2c6b910716e9 - main - elf_common.h: define EF_ARM_EABI_VERSION List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: imp X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 2c6b910716e93ebc1a2e24b63781419982edbd30 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=2c6b910716e93ebc1a2e24b63781419982edbd30 commit 2c6b910716e93ebc1a2e24b63781419982edbd30 Author: Warner Losh AuthorDate: 2023-01-20 23:15:04 +0000 Commit: Warner Losh 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