From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29327 invoked by alias); 5 Jan 2005 06:58:56 -0000 Mailing-List: contact binutils-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sources.redhat.com Received: (qmail 29232 invoked from network); 5 Jan 2005 06:58:42 -0000 Received: from unknown (HELO wigwam.mikroweb.hu) (193.17.175.2) by sourceware.org with SMTP; 5 Jan 2005 06:58:42 -0000 Received: from [10.1.43.89] (helo=mail.bridge.intra) by wigwam.mikroweb.hu with esmtp (Exim 4.34) id 1Cm57m-0006HH-2t; Wed, 05 Jan 2005 07:58:30 +0100 Received: from localhost (localhost [127.0.0.1]) by localhost (Postfix) with ESMTP id D11DE3B12; Wed, 5 Jan 2005 07:58:28 +0100 (CET) Received: from mail.bridge.intra ([127.0.0.1]) by localhost (lnx.bridge.intra [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 25098-01; Wed, 5 Jan 2005 07:58:10 +0100 (CET) Received: by mail.bridge.intra (Postfix, from userid 200) id CB39B3B14; Wed, 5 Jan 2005 07:58:05 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by mail.bridge.intra (Postfix) with ESMTP id 7D9083B12; Wed, 5 Jan 2005 07:58:05 +0100 (CET) Date: Wed, 05 Jan 2005 06:58:00 -0000 From: "Peter S. Mazinger" To: Daniel Jacobowitz Cc: binutils@sources.redhat.com Subject: Re: binutils 2.15 / gcc-3.3.5 (3.4.3) produce text relocations on arm In-Reply-To: <20050104183529.GA15976@nevyn.them.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-SW-Source: 2005-01/txt/msg00035.txt.bz2 On Tue, 4 Jan 2005, Daniel Jacobowitz wrote: > On Tue, Jan 04, 2005 at 06:16:56PM +0100, Peter S. Mazinger wrote: > > On Tue, 4 Jan 2005, Daniel Jacobowitz wrote: > > > > > On Tue, Jan 04, 2005 at 04:25:26PM +0100, Peter S. Mazinger wrote: > > > > Hello! > > > > > > > > I have tried some versions of binutils-2.15 (up to and including > > > > 2.15.94.0.2) in conjunction w/ gcc-3.3.5 and gcc-3.4.3, all combinations > > > > produce text relocations on x86 (using glibc / uclibc) in shared libs. > > > > Can't tell if gcc or binutils produce this, maybe a linker script? > > > > > > > > Please CC to me, thanks Peter > > > > > > Have you checked whether you are actually producing text relocations, > > > or just setting DT_TEXTREL? I just encountered another binutils ARM > > > bug which set DT_TEXTREL incorrectly. > > > > I have checked: readelf -d file | grep TEXT > > Then could you check whether any of the relocations are actually in the > text segment? How to do that? Could you provide me a patch for the ARM bug you have found (setting DT_TEXTREL incorrectly)? Thanks, Peter -- Peter S. Mazinger ID: 0xA5F059F2 Key fingerprint = 92A4 31E1 56BC 3D5A 2D08 BB6E C389 975E A5F0 59F2