[tip:x86/x32] x32: Drop non-__vdso weak symbols from the x32 VDSO

From: tip-bot for H. Peter Anvin
Date: Wed Feb 22 2012 - 23:50:11 EST


Commit-ID: 862ae3132dc393ab6ea750b9ee9e0e1c276b9abb
Gitweb: http://git.kernel.org/tip/862ae3132dc393ab6ea750b9ee9e0e1c276b9abb
Author: H. Peter Anvin <hpa@xxxxxxxxx>
AuthorDate: Wed, 22 Feb 2012 20:37:10 -0800
Committer: H. Peter Anvin <hpa@xxxxxxxxx>
CommitDate: Wed, 22 Feb 2012 20:40:07 -0800

x32: Drop non-__vdso weak symbols from the x32 VDSO

Drop the legacy weak symbols that don't carry the __vdso prefix from
the x32 VDSO. This is a new ABI and we don't need to support that
legacy; the actual libc will export the proper symbols.

Suggested-by: Andy Lutomirski <luto@xxxxxxx>
Link: http://lkml.kernel.org/r/4F42E171.9080005@xxxxxxx
Cc: H. J. Lu <hjl.tools@xxxxxxxxx>
Signed-off-by: H. Peter Anvin <hpa@xxxxxxxxx>
---
arch/x86/vdso/vdsox32.lds.S | 4 ----
1 files changed, 0 insertions(+), 4 deletions(-)

diff --git a/arch/x86/vdso/vdsox32.lds.S b/arch/x86/vdso/vdsox32.lds.S
index 373ca9a..62272aa 100644
--- a/arch/x86/vdso/vdsox32.lds.S
+++ b/arch/x86/vdso/vdsox32.lds.S
@@ -17,13 +17,9 @@
VERSION {
LINUX_2.6 {
global:
- clock_gettime;
__vdso_clock_gettime;
- gettimeofday;
__vdso_gettimeofday;
- getcpu;
__vdso_getcpu;
- time;
__vdso_time;
local: *;
};
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/