From 730aeb2523fadd816b07e0e5322fb79841efc709 Mon Sep 17 00:00:00 2001 From: Yusuke Endoh Date: Tue, 25 Jun 2019 23:31:49 +0900 Subject: Revert 518adcca0a and dbe232e24e 518adcca0a: "Try using arm32 implementation for fibers." dbe232e24e: "Order of arguments might be incorrect in arm32 coroutine implementation." It seems to cause SEGV consistently on Ubuntu armv7l eabihf: https://rubyci.org/logs/rubyci.s3.amazonaws.com/scw-9d6766/ruby-master/log/20190625T081710Z.fail.html.gz https://rubyci.org/logs/rubyci.s3.amazonaws.com/scw-9d6766/ruby-master/log/20190625T111708Z.fail.html.gz --- coroutine/arm32/Context.S | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'coroutine') diff --git a/coroutine/arm32/Context.S b/coroutine/arm32/Context.S index b2bb2ae303..c2b93d0a34 100644 --- a/coroutine/arm32/Context.S +++ b/coroutine/arm32/Context.S @@ -9,10 +9,6 @@ .globl coroutine_transfer coroutine_transfer: - stmia r0!, {r4-r11,sp,lr} - ldmia r1!, {r4-r11,sp,pc} + stmia r1!, {r4-r11,sp,lr} + ldmia r0!, {r4-r11,sp,pc} bx lr - -#if defined(__linux__) && defined(__ELF__) -.section .note.GNU-stack,"",%progbits -#endif -- cgit v1.2.3