Commit 2b6f2e64 authored by Andy Lutomirski's avatar Andy Lutomirski Committed by H. Peter Anvin

x86, vdso: Remove vestiges of VDSO_PRELINK and some outdated comments

These definitions had no effect.
Signed-off-by: default avatarAndy Lutomirski <luto@amacapital.net>
Link: http://lkml.kernel.org/r/946c104e40c47319f8ab406e54118799cb55bd99.1399317206.git.luto@amacapital.netSigned-off-by: default avatarH. Peter Anvin <hpa@linux.intel.com>
parent f40c3300
/* /*
* Linker script for 64-bit vDSO. * Linker script for 64-bit vDSO.
* We #include the file to define the layout details. * We #include the file to define the layout details.
* Here we only choose the prelinked virtual address.
* *
* This file defines the version script giving the user-exported symbols in * This file defines the version script giving the user-exported symbols in
* the DSO. We can define local symbols here called VDSO* to make their * the DSO.
* values visible using the asm-x86/vdso.h macros from the kernel proper.
*/ */
#define VDSO_PRELINK 0xffffffffff700000
#include "vdso-layout.lds.S" #include "vdso-layout.lds.S"
/* /*
...@@ -28,5 +25,3 @@ VERSION { ...@@ -28,5 +25,3 @@ VERSION {
local: *; local: *;
}; };
} }
VDSO64_PRELINK = VDSO_PRELINK;
/* /*
* Linker script for 32-bit vDSO. * Linker script for 32-bit vDSO.
* We #include the file to define the layout details. * We #include the file to define the layout details.
* Here we only choose the prelinked virtual address.
* *
* This file defines the version script giving the user-exported symbols in * This file defines the version script giving the user-exported symbols in
* the DSO. We can define local symbols here called VDSO* to make their * the DSO.
* values visible using the asm-x86/vdso.h macros from the kernel proper.
*/ */
#include <asm/page.h> #include <asm/page.h>
#define BUILD_VDSO32 #define BUILD_VDSO32
#define VDSO_PRELINK 0
#include "../vdso-layout.lds.S" #include "../vdso-layout.lds.S"
......
/* /*
* Linker script for x32 vDSO. * Linker script for x32 vDSO.
* We #include the file to define the layout details. * We #include the file to define the layout details.
* Here we only choose the prelinked virtual address.
* *
* This file defines the version script giving the user-exported symbols in * This file defines the version script giving the user-exported symbols in
* the DSO. We can define local symbols here called VDSO* to make their * the DSO.
* values visible using the asm-x86/vdso.h macros from the kernel proper.
*/ */
#define VDSO_PRELINK 0
#include "vdso-layout.lds.S" #include "vdso-layout.lds.S"
/* /*
...@@ -24,5 +21,3 @@ VERSION { ...@@ -24,5 +21,3 @@ VERSION {
local: *; local: *;
}; };
} }
VDSOX32_PRELINK = VDSO_PRELINK;
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment