summaryrefslogtreecommitdiff
path: root/coroutine
diff options
context:
space:
mode:
authorPaul Jordan <paullj1@gmail.com>2020-04-01 02:15:20 +0100
committerSamuel Williams <samuel.williams@oriontransfer.co.nz>2020-04-01 15:49:02 +1300
commit0091fac1d8de07e86fef8315ba77609bed9dd7f5 (patch)
treef40871f6bfd3f660743a1f656d5fbe68a7e7b954 /coroutine
parent519a69b55c7c4a8c4f234f4d6ac7e4d018d3c42a (diff)
Patch assembly so that it aligns properly
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/2995
Diffstat (limited to 'coroutine')
-rw-r--r--coroutine/arm32/Context.S6
1 files changed, 5 insertions, 1 deletions
diff --git a/coroutine/arm32/Context.S b/coroutine/arm32/Context.S
index 195364fb65..b66db29622 100644
--- a/coroutine/arm32/Context.S
+++ b/coroutine/arm32/Context.S
@@ -5,9 +5,13 @@
## Copyright, 2018, by Samuel Williams.
##
+.file "Context.S"
.text
-
.globl coroutine_transfer
+.align 2
+.type coroutine_transfer,%function
+.syntax unified
+
coroutine_transfer:
# Save caller state (8 registers + return address)
push {r4-r11,lr}