Commit 676155ab authored by Christophe Leroy's avatar Christophe Leroy Committed by Michael Ellerman

powerpc/vdso: Remove VDSO32_LBASE and VDSO64_LBASE

VDSO32_LBASE and VDSO64_LBASE are 0. Remove them to simplify code.
Signed-off-by: default avatarChristophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/6c4d6570d886bbe1cc471e8ca01602e4b4d9beb5.1601197618.git.christophe.leroy@csgroup.eu
parent e9090320
...@@ -4,10 +4,6 @@ ...@@ -4,10 +4,6 @@
#ifdef __KERNEL__ #ifdef __KERNEL__
/* Default link addresses for the vDSOs */
#define VDSO32_LBASE 0x0
#define VDSO64_LBASE 0x0
/* Default map addresses for 32bit vDSO */ /* Default map addresses for 32bit vDSO */
#define VDSO32_MBASE 0x100000 #define VDSO32_MBASE 0x100000
......
...@@ -17,7 +17,7 @@ ENTRY(_start) ...@@ -17,7 +17,7 @@ ENTRY(_start)
SECTIONS SECTIONS
{ {
PROVIDE(_vdso_datapage = . - PAGE_SIZE); PROVIDE(_vdso_datapage = . - PAGE_SIZE);
. = VDSO32_LBASE + SIZEOF_HEADERS; . = SIZEOF_HEADERS;
.hash : { *(.hash) } :text .hash : { *(.hash) } :text
.gnu.hash : { *(.gnu.hash) } .gnu.hash : { *(.gnu.hash) }
......
...@@ -17,7 +17,7 @@ ENTRY(_start) ...@@ -17,7 +17,7 @@ ENTRY(_start)
SECTIONS SECTIONS
{ {
PROVIDE(_vdso_datapage = . - PAGE_SIZE); PROVIDE(_vdso_datapage = . - PAGE_SIZE);
. = VDSO64_LBASE + SIZEOF_HEADERS; . = SIZEOF_HEADERS;
.hash : { *(.hash) } :text .hash : { *(.hash) } :text
.gnu.hash : { *(.gnu.hash) } .gnu.hash : { *(.gnu.hash) }
......
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