1 #include "RuntimeStub.h" 2 3 #include "runtime/lib/int_lib.h" 4 5 #include "runtime/lib/absvdi2.c" 6 #include "runtime/lib/absvsi2.c" 7 #include "runtime/lib/addvdi3.c" 8 #include "runtime/lib/addvsi3.c" 9 #if !defined(__i386__) && !defined(__SSE2__) 10 # include "runtime/lib/ashldi3.c" 11 #endif 12 #ifndef ANDROID 13 # include "runtime/lib/ashrdi3.c" 14 #endif 15 #include "runtime/lib/clzdi2.c" 16 #include "runtime/lib/clzsi2.c" 17 #include "runtime/lib/cmpdi2.c" 18 #include "runtime/lib/ctzdi2.c" 19 #include "runtime/lib/ctzsi2.c" 20 #ifndef ANDROID // no complex.h 21 # include "runtime/lib/divdc3.c" 22 #endif 23 #if !defined(__i386__) 24 # include "runtime/lib/divdi3.c" 25 #endif 26 #include "runtime/lib/divsi3.c" 27 #ifndef ANDROID // no complex.h 28 # include "runtime/lib/divsc3.c" 29 #endif 30 #include "runtime/lib/ffsdi2.c" 31 #include "runtime/lib/fixdfdi.c" 32 #include "runtime/lib/fixsfdi.c" 33 #include "runtime/lib/fixunsdfdi.c" 34 #include "runtime/lib/fixunsdfsi.c" 35 #include "runtime/lib/fixunssfdi.c" 36 #include "runtime/lib/fixunssfsi.c" 37 #if !defined(__i386__) 38 # include "runtime/lib/floatdidf.c" 39 # include "runtime/lib/floatdisf.c" 40 # include "runtime/lib/floatundidf.c" 41 # include "runtime/lib/floatundisf.c" 42 # include "runtime/lib/moddi3.c" 43 #endif 44 #include "runtime/lib/modsi3.c" 45 #if !defined(__i386__) && !defined(__SSE2__) 46 # include "runtime/lib/lshrdi3.c" 47 #endif 48 #ifndef ANDROID // no complex.h 49 # include "runtime/lib/muldc3.c" 50 #endif 51 #if !defined(__i386__) 52 # include "runtime/lib/muldi3.c" 53 #endif 54 #ifndef ANDROID // no complex.h 55 # include "runtime/lib/mulsc3.c" 56 #endif 57 #include "runtime/lib/mulvdi3.c" 58 #include "runtime/lib/mulvsi3.c" 59 #include "runtime/lib/negdi2.c" 60 #include "runtime/lib/negvdi2.c" 61 #include "runtime/lib/negvsi2.c" 62 #include "runtime/lib/paritydi2.c" 63 #include "runtime/lib/paritysi2.c" 64 #include "runtime/lib/popcountdi2.c" 65 #include "runtime/lib/popcountsi2.c" 66 #include "runtime/lib/powidf2.c" 67 #include "runtime/lib/powisf2.c" 68 #include "runtime/lib/subvdi3.c" 69 #include "runtime/lib/subvsi3.c" 70 #include "runtime/lib/ucmpdi2.c" 71 #if !defined(__i386__) 72 # include "runtime/lib/udivdi3.c" 73 #endif 74 #include "runtime/lib/udivsi3.c" 75 #include "runtime/lib/udivmoddi4.c" 76 #if !defined(__i386__) 77 # include "runtime/lib/umoddi3.c" 78 #endif 79 #include "runtime/lib/umodsi3.c" 80 #include "runtime/lib/eprintf.c" 81 82 #if defined(__arm__) 83 // NOTE: __aeabi_f2uiz is missing from libgcc which comes with android, 84 // so here's the workaround. Remove this when __aeabi_f2uiz is available 85 // from libgcc. 86 unsigned int __aeabi_f2uiz(float a) 87 __attribute__((weak, alias("__fixunssfsi"))); 88 #endif 89