From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12923 invoked by alias); 25 Sep 2002 04:55:28 -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 12906 invoked from network); 25 Sep 2002 04:55:28 -0000 Received: from unknown (HELO lacrosse.corp.redhat.com) (66.187.233.200) by sources.redhat.com with SMTP; 25 Sep 2002 04:55:28 -0000 Received: from free.redhat.lsd.ic.unicamp.br (aoliva2.cipe.redhat.com [10.0.1.156]) by lacrosse.corp.redhat.com (8.11.6/8.9.3) with ESMTP id g8P4tPP31391; Wed, 25 Sep 2002 00:55:26 -0400 Received: from free.redhat.lsd.ic.unicamp.br (localhost.localdomain [127.0.0.1]) by free.redhat.lsd.ic.unicamp.br (8.12.5/8.12.5) with ESMTP id g8P4tPxr026172; Wed, 25 Sep 2002 01:55:25 -0300 Received: (from aoliva@localhost) by free.redhat.lsd.ic.unicamp.br (8.12.5/8.12.5/Submit) id g8P4tP27026168; Wed, 25 Sep 2002 01:55:25 -0300 To: Roland McGrath Cc: Ulrich Drepper , GNU libc hacker Subject: Re: Fix _exit for Linux References: <200209250408.g8P48Pw19378@magilla.sf.frob.com> From: Alexandre Oliva Organization: GCC Team, Red Hat Date: Tue, 24 Sep 2002 21:55:00 -0000 In-Reply-To: <200209250408.g8P48Pw19378@magilla.sf.frob.com> Message-ID: User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2002-09/txt/msg00067.txt.bz2 On Sep 25, 2002, Roland McGrath wrote: >> -----BEGIN PGP SIGNED MESSAGE----- >> Hash: SHA1 >> >> Roland McGrath wrote: >> > I think you can just add the alias to sysdeps/unix/_exit.S instead. >> >> No. MIPS is one of the platforms without a functioning INLINE_SYSCALL >> implementation. They need __syscall_* entry points. > Yes, they need a __syscall_exit alias for _exit. Such that _exit calls itself recursively? (this was my first reading) I don't see any useful code in sysdeps/unix/_exit.S. Certainly not anything that resembles an actual system call. What do you mean? Perhaps that the syscall code generated by syscalls.list should define _exit as an alias to __syscall_exit? -- Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/ Red Hat GCC Developer aoliva@{redhat.com, gcc.gnu.org} CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org} Free Software Evangelist Professional serial bug killer