From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20331 invoked by alias); 31 Jul 2007 07:47:59 -0000 Received: (qmail 20321 invoked by uid 22791); 31 Jul 2007 07:47:58 -0000 X-Spam-Check-By: sourceware.org Received: from sunsite.ms.mff.cuni.cz (HELO sunsite.mff.cuni.cz) (195.113.15.26) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 31 Jul 2007 07:47:52 +0000 Received: from sunsite.mff.cuni.cz (localhost.localdomain [127.0.0.1]) by sunsite.mff.cuni.cz (8.13.8/8.13.8) with ESMTP id l6V7qcGo006773 for ; Tue, 31 Jul 2007 09:52:38 +0200 Received: (from jakub@localhost) by sunsite.mff.cuni.cz (8.13.8/8.13.8/Submit) id l6V7qc1r006772 for binutils@sourceware.org; Tue, 31 Jul 2007 09:52:38 +0200 Date: Tue, 31 Jul 2007 11:50:00 -0000 From: Jakub Jelinek To: binutils@sourceware.org Subject: Re: better detection of old powerpc bss-plt objects Message-ID: <20070731075238.GY4603@sunsite.mff.cuni.cz> Reply-To: Jakub Jelinek References: <20070511063737.GB12499@bubble.grove.modra.org> <20070730191954.GX4603@sunsite.mff.cuni.cz> <20070731003906.GA23966@bubble.grove.modra.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070731003906.GA23966@bubble.grove.modra.org> User-Agent: Mutt/1.4.2.2i Mailing-List: contact binutils-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sourceware.org X-SW-Source: 2007-07/txt/msg00541.txt.bz2 On Tue, Jul 31, 2007 at 10:09:06AM +0930, Alan Modra wrote: > On Mon, Jul 30, 2007 at 09:19:55PM +0200, Jakub Jelinek wrote: > > After this change executables with all objects built with -msecure-plt > > (that's what we default in gcc for quite some time on ppc32), as an > > example e.g. coreutils, but even int main () { return 0; } will do, > > are suddenly using BSS PLT rather than the new > > secure PLT. > > Is that still the case? A bug fix went in 2007-06-27. You are right and I'm terribly sorry for posting without spending enough time to investigate it. The binutils I was using was from mid June. Your patch fixes this perfectly, thanks. Jakub