From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10125 invoked by alias); 18 Jul 2003 20:56:25 -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 10118 invoked from network); 18 Jul 2003 20:56:25 -0000 Received: from unknown (HELO frothingslosh.sfbay.redhat.com) (66.187.237.200) by sources.redhat.com with SMTP; 18 Jul 2003 20:56:25 -0000 Received: from frothingslosh.sfbay.redhat.com (localhost.localdomain [127.0.0.1]) by frothingslosh.sfbay.redhat.com (8.12.8/8.12.8) with ESMTP id h6IKuO2m005263; Fri, 18 Jul 2003 13:56:24 -0700 Received: (from rth@localhost) by frothingslosh.sfbay.redhat.com (8.12.8/8.12.8/Submit) id h6IKuObJ005261; Fri, 18 Jul 2003 13:56:24 -0700 X-Authentication-Warning: frothingslosh.sfbay.redhat.com: rth set sender to rth@redhat.com using -f Date: Fri, 18 Jul 2003 20:56:00 -0000 From: Richard Henderson To: Bob Wilson Cc: binutils@sources.redhat.com Subject: Re: [RFC] unify dynamic_symbol_p implementations Message-ID: <20030718205624.GE5202@redhat.com> References: <200307181202.40668.bwilson@tensilica.com> <20030718195740.GA5202@redhat.com> <200307181309.14142.bwilson@tensilica.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200307181309.14142.bwilson@tensilica.com> User-Agent: Mutt/1.4i X-SW-Source: 2003-07/txt/msg00360.txt.bz2 On Fri, Jul 18, 2003 at 01:09:14PM -0700, Bob Wilson wrote: > The R_XTENSA_32 reloc used for the function address turns into an > R_XTENSA_GLOB_DAT reloc in the executable. The runtime linker > resolves this reloc at startup. Am I missing something? Really? Even with extern void foo(void); static void (* const bar) (void) = foo; Doesn't bar wind up in .rodata? And if so, it really shouldn't have a dynamic relocation against it. r~