Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/external/bsd/compiler_rt/dist Import compiler-rt r204194...
details: https://anonhg.NetBSD.org/src/rev/146813b2ed18
branches: trunk
changeset: 327855:146813b2ed18
user: joerg <joerg%NetBSD.org@localhost>
date: Tue Mar 18 22:28:42 2014 +0000
description:
Import compiler-rt r204194. Fixes shift use in divide routines and const
correctness in gcc_personality_v0.c.
diffstat:
sys/external/bsd/compiler_rt/dist/lib/builtins/absvti2.c | 2 +-
sys/external/bsd/compiler_rt/dist/lib/builtins/addsf3.c | 3 +-
sys/external/bsd/compiler_rt/dist/lib/builtins/addvti3.c | 2 +-
sys/external/bsd/compiler_rt/dist/lib/builtins/ashlti3.c | 2 +-
sys/external/bsd/compiler_rt/dist/lib/builtins/ashrti3.c | 2 +-
sys/external/bsd/compiler_rt/dist/lib/builtins/clear_cache.c | 3 +-
sys/external/bsd/compiler_rt/dist/lib/builtins/clzti2.c | 2 +-
sys/external/bsd/compiler_rt/dist/lib/builtins/cmpti2.c | 2 +-
sys/external/bsd/compiler_rt/dist/lib/builtins/comparedf2.c | 21 +-
sys/external/bsd/compiler_rt/dist/lib/builtins/comparesf2.c | 21 +-
sys/external/bsd/compiler_rt/dist/lib/builtins/ctzti2.c | 2 +-
sys/external/bsd/compiler_rt/dist/lib/builtins/divdc3.c | 2 +-
sys/external/bsd/compiler_rt/dist/lib/builtins/divdf3.c | 3 +-
sys/external/bsd/compiler_rt/dist/lib/builtins/divdi3.c | 2 -
sys/external/bsd/compiler_rt/dist/lib/builtins/divmoddi4.c | 2 -
sys/external/bsd/compiler_rt/dist/lib/builtins/divmodsi4.c | 3 -
sys/external/bsd/compiler_rt/dist/lib/builtins/divsc3.c | 2 +-
sys/external/bsd/compiler_rt/dist/lib/builtins/divsf3.c | 3 +-
sys/external/bsd/compiler_rt/dist/lib/builtins/divsi3.c | 2 -
sys/external/bsd/compiler_rt/dist/lib/builtins/divti3.c | 4 +-
sys/external/bsd/compiler_rt/dist/lib/builtins/divxc3.c | 2 +-
sys/external/bsd/compiler_rt/dist/lib/builtins/enable_execute_stack.c | 5 +-
sys/external/bsd/compiler_rt/dist/lib/builtins/eprintf.c | 5 +-
sys/external/bsd/compiler_rt/dist/lib/builtins/extendsfdf2.c | 3 +-
sys/external/bsd/compiler_rt/dist/lib/builtins/ffsti2.c | 2 +-
sys/external/bsd/compiler_rt/dist/lib/builtins/fixdfdi.c | 2 +-
sys/external/bsd/compiler_rt/dist/lib/builtins/fixdfsi.c | 3 +-
sys/external/bsd/compiler_rt/dist/lib/builtins/fixdfti.c | 2 +-
sys/external/bsd/compiler_rt/dist/lib/builtins/fixsfti.c | 2 +-
sys/external/bsd/compiler_rt/dist/lib/builtins/fixunsdfti.c | 2 +-
sys/external/bsd/compiler_rt/dist/lib/builtins/fixunssfti.c | 2 +-
sys/external/bsd/compiler_rt/dist/lib/builtins/fixunsxfdi.c | 2 +-
sys/external/bsd/compiler_rt/dist/lib/builtins/fixunsxfsi.c | 2 +-
sys/external/bsd/compiler_rt/dist/lib/builtins/fixunsxfti.c | 2 +-
sys/external/bsd/compiler_rt/dist/lib/builtins/fixxfdi.c | 2 +-
sys/external/bsd/compiler_rt/dist/lib/builtins/fixxfti.c | 2 +-
sys/external/bsd/compiler_rt/dist/lib/builtins/floatdixf.c | 2 +-
sys/external/bsd/compiler_rt/dist/lib/builtins/floatsidf.c | 3 +-
sys/external/bsd/compiler_rt/dist/lib/builtins/floatsisf.c | 3 +-
sys/external/bsd/compiler_rt/dist/lib/builtins/floattidf.c | 4 +-
sys/external/bsd/compiler_rt/dist/lib/builtins/floattisf.c | 4 +-
sys/external/bsd/compiler_rt/dist/lib/builtins/floattixf.c | 4 +-
sys/external/bsd/compiler_rt/dist/lib/builtins/floatundidf.c | 1 -
sys/external/bsd/compiler_rt/dist/lib/builtins/floatundixf.c | 2 +-
sys/external/bsd/compiler_rt/dist/lib/builtins/floatunsidf.c | 3 +-
sys/external/bsd/compiler_rt/dist/lib/builtins/floatunsisf.c | 3 +-
sys/external/bsd/compiler_rt/dist/lib/builtins/floatuntidf.c | 4 +-
sys/external/bsd/compiler_rt/dist/lib/builtins/floatuntisf.c | 4 +-
sys/external/bsd/compiler_rt/dist/lib/builtins/floatuntixf.c | 4 +-
sys/external/bsd/compiler_rt/dist/lib/builtins/fp_lib.h | 3 +
sys/external/bsd/compiler_rt/dist/lib/builtins/gcc_personality_v0.c | 32 +-
sys/external/bsd/compiler_rt/dist/lib/builtins/int_lib.h | 14 +
sys/external/bsd/compiler_rt/dist/lib/builtins/lshrti3.c | 2 +-
sys/external/bsd/compiler_rt/dist/lib/builtins/moddi3.c | 8 +-
sys/external/bsd/compiler_rt/dist/lib/builtins/modsi3.c | 2 -
sys/external/bsd/compiler_rt/dist/lib/builtins/modti3.c | 10 +-
sys/external/bsd/compiler_rt/dist/lib/builtins/muldc3.c | 2 +-
sys/external/bsd/compiler_rt/dist/lib/builtins/mulodi4.c | 2 +-
sys/external/bsd/compiler_rt/dist/lib/builtins/mulosi4.c | 2 +-
sys/external/bsd/compiler_rt/dist/lib/builtins/muloti4.c | 2 +-
sys/external/bsd/compiler_rt/dist/lib/builtins/mulsc3.c | 2 +-
sys/external/bsd/compiler_rt/dist/lib/builtins/multi3.c | 2 +-
sys/external/bsd/compiler_rt/dist/lib/builtins/mulvdi3.c | 2 +-
sys/external/bsd/compiler_rt/dist/lib/builtins/mulvsi3.c | 2 +-
sys/external/bsd/compiler_rt/dist/lib/builtins/mulvti3.c | 2 +-
sys/external/bsd/compiler_rt/dist/lib/builtins/mulxc3.c | 2 +-
sys/external/bsd/compiler_rt/dist/lib/builtins/negdf2.c | 3 +-
sys/external/bsd/compiler_rt/dist/lib/builtins/negdi2.c | 2 +-
sys/external/bsd/compiler_rt/dist/lib/builtins/negti2.c | 2 +-
sys/external/bsd/compiler_rt/dist/lib/builtins/negvti2.c | 2 +-
sys/external/bsd/compiler_rt/dist/lib/builtins/paritydi2.c | 2 -
sys/external/bsd/compiler_rt/dist/lib/builtins/parityti2.c | 4 +-
sys/external/bsd/compiler_rt/dist/lib/builtins/popcountti2.c | 2 +-
sys/external/bsd/compiler_rt/dist/lib/builtins/powitf2.c | 2 +-
sys/external/bsd/compiler_rt/dist/lib/builtins/powixf2.c | 2 +-
sys/external/bsd/compiler_rt/dist/lib/builtins/subdf3.c | 3 -
sys/external/bsd/compiler_rt/dist/lib/builtins/subsf3.c | 2 -
sys/external/bsd/compiler_rt/dist/lib/builtins/subvti3.c | 2 +-
sys/external/bsd/compiler_rt/dist/lib/builtins/trampoline_setup.c | 5 +-
sys/external/bsd/compiler_rt/dist/lib/builtins/ucmpti2.c | 2 +-
sys/external/bsd/compiler_rt/dist/lib/builtins/udivdi3.c | 2 -
sys/external/bsd/compiler_rt/dist/lib/builtins/udivmoddi4.c | 92 +++-----
sys/external/bsd/compiler_rt/dist/lib/builtins/udivmodsi4.c | 3 -
sys/external/bsd/compiler_rt/dist/lib/builtins/udivmodti4.c | 96 ++++-----
sys/external/bsd/compiler_rt/dist/lib/builtins/udivti3.c | 4 +-
sys/external/bsd/compiler_rt/dist/lib/builtins/umoddi3.c | 2 -
sys/external/bsd/compiler_rt/dist/lib/builtins/umodsi3.c | 2 -
sys/external/bsd/compiler_rt/dist/lib/builtins/umodti3.c | 4 +-
sys/external/bsd/compiler_rt/dist/test/builtins/Unit/absvti2_test.c | 6 +-
sys/external/bsd/compiler_rt/dist/test/builtins/Unit/addvti3_test.c | 6 +-
sys/external/bsd/compiler_rt/dist/test/builtins/Unit/ashlti3_test.c | 6 +-
sys/external/bsd/compiler_rt/dist/test/builtins/Unit/ashrti3_test.c | 6 +-
sys/external/bsd/compiler_rt/dist/test/builtins/Unit/clzti2_test.c | 6 +-
sys/external/bsd/compiler_rt/dist/test/builtins/Unit/cmpti2_test.c | 6 +-
sys/external/bsd/compiler_rt/dist/test/builtins/Unit/ctzti2_test.c | 6 +-
sys/external/bsd/compiler_rt/dist/test/builtins/Unit/divti3_test.c | 6 +-
sys/external/bsd/compiler_rt/dist/test/builtins/Unit/ffsti2_test.c | 6 +-
sys/external/bsd/compiler_rt/dist/test/builtins/Unit/fixdfti_test.c | 6 +-
sys/external/bsd/compiler_rt/dist/test/builtins/Unit/fixsfti_test.c | 6 +-
sys/external/bsd/compiler_rt/dist/test/builtins/Unit/fixunsdfti_test.c | 4 +-
sys/external/bsd/compiler_rt/dist/test/builtins/Unit/fixunssfti_test.c | 6 +-
sys/external/bsd/compiler_rt/dist/test/builtins/Unit/fixunsxfti_test.c | 6 +-
sys/external/bsd/compiler_rt/dist/test/builtins/Unit/fixxfti_test.c | 6 +-
sys/external/bsd/compiler_rt/dist/test/builtins/Unit/floattidf_test.c | 6 +-
sys/external/bsd/compiler_rt/dist/test/builtins/Unit/floattisf_test.c | 6 +-
sys/external/bsd/compiler_rt/dist/test/builtins/Unit/floattixf_test.c | 6 +-
sys/external/bsd/compiler_rt/dist/test/builtins/Unit/floatuntidf_test.c | 6 +-
sys/external/bsd/compiler_rt/dist/test/builtins/Unit/floatuntisf_test.c | 6 +-
sys/external/bsd/compiler_rt/dist/test/builtins/Unit/floatuntixf_test.c | 6 +-
sys/external/bsd/compiler_rt/dist/test/builtins/Unit/lshrti3_test.c | 6 +-
sys/external/bsd/compiler_rt/dist/test/builtins/Unit/modti3_test.c | 6 +-
sys/external/bsd/compiler_rt/dist/test/builtins/Unit/muloti4_test.c | 6 +-
sys/external/bsd/compiler_rt/dist/test/builtins/Unit/multi3_test.c | 6 +-
sys/external/bsd/compiler_rt/dist/test/builtins/Unit/mulvti3_test.c | 6 +-
sys/external/bsd/compiler_rt/dist/test/builtins/Unit/negti2_test.c | 6 +-
sys/external/bsd/compiler_rt/dist/test/builtins/Unit/negvti2_test.c | 6 +-
sys/external/bsd/compiler_rt/dist/test/builtins/Unit/parityti2_test.c | 6 +-
sys/external/bsd/compiler_rt/dist/test/builtins/Unit/popcountti2_test.c | 6 +-
sys/external/bsd/compiler_rt/dist/test/builtins/Unit/subvti3_test.c | 6 +-
sys/external/bsd/compiler_rt/dist/test/builtins/Unit/ucmpti2_test.c | 6 +-
sys/external/bsd/compiler_rt/dist/test/builtins/Unit/udivmodti4_test.c | 6 +-
sys/external/bsd/compiler_rt/dist/test/builtins/Unit/udivti3_test.c | 6 +-
sys/external/bsd/compiler_rt/dist/test/builtins/Unit/umodti3_test.c | 6 +-
123 files changed, 330 insertions(+), 375 deletions(-)
diffs (truncated from 2451 to 300 lines):
diff -r d095d7e9aea9 -r 146813b2ed18 sys/external/bsd/compiler_rt/dist/lib/builtins/absvti2.c
--- a/sys/external/bsd/compiler_rt/dist/lib/builtins/absvti2.c Tue Mar 18 21:52:19 2014 +0000
+++ b/sys/external/bsd/compiler_rt/dist/lib/builtins/absvti2.c Tue Mar 18 22:28:42 2014 +0000
@@ -20,7 +20,7 @@
/* Effects: aborts if abs(x) < 0 */
-ti_int
+COMPILER_RT_ABI ti_int
__absvti2(ti_int a)
{
const int N = (int)(sizeof(ti_int) * CHAR_BIT);
diff -r d095d7e9aea9 -r 146813b2ed18 sys/external/bsd/compiler_rt/dist/lib/builtins/addsf3.c
--- a/sys/external/bsd/compiler_rt/dist/lib/builtins/addsf3.c Tue Mar 18 21:52:19 2014 +0000
+++ b/sys/external/bsd/compiler_rt/dist/lib/builtins/addsf3.c Tue Mar 18 22:28:42 2014 +0000
@@ -17,7 +17,8 @@
ARM_EABI_FNALIAS(fadd, addsf3)
-fp_t __addsf3(fp_t a, fp_t b) {
+COMPILER_RT_ABI fp_t
+__addsf3(fp_t a, fp_t b) {
rep_t aRep = toRep(a);
rep_t bRep = toRep(b);
diff -r d095d7e9aea9 -r 146813b2ed18 sys/external/bsd/compiler_rt/dist/lib/builtins/addvti3.c
--- a/sys/external/bsd/compiler_rt/dist/lib/builtins/addvti3.c Tue Mar 18 21:52:19 2014 +0000
+++ b/sys/external/bsd/compiler_rt/dist/lib/builtins/addvti3.c Tue Mar 18 22:28:42 2014 +0000
@@ -20,7 +20,7 @@
/* Effects: aborts if a + b overflows */
-ti_int
+COMPILER_RT_ABI ti_int
__addvti3(ti_int a, ti_int b)
{
ti_int s = a + b;
diff -r d095d7e9aea9 -r 146813b2ed18 sys/external/bsd/compiler_rt/dist/lib/builtins/ashlti3.c
--- a/sys/external/bsd/compiler_rt/dist/lib/builtins/ashlti3.c Tue Mar 18 21:52:19 2014 +0000
+++ b/sys/external/bsd/compiler_rt/dist/lib/builtins/ashlti3.c Tue Mar 18 22:28:42 2014 +0000
@@ -20,7 +20,7 @@
/* Precondition: 0 <= b < bits_in_tword */
-ti_int
+COMPILER_RT_ABI ti_int
__ashlti3(ti_int a, si_int b)
{
const int bits_in_dword = (int)(sizeof(di_int) * CHAR_BIT);
diff -r d095d7e9aea9 -r 146813b2ed18 sys/external/bsd/compiler_rt/dist/lib/builtins/ashrti3.c
--- a/sys/external/bsd/compiler_rt/dist/lib/builtins/ashrti3.c Tue Mar 18 21:52:19 2014 +0000
+++ b/sys/external/bsd/compiler_rt/dist/lib/builtins/ashrti3.c Tue Mar 18 22:28:42 2014 +0000
@@ -20,7 +20,7 @@
/* Precondition: 0 <= b < bits_in_tword */
-ti_int
+COMPILER_RT_ABI ti_int
__ashrti3(ti_int a, si_int b)
{
const int bits_in_dword = (int)(sizeof(di_int) * CHAR_BIT);
diff -r d095d7e9aea9 -r 146813b2ed18 sys/external/bsd/compiler_rt/dist/lib/builtins/clear_cache.c
--- a/sys/external/bsd/compiler_rt/dist/lib/builtins/clear_cache.c Tue Mar 18 21:52:19 2014 +0000
+++ b/sys/external/bsd/compiler_rt/dist/lib/builtins/clear_cache.c Tue Mar 18 22:28:42 2014 +0000
@@ -24,7 +24,8 @@
* specified range.
*/
-void __clear_cache(void* start, void* end)
+COMPILER_RT_ABI void
+__clear_cache(void* start, void* end)
{
#if __i386__ || __x86_64__
/*
diff -r d095d7e9aea9 -r 146813b2ed18 sys/external/bsd/compiler_rt/dist/lib/builtins/clzti2.c
--- a/sys/external/bsd/compiler_rt/dist/lib/builtins/clzti2.c Tue Mar 18 21:52:19 2014 +0000
+++ b/sys/external/bsd/compiler_rt/dist/lib/builtins/clzti2.c Tue Mar 18 22:28:42 2014 +0000
@@ -20,7 +20,7 @@
/* Precondition: a != 0 */
-si_int
+COMPILER_RT_ABI si_int
__clzti2(ti_int a)
{
twords x;
diff -r d095d7e9aea9 -r 146813b2ed18 sys/external/bsd/compiler_rt/dist/lib/builtins/cmpti2.c
--- a/sys/external/bsd/compiler_rt/dist/lib/builtins/cmpti2.c Tue Mar 18 21:52:19 2014 +0000
+++ b/sys/external/bsd/compiler_rt/dist/lib/builtins/cmpti2.c Tue Mar 18 22:28:42 2014 +0000
@@ -21,7 +21,7 @@
* if (a > b) returns 2
*/
-si_int
+COMPILER_RT_ABI si_int
__cmpti2(ti_int a, ti_int b)
{
twords x;
diff -r d095d7e9aea9 -r 146813b2ed18 sys/external/bsd/compiler_rt/dist/lib/builtins/comparedf2.c
--- a/sys/external/bsd/compiler_rt/dist/lib/builtins/comparedf2.c Tue Mar 18 21:52:19 2014 +0000
+++ b/sys/external/bsd/compiler_rt/dist/lib/builtins/comparedf2.c Tue Mar 18 22:28:42 2014 +0000
@@ -47,7 +47,8 @@
LE_UNORDERED = 1
};
-enum LE_RESULT __ledf2(fp_t a, fp_t b) {
+COMPILER_RT_ABI enum LE_RESULT
+__ledf2(fp_t a, fp_t b) {
const srep_t aInt = toRep(a);
const srep_t bInt = toRep(b);
@@ -86,7 +87,8 @@
GE_UNORDERED = -1 // Note: different from LE_UNORDERED
};
-enum GE_RESULT __gedf2(fp_t a, fp_t b) {
+COMPILER_RT_ABI enum GE_RESULT
+__gedf2(fp_t a, fp_t b) {
const srep_t aInt = toRep(a);
const srep_t bInt = toRep(b);
@@ -108,7 +110,8 @@
ARM_EABI_FNALIAS(dcmpun, unorddf2)
-int __unorddf2(fp_t a, fp_t b) {
+COMPILER_RT_ABI int
+__unorddf2(fp_t a, fp_t b) {
const rep_t aAbs = toRep(a) & absMask;
const rep_t bAbs = toRep(b) & absMask;
return aAbs > infRep || bAbs > infRep;
@@ -116,19 +119,23 @@
// The following are alternative names for the preceeding routines.
-enum LE_RESULT __eqdf2(fp_t a, fp_t b) {
+COMPILER_RT_ABI enum LE_RESULT
+__eqdf2(fp_t a, fp_t b) {
return __ledf2(a, b);
}
-enum LE_RESULT __ltdf2(fp_t a, fp_t b) {
+COMPILER_RT_ABI enum LE_RESULT
+__ltdf2(fp_t a, fp_t b) {
return __ledf2(a, b);
}
-enum LE_RESULT __nedf2(fp_t a, fp_t b) {
+COMPILER_RT_ABI enum LE_RESULT
+__nedf2(fp_t a, fp_t b) {
return __ledf2(a, b);
}
-enum GE_RESULT __gtdf2(fp_t a, fp_t b) {
+COMPILER_RT_ABI enum GE_RESULT
+__gtdf2(fp_t a, fp_t b) {
return __gedf2(a, b);
}
diff -r d095d7e9aea9 -r 146813b2ed18 sys/external/bsd/compiler_rt/dist/lib/builtins/comparesf2.c
--- a/sys/external/bsd/compiler_rt/dist/lib/builtins/comparesf2.c Tue Mar 18 21:52:19 2014 +0000
+++ b/sys/external/bsd/compiler_rt/dist/lib/builtins/comparesf2.c Tue Mar 18 22:28:42 2014 +0000
@@ -47,7 +47,8 @@
LE_UNORDERED = 1
};
-enum LE_RESULT __lesf2(fp_t a, fp_t b) {
+COMPILER_RT_ABI enum LE_RESULT
+__lesf2(fp_t a, fp_t b) {
const srep_t aInt = toRep(a);
const srep_t bInt = toRep(b);
@@ -86,7 +87,8 @@
GE_UNORDERED = -1 // Note: different from LE_UNORDERED
};
-enum GE_RESULT __gesf2(fp_t a, fp_t b) {
+COMPILER_RT_ABI enum GE_RESULT
+__gesf2(fp_t a, fp_t b) {
const srep_t aInt = toRep(a);
const srep_t bInt = toRep(b);
@@ -108,7 +110,8 @@
ARM_EABI_FNALIAS(fcmpun, unordsf2)
-int __unordsf2(fp_t a, fp_t b) {
+COMPILER_RT_ABI int
+__unordsf2(fp_t a, fp_t b) {
const rep_t aAbs = toRep(a) & absMask;
const rep_t bAbs = toRep(b) & absMask;
return aAbs > infRep || bAbs > infRep;
@@ -116,18 +119,22 @@
// The following are alternative names for the preceeding routines.
-enum LE_RESULT __eqsf2(fp_t a, fp_t b) {
+COMPILER_RT_ABI enum LE_RESULT
+__eqsf2(fp_t a, fp_t b) {
return __lesf2(a, b);
}
-enum LE_RESULT __ltsf2(fp_t a, fp_t b) {
+COMPILER_RT_ABI enum LE_RESULT
+__ltsf2(fp_t a, fp_t b) {
return __lesf2(a, b);
}
-enum LE_RESULT __nesf2(fp_t a, fp_t b) {
+COMPILER_RT_ABI enum LE_RESULT
+__nesf2(fp_t a, fp_t b) {
return __lesf2(a, b);
}
-enum GE_RESULT __gtsf2(fp_t a, fp_t b) {
+COMPILER_RT_ABI enum GE_RESULT
+__gtsf2(fp_t a, fp_t b) {
return __gesf2(a, b);
}
diff -r d095d7e9aea9 -r 146813b2ed18 sys/external/bsd/compiler_rt/dist/lib/builtins/ctzti2.c
--- a/sys/external/bsd/compiler_rt/dist/lib/builtins/ctzti2.c Tue Mar 18 21:52:19 2014 +0000
+++ b/sys/external/bsd/compiler_rt/dist/lib/builtins/ctzti2.c Tue Mar 18 22:28:42 2014 +0000
@@ -20,7 +20,7 @@
/* Precondition: a != 0 */
-si_int
+COMPILER_RT_ABI si_int
__ctzti2(ti_int a)
{
twords x;
diff -r d095d7e9aea9 -r 146813b2ed18 sys/external/bsd/compiler_rt/dist/lib/builtins/divdc3.c
--- a/sys/external/bsd/compiler_rt/dist/lib/builtins/divdc3.c Tue Mar 18 21:52:19 2014 +0000
+++ b/sys/external/bsd/compiler_rt/dist/lib/builtins/divdc3.c Tue Mar 18 22:28:42 2014 +0000
@@ -17,7 +17,7 @@
/* Returns: the quotient of (a + ib) / (c + id) */
-double _Complex
+COMPILER_RT_ABI double _Complex
__divdc3(double __a, double __b, double __c, double __d)
{
int __ilogbw = 0;
diff -r d095d7e9aea9 -r 146813b2ed18 sys/external/bsd/compiler_rt/dist/lib/builtins/divdf3.c
--- a/sys/external/bsd/compiler_rt/dist/lib/builtins/divdf3.c Tue Mar 18 21:52:19 2014 +0000
+++ b/sys/external/bsd/compiler_rt/dist/lib/builtins/divdf3.c Tue Mar 18 22:28:42 2014 +0000
@@ -21,7 +21,8 @@
ARM_EABI_FNALIAS(ddiv, divdf3)
-fp_t __divdf3(fp_t a, fp_t b) {
+COMPILER_RT_ABI fp_t
+__divdf3(fp_t a, fp_t b) {
const unsigned int aExponent = toRep(a) >> significandBits & maxExponent;
const unsigned int bExponent = toRep(b) >> significandBits & maxExponent;
diff -r d095d7e9aea9 -r 146813b2ed18 sys/external/bsd/compiler_rt/dist/lib/builtins/divdi3.c
--- a/sys/external/bsd/compiler_rt/dist/lib/builtins/divdi3.c Tue Mar 18 21:52:19 2014 +0000
+++ b/sys/external/bsd/compiler_rt/dist/lib/builtins/divdi3.c Tue Mar 18 22:28:42 2014 +0000
@@ -14,8 +14,6 @@
#include "int_lib.h"
-du_int COMPILER_RT_ABI __udivmoddi4(du_int a, du_int b, du_int* rem);
-
/* Returns: a / b */
COMPILER_RT_ABI di_int
diff -r d095d7e9aea9 -r 146813b2ed18 sys/external/bsd/compiler_rt/dist/lib/builtins/divmoddi4.c
--- a/sys/external/bsd/compiler_rt/dist/lib/builtins/divmoddi4.c Tue Mar 18 21:52:19 2014 +0000
+++ b/sys/external/bsd/compiler_rt/dist/lib/builtins/divmoddi4.c Tue Mar 18 22:28:42 2014 +0000
@@ -14,8 +14,6 @@
#include "int_lib.h"
-extern COMPILER_RT_ABI di_int __divdi3(di_int a, di_int b);
-
/* Returns: a / b, *rem = a % b */
COMPILER_RT_ABI di_int
diff -r d095d7e9aea9 -r 146813b2ed18 sys/external/bsd/compiler_rt/dist/lib/builtins/divmodsi4.c
--- a/sys/external/bsd/compiler_rt/dist/lib/builtins/divmodsi4.c Tue Mar 18 21:52:19 2014 +0000
+++ b/sys/external/bsd/compiler_rt/dist/lib/builtins/divmodsi4.c Tue Mar 18 22:28:42 2014 +0000
@@ -14,9 +14,6 @@
#include "int_lib.h"
-extern COMPILER_RT_ABI si_int __divsi3(si_int a, si_int b);
-
-
/* Returns: a / b, *rem = a % b */
COMPILER_RT_ABI si_int
diff -r d095d7e9aea9 -r 146813b2ed18 sys/external/bsd/compiler_rt/dist/lib/builtins/divsc3.c
--- a/sys/external/bsd/compiler_rt/dist/lib/builtins/divsc3.c Tue Mar 18 21:52:19 2014 +0000
+++ b/sys/external/bsd/compiler_rt/dist/lib/builtins/divsc3.c Tue Mar 18 22:28:42 2014 +0000
@@ -17,7 +17,7 @@
/* Returns: the quotient of (a + ib) / (c + id) */
Home |
Main Index |
Thread Index |
Old Index