mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-27 07:34:06 +02:00
ArmVirtPkg/ArmPlatformLibQemu: Make IdMap.S BTI compatible
The IdMap.S asm source file has not executable content, but its lack of a BTI annotation prevents the linker from marking any executables it emits as BTI compatible if this object is part of the build. So add the BTI note by hand. Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
This commit is contained in:
parent
e701a4d51e
commit
3b4d1b38ea
@ -57,3 +57,5 @@ idmap: /* level 0 */
|
|||||||
.quad PAGE_XIP | (idx << 12) // 2044 KiB of R-X flash mappings
|
.quad PAGE_XIP | (idx << 12) // 2044 KiB of R-X flash mappings
|
||||||
.set idx, idx + 1
|
.set idx, idx + 1
|
||||||
.endr
|
.endr
|
||||||
|
|
||||||
|
AARCH64_BTI_NOTE()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user