Browse Source

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>
Andy Lutomirski 11 years ago
parent
commit
2b6f2e649f
3 changed files with 3 additions and 16 deletions
  1. 1 6
      arch/x86/vdso/vdso.lds.S
  2. 1 4
      arch/x86/vdso/vdso32/vdso32.lds.S
  3. 1 6
      arch/x86/vdso/vdsox32.lds.S

+ 1 - 6
arch/x86/vdso/vdso.lds.S

@@ -1,14 +1,11 @@
 /*
 /*
  * 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
- * values visible using the asm-x86/vdso.h macros from the kernel proper.
+ * the DSO.
  */
  */
 
 
-#define VDSO_PRELINK 0xffffffffff700000
 #include "vdso-layout.lds.S"
 #include "vdso-layout.lds.S"
 
 
 /*
 /*
@@ -28,5 +25,3 @@ VERSION {
 	local: *;
 	local: *;
 	};
 	};
 }
 }
-
-VDSO64_PRELINK = VDSO_PRELINK;

+ 1 - 4
arch/x86/vdso/vdso32/vdso32.lds.S

@@ -1,17 +1,14 @@
 /*
 /*
  * 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
- * values visible using the asm-x86/vdso.h macros from the kernel proper.
+ * the DSO.
  */
  */
 
 
 #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"
 
 

+ 1 - 6
arch/x86/vdso/vdsox32.lds.S

@@ -1,14 +1,11 @@
 /*
 /*
  * 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
- * values visible using the asm-x86/vdso.h macros from the kernel proper.
+ * the DSO.
  */
  */
 
 
-#define VDSO_PRELINK 0
 #include "vdso-layout.lds.S"
 #include "vdso-layout.lds.S"
 
 
 /*
 /*
@@ -24,5 +21,3 @@ VERSION {
 	local: *;
 	local: *;
 	};
 	};
 }
 }
-
-VDSOX32_PRELINK = VDSO_PRELINK;