aboutsummaryrefslogtreecommitdiff
path: root/libgcc
diff options
context:
space:
mode:
authorMichael Meissner <meissner@linux.vnet.ibm.com>2017-12-01 05:32:39 +0000
committerMichael Meissner <meissner@gcc.gnu.org>2017-12-01 05:32:39 +0000
commit6ae3512c0eeb31eced99d73229b898529635e786 (patch)
treea3f2cca8afe44b5423f5a2fe8b8000781d2ed192 /libgcc
parent5a1f4e57b6da8a42155c6164f45ca9ab79dd9ebd (diff)
_mulkc3.c (__mulkc3): Add forward declaration.
2017-11-30 Michael Meissner <meissner@linux.vnet.ibm.com> * config/rs6000/_mulkc3.c (__mulkc3): Add forward declaration. * config/rs6000/_divkc3.c (__divkc3): Likewise. From-SVN: r255289
Diffstat (limited to 'libgcc')
-rw-r--r--libgcc/ChangeLog3
-rw-r--r--libgcc/config/rs6000/_divkc3.c2
-rw-r--r--libgcc/config/rs6000/_mulkc3.c2
3 files changed, 7 insertions, 0 deletions
diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog
index e103ace8fcf..3d8b73e1c4a 100644
--- a/libgcc/ChangeLog
+++ b/libgcc/ChangeLog
@@ -1,5 +1,8 @@
2017-11-30 Michael Meissner <meissner@linux.vnet.ibm.com>
+ * config/rs6000/_mulkc3.c (__mulkc3): Add forward declaration.
+ * config/rs6000/_divkc3.c (__divkc3): Likewise.
+
PR libgcc/83112
* config/rs6000/float128-ifunc.c (__addkf3_resolve): Use the
correct type for all ifunc resolvers to silence -Wattribute-alias
diff --git a/libgcc/config/rs6000/_divkc3.c b/libgcc/config/rs6000/_divkc3.c
index 5c477f4d0b8..800389b169b 100644
--- a/libgcc/config/rs6000/_divkc3.c
+++ b/libgcc/config/rs6000/_divkc3.c
@@ -37,6 +37,8 @@ typedef __complex float KCtype __attribute__ ((mode (KC)));
#define __divkc3 __divkc3_sw
#endif
+extern KCtype __divkc3 (KFtype, KFtype, KFtype, KFtype);
+
KCtype
__divkc3 (KFtype a, KFtype b, KFtype c, KFtype d)
{
diff --git a/libgcc/config/rs6000/_mulkc3.c b/libgcc/config/rs6000/_mulkc3.c
index a88fae21661..c2687bee97b 100644
--- a/libgcc/config/rs6000/_mulkc3.c
+++ b/libgcc/config/rs6000/_mulkc3.c
@@ -35,6 +35,8 @@ typedef __complex float KCtype __attribute__ ((mode (KC)));
#define __mulkc3 __mulkc3_sw
#endif
+extern KCtype __mulkc3 (KFtype, KFtype, KFtype, KFtype);
+
KCtype
__mulkc3 (KFtype a, KFtype b, KFtype c, KFtype d)
{