Fix _exit for Linux
Alexandre Oliva
aoliva@redhat.com
Tue Sep 24 20:24:00 GMT 2002
On Sep 16, 2002, Ulrich Drepper <drepper@redhat.com> wrote:
> Jakub Jelinek wrote:
>> There is a difference between libc_hidden_def in .S files and in .c files.
>> In .S files it will work even if libc_hidden_proto () was not declared
>> in header files (usually the assembly doesn't even include those headers),
>> while if you use libc_hidden_{def,weak} without previous libc_hidden_proto,
>> things will break badly...
> Anyway, the _exit code can now be hidden. The implementation in glibc
> itself is now correct if compiled with the new kernel headers so there
> is no need to allow it to be overwritten. Let's change
> include/unistd.h and add hidden everywhere for _exit.
Apologies for the delay. Here's the patch that fixes the mips port
such that libc.so doesn't fail to link because __syscall_exit is not
defined.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: glibc-mips-_exit.patch
Type: text/x-patch
Size: 834 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-hacker/attachments/20020924/320fe66e/attachment.bin>
-------------- next part --------------
--
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
More information about the Libc-hacker
mailing list