From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4628 invoked by alias); 24 May 2006 13:23:47 -0000 Received: (qmail 4609 invoked by uid 22791); 24 May 2006 13:23:46 -0000 X-Spam-Check-By: sourceware.org Received: from mail.gmx.net (HELO mail.gmx.net) (213.165.64.20) by sourceware.org (qpsmtpd/0.31) with SMTP; Wed, 24 May 2006 13:23:45 +0000 Received: (qmail invoked by alias); 24 May 2006 13:18:40 -0000 Received: from host-6.mikroweb.hu (EHLO mail.bridge.intra) [193.17.175.6] by mail.gmx.net (mp036) with SMTP; 24 May 2006 15:18:40 +0200 X-Authenticated: #507653 Received: from localhost (localhost [127.0.0.1]) by localhost (Postfix) with ESMTP id 5E7CEBA71; Wed, 24 May 2006 15:18:38 +0200 (CEST) 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 07650-01; Wed, 24 May 2006 15:18:22 +0200 (CEST) Received: by mail.bridge.intra (Postfix, from userid 200) id 29635BAA9; Wed, 24 May 2006 15:18:20 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by mail.bridge.intra (Postfix) with ESMTP id EA8F4BA71; Wed, 24 May 2006 15:18:20 +0200 (CEST) Date: Wed, 24 May 2006 15:34:00 -0000 From: "Peter S. Mazinger" To: Mike Frysinger cc: binutils@sourceware.org Subject: Re: weak and strong aliases for global data fail In-Reply-To: <200605220031.51867.vapier@gentoo.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Y-GMX-Trusted: 0 Mailing-List: contact binutils-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sourceware.org X-SW-Source: 2006-05/txt/msg00435.txt.bz2 On Mon, 22 May 2006, Mike Frysinger wrote: > On Wednesday 17 May 2006 07:19, Peter S. Mazinger wrote: > > Attached tests show a case, when a final binary is OK if > > compiled w/ -fPIC (or -fPIE, it does not have to be ET_DYN, but can be), > > else it fails if using aliases (both weak and strong) for global data. > > > > Sorry for the "big" test cases, I couldn't make them smaller. > > this is related to this thread on the glibc list: > http://sourceware.org/ml/libc-alpha/2006-04/msg00044.html > http://sourceware.org/ml/libc-alpha/2006-04/msg00048.html > -mike That seems to only be related to weak aliases, in my case it happens with strong aliases as well. Peter -- Peter S. Mazinger ID: 0xA5F059F2 Key fingerprint = 92A4 31E1 56BC 3D5A 2D08 BB6E C389 975E A5F0 59F2