Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libc/stdlib Drop TLS variant checks, emutls is enough fo...
details: https://anonhg.NetBSD.org/src/rev/cb859304e019
branches: trunk
changeset: 355144:cb859304e019
user: joerg <joerg%NetBSD.org@localhost>
date: Fri Jul 14 19:24:52 2017 +0000
description:
Drop TLS variant checks, emutls is enough for VAX and Sun2.
diffstat:
lib/libc/stdlib/exit.c | 7 ++-----
1 files changed, 2 insertions(+), 5 deletions(-)
diffs (33 lines):
diff -r ea104a4eff53 -r cb859304e019 lib/libc/stdlib/exit.c
--- a/lib/libc/stdlib/exit.c Fri Jul 14 19:24:12 2017 +0000
+++ b/lib/libc/stdlib/exit.c Fri Jul 14 19:24:52 2017 +0000
@@ -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 @@
{
#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)
Home |
Main Index |
Thread Index |
Old Index