From b9ffa123c0d6515dd3c739352b8c24130255a0ce Mon Sep 17 00:00:00 2001 From: "Jan (janneke) Nieuwenhuizen" Date: Tue, 13 Sep 2022 19:12:31 +0200 Subject: [PATCH] ARM: ntoab: Do not include __mesabi_uldiv for bootstrap tcc. * lib/mes/ntoab.c (__mesabi_uldiv): Exclude for tinycc arm bootstrap. --- lib/mes/ntoab.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/mes/ntoab.c b/lib/mes/ntoab.c index e75108ba..98e81072 100644 --- a/lib/mes/ntoab.c +++ b/lib/mes/ntoab.c @@ -1,6 +1,6 @@ /* -*-comment-start: "//";comment-end:""-*- * GNU Mes --- Maxwell Equations of Software - * Copyright © 2016,2017,2018,2019,2020 Jan (janneke) Nieuwenhuizen + * Copyright © 2016,2017,2018,2019,2020,2022 Jan (janneke) Nieuwenhuizen * * This file is part of GNU Mes. * @@ -23,7 +23,7 @@ #include #include -#if __M2_PLANET__ || !(__MESC__ && __arm__) +#if __M2_PLANET__ || (!(__MESC__ && __arm__) && !(__TINYC__ && __arm__ && BOOTSTRAP)) size_t __mesabi_uldiv (size_t a, size_t b, size_t *remainder) {