diff options
author | kettenis <> | 2017-12-05 21:11:10 +0000 |
---|---|---|
committer | kettenis <> | 2017-12-05 21:11:10 +0000 |
commit | 7da53371e3f1834ec38ccfc1cc4d04b153522f49 (patch) | |
tree | 931d5d8cd7a8f53fd1858f833e51c82be0157683 /src/lib | |
parent | bfd05667a48d9cd78ffd15858ceeda66e215fb5a (diff) | |
download | openbsd-7da53371e3f1834ec38ccfc1cc4d04b153522f49.tar.gz openbsd-7da53371e3f1834ec38ccfc1cc4d04b153522f49.tar.bz2 openbsd-7da53371e3f1834ec38ccfc1cc4d04b153522f49.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')
-rw-r--r-- | src/lib/libc/stdlib/atexit.c | 3 |
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 | } |
158 | DEF_STRONG(__cxa_thread_atexit_impl); | ||
159 | 158 | ||
160 | void | 159 | void |
161 | _thread_finalize(void) | 160 | _thread_finalize(void) |