From 4b9fcb37ba51b6806d9a38b27ebd7e057e8d46e9 Mon Sep 17 00:00:00 2001 From: Charles Baylis Date: Wed, 18 Jun 2014 15:44:45 +0000 Subject: [PATCH] bpabi.c (__gnu_uldivmod_helper): Remove. 2014-06-18 Charles Baylis * config/arm/bpabi.c (__gnu_uldivmod_helper): Remove. From-SVN: r211797 --- gcc/ChangeLog | 4 ++++ libgcc/config/arm/bpabi.c | 14 -------------- 2 files changed, 4 insertions(+), 14 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 6ec8def9180..f6124cde470 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2014-06-18 Charles Baylis + + * config/arm/bpabi.c (__gnu_uldivmod_helper): Remove. + 2014-06-18 Charles Baylis * config/arm/bpabi-v6m.S (__aeabi_uldivmod): Perform division using diff --git a/libgcc/config/arm/bpabi.c b/libgcc/config/arm/bpabi.c index 7b155ccc1d2..e90d0441ae6 100644 --- a/libgcc/config/arm/bpabi.c +++ b/libgcc/config/arm/bpabi.c @@ -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; -}