bpabi.c (__gnu_uldivmod_helper): Remove.
2014-06-18 Charles Baylis <charles.baylis@linaro.org> * config/arm/bpabi.c (__gnu_uldivmod_helper): Remove. From-SVN: r211797
This commit is contained in:
parent
a7a7d3c8f0
commit
4b9fcb37ba
@ -1,3 +1,7 @@
|
||||
2014-06-18 Charles Baylis <charles.baylis@linaro.org>
|
||||
|
||||
* config/arm/bpabi.c (__gnu_uldivmod_helper): Remove.
|
||||
|
||||
2014-06-18 Charles Baylis <charles.baylis@linaro.org>
|
||||
|
||||
* config/arm/bpabi-v6m.S (__aeabi_uldivmod): Perform division using
|
||||
|
@ -26,9 +26,6 @@ extern long long __divdi3 (long long, long long);
|
||||
extern unsigned long long __udivdi3 (unsigned long long,
|
||||
unsigned long long);
|
||||
extern long long __gnu_ldivmod_helper (long long, long long, long long *);
|
||||
extern unsigned long long __gnu_uldivmod_helper (unsigned long long,
|
||||
unsigned long long,
|
||||
unsigned long long *);
|
||||
|
||||
|
||||
long long
|
||||
@ -43,14 +40,3 @@ __gnu_ldivmod_helper (long long a,
|
||||
return quotient;
|
||||
}
|
||||
|
||||
unsigned long long
|
||||
__gnu_uldivmod_helper (unsigned long long a,
|
||||
unsigned long long b,
|
||||
unsigned long long *remainder)
|
||||
{
|
||||
unsigned long long quotient;
|
||||
|
||||
quotient = __udivdi3 (a, b);
|
||||
*remainder = a - b * quotient;
|
||||
return quotient;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user