From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5221 invoked by alias); 7 Nov 2002 21:58:55 -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 5117 invoked from network); 7 Nov 2002 21:58:55 -0000 Received: from unknown (HELO gateway.sf.frob.com) (64.163.212.31) by sources.redhat.com with SMTP; 7 Nov 2002 21:58:55 -0000 Received: from magilla.sf.frob.com (magilla.sf.frob.com [198.49.250.228]) by gateway.sf.frob.com (Postfix) with ESMTP id 9FA89357E; Thu, 7 Nov 2002 13:58:53 -0800 (PST) Received: (from roland@localhost) by magilla.sf.frob.com (8.11.6/8.11.6) id gA7Lwqu29021; Thu, 7 Nov 2002 13:58:52 -0800 Date: Thu, 07 Nov 2002 13:58:00 -0000 Message-Id: <200211072158.gA7Lwqu29021@magilla.sf.frob.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit From: Roland McGrath To: davidm@hpl.hp.com Cc: libc-hacker@sources.redhat.com, hjl@lucon.org Subject: Re: patch to make init_array work (2nd version; resend) In-Reply-To: David Mosberger's message of Thursday, 7 November 2002 13:51:31 -0800 <15818.57443.807212.759018@napali.hpl.hp.com> X-Antipastobozoticataclysm: When George Bush projectile vomits antipasto on the Japanese. X-SW-Source: 2002-11/txt/msg00026.txt.bz2 > OK, I _think_ I understand your concern. Perhaps we could just change > the platform-specific start.S to pass a different _init/_fini function > which takes care of calling init_array/fini_array? If you think that > would work, I can take a stab at doing that for sysdeps/ia64/elf/start.S. That seems like a reasonable thing to do, though it's unfortunate it means changing all the platforms' start.S files. For preinit_array+init_array, start.S could just contain the code in the .init section, no? But probably it is better to write generic _init/_fini replacements in C.