mirror of
git://git.yoctoproject.org/linux-yocto.git
synced 2025-10-22 23:13:01 +02:00
s390/vdso: Drop LBASE_VDSO
This constant is always "0", providing no value and making the logic harder to understand. Also prepare for a consolidation of the vdso linkerscript logic by aligning it with other architectures. Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Acked-by: Heiko Carstens <hca@linux.ibm.com> Link: https://lore.kernel.org/all/20241010-vdso-generic-base-v1-3-b64f0842d512@linutronix.de
This commit is contained in:
parent
ff435493d6
commit
98333a84e3
|
@ -12,9 +12,6 @@ int vdso_getcpu_init(void);
|
|||
|
||||
#endif /* __ASSEMBLY__ */
|
||||
|
||||
/* Default link address for the vDSO */
|
||||
#define VDSO_LBASE 0
|
||||
|
||||
#define __VVAR_PAGES 2
|
||||
|
||||
#define VDSO_VERSION_STRING LINUX_2.6.29
|
||||
|
|
|
@ -16,7 +16,7 @@ SECTIONS
|
|||
#ifdef CONFIG_TIME_NS
|
||||
PROVIDE(_timens_data = _vdso_data + PAGE_SIZE);
|
||||
#endif
|
||||
. = VDSO_LBASE + SIZEOF_HEADERS;
|
||||
. = SIZEOF_HEADERS;
|
||||
|
||||
.hash : { *(.hash) } :text
|
||||
.gnu.hash : { *(.gnu.hash) }
|
||||
|
|
|
@ -18,7 +18,7 @@ SECTIONS
|
|||
#ifdef CONFIG_TIME_NS
|
||||
PROVIDE(_timens_data = _vdso_data + PAGE_SIZE);
|
||||
#endif
|
||||
. = VDSO_LBASE + SIZEOF_HEADERS;
|
||||
. = SIZEOF_HEADERS;
|
||||
|
||||
.hash : { *(.hash) } :text
|
||||
.gnu.hash : { *(.gnu.hash) }
|
||||
|
|
Loading…
Reference in New Issue
Block a user