summaryrefslogtreecommitdiff
path: root/config/libc
diff options
context:
space:
mode:
authorStephanos Ioannidis <root@stephanos.io>2019-12-20 02:18:46 (GMT)
committerStephanos Ioannidis <root@stephanos.io>2019-12-20 02:18:46 (GMT)
commitbb1d687e1d8a462b64fe2ae8ac6496e70b80111e (patch)
tree58d0d555345af9d0745e24e8e4fe8ebf0ddbb71a /config/libc
parent3f461da11f1f8e9dcfdffef24e1982b5ffd10305 (diff)
Add newlib retargetable locking configuration
This commit adds support for the newlib configuration option '--enable-newlib-retargetable-locking'. Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
Diffstat (limited to 'config/libc')
-rw-r--r--config/libc/newlib.in7
1 files changed, 7 insertions, 0 deletions
diff --git a/config/libc/newlib.in b/config/libc/newlib.in
index 268f956..199eff2 100644
--- a/config/libc/newlib.in
+++ b/config/libc/newlib.in
@@ -152,6 +152,13 @@ config LIBC_NEWLIB_MULTITHREAD
help
Enable support for multiple threads.
+config LIBC_NEWLIB_RETARGETABLE_LOCKING
+ bool
+ prompt "Enable retargetable locking"
+ help
+ Enable retargetable locking to allow the operating system to override
+ the dummy lock functions defined within the newlib.
+
config LIBC_NEWLIB_EXTRA_SECTIONS
bool
prompt "Place each function & data element in their own section"