diff options
author | Andrew Turner <andrew@FreeBSD.org> | 2015-07-09 21:02:40 +0000 |
---|---|---|
committer | Andrew Turner <andrew@FreeBSD.org> | 2015-07-09 21:02:40 +0000 |
commit | 3303004f1a63afe80f6d5ef583e24f9effaa82e4 (patch) | |
tree | 29aad34bb2b9a0b6b09c752e53032dcb4cd3bd4b /sys/libkern | |
parent | 6c50960be6c0cb66296beb6288334fdd909ad7d4 (diff) | |
download | src-test2-3303004f1a63afe80f6d5ef583e24f9effaa82e4.tar.gz src-test2-3303004f1a63afe80f6d5ef583e24f9effaa82e4.zip |
Notes
Diffstat (limited to 'sys/libkern')
-rw-r--r-- | sys/libkern/arm/aeabi_unwind.c | 3 | ||||
-rw-r--r-- | sys/libkern/arm/divsi3.S | 8 | ||||
-rw-r--r-- | sys/libkern/arm/ldivmod.S | 5 | ||||
-rw-r--r-- | sys/libkern/arm/ldivmod_helper.c | 4 | ||||
-rw-r--r-- | sys/libkern/arm/memcpy.S | 5 | ||||
-rw-r--r-- | sys/libkern/arm/memset.S | 5 |
6 files changed, 0 insertions, 30 deletions
diff --git a/sys/libkern/arm/aeabi_unwind.c b/sys/libkern/arm/aeabi_unwind.c index efaf58d3d0b3..18cf1d0f917a 100644 --- a/sys/libkern/arm/aeabi_unwind.c +++ b/sys/libkern/arm/aeabi_unwind.c @@ -35,7 +35,6 @@ __FBSDID("$FreeBSD$"); #define panic(x) (void)0 #endif -#ifdef __ARM_EABI__ /* We need to provide these functions never call them */ void __aeabi_unwind_cpp_pr0(void); void __aeabi_unwind_cpp_pr1(void); @@ -58,5 +57,3 @@ __aeabi_unwind_cpp_pr2(void) { panic("__aeabi_unwind_cpp_pr2"); } -#endif - diff --git a/sys/libkern/arm/divsi3.S b/sys/libkern/arm/divsi3.S index 46e7c63652cc..9b71b83ccc27 100644 --- a/sys/libkern/arm/divsi3.S +++ b/sys/libkern/arm/divsi3.S @@ -52,10 +52,8 @@ ENTRY_NP(__modsi3) END(__modsi3) ENTRY_NP(__udivsi3) -#ifdef __ARM_EABI__ EENTRY_NP(__aeabi_uidiv) EENTRY_NP(__aeabi_uidivmod) -#endif .L_udivide: /* r0 = r0 / r1; r1 = r0 % r1 */ eor r0, r1, r0 eor r1, r0, r1 @@ -76,17 +74,13 @@ EENTRY_NP(__aeabi_uidivmod) mov r0, r1 mov r1, #0 RET -#ifdef __ARM_EABI__ EEND(__aeabi_uidiv) EEND(__aeabi_uidivmod) -#endif END(__udivsi3) ENTRY_NP(__divsi3) -#ifdef __ARM_EABI__ EENTRY_NP(__aeabi_idiv) EENTRY_NP(__aeabi_idivmod) -#endif .L_divide: /* r0 = r0 / r1; r1 = r0 % r1 */ eor r0, r1, r0 eor r1, r0, r1 @@ -400,9 +394,7 @@ EENTRY_NP(__aeabi_idivmod) addhs r3, r3, r2 mov r0, r3 RET -#ifdef __ARM_EABI__ EEND(__aeabi_idiv) EEND(__aeabi_idivmod) -#endif END(__divsi3) diff --git a/sys/libkern/arm/ldivmod.S b/sys/libkern/arm/ldivmod.S index 26a3944e2cd5..95f816b62c2d 100644 --- a/sys/libkern/arm/ldivmod.S +++ b/sys/libkern/arm/ldivmod.S @@ -28,8 +28,6 @@ #include <machine/asm.h> __FBSDID("$FreeBSD$"); -#ifdef __ARM_EABI__ - /* * These calculate: * q = n / m @@ -64,6 +62,3 @@ ENTRY_NP(__aeabi_uldivmod) ldmfd sp!, {r2, r3} /* Load the remainder */ RET END(__aeabi_uldivmod) - -#endif - diff --git a/sys/libkern/arm/ldivmod_helper.c b/sys/libkern/arm/ldivmod_helper.c index 9061ae4b264d..f3c02b2478d5 100644 --- a/sys/libkern/arm/ldivmod_helper.c +++ b/sys/libkern/arm/ldivmod_helper.c @@ -28,7 +28,6 @@ #include <sys/cdefs.h> __FBSDID("$FreeBSD$"); -#ifdef __ARM_EABI__ #include <libkern/quad.h> /* @@ -48,6 +47,3 @@ __kern_ldivmod(long long n, long long m, long long *rem) return q; } - -#endif - diff --git a/sys/libkern/arm/memcpy.S b/sys/libkern/arm/memcpy.S index 3703195e11d3..dd3dea11047b 100644 --- a/sys/libkern/arm/memcpy.S +++ b/sys/libkern/arm/memcpy.S @@ -28,8 +28,6 @@ #include <machine/asm.h> __FBSDID("$FreeBSD$"); -#ifdef __ARM_EABI__ - ENTRY_NP(__aeabi_memcpy) EENTRY_NP(__aeabi_memcpy4) EENTRY_NP(__aeabi_memcpy8) @@ -37,6 +35,3 @@ EENTRY_NP(__aeabi_memcpy8) EEND(__aeabi_memcpy8) EEND(__aeabi_memcpy4) END(__aeabi_memcpy) - -#endif - diff --git a/sys/libkern/arm/memset.S b/sys/libkern/arm/memset.S index 57d2507ad6ec..dd06e6b0ed68 100644 --- a/sys/libkern/arm/memset.S +++ b/sys/libkern/arm/memset.S @@ -28,8 +28,6 @@ #include <machine/asm.h> __FBSDID("$FreeBSD$"); -#ifdef __ARM_EABI__ - /* * This implements * void __aeabi_memset(void *dest, size_t len, int c) @@ -44,6 +42,3 @@ ENTRY_NP(__aeabi_memset) mov r1, r3 b memset END(__aeabi_memset) - -#endif - |