File tree Expand file tree Collapse file tree 5 files changed +32
-8
lines changed
src/__support/File/baremetal Expand file tree Collapse file tree 5 files changed +32
-8
lines changed Original file line number Diff line number Diff line change @@ -124,8 +124,11 @@ set(TARGET_LIBC_ENTRYPOINTS
124
124
125
125
# stdio.h entrypoints
126
126
libc.src.stdio.asprintf
127
+ libc.src.stdio.fflush
127
128
libc.src.stdio.fopencookie
128
129
libc.src.stdio.fprintf
130
+ libc.src.stdio.fwrite
131
+ libc.src.stdio.getc
129
132
libc.src.stdio.getchar
130
133
libc.src.stdio.printf
131
134
libc.src.stdio.putchar
@@ -135,7 +138,12 @@ set(TARGET_LIBC_ENTRYPOINTS
135
138
libc.src.stdio.snprintf
136
139
libc.src.stdio.sprintf
137
140
libc.src.stdio.sscanf
141
+ libc.src.stdio.stderr
142
+ libc.src.stdio.stdin
143
+ libc.src.stdio.stdout
144
+ libc.src.stdio.ungetc
138
145
libc.src.stdio.vasprintf
146
+ libc.src.stdio.vfprintf
139
147
libc.src.stdio.vprintf
140
148
libc.src.stdio.vscanf
141
149
libc.src.stdio.vsnprintf
Original file line number Diff line number Diff line change @@ -124,8 +124,11 @@ set(TARGET_LIBC_ENTRYPOINTS
124
124
125
125
# stdio.h entrypoints
126
126
libc.src.stdio.asprintf
127
+ libc.src.stdio.fflush
127
128
libc.src.stdio.fopencookie
128
129
libc.src.stdio.fprintf
130
+ libc.src.stdio.fwrite
131
+ libc.src.stdio.getc
129
132
libc.src.stdio.getchar
130
133
libc.src.stdio.printf
131
134
libc.src.stdio.putchar
@@ -135,7 +138,12 @@ set(TARGET_LIBC_ENTRYPOINTS
135
138
libc.src.stdio.snprintf
136
139
libc.src.stdio.sprintf
137
140
libc.src.stdio.sscanf
141
+ libc.src.stdio.stderr
142
+ libc.src.stdio.stdin
143
+ libc.src.stdio.stdout
144
+ libc.src.stdio.ungetc
138
145
libc.src.stdio.vasprintf
146
+ libc.src.stdio.vfprintf
139
147
libc.src.stdio.vprintf
140
148
libc.src.stdio.vscanf
141
149
libc.src.stdio.vsnprintf
Original file line number Diff line number Diff line change @@ -124,8 +124,11 @@ set(TARGET_LIBC_ENTRYPOINTS
124
124
125
125
# stdio.h entrypoints
126
126
libc.src.stdio.asprintf
127
+ libc.src.stdio.fflush
127
128
libc.src.stdio.fopencookie
128
129
libc.src.stdio.fprintf
130
+ libc.src.stdio.fwrite
131
+ libc.src.stdio.getc
129
132
libc.src.stdio.getchar
130
133
libc.src.stdio.printf
131
134
libc.src.stdio.putchar
@@ -135,7 +138,12 @@ set(TARGET_LIBC_ENTRYPOINTS
135
138
libc.src.stdio.snprintf
136
139
libc.src.stdio.sprintf
137
140
libc.src.stdio.sscanf
141
+ libc.src.stdio.stderr
142
+ libc.src.stdio.stdin
143
+ libc.src.stdio.stdout
144
+ libc.src.stdio.ungetc
138
145
libc.src.stdio.vasprintf
146
+ libc.src.stdio.vfprintf
139
147
libc.src.stdio.vprintf
140
148
libc.src.stdio.vscanf
141
149
libc.src.stdio.vsnprintf
Original file line number Diff line number Diff line change 14
14
15
15
namespace LIBC_NAMESPACE_DECL {
16
16
17
- cookie_io_functions_t io_func = {.read = nullptr ,
18
- .write = __llvm_libc_stdio_write,
19
- .seek = nullptr ,
20
- .close = nullptr };
17
+ static cookie_io_functions_t io_func = {.read = nullptr ,
18
+ .write = __llvm_libc_stdio_write,
19
+ .seek = nullptr ,
20
+ .close = nullptr };
21
21
#pragma clang diagnostic push
22
22
#pragma clang diagnostic ignored "-Wglobal-constructors"
23
23
// Buffering is implementation defined. Therefore to save RAM, we use no
Original file line number Diff line number Diff line change 14
14
15
15
namespace LIBC_NAMESPACE_DECL {
16
16
17
- cookie_io_functions_t io_func = {.read = __llvm_libc_stdio_read,
18
- .write = nullptr ,
19
- .seek = nullptr ,
20
- .close = nullptr };
17
+ static cookie_io_functions_t io_func = {.read = __llvm_libc_stdio_read,
18
+ .write = nullptr ,
19
+ .seek = nullptr ,
20
+ .close = nullptr };
21
21
#pragma clang diagnostic push
22
22
#pragma clang diagnostic ignored "-Wglobal-constructors"
23
23
// Buffering is implementation defined. Therefore to save RAM, we use no
You can’t perform that action at this time.
0 commit comments