From 8939f32ebf197b0f28039f523c9a01c9982756f3 Mon Sep 17 00:00:00 2001 From: Lokathor Date: Fri, 9 Dec 2022 14:01:04 -0700 Subject: [PATCH] refer to other symbols properly. --- src/mem_fns.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/mem_fns.rs b/src/mem_fns.rs index 4b33d3d..cd58f44 100644 --- a/src/mem_fns.rs +++ b/src/mem_fns.rs @@ -623,7 +623,8 @@ unsafe extern "C" fn __aeabi_uread8(address: *const c_void) -> u64 { "orr r1, r1, r2, lsl #16", "ldrb r2, [r0, #7]", "orr r1, r1, r2, lsl #24", - "b __aeabi_uread4", + "b {__aeabi_uread4}", + __aeabi_uread4 = sym __aeabi_uread4, options(noreturn), ) }