Skip to content

Commit 78eb84d

Browse files
committed
src/task.c: Use b instead of br instruction on armv7l
1 parent 6b04291 commit 78eb84d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/task.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -762,7 +762,7 @@ static void jl_start_fiber(jl_ucontext_t *lastt, jl_ucontext_t *t)
762762
asm(" mov sp, %0;\n"
763763
" mov lr, #0;\n" // Clear link register (lr) and frame pointer
764764
" mov fp, #0;\n" // (fp) to terminate unwinder.
765-
" br %1;\n" // call `fn` with fake stack frame
765+
" b %1;\n" // call `fn` with fake stack frame
766766
" udf #0" // abort
767767
: : "r" (stk), "r"(fn) : "memory" );
768768
#else

0 commit comments

Comments
 (0)