This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: Where is dl_sysinfo_map defined?
- From: Benjamin Herrenschmidt <benh at kernel dot crashing dot org>
- To: Steve Munroe <sjmunroe at us dot ibm dot com>
- Cc: Roland McGrath <roland at redhat dot com>, "H. J. Lu" <hjl at lucon dot org>, GNU C Library <libc-alpha at sources dot redhat dot com>
- Date: Mon, 04 Apr 2005 17:30:59 +1000
- Subject: Re: Where is dl_sysinfo_map defined?
- References: <OFBDE1D131.2B10ADC8-ON86256FD5.005ACF5F-86256FD5.005BBA7B@us.ibm.com>
On Thu, 2005-03-31 at 10:41 -0600, Steve Munroe wrote:
> libc-alpha-owner@sources.redhat.com wrote on 03/30/2005 08:15:18 PM:
>
> > It was an accidental commit of code that's not all in yet.
> > I've reverted it.
> >
>
> Do you plan to commit a change soon that will include dl_sysinfo_map?
>
> I suspect I will need that for my VDSO function vector hack. So far
> _dl_vsym calls like:
>
> kgtod = _dl_vsym(RTLD_DEFAULT, "__kernel_gettimeofday",
> "LINUX_2.6.11", &main);
Note that the final vDSO upstream has version LINUX_2.6.12, I don't know
if this has an impact for your here though.
> does not work unless I link my test case against the vdso64.so (which is
> not desired).
>
> So I assume that I need the address of the vdso link map struct
> (ds_sysinfo_map?) for the 1st parm of _dl_vsym?
>
> Steven J. Munroe
> Linux on Power Toolchain Architect
> IBM Corporation, Linux Technology Center
--
Benjamin Herrenschmidt <benh@kernel.crashing.org>