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

From: Alexander Sverdlin
Date: Tue Mar 13 2018 - 13:50:16 EST


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...

--
Best regards,
Alexander Sverdlin.