powerpc64/module elfv1: Set opd addresses after module relocation
Michael Ellerman
patch-notifications at ellerman.id.au
Mon Oct 22 20:34:25 AEDT 2018
On Tue, 2018-05-29 at 06:51:00 UTC, "Naveen N. Rao" wrote:
> module_frob_arch_sections() is called before the module is moved to its
> final location. The function descriptor section addresses we are setting
> here are thus invalid. Fix this by processing opd section during
> module_finalize()
>
> Fixes: 5633e85b2c313 ("powerpc64: Add .opd based function descriptor dereference")
> Cc: stable at vger.kernel.org # v4.16
> Signed-off-by: Naveen N. Rao <naveen.n.rao at linux.vnet.ibm.com>
Applied to powerpc next, thanks.
https://git.kernel.org/powerpc/c/59fe7eaf3598a89cbcd72e645b1d08
cheers
More information about the Linuxppc-dev
mailing list