summaryrefslogtreecommitdiff
path: root/src/lib/libc/stdlib
diff options
context:
space:
mode:
authorkettenis <>2017-12-05 21:11:10 +0000
committerkettenis <>2017-12-05 21:11:10 +0000
commit98ee56e4f08822b02aaa06c2d1c5b29fc8f1921c (patch)
tree931d5d8cd7a8f53fd1858f833e51c82be0157683 /src/lib/libc/stdlib
parent18630b1588538df9b732e385e1ca2642df0abc87 (diff)
downloadopenbsd-98ee56e4f08822b02aaa06c2d1c5b29fc8f1921c.tar.gz
openbsd-98ee56e4f08822b02aaa06c2d1c5b29fc8f1921c.tar.bz2
openbsd-98ee56e4f08822b02aaa06c2d1c5b29fc8f1921c.zip
Remove DEF_STRONG(__cxa_thread_atexit_impl). This produces an unwanted
_libc___cxa_thread_atexit_impl reference on gcc architectures that breaks the build.
Diffstat (limited to 'src/lib/libc/stdlib')
-rw-r--r--src/lib/libc/stdlib/atexit.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/libc/stdlib/atexit.c b/src/lib/libc/stdlib/atexit.c
index dc117a3752..fe4d5bc79f 100644
--- a/src/lib/libc/stdlib/atexit.c
+++ b/src/lib/libc/stdlib/atexit.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: atexit.c,v 1.25 2017/12/05 13:45:31 kettenis Exp $ */ 1/* $OpenBSD: atexit.c,v 1.26 2017/12/05 21:11:10 kettenis Exp $ */
2/* 2/*
3 * Copyright (c) 2002 Daniel Hartmeier 3 * Copyright (c) 2002 Daniel Hartmeier
4 * All rights reserved. 4 * All rights reserved.
@@ -155,7 +155,6 @@ __cxa_thread_atexit_impl(void (*func)(void *), void *arg, void *dso)
155 155
156 return 0; 156 return 0;
157} 157}
158DEF_STRONG(__cxa_thread_atexit_impl);
159 158
160void 159void
161_thread_finalize(void) 160_thread_finalize(void)