From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 41175 invoked by alias); 16 Jul 2015 13:40:57 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 41113 invoked by uid 48); 16 Jul 2015 13:40:53 -0000 From: "hjl.tools at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug driver/66737] ld: warning: -z bndplt ignored Date: Thu, 16 Jul 2015 13:40:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: driver X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: hjl.tools at gmail dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on target_milestone everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-07/txt/msg01435.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66737 H.J. Lu 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 --- (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.