aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/lib/ucmpdi2.S
diff options
context:
space:
mode:
authorNicolas Pitre <nico@cam.org>2006-01-14 16:18:29 +0000
committerRussell King <rmk+kernel@arm.linux.org.uk>2006-01-14 16:18:29 +0000
commitba95e4e4a0a8a3c6aba363d45f78d5f2e2d111eb (patch)
tree886cf3398d3a8e9ca3212dcf233b59110fc87d3d /arch/arm/lib/ucmpdi2.S
parent499b2ea11ff00c624d63af23516404fa2156639a (diff)
[ARM] 3104/1: ARM EABI: new helper function names
Patch from Nicolas Pitre The ARM EABI defines new names for GCC helper functions. Signed-off-by: Nicolas Pitre <nico@cam.org> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/lib/ucmpdi2.S')
-rw-r--r--arch/arm/lib/ucmpdi2.S14
1 files changed, 14 insertions, 0 deletions
diff --git a/arch/arm/lib/ucmpdi2.S b/arch/arm/lib/ucmpdi2.S
index 112630f93e5..d847a62834c 100644
--- a/arch/arm/lib/ucmpdi2.S
+++ b/arch/arm/lib/ucmpdi2.S
@@ -10,6 +10,7 @@
* published by the Free Software Foundation.
*/
+#include <linux/config.h>
#include <linux/linkage.h>
#ifdef __ARMEB__
@@ -33,3 +34,16 @@ ENTRY(__ucmpdi2)
movhi r0, #2
mov pc, lr
+#ifdef CONFIG_AEABI
+
+ENTRY(__aeabi_ulcmp)
+
+ cmp xh, yh
+ cmpeq xl, yl
+ movlo r0, #-1
+ moveq r0, #0
+ movhi r0, #1
+ mov pc, lr
+
+#endif
+