[PATCH 3/8] i386, x86: Use libc_ifunc macro for time, gettimeofday.
Florian Weimer
fweimer@redhat.com
Wed Jul 6 11:42:00 GMT 2016
On 07/04/2016 03:45 PM, Stefan Liebler wrote:
>> I wonder if it possible to avoid some of the preprocessor magic by
>> introducing a separate x86_64 file.
> Do you mean moving x86/gettimeofday.c to x86_64/gettimeofday.c
> and get rid of #include <sysdeps/unix/sysv/linux/x86/gettimeofday.c>?
More like keeping the generic part in x86/gettimeofday.c, and overrides
in i386/gettimeofday.c and x86_64/gettimeofday.c. I was just wondering
if that would be simpler.
I just don't like all these convoluted preprocessor hacks.
Florian
More information about the Libc-alpha
mailing list