summaryrefslogtreecommitdiff
path: root/symbian/missing-aeabi.c
blob: f8d7a85039dcf597b5bbf892c306f0fc107a691b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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