python-greenlet / greenlet

Lightweight in-process concurrent programming
Other
1.63k stars 247 forks source link

platform: riscv64: fix building with -fno-omit-frame-pointer #404

Open xypron opened 5 months ago

xypron commented 5 months ago

Register s0 is the frame-pointer register and must be handled separately.

This fixes building with -fno-omit-framepointer on riscv64 (#395). But as without the patch some unit tests fail (#403).