summaryrefslogtreecommitdiff
path: root/ArmPkg/Library/CompilerIntrinsicsLib/Arm/divdi3.S
diff options
context:
space:
mode:
Diffstat (limited to 'ArmPkg/Library/CompilerIntrinsicsLib/Arm/divdi3.S')
-rw-r--r--ArmPkg/Library/CompilerIntrinsicsLib/Arm/divdi3.S7
1 files changed, 4 insertions, 3 deletions
diff --git a/ArmPkg/Library/CompilerIntrinsicsLib/Arm/divdi3.S b/ArmPkg/Library/CompilerIntrinsicsLib/Arm/divdi3.S
index b7d946ecc7..f5213d87cd 100644
--- a/ArmPkg/Library/CompilerIntrinsicsLib/Arm/divdi3.S
+++ b/ArmPkg/Library/CompilerIntrinsicsLib/Arm/divdi3.S
@@ -14,8 +14,9 @@
.text
.align 2
- .globl ___divdi3
-___divdi3:
+ .globl ASM_PFX(__divdi3)
+
+ASM_PFX(__divdi3):
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 1, uses_anonymous_args = 0
stmfd sp!, {r4, r5, r7, lr}
@@ -36,7 +37,7 @@ ___divdi3:
subs r0, r0, r10
sbc r1, r1, r11
str ip, [sp, #0]
- bl ___udivmoddi4
+ bl ASM_PFX(__udivmoddi4)
eor r2, r10, r4
eor r3, r10, r4
eor r0, r0, r2