diff options
author | Ulrich Drepper <drepper@redhat.com> | 2002-09-15 02:37:32 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2002-09-15 02:37:32 +0000 |
commit | 7ae4abe9af5d7c76c7ab01a72aebe307a06120e1 (patch) | |
tree | 18fca0dd7b02623bec5e7e8d1f39aae93f50c68a /include | |
parent | df17727a5efa1a5447e970e31cf9673a7f508fba (diff) | |
download | glibc-7ae4abe9af5d7c76c7ab01a72aebe307a06120e1.zip glibc-7ae4abe9af5d7c76c7ab01a72aebe307a06120e1.tar.gz glibc-7ae4abe9af5d7c76c7ab01a72aebe307a06120e1.tar.bz2 |
Update.
2002-09-14 Ulrich Drepper <drepper@redhat.com>
* include/unistd.h: Declare __exit_thread.
* sysdeps/generic/libc-start.c: Remove dummy_addr.
Wrap call to main in setjmp if HAVE_CANCELBUF is defined.
* sysdeps/unix/sysv/linux/exit-thread.S: New file.
* sysdeps/unix/sysv/linux/_exit.c: New file.
* sysdeps/unix/sysv/linux/i386/_exit.S: New file.
* sysdeps/unix/sysv/linux/Makefile [subdir==posix] (sysdep_routines):
Add exit-thread.
* configure.in: Add dl_iterate_phdr to test using -nostdlib.
Diffstat (limited to 'include')
-rw-r--r-- | include/unistd.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/unistd.h b/include/unistd.h index 289eb4b..26993d4 100644 --- a/include/unistd.h +++ b/include/unistd.h @@ -140,4 +140,8 @@ extern int __libc_enable_secure_internal attribute_hidden; /* Various internal function. */ extern void __libc_check_standard_fds (void); + +/* Special exit function which only terminates the current thread. */ +extern void __exit_thread (int val) __attribute__ ((noreturn)); + #endif |