Fix Coverity #261967, Infinite loop
Coverity has identified that the __aeabi_imod function will loop forever
if the denominator is not a power of 2, which is probably not the
desired behaviour.

The functions in the rest of the file are compiler implementations of
division if ARMv7 does not implement division which is permitted by the
spec. However, while most of the functions in the file are documented
and referenced in other places online, __aeabi_uimod and __aeabi_imod
are not. For this reason, these functions have been removed from the
code base, which also removes the Coverity error.

Change-Id: I20066d72365329a8b03a5536d865c4acaa2139ae
Signed-off-by: Justin Chadwell <justin.chadwell@arm.com>
1 parent fc6b626 commit 9624c0a9e03ea01d3015beafb0a90cd9afd97eb0
@Justin Chadwell Justin Chadwell authored on 23 Jul 2019
Showing 1 changed file
View
lib/aarch32/arm32_aeabi_divmod.c