This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug driver/66737] ld: warning: -z bndplt ignored
- From: "hjl.tools at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 16 Jul 2015 14:32:48 +0000
- Subject: [Bug driver/66737] ld: warning: -z bndplt ignored
- Auto-submitted: auto-generated
- References: <bug-66737-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66737
--- Comment #3 from H.J. Lu <hjl.tools at gmail dot com> ---
(In reply to Ilya Enkovich from comment #1)
> Why don't we need it for 32bit? What if we use calling convention allowing
> args on registers?
You can only safely pass arguments in registers when calling internal
functions, which don't use PLT.