diff options
Diffstat (limited to 'symbian/missing-aeabi.c')
-rw-r--r-- | symbian/missing-aeabi.c | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/symbian/missing-aeabi.c b/symbian/missing-aeabi.c new file mode 100644 index 0000000000..f8d7a85039 --- /dev/null +++ b/symbian/missing-aeabi.c @@ -0,0 +1,18 @@ +#if __GNUC__ > 3 + +/* GCCE 4.3.2 generates these functions which are are missing from exports (they are simple aliases) */ +extern int __aeabi_uidivmod(unsigned int a, unsigned int b); +extern int __aeabi_idivmod(int a, int b); +int __aeabi_idiv(int a, int b) +{ + return __aeabi_idivmod(a, b); +} + +int __aeabi_uidiv(unsigned int a, unsigned int b) +{ + return __aeabi_uidivmod(a, b); +} + +#endif + + |