From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14531 invoked by alias); 23 May 2006 06:15:52 -0000 Received: (qmail 14517 invoked by uid 22791); 23 May 2006 06:15:51 -0000 X-Spam-Check-By: sourceware.org Received: from smtp.gentoo.org (HELO smtp.gentoo.org) (140.211.166.183) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 23 May 2006 06:15:46 +0000 Received: from localhost (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id 1BD1B64342 for ; Tue, 23 May 2006 06:15:44 +0000 (UTC) Received: from smtp.gentoo.org ([127.0.0.1]) by localhost (smtp.gentoo.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 18155-05-2 for ; Tue, 23 May 2006 06:15:41 +0000 (UTC) Received: from home.wh0rd.org (localhost [127.0.0.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTP id 128B8644E5 for ; Tue, 23 May 2006 06:15:37 +0000 (UTC) Received: (qmail 9988 invoked from network); 22 May 2006 00:28:37 -0400 Received: from unknown (HELO vapier) (192.168.0.2) by 192.168.0.1 with SMTP; 22 May 2006 00:28:37 -0400 From: Mike Frysinger To: binutils@sourceware.org Subject: Re: weak and strong aliases for global data fail Date: Tue, 23 May 2006 10:29:00 -0000 User-Agent: KMail/1.9.1 References: In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart3035284.PMMs4JNhNj"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200605220031.51867.vapier@gentoo.org> X-IsSubscribed: yes 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/msg00402.txt.bz2 --nextPart3035284.PMMs4JNhNj Content-Type: text/plain; charset="iso-8859-6" Content-Transfer-Encoding: 7bit Content-Disposition: inline Content-length: 503 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 --nextPart3035284.PMMs4JNhNj Content-Type: application/pgp-signature Content-length: 827 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (GNU/Linux) iQIVAwUARHE+t0FjO5/oN/WBAQJKFBAAwPBjNG8gyQ4zPAANj1P4xuP/JElIbFKu IvoS16pcxc5OyXQ+ncG0c54NlEbsqio6JF4+8U8zMJHp+NvY3QXHacB1H675XD24 D7H90tOGIwgAcWsZp+idrlgo1n6k5n/h0dY3MDXeoErrWMsH1Px6dJRG5T0M6hmW GjayNplwl9+hw3ulM/yYzXEQeODqgtPsKFUqjd0IzoS2wzjNqaE81qlkAOmrFJ0y Pkn5jhgxYs2yNHWDm5bum7uEj6WMbiEcWKDUzZbQuZG0l9jyDmhv+m5Ak0ZUBBjE 2y0rCDnR5Vj2qjOQ+NUvRbLw/2c4PCnM0w2JN1w1QfdV4ARynCbZHbak9hB1OEwE go5ey0EvS/FUCUuWpL7YUW0Yv1qLuVqOI+YlpkLhrclv0NiIsiJmNBdzly2jrQk/ OBwc0UTWUZXvGpHfS564sIKLgGTvlrYkMgfs/aAaA6C2gE72139U78fmQepB2MAX E2cY2MF0yCrsgjxVUjfko9hHelCbuv+ExwmH2ssxLhcIKxMCY/shcksF9QT0+bML DcZE4KCm4rBoVOdb5q1XoZEF+M6p19DE8Fkul/4l0Pp/MeC331IJYbvfhC7N5c+p AJXGiNTUHxRscPmSpPOAi1niPAZL0BZj8HtOmoW3MYjX5FpQwIf+O1bSNrEh/xCz 0WVhBOapnm0= =5M3w -----END PGP SIGNATURE----- --nextPart3035284.PMMs4JNhNj--