aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndy Lutomirski <luto@amacapital.net>2014-05-05 15:19:37 -0400
committerH. Peter Anvin <hpa@linux.intel.com>2014-05-05 16:19:07 -0400
commit2b6f2e649f7376d9871df63a9aa0b41efd464d74 (patch)
tree29f17389b5af4c85da7b5ed329df8eef46b3d759
parentf40c330091c7aa9956ab66f97a3abc8a68b67240 (diff)
x86, vdso: Remove vestiges of VDSO_PRELINK and some outdated comments
These definitions had no effect. Signed-off-by: Andy Lutomirski <luto@amacapital.net> Link: http://lkml.kernel.org/r/946c104e40c47319f8ab406e54118799cb55bd99.1399317206.git.luto@amacapital.net Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
-rw-r--r--arch/x86/vdso/vdso.lds.S7
-rw-r--r--arch/x86/vdso/vdso32/vdso32.lds.S5
-rw-r--r--arch/x86/vdso/vdsox32.lds.S7
3 files changed, 3 insertions, 16 deletions
diff --git a/arch/x86/vdso/vdso.lds.S b/arch/x86/vdso/vdso.lds.S
index b96b2677cad8..75e3404c83b1 100644
--- a/arch/x86/vdso/vdso.lds.S
+++ b/arch/x86/vdso/vdso.lds.S
@@ -1,14 +1,11 @@
1/* 1/*
2 * Linker script for 64-bit vDSO. 2 * Linker script for 64-bit vDSO.
3 * We #include the file to define the layout details. 3 * We #include the file to define the layout details.
4 * Here we only choose the prelinked virtual address.
5 * 4 *
6 * This file defines the version script giving the user-exported symbols in 5 * This file defines the version script giving the user-exported symbols in
7 * the DSO. We can define local symbols here called VDSO* to make their 6 * the DSO.
8 * values visible using the asm-x86/vdso.h macros from the kernel proper.
9 */ 7 */
10 8
11#define VDSO_PRELINK 0xffffffffff700000
12#include "vdso-layout.lds.S" 9#include "vdso-layout.lds.S"
13 10
14/* 11/*
@@ -28,5 +25,3 @@ VERSION {
28 local: *; 25 local: *;
29 }; 26 };
30} 27}
31
32VDSO64_PRELINK = VDSO_PRELINK;
diff --git a/arch/x86/vdso/vdso32/vdso32.lds.S b/arch/x86/vdso/vdso32/vdso32.lds.S
index f072095d6427..31056cf294bf 100644
--- a/arch/x86/vdso/vdso32/vdso32.lds.S
+++ b/arch/x86/vdso/vdso32/vdso32.lds.S
@@ -1,17 +1,14 @@
1/* 1/*
2 * Linker script for 32-bit vDSO. 2 * Linker script for 32-bit vDSO.
3 * We #include the file to define the layout details. 3 * We #include the file to define the layout details.
4 * Here we only choose the prelinked virtual address.
5 * 4 *
6 * This file defines the version script giving the user-exported symbols in 5 * This file defines the version script giving the user-exported symbols in
7 * the DSO. We can define local symbols here called VDSO* to make their 6 * the DSO.
8 * values visible using the asm-x86/vdso.h macros from the kernel proper.
9 */ 7 */
10 8
11#include <asm/page.h> 9#include <asm/page.h>
12 10
13#define BUILD_VDSO32 11#define BUILD_VDSO32
14#define VDSO_PRELINK 0
15 12
16#include "../vdso-layout.lds.S" 13#include "../vdso-layout.lds.S"
17 14
diff --git a/arch/x86/vdso/vdsox32.lds.S b/arch/x86/vdso/vdsox32.lds.S
index 62272aa2ae0a..46b991b578a8 100644
--- a/arch/x86/vdso/vdsox32.lds.S
+++ b/arch/x86/vdso/vdsox32.lds.S
@@ -1,14 +1,11 @@
1/* 1/*
2 * Linker script for x32 vDSO. 2 * Linker script for x32 vDSO.
3 * We #include the file to define the layout details. 3 * We #include the file to define the layout details.
4 * Here we only choose the prelinked virtual address.
5 * 4 *
6 * This file defines the version script giving the user-exported symbols in 5 * This file defines the version script giving the user-exported symbols in
7 * the DSO. We can define local symbols here called VDSO* to make their 6 * the DSO.
8 * values visible using the asm-x86/vdso.h macros from the kernel proper.
9 */ 7 */
10 8
11#define VDSO_PRELINK 0
12#include "vdso-layout.lds.S" 9#include "vdso-layout.lds.S"
13 10
14/* 11/*
@@ -24,5 +21,3 @@ VERSION {
24 local: *; 21 local: *;
25 }; 22 };
26} 23}
27
28VDSOX32_PRELINK = VDSO_PRELINK;