This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PATCH: BZ #14557: __kernel_vsyscall unwind info is incorrect


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]