[Git][ghc/ghc][wip/supersven/riscv64-ncg] Add symbol prototype for __ctzdi2
Sven Tennie (@supersven)
gitlab at gitlab.haskell.org
Sat Mar 2 21:26:20 UTC 2024
Sven Tennie pushed to branch wip/supersven/riscv64-ncg at Glasgow Haskell Compiler / GHC
Commits:
a4742d26 by Sven Tennie at 2024-03-02T22:25:45+01:00
Add symbol prototype for __ctzdi2
- - - - -
1 changed file:
- rts/RtsSymbols.c
Changes:
=====================================
rts/RtsSymbols.c
=====================================
@@ -972,8 +972,11 @@ extern char **environ;
#endif
#if defined(riscv64_HOST_ARCH)
+// See https://gcc.gnu.org/onlinedocs/gccint/Integer-library-routines.html
+// as reference for the following built-ins.
#define RTS_ARCH_LIBGCC_SYMBOLS \
- SymI_NeedsProto(__clzdi2)
+ SymI_NeedsProto(__clzdi2) \
+ SymI_NeedsProto(__ctzdi2)
#else
#define RTS_ARCH_LIBGCC_SYMBOLS
#endif
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/a4742d26bceb2f76e01b94238c2b5c0dc4695656
--
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/a4742d26bceb2f76e01b94238c2b5c0dc4695656
You're receiving this email because of your account on gitlab.haskell.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20240302/a56b7bd7/attachment.html>
More information about the ghc-commits
mailing list