Re: Fast gettimeofday(2) and static linking

From: Marius Strobl <marius_at_alchemy.franken.de>
Date: Mon, 28 Jan 2013 16:45:17 +0100
On Fri, Jan 25, 2013 at 02:35:54PM +0200, Konstantin Belousov wrote:
> Bruce Evans reported that statically linked binaries on HEAD an stable/9
> use the syscall for gettimeofday(2) and clock_gettime(2). Apparently, this
> is due to my use of the weak reference to the __vdso* symbols in the
> libc implementations.
> 
> Patch below reworks the __vdso* attributes to only make the symbols
> weak, but keep the references strong. Since I have to add a stub for
> each architecture, I would like to ask non-x86 machines owners to test
> the patch.
> 

Hi Konstantin,

what's the appropriate way to test this?

Marius
Received on Mon Jan 28 2013 - 14:45:26 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:34 UTC