From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32458 invoked by alias); 9 Dec 2002 21:36:53 -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 32436 invoked from network); 9 Dec 2002 21:36:53 -0000 Received: from unknown (HELO deimos.hpl.hp.com) (192.6.19.190) by sources.redhat.com with SMTP; 9 Dec 2002 21:36:53 -0000 Received: from hplms2.hpl.hp.com (hplms2.hpl.hp.com [15.0.152.33]) by deimos.hpl.hp.com (8.9.3 (PHNE_24419)/HPL-PA Relay) with ESMTP id NAA19402; Mon, 9 Dec 2002 13:36:52 -0800 (PST) Received: from napali.hpl.hp.com (napali.hpl.hp.com [15.4.89.123]) by hplms2.hpl.hp.com (8.10.2/8.10.2 HPL-PA Hub) with ESMTP id gB9LaqB08507; Mon, 9 Dec 2002 13:36:52 -0800 (PST) Received: from napali.hpl.hp.com (napali [127.0.0.1]) by napali.hpl.hp.com (8.12.3/8.12.3/Debian -4) with ESMTP id gB9LaqKu016617; Mon, 9 Dec 2002 13:36:52 -0800 Received: (from davidm@localhost) by napali.hpl.hp.com (8.12.3/8.12.3/Debian -4) id gB9Lap3O016613; Mon, 9 Dec 2002 13:36:51 -0800 From: David Mosberger MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15861.3315.718187.655250@napali.hpl.hp.com> Date: Mon, 09 Dec 2002 13:36:00 -0000 To: Roland McGrath Cc: libc-hacker@sources.redhat.com Subject: Re: patch to make init_array work (3nd version) In-Reply-To: <200212090913.gB99DDF04745@magilla.sf.frob.com> References: <15845.18613.38095.974630@napali.hpl.hp.com> <200212090913.gB99DDF04745@magilla.sf.frob.com> Reply-To: davidm@hpl.hp.com X-SW-Source: 2002-12/txt/msg00013.txt.bz2 >>>>> On Mon, 9 Dec 2002 01:13:13 -0800, Roland McGrath said: Roland> I reimplemented it myself. I put the functions called from Roland> start.S into libc.a and libc_nonshared.a with different Roland> versions for the two cases, so the correct behavior (calling Roland> the executable's preinit array or not) is selected at link Roland> time instead of using a kludge with run-time overhead. Cool, that is a much nicer solution. I'm glad that init_array will finally be working. Thanks, --david