1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Order of arguments might be incorrect in arm32 coroutine implementation.

This commit is contained in:
Samuel Williams 2019-06-25 17:04:04 +12:00
parent e09afd15b7
commit dbe232e24e

View file

@ -9,6 +9,10 @@
.globl coroutine_transfer
coroutine_transfer:
stmia r1!, {r4-r11,sp,lr}
ldmia r0!, {r4-r11,sp,pc}
stmia r0!, {r4-r11,sp,lr}
ldmia r1!, {r4-r11,sp,pc}
bx lr
#if defined(__linux__) && defined(__ELF__)
.section .note.GNU-stack,"",%progbits
#endif