Re: [PATCH 3/5] powerpc64: Add .opd based function descriptor dereference

Sergey Senozhatsky
2017-09-16T11:25:35Z

On (09/16/17 15:13), Naveen N. Rao wrote:
[..]
> Would it be simpler to just use kernel_text_address() and dereference
> everything else? See commit 83e840c770f2c5 ("powerpc64/elfv1: Only
> dereference function descriptor for non-text symbols") for a related
> patch.

I had this idea, see

lkml.kernel.org/r/20170908172528.qc2vdtxzqh777k6o@intel.com

-ss