[v4] Enable VDSO on x86_64 statically linked programs.
Commit Message
"Tulio Magno Quites Machado Filho" <tuliom@ascii.art.br> writes:
> Rafael Avila de Espindola <rafael@espindo.la> writes:
>
>> "Tulio Magno Quites Machado Filho" <tuliom@ascii.art.br> writes:
>>
>>> Rafael Avila de Espindola <rafael@espindo.la> writes:
>>>
>>>> The attached patch does just that. The changelog is
>>>
>>> The patch is missing.
>>
>> Oops. Attached now.
>
> There is nothing here again.
>
> Maybe the mailing list is removing your patch?
>
> I couldn't find a hint here:
> https://sourceware.org/ml/libc-alpha/2018-11/msg00717.html
That is odd.
I have been having DMARC problems with the list, but this is just
peculiar.
Trying to just copy and paste it.
Cheers,
Rafael
We need to include sysdep.h to make sure USE_VSYSCALL is defined.
---
sysdeps/unix/sysv/linux/sysdep-vdso.h | 2 ++
1 file changed, 2 insertions(+)
@@ -19,6 +19,8 @@
#ifndef SYSDEP_VDSO_LINUX_H
# define SYSDEP_VDSO_LINUX_H
+#include <sysdep.h>
+
#define VDSO_SYMBOL(__name) __vdso_##__name
#ifndef INTERNAL_VSYSCALL_CALL