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

Re: [Minios-devel] [UNIKRAFT/NEWLIB PATCH 1/1] Define LDBL_EQ_DBL on ARM64



Hi Vlad, thanks for the patch. 

Reviewed-by: Felipe Huici <felipe.huici@xxxxxxxxx>

On 15.01.20, 13:34, "Vlad-Andrei BĂDOIU (78692)" 
<vlad_andrei.badoiu@xxxxxxxxxxxxxxx> wrote:

    LDBL_EQ_DBL is used by newlib to protect the definitions of the long
    double math functions(e.g. cosl) as wrappers over long math
    functions(e.g. cos). In this patch we define the symbol on ARM64 since
    it was already defined under x86_64.
    
    Signed-off-by: Vlad-Andrei Badoiu <vlad_andrei.badoiu@xxxxxxxxxxxxxxx>
    ---
     Makefile.uk | 1 +
     1 file changed, 1 insertion(+)
    
    diff --git a/Makefile.uk b/Makefile.uk
    index 5c7c225..390e4f4 100644
    --- a/Makefile.uk
    +++ b/Makefile.uk
    @@ -86,6 +86,7 @@ LIBNEWLIB_GLOBAL_FLAGS-y  += -D_POSIX_REALTIME_SIGNALS
     LIBNEWLIB_GLOBAL_FLAGS-$(CONFIG_LIBNEWLIBC_WANT_IO_C99_FORMATS) += 
-D_WANT_IO_C99_FORMATS
     LIBNEWLIB_GLOBAL_FLAGS-$(CONFIG_LIBNEWLIBC_LINUX_ERRNO_EXTENSIONS) += 
-D__LINUX_ERRNO_EXTENSIONS__
     ifeq ($(CONFIG_ARCH_ARM_64),y)
    +LIBNEWLIB_GLOBAL_FLAGS-y  += -D_LDBL_EQ_DBL
     LIBNEWLIB_GLOBAL_FLAGS-y  += -D_HAVE_LONG_DOUBLE
     endif
     ifeq ($(CONFIG_ARCH_X86_64),y)
    -- 
    2.20.1
    
    

_______________________________________________
Minios-devel mailing list
Minios-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/minios-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.