[PATCH v4 2/2] ARM: ftrace: Add MODULE_PLTS support

Ard Biesheuvel ard.biesheuvel at linaro.org
Tue Mar 13 10:51:02 PDT 2018


On 13 March 2018 at 17:49, Alexander Sverdlin
<alexander.sverdlin at nokia.com> wrote:
> On 13/03/18 18:39, Ard Biesheuvel wrote:
>> if (IS_ENABLED(CONFIG_ARM_MODULE_PLTS))
>>     module_plt_alloc_fixed();
>
> Do you consider this a legal C code if without module-plts.o the function would not exist at all?
> That's too much relying on optimizer I think...
>

Yes, we rely on that in many different places in the kernel.



More information about the linux-arm-kernel mailing list