PATCH: BZ #14557: __kernel_vsyscall unwind info is incorrect

H.J. Lu hjl.tools@gmail.com
Tue Sep 25 00:42:00 GMT 2012


On Mon, Sep 24, 2012 at 1:45 PM, Roland McGrath <roland@hack.frob.com> wrote:
> Perhaps it would be cleaner just to put the vDSO entry onto the _ns_loaded
> list in the static case as the dynamic linker does.  I'm not sure off hand
> what other bits of functionality this might enable, but it seems like there
> might be some.  I can vaguely imagine there might be some downside too, but
> I don't know what it would be.

I have thought about and couldn't find any other benefits of putting the
vDSO entry onto the _ns_loaded.  To properly populate _ns_loaded,
we need to duplicate rtld.c's GLRO(dl_sysinfo_dso) handling in
dl-support.c, which calls other dynamic linker functions.  I don't know
if they are all supported in libc.a.  I can give it a try.

-- 
H.J.



More information about the Libc-alpha mailing list