From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19920 invoked by alias); 1 Mar 2002 00:58:57 -0000 Mailing-List: contact libc-hacker-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-hacker-owner@sources.redhat.com Received: (qmail 19856 invoked from network); 1 Mar 2002 00:58:53 -0000 Received: from unknown (HELO rwcrmhc54.attbi.com) (216.148.227.87) by sources.redhat.com with SMTP; 1 Mar 2002 00:58:53 -0000 Received: from ocean.lucon.org ([12.234.16.87]) by rwcrmhc54.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020301005853.NIIJ1214.rwcrmhc54.attbi.com@ocean.lucon.org>; Fri, 1 Mar 2002 00:58:53 +0000 Received: by ocean.lucon.org (Postfix, from userid 1000) id 5C8F7125C0; Thu, 28 Feb 2002 16:58:52 -0800 (PST) Date: Thu, 28 Feb 2002 16:58:00 -0000 From: "H . J . Lu" To: Ulrich Drepper Cc: GNU libc hacker , binutils@sources.redhat.com Subject: Re: [David Mosberger ] problem with unwind info for .init/.fini sections Message-ID: <20020228165851.A26168@lucon.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from drepper@redhat.com on Thu, Feb 28, 2002 at 02:37:47PM -0800 X-SW-Source: 2002-02/txt/msg00159.txt.bz2 On Thu, Feb 28, 2002 at 02:37:47PM -0800, Ulrich Drepper wrote: > Another mail from David. He'll eventually manage to get the mailing > list handler to accept his machine. > > From: David Mosberger > Content-Type: text/plain; charset=us-ascii > Content-Transfer-Encoding: 7bit > Message-ID: <15486.41523.514655.290242@napali.hpl.hp.com> > Date: Thu, 28 Feb 2002 13:33:39 -0800 > To: > Cc: "David Mosberger" , Cary Coutant , > , libc-hacker@sources.redhat.com > Subject: Re: [Linux-ia64] problem with unwind info for .init/.fini sections > In-Reply-To: <200202271920.LAA10765@adlmail.cup.hp.com> > References: <200202271920.LAA10765@adlmail.cup.hp.com> > X-Mailer: VM 7.01 under Emacs 21.1.1 > Reply-To: davidm@hpl.hp.com > X-URL: http://www.hpl.hp.com/personal/David_Mosberger/ > MIME-Version: 1.0 > > >>>>> On Wed, 27 Feb 2002 11:19:30 -0800, Cary Coutant said: > > >> I can think of two approaches: > >> ... > >> Anybody else have a better idea or other comments? > > Cary> (3) Use the .init_array and .fini_array sections instead. > > This would be by far the cleanest solution. > > How well is this supported in binutils at the moment? I see some > references to it, but am not sure whether there are any holes in its > support. > > Are there any reasons *not* to switch to .init_array/.fini_array as > the primary init/fini mechanism? Besides fixing the unwind problem, > it seems to me it's generally just a much cleaner solution and should > allow us to get rid of some rather ugly hacks in glibc. > > --david I am not sure if .init_array/.fini_array are supported. It will be nice to add them to binutils. H.J.