Merge github.com:igor-m/retrobsd-1 into double_precision
This commit is contained in:
@@ -113,6 +113,7 @@ struct sigstack {
|
||||
struct sigcontext {
|
||||
int sc_onstack; /* sigstack state to restore */
|
||||
long sc_mask; /* signal mask to restore */
|
||||
int sc_align[2]; /* align to 16 bytes */
|
||||
int sc_r1; /* r1 to restore */
|
||||
int sc_r2; /* and other registers */
|
||||
int sc_r3;
|
||||
|
||||
Regular → Executable
+1
-1
@@ -432,7 +432,7 @@ badarg:
|
||||
*/
|
||||
ucp = USER_DATA_END - nc - NBPW;
|
||||
ap = ucp - na*NBPW - 2*NBPW;
|
||||
u.u_frame [FRAME_SP] = ap - 16;
|
||||
u.u_frame [FRAME_SP] = (ap - 16) & ~0xf; /* align to 16 bytes */
|
||||
u.u_frame [FRAME_R4] = na - ne; /* $a0 := argc */
|
||||
u.u_frame [FRAME_R5] = ap; /* $a1 := argv */
|
||||
u.u_frame [FRAME_R6] = ap + (na-ne+1)*NBPW; /* $a2 := env */
|
||||
|
||||
+1
-2
@@ -5,8 +5,7 @@ SUBDIR = baremetal dip duinomite duinomite-uart duinomite-e \
|
||||
duinomite-e-uart explorer16 max32 max32-eth maximite \
|
||||
meb pinguino-micro starter-kit ubw32 ubw32-uart \
|
||||
ubw32-uart-sdram baremetal fubarino fubarino-uart \
|
||||
fubarino-uart-sramc mmb-mx7 maximite-color \
|
||||
32mxsdram-uart
|
||||
fubarino-uart-sramc mmb-mx7 maximite-color 32mxsdram-uart
|
||||
|
||||
default:
|
||||
|
||||
|
||||
+19
-9
@@ -24,19 +24,29 @@
|
||||
* The values are dependant upon the presence of the -fno-short-double
|
||||
* compiler option.
|
||||
*/
|
||||
#define DBL_EPSILON FLT_EPSILON
|
||||
#define DBL_MAX FLT_MAX
|
||||
#define DBL_MIN FLT_MIN
|
||||
#define DBL_DIG FLT_DIG
|
||||
#define DBL_MANT_DIG FLT_MANT_DIG
|
||||
#define DBL_MAX_10_EXP FLT_MAX_10_EXP
|
||||
#define DBL_MAX_EXP FLT_MAX_EXP
|
||||
#define DBL_MIN_10_EXP FLT_MIN_10_EXP
|
||||
#define DBL_MIN_EXP FLT_MIN_EXP
|
||||
//#define DBL_EPSILON FLT_EPSILON
|
||||
//#define DBL_MAX FLT_MAX
|
||||
//#define DBL_MIN FLT_MIN
|
||||
//#define DBL_DIG FLT_DIG
|
||||
//#define DBL_MANT_DIG FLT_MANT_DIG
|
||||
//#define DBL_MAX_10_EXP FLT_MAX_10_EXP
|
||||
//#define DBL_MAX_EXP FLT_MAX_EXP
|
||||
//#define DBL_MIN_10_EXP FLT_MIN_10_EXP
|
||||
//#define DBL_MIN_EXP FLT_MIN_EXP
|
||||
|
||||
/*
|
||||
* These values provide information pertaining to the long double type.
|
||||
*/
|
||||
#define DBL_EPSILON 2.2204460492503131E-16
|
||||
#define DBL_MAX 1.7976931348623157E+308
|
||||
#define DBL_MIN 2.2250738585072014E-308
|
||||
#define DBL_DIG 15
|
||||
#define DBL_MANT_DIG 53
|
||||
#define DBL_MAX_10_EXP 308
|
||||
#define DBL_MAX_EXP 1024
|
||||
#define DBL_MIN_10_EXP (-307)
|
||||
#define DBL_MIN_EXP (-1021)
|
||||
|
||||
#define LDBL_EPSILON 2.2204460492503131E-16
|
||||
#define LDBL_MAX 1.7976931348623157E+308
|
||||
#define LDBL_MIN 2.2250738585072014E-308
|
||||
|
||||
Regular → Executable
Regular → Executable
Reference in New Issue
Block a user