htl: initialize first and prevent from unloading
libc does not have codepaths for reverting the load of a libpthread. * htl/Makefile (LDFLAGS-pthread.so): Pass -z nodelete -z initfirst to linker.
This commit is contained in:
parent
ea5cad3e37
commit
e2b9d562d1
@ -205,6 +205,7 @@ $(inst_libdir)/libpthread_syms.a: $(srcdir)/libpthread_syms.a $(+force)
|
||||
libc-link.so = $(common-objpfx)libc.so
|
||||
|
||||
extra-B-pthread.so = -B$(common-objpfx)htl/
|
||||
LDFLAGS-pthread.so = -Wl,--enable-new-dtags,-z,nodelete,-z,initfirst
|
||||
|
||||
include ../Rules
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user