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] hp-timing for ppc32/64


> AT_HWCAP is but dl_hwcap is not. The loader has to complete relocating 
> itself before it can call the functions the set up dl_hwcap etc 
> (dl_sysdep_start). Looking at the code it seems the HP_TIMING_NOW() is 
> being used very early in rtld.c (dl_start and dl_start_final), as far as I 
> can tell dl_hwcap is not available until the middle of dl_start_final(), 
> well after HP_TIMING needs to be functional. 

Can't you just parse the AT_ table yourself then ?

Ben.



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