* sysdeps/generic/libc-start.c (__libc_start_main): Remove bogus
	comment.

	* sysdeps/generic/libc-start.c (__libc_start_main): Remove dummy_addr.
This commit is contained in:
Ulrich Drepper 2002-09-15 05:47:13 +00:00
parent 608c5afdcc
commit 17dd9f9009
2 changed files with 6 additions and 7 deletions

View File

@ -1,10 +1,13 @@
2002-09-14 Ulrich Drepper <drepper@redhat.com>
* sysdeps/generic/libc-start.c (__libc_start_main): Remove bogus
comment.
* test-skeleton.c (main): Provide more information in case waitpid
fails.
* include/unistd.h: Declare __exit_thread.
* sysdeps/generic/libc-start.c: Remove dummy_addr.
* sysdeps/generic/libc-start.c (__libc_start_main): 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.

View File

@ -145,12 +145,8 @@ BP_SYM (__libc_start_main) (int (*main) (int, char **, char **),
}
#ifdef HAVE_CANCELBUF
else
{
/* XXX We should free the thread-specific data. */
/* Not much left to do but to exit the thread, not the process. */
__exit_thread (0);
}
/* Not much left to do but to exit the thread, not the process. */
__exit_thread (0);
#endif
exit (result);