From nobody Thu Jan 29 18:12:16 2026 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 4f26g44yfwz6Pdcn for ; Thu, 29 Jan 2026 18:12:16 +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 "R13" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4f26g4307jz3YTt for ; Thu, 29 Jan 2026 18:12:16 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1769710336; 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=jbJ8/SYl6uBZ2P6tEqaB/bD73+qKV6RUVrYXfMCt/Ps=; b=DGsCAdk9qzsfJjwfrZLhJzqAvsXVSui5hiy9ybDUfMGHkKoNaqTAJ9MgKjZmHyB5z+JeHV Envdp7+Sg976EWAELsxFCdA/cAkbwYm5G5C9PVRyXFiL1WP6gfCWLMSZ7vbaQK9sPnhnCd kwU5FznDi+SZwOWzb/ME225C6ON0AghVKqwDdbuiseERvDNxHA5gY/Cr2gWFqUwWeiTpbG uA3Q2NgwWpHW2zJ7f1lO4N2QpXaoOvvHZ6AfLwbP94wniwkvT6SFYyODAcy4rPU/PWOQWn e/aALj3Rj+o9rXPU2s/BzaE3pmZYKApbxg3JglMGn3defvc00pye8KMqypXciQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1769710336; a=rsa-sha256; cv=none; b=Lva1L0i17wJSycMyuZ2U703lkalMtT9WO7fyqgJ6b5yQyL9zpIzqxJLVgciLt795IWLJGM TfIH4BWlZme3XH+QN3QL0zBHEEJgq9W6YHsZxrtOT4tJZl9wghlRgq+tlRG7SinSoGSb9u z4VzeINMxALJuS7hTBwVT7WXXkkZo8seiSgta2vW6uyaItjuiSL7svTfaydsfI5+NL53Js dnHA/7TWYVbnA9rx+ZQjgsUvLY7HczrkR21WYFgNDwZicYBlsFwuGPhlo5S/UW4MScmjrS 4RBa2deQX2hBuCFkJwX0okDamEwPretu6wJbTpLVEYeqRBy9KBJLwhCQcBaASw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1769710336; 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=jbJ8/SYl6uBZ2P6tEqaB/bD73+qKV6RUVrYXfMCt/Ps=; b=ZhduKXbwbsReqkjasEbw1T9m3J5XpQHA9zmbE26XZJcjX2BHGMcniQb6HleGFDa+KD099N 1t7oyycs4ekFPsuIglDfCa8lx3vfePmAiBIQewzLFg8T+Nb5XbSFU9iRyG/dPZwa8MnV+d Ku9jKcy2HRR40SwWAHSayhVTIGv1fm5+xVBw9sBV+RsNe69sSBMfgJgL1ZcUlUQlkH/OIC vKihuWO87pWccfsJdWKWZflSyXygNL8HFKDNScnrLjfdd4m80ikMnI7JNkxE/g7nq2wxqX fe6QgSRSgghRnODMpohKiyIQRVQF9W16q05Ug26WqlrbFZf9rv1aWI6+eGH9aQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4f26g42Jfhzq14 for ; Thu, 29 Jan 2026 18:12:16 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 46d67 by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Thu, 29 Jan 2026 18:12:16 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Konstantin Belousov Subject: git: 03d61fe97857 - main - arm, riscv: add a preprocessor symbol indicating missed support of ifunc 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: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: kib X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 03d61fe9785793cce9324fd4e6019562586760fa Auto-Submitted: auto-generated Date: Thu, 29 Jan 2026 18:12:16 +0000 Message-Id: <697ba300.46d67.27ccc00e@gitrepo.freebsd.org> The branch main has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=03d61fe9785793cce9324fd4e6019562586760fa commit 03d61fe9785793cce9324fd4e6019562586760fa Author: Konstantin Belousov AuthorDate: 2026-01-23 21:33:07 +0000 Commit: Konstantin Belousov CommitDate: 2026-01-29 18:11:54 +0000 arm, riscv: add a preprocessor symbol indicating missed support of ifunc in kernel. Tested by: pho Sponsored by: The FreeBSD Foundation MFC after: 1 week Differential revision: https://reviews.freebsd.org/D54831 --- sys/arm/include/ifunc.h | 10 ++++++++++ sys/riscv/include/ifunc.h | 2 ++ 2 files changed, 12 insertions(+) diff --git a/sys/arm/include/ifunc.h b/sys/arm/include/ifunc.h new file mode 100644 index 000000000000..6b7cf20c720f --- /dev/null +++ b/sys/arm/include/ifunc.h @@ -0,0 +1,10 @@ +/* + * This file is in the public domain. + */ + +#ifndef __ARM_IFUNC_H +#define __ARM_IFUNC_H + +#define __DO_NOT_HAVE_SYS_IFUNCS 1 + +#endif diff --git a/sys/riscv/include/ifunc.h b/sys/riscv/include/ifunc.h index 0f9747a2aa14..0d91014ccce8 100644 --- a/sys/riscv/include/ifunc.h +++ b/sys/riscv/include/ifunc.h @@ -30,6 +30,8 @@ #ifndef __RISCV_IFUNC_H #define __RISCV_IFUNC_H +#define __DO_NOT_HAVE_SYS_IFUNCS 1 + #define DEFINE_IFUNC(qual, ret_type, name, args) \ static ret_type (*name##_resolver(void))args __used; \ qual ret_type name args __attribute__((ifunc(#name "_resolver"))); \