| Commit message (Collapse) | Author | Age | Files | Lines | 
| | 
| 
| 
| 
| 
| 
|  | 
(w/ _dlctl reference) into static executables.  It's all Mark's code so
put his preferred copyright on it.
ok kettenis@
 | 
| | 
| 
| 
| 
| 
| 
|  | 
interface is also made available as __cxa_thread_atexit_impl to satisfy the
needs of GNU libstdc++.
ok guenther@, millert@
 | 
| | 
| 
| 
| 
| 
| 
| 
|  | 
Wrap __cxa_{atexit,finalize}() so the call from exit() goes direct
Switch regress/lib/libc/atexit/ to be built with -static so that it can
  still access __atexit*
ok millert@ jca@
 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| 
|  | 
The extra argument doesn't hurt genuine atexit handlers and this fixes a
bug where we didn't provide the argument (effectively passing garbage) for
functions registered with __cxa_atexit in the main executable.
Pointed out by Dmitriy Ivanov <dimitry@google.com> and Elliott Hughes
<enh@google.com>.
ok matthew@
 | 
| | 
| 
| 
| 
| 
| 
|  | 
move the call_depth decrement so it happens unconditionally and can
still return to 0 when called with dso!=NULL.
ok millert
 | 
| | 
| 
| 
|  | 
object destructors called at dlclose() time.  Inspired by similar changes in FreeBSD and NetBSD.
 | 
| |  | 
 | 
| | 
| 
| 
| 
|  | 
malloc.c gets the first mmap() call (since it depends on that, for its
sbrk(0) use). ok deraadt@
 | 
| | 
| 
| 
|  | 
first.
 | 
| | 
| 
| 
| 
|  | 
function pointers from the outside will segfault. Idea, hints and feedback
from deraadt. ok deraadt.
 | 
| | 
| 
| 
|  | 
Make sure everything uses {SYS,}LIBC_SCCS properly
 | 
|    | 
 |