diff options
| author | kettenis <> | 2017-12-05 21:11:10 +0000 |
|---|---|---|
| committer | kettenis <> | 2017-12-05 21:11:10 +0000 |
| commit | 98ee56e4f08822b02aaa06c2d1c5b29fc8f1921c (patch) | |
| tree | 931d5d8cd7a8f53fd1858f833e51c82be0157683 /src/lib/libc/stdlib | |
| parent | 18630b1588538df9b732e385e1ca2642df0abc87 (diff) | |
| download | openbsd-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 '')
| -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) |
