tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: sharing mutex between libc stub and libpthread



Emmanuel Dreyfus <manu%netbsd.org@localhost> wrote:

> I started writing ATF tests for the removal of libpthread NOLOAD
(...)
For whoever may be interested, the ATF tests:
http://ftp.espci.fr/shadow/manu/atf-dlopen.tgz

So far the only change that passes the tests is the modification 
of ld.elf_so so that dlopen succeeds on DSO with NOLOAD flag, but does 
not really load them:
http://ftp.espci.fr/shadow/manu/dlopen3.patch

I know this has been called a hack, but note the change is minimal
and involved only for the troublesome case. There is no performance 
hit, no ABI change

-- 
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
manu%netbsd.org@localhost


Home | Main Index | Thread Index | Old Index