[Bug driver/66737] ld: warning: -z bndplt ignored

hjl.tools at gmail dot com gcc-bugzilla@gcc.gnu.org
Thu Jul 16 13:40:00 GMT 2015


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

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2015-07-16
   Target Milestone|---                         |6.0
     Ever confirmed|0                           |1

--- Comment #2 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?

We don't need it for 32-bit.  That is the bug here.  -z bndplt should be
passed to linker only for 64-bit.



More information about the Gcc-bugs mailing list