https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109369

--- Comment #4 from Pali Rohár <pali at kernel dot org> ---
I wanted to point that marking _pei386_runtime_relocator() function with
__attribute__((used)) is working fine.

And whether _pei386_runtime_relocator() should participate in LTO at all? I
would rather ask, why not? Is there any specific reason why
_pei386_runtime_relocator() should not be compiled with LTO? I would expect
from gcc/ld that whole application can be compiled with LTO.

Reply via email to