]> xenbits.xensource.com Git - ovmf.git/commitdiff
ArmPkg/GccLto AARCH64: Add BTI note to LTO helper library
authorArd Biesheuvel <ardb@kernel.org>
Sat, 25 Mar 2023 17:05:41 +0000 (18:05 +0100)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Thu, 30 Mar 2023 11:05:22 +0000 (11:05 +0000)
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 <ardb@kernel.org>
Reviewed-by: Leif Lindholm <quic_llindhol@quicinc.com>
Reviewed-by: Oliver Smith-Denny <osd@smith-denny.com>
ArmPkg/Library/GccLto/liblto-aarch64.a

index 2ab00238f0dad882abf08a1fb9623c9cdea9f17b..6ca3932f1cf30e389ab4c9bdbb77c7db729f1f14 100644 (file)
Binary files a/ArmPkg/Library/GccLto/liblto-aarch64.a and b/ArmPkg/Library/GccLto/liblto-aarch64.a differ