Add an implementation of __aeabi_ldivmode() and __aeabi_uldivmod(); clang generates calls to these functions when compiling an armv7 kernel.
Code from NetBSD's unified userland+kernel implementation, with lots of irrelevant (for us) #ifdefs removed.
ok patrick@, guenther@
|