From 04afe3e238751bddc0df4d8150f9d6f7b19c06c2 Mon Sep 17 00:00:00 2001 From: "Jan (janneke) Nieuwenhuizen" Date: Sun, 13 Dec 2020 00:06:18 +0100 Subject: [PATCH] ARM: libtcc1: Add stubs __floatundidf, __fixunsdfdi, __fixunsdfsi. * lib/libtcc1.c (__floatdisf, __floatdidf)[__arm__]: New stubs. --- lib/libtcc1.c | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/lib/libtcc1.c b/lib/libtcc1.c index 4f8fec4a..1dcf9361 100644 --- a/lib/libtcc1.c +++ b/lib/libtcc1.c @@ -299,3 +299,29 @@ __fixunsdfsi (int a, int b) return 0; } +#if __arm__ +int +__floatdisf (int a, int b) +{ +#if !__TINYC__ + static int stub = 0; + if (__mes_debug () && !stub) + eputs ("__floatdisf stub\n"); + stub = 1; +#endif + return 0; +} + +int +__floatdidf (int a, int b) +{ +#if !__TINYC__ + static int stub = 0; + if (__mes_debug () && !stub) + eputs ("__floatdidf stub\n"); + stub = 1; +#endif + return 0; +} + +#endif //__arm__