On Sep 16, 2002, Ulrich Drepper 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.