Thread (31 messages) 31 messages, 5 authors, 2020-09-18

Re: [PATCH 03/12] ARM: module: add support for place relative relocations

From: Russell King - ARM Linux admin <linux@armlinux.org.uk>
Date: 2020-09-14 16:16:28
Also in: linux-efi

On Mon, Sep 14, 2020 at 09:35:41AM -0400, Nicolas Pitre wrote:
On Mon, 14 Sep 2020, Ard Biesheuvel wrote:
quoted
When using the new adr_l/ldr_l/str_l macros to refer to external symbols
from modules, the linker may emit place relative ELF relocations that
need to be fixed up by the module loader. So add support for these.
Just wondering if that capability requirement should be added to the 
module signature somehow...?

Maybe not. The MODULE_ARCH_VERMAGIC definition only contains things that 
are configurable for a given build.
It doesn't need to be. If a module contains a relocation we don't know
how to handle, it will fail to load.

-- 
RMK's Patch system: https://www.armlinux.org.uk/developer/patches/
FTTP is here! 40Mbps down 10Mbps up. Decent connectivity at last!

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help