summaryrefslogtreecommitdiffstats
path: root/gcc/config/h8300/fixunssfsi.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/config/h8300/fixunssfsi.c')
-rw-r--r--gcc/config/h8300/fixunssfsi.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/gcc/config/h8300/fixunssfsi.c b/gcc/config/h8300/fixunssfsi.c
index 0cd72dee048..06120ba4905 100644
--- a/gcc/config/h8300/fixunssfsi.c
+++ b/gcc/config/h8300/fixunssfsi.c
@@ -29,8 +29,10 @@ the Free Software Foundation, 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
/* The libgcc2.c implementation gets confused by our type setup and creates
- a directly recursive call, so we do our own implementation. */
+ a directly recursive call, so we do our own implementation. For
+ the H8/300, that's in lib1funcs.asm, for H8/300H and H8S, it's here. */
+#ifndef __H8300__
long __fixunssfsi (float a);
long
@@ -40,3 +42,4 @@ __fixunssfsi (float a)
return (long) (a - 32768L) + 32768L;
return (long) a;
}
+#endif
OpenPOWER on IntegriCloud