Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/riscv/include RISC-V ELF psABI says ILP32 also defa...



details:   https://anonhg.NetBSD.org/src/rev/b71f15085331
branches:  trunk
changeset: 998370:b71f15085331
user:      maya <maya%NetBSD.org@localhost>
date:      Tue Apr 16 07:40:02 2019 +0000

description:
RISC-V ELF psABI says ILP32 also defaults to 128bit long double.

diffstat:

 sys/arch/riscv/include/math.h |  5 +----
 1 files changed, 1 insertions(+), 4 deletions(-)

diffs (12 lines):

diff -r 41493c1e1204 -r b71f15085331 sys/arch/riscv/include/math.h
--- a/sys/arch/riscv/include/math.h     Tue Apr 16 07:37:56 2019 +0000
+++ b/sys/arch/riscv/include/math.h     Tue Apr 16 07:40:02 2019 +0000
@@ -1,7 +1,4 @@
-/* $NetBSD: math.h,v 1.2 2019/04/13 15:57:31 maya Exp $ */
+/* $NetBSD: math.h,v 1.3 2019/04/16 07:40:02 maya Exp $ */
 
 #define __HAVE_NANF
-
-#if defined(_LP64) || defined(_KERNEL)
 #define        __HAVE_LONG_DOUBLE      128
-#endif



Home | Main Index | Thread Index | Old Index