diff options
author | Nicolas Pitre <nico@cam.org> | 2006-01-14 16:18:29 +0000 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2006-01-14 16:18:29 +0000 |
commit | ba95e4e4a0a8a3c6aba363d45f78d5f2e2d111eb (patch) | |
tree | 886cf3398d3a8e9ca3212dcf233b59110fc87d3d /arch/arm/lib/ucmpdi2.S | |
parent | 499b2ea11ff00c624d63af23516404fa2156639a (diff) | |
download | blackbird-op-linux-ba95e4e4a0a8a3c6aba363d45f78d5f2e2d111eb.tar.gz blackbird-op-linux-ba95e4e4a0a8a3c6aba363d45f78d5f2e2d111eb.zip |
[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.S | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/arch/arm/lib/ucmpdi2.S b/arch/arm/lib/ucmpdi2.S index 112630f93e5d..d847a62834cb 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 + |