summaryrefslogtreecommitdiff
path: root/config/libc/newlib.in
diff options
context:
space:
mode:
authorAlexey Neyman <stilor@att.net>2022-02-14 08:11:42 (GMT)
committerGitHub <noreply@github.com>2022-02-14 08:11:42 (GMT)
commit681aaef1f1ff39c341fdc529e0db2c14639a58d8 (patch)
treece98c2b3d9648db065d27add325370392a35d584 /config/libc/newlib.in
parentba680a3e5b8c62a7c1554e71f6d09903dac95a2f (diff)
parent86c2982568de1ad4d4cc12a65b19231331484405 (diff)
Merge pull request #1674 from stilor/master
Updates to make `ct-ng build-all` pass
Diffstat (limited to 'config/libc/newlib.in')
-rw-r--r--config/libc/newlib.in20
1 files changed, 2 insertions, 18 deletions
diff --git a/config/libc/newlib.in b/config/libc/newlib.in
index ce426da..f1cb29b 100644
--- a/config/libc/newlib.in
+++ b/config/libc/newlib.in
@@ -1,8 +1,9 @@
# newlib options
## depends on BARE_METAL
+## select LIBC_PROVIDES_CXA_ATEXIT
## select LIBC_SUPPORT_THREADS_NONE
-## select CC_CORE_PASS_1_NEEDED
+## select CC_CORE_NEEDED
## help Newlib is a C library intended for use on embedded systems. It is a
## help conglomeration of several library parts, all under free software
@@ -11,21 +12,6 @@
## help array of processors, and will usually work on any architecture with
## help the addition of a few low-level routines.
-# maybe older versions of newlib will support it too, but this
-# needs to be checked
-config NEWLIB_CXA_ATEXIT
- def_bool y
- depends on NEWLIB_2_0_or_later
- select LIBC_PROVIDES_CXA_ATEXIT
-
-config NEWLIB_HAS_NANO_MALLOC
- def_bool y
- depends on NEWLIB_2_1_or_later
-
-config NEWLIB_HAS_NANO_FORMATTED_IO
- def_bool y
- depends on NEWLIB_2_2_or_later
-
config LIBC_NEWLIB_TARGET_CFLAGS
string
prompt "Target CFLAGS for newlib"
@@ -197,7 +183,6 @@ config LIBC_NEWLIB_LTO
config LIBC_NEWLIB_NANO_MALLOC
bool
prompt "Enable Nano Malloc"
- depends on NEWLIB_HAS_NANO_MALLOC
help
NEWLIB has two implementations of malloc family's functions, one in
`mallocr.c' and the other one in `nano-mallocr.c'. This options
@@ -208,7 +193,6 @@ config LIBC_NEWLIB_NANO_MALLOC
config LIBC_NEWLIB_NANO_FORMATTED_IO
bool
prompt "Enable Nano Formatted I/O"
- depends on NEWLIB_HAS_NANO_FORMATTED_IO
help
This builds NEWLIB with a special implementation of formatted I/O
functions, designed to lower the size of application on small systems