This is the mail archive of the
mailing list for the GCC project.
Re: May 2015 Toolchain Update
- From: Nicholas Clifton <nickc at redhat dot com>
- To: Alexander Monakov <amonakov at ispras dot ru>
- Cc: gcc at gcc dot gnu dot org
- Date: Mon, 18 May 2015 14:11:14 +0100
- Subject: Re: May 2015 Toolchain Update
- Authentication-results: sourceware.org; auth=none
- References: <87r3qeutgu dot fsf at redhat dot com> <alpine dot LNX dot 2 dot 11 dot 1505181232120 dot 22867 at monopod dot intra dot ispras dot ru>
* 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.