Ruby  2.0.0p353(2013-11-22revision43784)
missing-aeabi.c
Go to the documentation of this file.
1 #if __GNUC__ > 3
2 
3 /* GCCE 4.3.2 generates these functions which are are missing from exports (they are simple aliases) */
4 extern int __aeabi_uidivmod(unsigned int a, unsigned int b);
5 extern int __aeabi_idivmod(int a, int b);
6 int __aeabi_idiv(int a, int b)
7 {
8  return __aeabi_idivmod(a, b);
9 }
10 
11 int __aeabi_uidiv(unsigned int a, unsigned int b)
12 {
13  return __aeabi_uidivmod(a, b);
14 }
15 
16 #endif
17 
18