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

Alexander Monakov <amonakov at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |amonakov at gcc dot gnu.org

--- Comment #9 from Alexander Monakov <amonakov at gcc dot gnu.org> ---
(In reply to Cristian Rodríguez from comment #8)
> SO shall I flile a bug report to the linker instead? if -znow is used I
> would expect no plt used in the whole executable..

That is not a reasonable expectation. Direct calls use 5-byte encoding on x86,
the linker has no way to replace them with GOT-indirect calls (6 bytes).

In any case, '-z now' does not mean 'no PLT'. It means 'no lazy binding', and
PLT is still used where necessary.

Maybe you can explain why you expect that or what you seek to solve in the
first place?

Reply via email to