fix ldso reserved library name handling
authorSzabolcs Nagy <nsz@port70.net>
Tue, 1 Nov 2016 01:49:09 +0000 (02:49 +0100)
committerRich Felker <dalias@aerifal.cx>
Mon, 7 Nov 2016 17:00:32 +0000 (12:00 -0500)
commit5ffe515ca485c8e6e57cd5acda6bc6008f85660c
tree99d377f4c22b97a642df989af8d1b6b3eb51ac3f
parent86e8cc0fd46f5789e80a16d68ae86f7358f64705
fix ldso reserved library name handling

If a DT_NEEDED entry was the prefix of a reserved library name
(up to the first dot) then it was incorrectly treated as a libc
reserved name.

e.g. libp.so dependency was not loaded as it matched libpthread
reserved name.
ldso/dynlink.c