diff options
author | Keith Packard <keithp@keithp.com> | 2021-01-11 22:42:26 -0800 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2021-01-11 22:45:01 -0800 |
commit | 74949b1d3578873af031f9ad67a8fdb571c5f1bc (patch) | |
tree | ad1d15e2f647d6d307ee0055c11ce74ae53e05a9 /config | |
parent | f7c033cd109c3eaf2d328d407855b272f74c1438 (diff) | |
download | crosstool-ng-74949b1d3578873af031f9ad67a8fdb571c5f1bc.tar.gz crosstool-ng-74949b1d3578873af031f9ad67a8fdb571c5f1bc.tar.bz2 crosstool-ng-74949b1d3578873af031f9ad67a8fdb571c5f1bc.zip |
picolibc: Clean up configuration a bit
Use LIBC_PICOLIBC_CXA_ATEXIT to keep this name in the same 'namespace'
as the other picolibc config names.
Enable retargetable locking by default. This allows the few locks in
picolibc to be implemented by the execution environment, rather than
disabling the locking code.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'config')
-rw-r--r-- | config/comp_libs/picolibc.in | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/config/comp_libs/picolibc.in b/config/comp_libs/picolibc.in index a3f07d63..62ab22b4 100644 --- a/config/comp_libs/picolibc.in +++ b/config/comp_libs/picolibc.in @@ -10,7 +10,7 @@ ## help conglomeration of several library parts, all under BSD-compatible software ## help licenses that make them easily usable on embedded products. -config PICOLIBC_CXA_ATEXIT +config LIBC_PICOLIBC_CXA_ATEXIT def_bool y select LIBC_PROVIDES_CXA_ATEXIT @@ -72,6 +72,7 @@ config LIBC_PICOLIBC_MULTITHREAD config LIBC_PICOLIBC_RETARGETABLE_LOCKING bool prompt "Enable retargetable locking" + default y help Enable retargetable locking to allow the operating system to override the dummy lock functions defined within picolibc. |