This is the mail archive of the libc-hacker@sources.redhat.com mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Fix _exit for Linux


On Sep 25, 2002, Roland McGrath <roland@redhat.com> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]