ANDROID: KVM: arm64: Resolve hyp module addresses using ELF sections
Resolving the addresses of the hypervisor sections within a loadable module using symbol assignment is fragile, particularly in the face of mergeable sections (i.e. those emitted with SHF_MERGE by the compiler). Instead, parse the ELF .hyp.* sections directly and remove the need for global symbols in the hypervisor module linker script. Signed-off-by:Will Deacon <will@kernel.org> [will: Preserve function_nocfi() calls which aren't needed in android14-6.1] Signed-off-by:
Will Deacon <willdeacon@google.com> Bug: 261855285 Change-Id: I91d88e1a341b91ffe52ffc770dddc9b46ccb3aa4
Loading
Please sign in to comment