Module Name: src
Committed By: joerg
Date: Fri Jul 14 19:24:52 UTC 2017
Modified Files:
src/lib/libc/stdlib: exit.c
Log Message:
Drop TLS variant checks, emutls is enough for VAX and Sun2.
To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 src/lib/libc/stdlib/exit.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/lib/libc/stdlib/exit.c
diff -u src/lib/libc/stdlib/exit.c:1.16 src/lib/libc/stdlib/exit.c:1.17
--- src/lib/libc/stdlib/exit.c:1.16 Tue Jul 11 15:21:35 2017
+++ src/lib/libc/stdlib/exit.c Fri Jul 14 19:24:52 2017
@@ -1,4 +1,4 @@
-/* $NetBSD: exit.c,v 1.16 2017/07/11 15:21:35 joerg Exp $ */
+/* $NetBSD: exit.c,v 1.17 2017/07/14 19:24:52 joerg Exp $ */
/*-
* Copyright (c) 1990, 1993
@@ -34,11 +34,10 @@
#if 0
static char sccsid[] = "@(#)exit.c 8.1 (Berkeley) 6/4/93";
#else
-__RCSID("$NetBSD: exit.c,v 1.16 2017/07/11 15:21:35 joerg Exp $");
+__RCSID("$NetBSD: exit.c,v 1.17 2017/07/14 19:24:52 joerg Exp $");
#endif
#endif /* LIBC_SCCS and not lint */
-#include <sys/tls.h>
#include <stdlib.h>
#include <unistd.h>
#ifdef _LIBC
@@ -56,10 +55,8 @@ exit(int status)
{
#ifdef _LIBC
-# if defined(__HAVE_TLS_VARIANT_I) || defined(__HAVE_TLS_VARIANT_II)
if (__cxa_thread_atexit_used)
__cxa_thread_run_atexit();
-# endif
__cxa_finalize(NULL);
#endif
if (__cleanup)