From 3ed3b5137144a6fb56f5c8202a30454a73a0bc3f Mon Sep 17 00:00:00 2001 From: Danny Milosavljevic Date: Sun, 23 Aug 2020 16:15:09 +0200 Subject: [PATCH] div: Add comment about __aeabi_idiv. * lib/mes/div.c (__aeabi_idiv): Add comment. --- lib/mes/div.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/mes/div.c b/lib/mes/div.c index eb95c2b3..0b2fd8b1 100644 --- a/lib/mes/div.c +++ b/lib/mes/div.c @@ -139,6 +139,8 @@ __mesabi_idiv (int a, int b) // ntoab.c:(.text+0x54): undefined reference to `__aeabi_uidivmod' // ...-binutils-2.31.1/bin/ld: ntoab.c:(.text+0x62): undefined reference to `__aeabi_uidiv' +/* FIXME: This ABI should use registers for the input arguments, too. +Maybe the others below, too. */ long __aeabi_idiv (long a, long b) {