[PATCH] hp-timing for ppc32/64

Benjamin Herrenschmidt benh@kernel.crashing.org
Mon Nov 14 22:19:00 GMT 2005


> 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.




More information about the Libc-alpha mailing list