Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
R
relibc
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
redox-os
relibc
Commits
3e67314b
Verified
Commit
3e67314b
authored
6 years ago
by
jD91mZM2
Browse files
Options
Downloads
Patches
Plain Diff
Fix openlibm & fenv and add more integer types
parent
2283243d
No related branches found
No related tags found
1 merge request
!141
Fix openlibm & fenv and add more integer types
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
Makefile
+1
-3
1 addition, 3 deletions
Makefile
include/bits/stdio.h
+1
-0
1 addition, 0 deletions
include/bits/stdio.h
include/math.h
+1
-0
1 addition, 0 deletions
include/math.h
include/stdint.h
+18
-0
18 additions, 0 deletions
include/stdint.h
with
21 additions
and
3 deletions
Makefile
+
1
−
3
View file @
3e67314b
...
...
@@ -36,11 +36,9 @@ install: all
mkdir
-pv
"
$(
DESTDIR
)
/include"
cp
-rv
"include"
/
*
"
$(
DESTDIR
)
/include"
cp
-rv
"target/include"
/
*
"
$(
DESTDIR
)
/include"
cp
-rv
"target/openlibm/include"
/
*
"
$(
DESTDIR
)
/include"
cp
-rv
"target/openlibm/src"
/
*
.h
"
$(
DESTDIR
)
/include"
cp
-v
"
$(
BUILD
)
/debug/libc.a"
"
$(
DESTDIR
)
/lib"
cp
-v
"
$(
BUILD
)
/debug/crt0.o"
"
$(
DESTDIR
)
/lib"
cp
-v
"
$(
BUILD
)
/openlibm/libopenlibm.a"
"
$(
DESTDIR
)
/lib/libm.a"
$(
MAKE
)
-C
openlibm
install
libc
:
$(BUILD)/debug/libc.a $(BUILD)/debug/crt0.o
...
...
This diff is collapsed.
Click to expand it.
include/bits/stdio.h
+
1
−
0
View file @
3e67314b
...
...
@@ -2,6 +2,7 @@
#define _BITS_STDIO_H
#define EOF (-1)
#define BUFSIZ 1024
#define stdin __stdin()
#define stdout __stdout()
#define stderr __stderr()
...
...
This diff is collapsed.
Click to expand it.
include/math.h
+
1
−
0
View file @
3e67314b
#define OPENLIBM_USE_HOST_FENV_H 1
#include
<openlibm.h>
This diff is collapsed.
Click to expand it.
include/stdint.h
+
18
−
0
View file @
3e67314b
...
...
@@ -5,41 +5,57 @@
#define INT8_MIN -0x80
#define INT8_MAX 0x7F
typedef
signed
char
int8_t
;
typedef
signed
char
int_least8_t
;
typedef
signed
char
int_fast8_t
;
#define UINT8_C(value) ((uint8_t) value ## U)
#define UINT8_MIN 0x00
#define UINT8_MAX 0xFF
typedef
unsigned
char
uint8_t
;
typedef
unsigned
char
uint_least8_t
;
typedef
unsigned
char
uint_fast8_t
;
#define INT16_C(value) value
#define INT16_MIN -0x8000
#define INT16_MAX 0x7FFF
typedef
signed
short
int16_t
;
typedef
signed
short
int_least16_t
;
typedef
signed
short
int_fast16_t
;
#define UINT16_C(value) value ## U
#define UINT16_MIN 0x0000
#define UINT16_MAX 0xFFFF
typedef
unsigned
short
uint16_t
;
typedef
unsigned
short
uint_least16_t
;
typedef
unsigned
short
uint_fast16_t
;
#define INT32_C(value) value ## L
#define INT32_MIN -0x80000000
#define INT32_MAX 0x7FFFFFFF
typedef
signed
long
int32_t
;
typedef
signed
long
int_least32_t
;
typedef
signed
long
int_fast32_t
;
#define UINT32_C(value) value ## UL
#define UINT32_MIN 0x00000000
#define UINT32_MAX 0xFFFFFFFF
typedef
unsigned
long
uint32_t
;
typedef
unsigned
long
uint_least32_t
;
typedef
unsigned
long
uint_fast32_t
;
#define INT64_C(value) value ## LL
#define INT64_MIN -0x8000000000000000
#define INT64_MAX 0x7FFFFFFFFFFFFFFF
typedef
signed
long
long
int64_t
;
typedef
signed
long
long
int_least64_t
;
typedef
signed
long
long
int_fast64_t
;
#define UINT64_C(value) value ## ULL
#define UINT64_MIN 0x0000000000000000
#define UINT64_MAX 0xFFFFFFFFFFFFFFFF
typedef
unsigned
long
long
uint64_t
;
typedef
unsigned
long
long
uint_least64_t
;
typedef
unsigned
long
long
uint_fast64_t
;
#define INTMAX_C(value) value ## LL
#define INTMAX_MIN INT64_MIN
...
...
@@ -61,4 +77,6 @@ typedef uint64_t uintptr_t;
#define SIZE_MAX UINT64_MAX
typedef
int
sig_atomic_t
;
#endif
/* _STDINT_H */
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment