mirror of https://gitee.com/openkylin/linux.git
powerpc/vdso: Remove VDSO32_LBASE and VDSO64_LBASE
VDSO32_LBASE and VDSO64_LBASE are 0. Remove them to simplify code. Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/6c4d6570d886bbe1cc471e8ca01602e4b4d9beb5.1601197618.git.christophe.leroy@csgroup.eu
This commit is contained in:
parent
e90903203d
commit
676155ab23
|
@ -4,10 +4,6 @@
|
|||
|
||||
#ifdef __KERNEL__
|
||||
|
||||
/* Default link addresses for the vDSOs */
|
||||
#define VDSO32_LBASE 0x0
|
||||
#define VDSO64_LBASE 0x0
|
||||
|
||||
/* Default map addresses for 32bit vDSO */
|
||||
#define VDSO32_MBASE 0x100000
|
||||
|
||||
|
|
|
@ -17,7 +17,7 @@ ENTRY(_start)
|
|||
SECTIONS
|
||||
{
|
||||
PROVIDE(_vdso_datapage = . - PAGE_SIZE);
|
||||
. = VDSO32_LBASE + SIZEOF_HEADERS;
|
||||
. = SIZEOF_HEADERS;
|
||||
|
||||
.hash : { *(.hash) } :text
|
||||
.gnu.hash : { *(.gnu.hash) }
|
||||
|
|
|
@ -17,7 +17,7 @@ ENTRY(_start)
|
|||
SECTIONS
|
||||
{
|
||||
PROVIDE(_vdso_datapage = . - PAGE_SIZE);
|
||||
. = VDSO64_LBASE + SIZEOF_HEADERS;
|
||||
. = SIZEOF_HEADERS;
|
||||
|
||||
.hash : { *(.hash) } :text
|
||||
.gnu.hash : { *(.gnu.hash) }
|
||||
|
|
Loading…
Reference in New Issue