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

From: Nam Cao

Date: Thu Jul 02 2026 - 04:23:46 EST


Thomas Weißschuh <thomas.weissschuh@xxxxxxxxxxxxx> 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@xxxxxxxxxxxxx>