Newlib: update to version 3.0.0
This commit is contained in:
parent
a3d94f168b
commit
875aaabebe
50 changed files with 1536 additions and 1651 deletions
|
@ -46,7 +46,6 @@ double EXFUN(fast_loge,(double));
|
|||
#define log2(x) fast_log2(x)
|
||||
#define loge(x) fast_loge(x)
|
||||
|
||||
#ifdef _HAVE_STDC
|
||||
/* These functions are in assembler, they really do take floats. This
|
||||
can only be used with a real ANSI compiler */
|
||||
|
||||
|
@ -94,7 +93,6 @@ float EXFUN(fast_logef,(float));
|
|||
#define log10f(x) fast_log10f(x)
|
||||
#define log2f(x) fast_log2f(x)
|
||||
#define logef(x) fast_logef(x)
|
||||
#endif
|
||||
/* Override the functions defined in math.h */
|
||||
#endif /* __sysvnecv70_target */
|
||||
|
||||
|
|
|
@ -78,7 +78,9 @@
|
|||
# else
|
||||
# define __IEEE_BIG_ENDIAN
|
||||
# endif
|
||||
# define __OBSOLETE_MATH_DEFAULT 0
|
||||
# if __ARM_FP & 0x8
|
||||
# define __OBSOLETE_MATH_DEFAULT 0
|
||||
# endif
|
||||
#else
|
||||
# define __IEEE_BIG_ENDIAN
|
||||
# ifdef __ARMEL__
|
||||
|
|
|
@ -386,7 +386,9 @@ _BEGIN_STD_C
|
|||
#endif
|
||||
|
||||
#ifdef __riscv
|
||||
#define _JBTYPE long
|
||||
/* _JBTYPE using long long to make sure the alignment is align to 8 byte,
|
||||
otherwise in rv32imafd, store/restore FPR may mis-align. */
|
||||
#define _JBTYPE long long
|
||||
#ifdef __riscv_32e
|
||||
#define _JBLEN ((4*sizeof(long))/sizeof(long))
|
||||
#else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue