From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29816 invoked by alias); 24 May 2006 14:18:11 -0000 Received: (qmail 29807 invoked by uid 22791); 24 May 2006 14:18:10 -0000 X-Spam-Check-By: sourceware.org Received: from CPE-144-136-172-108.sa.bigpond.net.au (HELO grove.modra.org) (144.136.172.108) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 24 May 2006 14:18:08 +0000 Received: by bubble.grove.modra.org (Postfix, from userid 500) id 064CD47271; Wed, 24 May 2006 23:43:51 +0930 (CST) Date: Wed, 24 May 2006 17:05:00 -0000 From: Alan Modra To: "Peter S. Mazinger" Cc: "Peter S. Mazinger" , binutils@sourceware.org Subject: Re: weak and strong aliases for global data fail Message-ID: <20060524141351.GA25824@bubble.grove.modra.org> Mail-Followup-To: "Peter S. Mazinger" , "Peter S. Mazinger" , binutils@sourceware.org References: <20060523052712.GC12196@bubble.grove.modra.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4i 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/msg00437.txt.bz2 On Wed, May 24, 2006 at 03:16:26PM +0200, Peter S. Mazinger wrote: > I have only renamed the internally > used opt* to __opt* and provided a weak resp. strong alias to the > externally visible version Symbol aliases in ELF shared libs don't work as you think they should. This is not a bug in the compiler, linker, or ld.so. -- Alan Modra IBM OzLabs - Linux Technology Centre