diff options
author | Timo Teräs <timo.teras@iki.fi> | 2010-04-22 05:53:43 +0000 |
---|---|---|
committer | Austin Foxley <austinf@cetoncorp.com> | 2010-04-22 08:56:16 -0700 |
commit | cfa1d49e87eae4d46e0f0d568627b210383534f3 (patch) | |
tree | 78e988ad9850c5e7a3e2e7026ffe34f793666efa /libpthread/linuxthreads/queue.h | |
parent | 279c728ee62e53eb055227695bc6fafb31a3a5f1 (diff) |
nptl: fix dynamic initialization of libpthread
If libpthread get's pulled in via dlopen(), we need to do libpthread
initialization in dlopen(). Achieve this by making initializer function
out of __pthread_initialize_minimal_internal. Add the proper linker
flags and make it callable multiple times.
Add also nodelete flag which ensures that libpthread will not get
unmapped after it's been loading. Though, ld.so does not yet
support this.
Signed-off-by: Timo Teräs <timo.teras@iki.fi>
Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
Diffstat (limited to 'libpthread/linuxthreads/queue.h')
0 files changed, 0 insertions, 0 deletions