kaniini / libucontext

ucontext implementation featuring glibc-compatible ABI
Other
102 stars 41 forks source link

fix x86_64 register order for swapcontext #10

Closed fabled closed 6 years ago

fabled commented 6 years ago

rbp and rsi were reversed causing argument passing to fail since rsi is used to pass 2nd argument.

fixes #9

george-hopkins commented 6 years ago

Thank you for the fix and the immediate release!