On 28.04.23 11:50, Hou Wenlong wrote:
Similar to the alternative patching, use relative reference for original instruction rather than absolute one, which saves 8 bytes for one entry on x86_64. And it could generate R_X86_64_PC32 relocation instead of R_X86_64_64 relocation, which also reduces relocation metadata on relocatable builds. And the alignment could be hard coded to be 4 now.Signed-off-by: Hou Wenlong <houwenlong....@antgroup.com> Cc: Thomas Garnier <thgar...@chromium.org> Cc: Lai Jiangshan <jiangshan....@antgroup.com> Cc: Kees Cook <keesc...@chromium.org>
Reviewed-by: Juergen Gross <jgr...@suse.com> I think this patch should be taken even without the series. Juergen
OpenPGP_0xB0DE9DD628BF132F.asc
Description: OpenPGP public key
OpenPGP_signature
Description: OpenPGP digital signature
_______________________________________________ Virtualization mailing list Virtualization@lists.linux-foundation.org https://lists.linuxfoundation.org/mailman/listinfo/virtualization