[PATCH 0/2] riscv: vdso: Do not use LTO for the vDSO
Thomas Weißschuh
thomas.weissschuh at linutronix.de
Wed Jul 1 02:21:21 PDT 2026
With LTO enabled the compiler assumes that the vDSO functions are not
used and optimizes them away completely.
Disable LTO for the vDSO, as these functions are hand-optimized anyways.
Signed-off-by: Thomas Weißschuh <thomas.weissschuh at linutronix.de>
---
Thomas Weißschuh (2):
riscv: vdso: Do not use LTO for the vDSO
riscv: vdso: Simplify cflags remove logic
arch/riscv/kernel/vdso/Makefile | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
---
base-commit: dc59e4fea9d83f03bad6bddf3fa2e52491777482
change-id: 20260630-riscv-vdso-lto-2a5c6f021162
Best regards,
--
Thomas Weißschuh (Schneider Electric) <thomas.weissschuh at linutronix.de>
More information about the linux-riscv
mailing list