This is the mail archive of the libc-alpha@sources.redhat.com 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: Where is dl_sysinfo_map defined?


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>


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