[PATCH 0/3] riscv: alternative: Statically compute alternative section boundaries and patch compat vDSO

Nam Cao namcao at linutronix.de
Thu Jul 2 01:12:56 PDT 2026


Thomas Weißschuh <thomas.weissschuh at linutronix.de> writes:
> Currently the alternative sections are extracted from the vDSO
> binaries at runtime. This has runtime overhead and also doesn't
> work for the compat vDSO.
>
> Extract the offsets of the alternative section during the build with the
> existing symbol extraction machinery and use those.
>
> Also add support for the compat vDSO.

Reviewed-by: Nam Cao <namcao at linutronix.de>



More information about the linux-riscv mailing list