summaryrefslogtreecommitdiffstats
path: root/ArmPkg/Library/CompilerIntrinsicsLib/Arm/moddi3.S
diff options
context:
space:
mode:
authorandrewfish <andrewfish@6f19259b-4bc3-4df7-8a09-765794883524>2010-03-17 02:29:12 +0000
committerandrewfish <andrewfish@6f19259b-4bc3-4df7-8a09-765794883524>2010-03-17 02:29:12 +0000
commit4e471bfd4de222ee74b45e1261b0796cc8441619 (patch)
tree1335dcb4f05f4ba0e8a55b0b78204562c1e1f895 /ArmPkg/Library/CompilerIntrinsicsLib/Arm/moddi3.S
parentbff4e9ea4f2acbca0ba03d501b55ac733cc9a8bb (diff)
downloadedk2-4e471bfd4de222ee74b45e1261b0796cc8441619.tar.gz
edk2-4e471bfd4de222ee74b45e1261b0796cc8441619.tar.bz2
edk2-4e471bfd4de222ee74b45e1261b0796cc8441619.zip
Update intrinsics for code sourcery gcc
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10262 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'ArmPkg/Library/CompilerIntrinsicsLib/Arm/moddi3.S')
-rw-r--r--ArmPkg/Library/CompilerIntrinsicsLib/Arm/moddi3.S9
1 files changed, 4 insertions, 5 deletions
diff --git a/ArmPkg/Library/CompilerIntrinsicsLib/Arm/moddi3.S b/ArmPkg/Library/CompilerIntrinsicsLib/Arm/moddi3.S
index 7af8d21683..6a3cb48802 100644
--- a/ArmPkg/Library/CompilerIntrinsicsLib/Arm/moddi3.S
+++ b/ArmPkg/Library/CompilerIntrinsicsLib/Arm/moddi3.S
@@ -14,10 +14,9 @@
.text
.align 2
- .globl ___moddi3
-___moddi3:
- @ args = 0, pretend = 0, frame = 8
- @ frame_needed = 1, uses_anonymous_args = 0
+ .globl ASM_PFX(__moddi3)
+
+ASM_PFX(__moddi3):
stmfd sp!, {r4, r5, r7, lr}
mov r4, r1, asr #31
add r7, sp, #8
@@ -36,7 +35,7 @@ ___moddi3:
subs r2, r2, r10
sbc r3, r3, r11
str ip, [sp, #0]
- bl ___udivmoddi4
+ bl ASM_PFX(__udivmoddi4)
ldrd r0, [sp, #8]
eor r0, r0, r4
eor r1, r1, r4