[v4] Enable VDSO on x86_64 statically linked programs.
Commit Message
"Rafal Luzynski" <digitalfreak@lingonborough.com> writes:
> Rafael, does your email body contain a line consisting of only a single
> dot? I saw SMTP servers treating it as the end of message and removing
> everything below.
Not that I can see. It looks like just the patch is missing. The content
I have after what is in
https://sourceware.org/ml/libc-alpha/2018-11/msg00717.html is:
------------------------------------------------------------
From be1a08b6257b4043ffab0cae9f4f49f49e47d0b6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Rafael=20=C3=81vila=20de=20Esp=C3=ADndola?=
<rafael@espindo.la>
Date: Mon, 26 Nov 2018 08:14:39 -0800
Subject: [PATCH] Include missing header.
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(+)
------------------------------------------------------------
Cheers,
Rafael
@@ -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