Remove DEF_STRONG(__cxa_thread_atexit_impl). This produces an unwanted
authorkettenis <kettenis@openbsd.org>
Tue, 5 Dec 2017 21:11:10 +0000 (21:11 +0000)
committerkettenis <kettenis@openbsd.org>
Tue, 5 Dec 2017 21:11:10 +0000 (21:11 +0000)
_libc___cxa_thread_atexit_impl reference on gcc architectures that breaks
the build.

lib/libc/stdlib/atexit.c

index dc117a3..fe4d5bc 100644 (file)
@@ -1,4 +1,4 @@
-/*     $OpenBSD: atexit.c,v 1.25 2017/12/05 13:45:31 kettenis Exp $ */
+/*     $OpenBSD: atexit.c,v 1.26 2017/12/05 21:11:10 kettenis Exp $ */
 /*
  * Copyright (c) 2002 Daniel Hartmeier
  * All rights reserved.
@@ -155,7 +155,6 @@ __cxa_thread_atexit_impl(void (*func)(void *), void *arg, void *dso)
 
        return 0;
 }
-DEF_STRONG(__cxa_thread_atexit_impl);
 
 void
 _thread_finalize(void)