From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by mx.groups.io with SMTP id smtpd.web10.31899.1679914924210000853 for ; Mon, 27 Mar 2023 04:02:04 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="body hash did not verify" header.i=@kernel.org header.s=k20201202 header.b=r/DGfjfu; spf=pass (domain: kernel.org, ip: 145.40.68.75, mailfrom: ardb@kernel.org) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id BD17EB80DA9; Mon, 27 Mar 2023 11:02:02 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0857AC4339C; Mon, 27 Mar 2023 11:01:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1679914921; bh=E5wzXxXrgW+TKc09ZlwfsLzjWW3rjuaHB6JqbxN7LPI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=r/DGfjfuFyVvh92L+bj52hdEpj+QIL05YJ6+wMbFyXTKxGn22lWHfGn9a+E5dAAFq jxEsr4AzOp92U08oou477uN1VYaOchZRl3D/gw9uuhgiOmgr7/vtcfA8uz/PEnQ7J4 8hM/y1z6Sm5L0h7UG/ResdyCEa/KBtg46O5DClguRoAm23Nj5dRQf7GXgUyI2o+7Bj 03irs1z8jMJ5d7QjkPBWU1HE+jq4bGkvvdIoSfqppQmZg8e5mtQWoJru/r8IB4apZf tdWt0CIBM6vBlo7AK9IronsUpaCpkQvIsqkETxyfDWLvxeMc9JJZij8NxGNC0asdYa JdSYpKpFLcyuw== From: "Ard Biesheuvel" To: devel@edk2.groups.io Cc: Ard Biesheuvel , Michael Kinney , Liming Gao , Jiewen Yao , Michael Kubacki , Sean Brogan , Rebecca Cran , Leif Lindholm , Sami Mujawar , Taylor Beebe , =?UTF-8?q?Marvin=20H=C3=A4user?= , Bob Feng Subject: [PATCH v2 10/17] ArmPkg/GccLto AARCH64: Add BTI note to LTO helper library Date: Mon, 27 Mar 2023 13:01:05 +0200 Message-Id: <20230327110112.262503-11-ardb@kernel.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230327110112.262503-1-ardb@kernel.org> References: <20230327110112.262503-1-ardb@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable The GccLto helper library does not contain any code, as its only purpose is to pull in other libraries that implement intrinsics to which the linker's codegen pass may emit calls. So mark it as BTI compatible, so that the linker does not complain about unannotated objects. Signed-off-by: Ard Biesheuvel --- ArmPkg/Library/GccLto/liblto-aarch64.a | Bin 1016 -> 1128 bytes 1 file changed, 0 insertions(+), 0 deletions(-) diff --git a/ArmPkg/Library/GccLto/liblto-aarch64.a b/ArmPkg/Library/GccL= to/liblto-aarch64.a index 2ab00238f0dad882abf08a1fb9623c9cdea9f17b..6ca3932f1cf30e389ab4c9bdb= b77c7db729f1f14 100644 GIT binary patch delta 168 zcmeyt{(@tIhNA`(0~|PjSq=3D=3DG3>tqY22*!rV6PcEC8Uj_b12NO&gG}O#3KJKKPR?Ui hVl0?Ek=3DdTnWAa62^~n~@5}Xehfog!j1+0LH3joADAhrMi delta 90 zcmaFC@q>MWhWHOg1~_m4vm6*W7+5D8GU;yYX=3DR*j#AG(vfk|+322%uM!sLTY%O`8F gNN^s2>N1>oP;~M