summaryrefslogtreecommitdiff
path: root/config/libc/newlib.in
diff options
context:
space:
mode:
Diffstat (limited to 'config/libc/newlib.in')
-rw-r--r--config/libc/newlib.in18
1 files changed, 1 insertions, 17 deletions
diff --git a/config/libc/newlib.in b/config/libc/newlib.in
index ce426da..83ae4b1 100644
--- a/config/libc/newlib.in
+++ b/config/libc/newlib.in
@@ -1,6 +1,7 @@
# newlib options
## depends on BARE_METAL
+## select LIBC_PROVIDES_CXA_ATEXIT
## select LIBC_SUPPORT_THREADS_NONE
## select CC_CORE_PASS_1_NEEDED
@@ -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