Add sysdeps/init_array to produce empty crt[in].o and use .preinit_array for gcrt1.o
[glibc.git] / sysdeps / generic / fork.h
blob623cae28dfa22d00ed09b8842ca36f44f733942c
1 /* Stub version of header for fork handling. Mainly to handle pthread_atfork
2 and friends. Outside dependencies:
4 UNREGISTER_ATFORK
5 If defined it must expand to a function call which takes one void*
6 parameter which is the DSO handle for the DSO which gets unloaded.
7 The function so called has to remove the atfork handlers registered
8 by this module. */