[Lazarus] EpikTimer v1.0.1 released

Henry Vermaak henry.vermaak at gmail.com
Wed Jun 18 13:24:05 CEST 2014


On Wed, Jun 18, 2014 at 12:27:03PM +0200, Michael Schnell wrote:
> On 06/06/2014 12:25 PM, Michael Van Canneyt wrote:
> >
> >
> >if you do a vDSO implementation, please do not limit the
> >implementation to the clock_gettime, but implement all calls that
> >support it.
> >
> 
> First testing results:
> 
> On Kernel 3.1.10 (32 bit):
>  -  I do find the vDSO ELF structure (always at  FFFFE000)
>  -  it seems to provide "__kernel_sigreturn",
> "__kernel_rt_sigreturn" , and "__kernel_vsyscall"
> 
> 
> On Kernel 3.2.0 64 bit, using a 32 Bit testing program:
>  -  I do find the vDSO ELF structure at (e.g. at F774300, the
> location varies for any program start. This behavior is documented
> for vDSO)
>  -  it also seems to provide "just __kernel_sigreturn",
> "__kernel_rt_sigreturn" , and "__kernel_vsyscall"
> 
> So I seem to be out of luck hoping for vDSO support for the
> performance counter or similar arch depending time-source access
> with 32 bit systems :-(

This is as documented in the vdso man page.  i386 only exports those 3
functions.  If your testing program is 32 bit, it won't give you the 64
bit vdso image, obviously.

Try with a 64 bit test program.

Henry




More information about the Lazarus mailing list