File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ pub unsafe fn __aeabi_uidivmod() {
8
8
asm ! ( "push {lr}
9
9
sub sp, sp, #4
10
10
mov r2, sp
11
- bl __udivmodsi4
11
+ bl ___udivmodsi4
12
12
ldr r1, [sp]
13
13
add sp, sp, #4
14
14
pop {pc}" :: : "memory" : "volatile" ) ;
@@ -22,7 +22,7 @@ pub unsafe fn __aeabi_uldivmod() {
22
22
sub sp, sp, #16
23
23
add r4, sp, #8
24
24
str r4, [sp]
25
- bl __udivmoddi4
25
+ bl ___udivmoddi4
26
26
ldr r2, [sp, #8]
27
27
ldr r3, [sp, #12]
28
28
add sp, sp, #16
@@ -34,7 +34,7 @@ pub unsafe fn __aeabi_uldivmod() {
34
34
#[ cfg_attr( not( feature = "mangled-names" ) , no_mangle) ]
35
35
pub unsafe fn __aeabi_idivmod ( ) {
36
36
asm ! ( "push {r0, r1, r4, lr}
37
- bl __aeabi_idiv
37
+ bl ___aeabi_idiv
38
38
pop {r1, r2}
39
39
muls r2, r2, r0
40
40
subs r1, r1, r2
@@ -49,7 +49,7 @@ pub unsafe fn __aeabi_ldivmod() {
49
49
sub sp, sp, #16
50
50
add r4, sp, #8
51
51
str r4, [sp]
52
- bl __divmoddi4
52
+ bl ___divmoddi4
53
53
ldr r2, [sp, #8]
54
54
ldr r3, [sp, #12]
55
55
add sp, sp, #16
Original file line number Diff line number Diff line change @@ -210,6 +210,7 @@ macro_rules! intrinsics {
210
210
$( $rest: tt) *
211
211
) => (
212
212
#[ cfg( target_arch = "arm" ) ]
213
+ #[ cfg_attr( not( feature = "mangled-names" ) , no_mangle) ]
213
214
pub extern $abi fn $name( $( $argname: $ty) ,* ) -> $ret {
214
215
$( $body) *
215
216
}
You can’t perform that action at this time.
0 commit comments