[PATCH] powerpc/vdso: allow r30 in vDSO code generation of getrandom
Michael Ellerman
patch-notifications at ellerman.id.au
Mon Sep 30 21:36:04 AEST 2024
On Wed, 25 Sep 2024 19:50:22 +0200, Jason A. Donenfeld wrote:
> For gettimeofday, -ffixed-r30 was passed to work around a bug in Go
> code, where the vDSO trampoline forgot to save and restore this register
> across function calls. But Go requires a different trampoline for every
> call, and there's no reason that new Go code needs to be broken and add
> more bugs. So remove -ffixed-r30 for getrandom.
>
>
> [...]
Applied to powerpc/fixes.
[1/1] powerpc/vdso: allow r30 in vDSO code generation of getrandom
https://git.kernel.org/powerpc/c/4b058c9f281f5b100efbf665dd5a1a05e1654d6d
cheers
More information about the Linuxppc-dev
mailing list