Message ID | 20200708221916.56665-2-luc.vanoostenryck@gmail.com (mailing list archive) |
---|---|
State | Mainlined, archived |
Headers | show |
Series | small fixes for NIOS2 | expand |
diff --git a/target-nios2.c b/target-nios2.c index 05f0926e2df9..98813765b925 100644 --- a/target-nios2.c +++ b/target-nios2.c @@ -26,6 +26,8 @@ const struct target target_nios2 = { .mach = MACH_NIOS2, .bitness = ARCH_LP32, + .bits_in_longdouble = 64, + .predefine = predefine_nios2, .builtins = builtins_nios2, };
On Nios2, long double are (of course) only 64 bits width. Specify this in the target file. Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com> --- target-nios2.c | 2 ++ 1 file changed, 2 insertions(+)