diff options
author | Marco Bodrato <bodrato@mail.dm.unipi.it> | 2015-12-14 18:50:05 +0100 |
---|---|---|
committer | Marco Bodrato <bodrato@mail.dm.unipi.it> | 2015-12-14 18:50:05 +0100 |
commit | 4e3536313f27bee75d205b2b23cda2fba8170c33 (patch) | |
tree | 50311276fd94e615da4f17c85fb793f89d05d638 /tests/arm32call.asm | |
parent | 59aba93c21b9602bb29324581e67c03cede8bf88 (diff) | |
download | gmp-4e3536313f27bee75d205b2b23cda2fba8170c33.tar.gz |
tests/arm32call.asm: bx->ret to support thumb-less chips
(thanks Martin Husemann).
Diffstat (limited to 'tests/arm32call.asm')
-rw-r--r-- | tests/arm32call.asm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/arm32call.asm b/tests/arm32call.asm index e689c5a4f..8cd7f45ff 100644 --- a/tests/arm32call.asm +++ b/tests/arm32call.asm @@ -59,7 +59,7 @@ PROLOGUE(calling_conventions) LEA( r12, calling_conventions_function) ldr r12, [r12] mov r14, pc - bx r12 + ret r12 LEA( r12, calling_conventions_values) @@ -79,5 +79,5 @@ PROLOGUE(calling_conventions) add r12, r12, #JUNK_PARAMS ldm r12, {r1-r3} - bx r14 + ret r14 EPILOGUE() |