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/ca6aecccac05
branches:  trunk
changeset: 450512:ca6aecccac05
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 18d363b5bdd6 -r ca6aecccac05 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