Hi Alexander,

     * GCC supports a new option: -fno-plt

       Not all architectures support this option, and some other
       optimization features, such as lazy binding, may disable it.

The last paragraph looks confusing to be on both points.  '-fno-plt' is
implemented as a transformation during TreeSSA-to-RTL expansion, so it works
in a machine-independent manner; it's a no-op only if the target has no way to
turn on '-fPIC'.  Is that what you meant?

Yes.  Sorry about the confusion.

Second, lazy binding is not an optimization feature of GCC (it's implemented
as part of (e.g. glibc's) dynamic linker), so it's not quite right to say that
-fno-plt would be disabled by it.

OK - thank you for the correction.

Cheers
  Nick


Reply via email to