| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
ok miod@ deraadt@
|
|
|
|
|
|
|
|
|
|
| |
right __dso_handle and have dlopen'ed shared objects run their atexit handlers
when they get unloaded. This is what Linux does, and several ports depend on
this behaviour (and will crash upon exit without this chang).
Based on an earlier diff from matthew@
Tested by ajacoutot@
ok deraadt@
|
|
|
|
|
|
| |
GCC's documentation. Fixes GNU C++'s init_priority attribute.
ok miod
|
|
|
|
|
|
| |
executable and DSO (via crtbegin.c/crtbeginS.c). Not used yet, but
needed before GCC can start emitting -fstack-protector code that uses
them instead of __guard.
|
|
|
|
|
|
|
| |
bits of code and data. With this change gcc4 builds usable crt*.o on sparc64,
other architectures probably need some more love.
ok marco@, jsg@
|
|
|
|
|
|
| |
with minor differences.
okay kettenis@ drahn@
|
|
|
|
| |
ok kurt@, drahn@, miod@
|
| |
|
|
|
|
|
|
|
| |
stop most kde apps from burping all over the place on exit, which
means that, somehow, our destructors get registered twice... :-(
Okay drahn@
|
|
|
|
| |
ok drahn@, some time ago.
|
|
|
|
|
|
| |
be a section which code stubs (branches) can be added to initialize/destructor
This adds MD stubs to allow this to operate as expected. should fix wine
and behave according to ELF specs. ok miod@
|
|
|
|
| |
ok espie, millert
|
| |
|
| |
|
|
versions of these files.
Fixed a bug in ld.so in this, instead of scheduling the fini of each of
the shared libraries with atexit. schedule a function of ld.so itself
and it will walk all of the open libraries when the program exits.
otherwise a shared library could be dl_open()ed and then dl_close()d
and then it would not be mapped for the atexit processing.
TODO:
What if atexit is not found (process did not link against libc?)
Do shared libraries that are dl_closed have their global destructors run?
|