diff options
Diffstat (limited to 'libc/config')
| -rw-r--r-- | libc/config/config.json | 4 | ||||
| -rw-r--r-- | libc/config/gpu/config.json | 8 | ||||
| -rw-r--r-- | libc/config/linux/app.h | 2 | ||||
| -rw-r--r-- | libc/config/windows/config.json | 8 |
4 files changed, 20 insertions, 2 deletions
diff --git a/libc/config/config.json b/libc/config/config.json index f981c43..296d2e5 100644 --- a/libc/config/config.json +++ b/libc/config/config.json @@ -52,6 +52,10 @@ "LIBC_CONF_PRINTF_RUNTIME_DISPATCH": { "value": true, "doc": "Use dynamic dispatch for the output mechanism to reduce code size." + }, + "LIBC_CONF_PRINTF_DISABLE_WIDE": { + "value": false, + "doc": "Disable handling wide characters for printf and friends." } }, "scanf": { diff --git a/libc/config/gpu/config.json b/libc/config/gpu/config.json index 434ee042..ef13f6a 100644 --- a/libc/config/gpu/config.json +++ b/libc/config/gpu/config.json @@ -41,5 +41,13 @@ "LIBC_CONF_MATH_OPTIMIZATIONS": { "value": "(LIBC_MATH_SKIP_ACCURATE_PASS | LIBC_MATH_INTERMEDIATE_COMP_IN_FLOAT | LIBC_MATH_SMALL_TABLES | LIBC_MATH_NO_ERRNO | LIBC_MATH_NO_EXCEPT)" } + }, + "codegen": { + "LIBC_CONF_KEEP_FRAME_POINTER": { + "value": false + }, + "LIBC_CONF_ENABLE_STRONG_STACK_PROTECTOR": { + "value": false + } } } diff --git a/libc/config/linux/app.h b/libc/config/linux/app.h index 11ac6ee..ff4070e 100644 --- a/libc/config/linux/app.h +++ b/libc/config/linux/app.h @@ -76,8 +76,6 @@ struct TLSDescriptor { // Note that, dependending the target architecture ABI, it can be the // same as |addr| or something else. uintptr_t tp = 0; - - constexpr TLSDescriptor() = default; }; // Create and initialize the TLS area for the current thread. Should not diff --git a/libc/config/windows/config.json b/libc/config/windows/config.json new file mode 100644 index 0000000..6bb09db --- /dev/null +++ b/libc/config/windows/config.json @@ -0,0 +1,8 @@ +{ + "printf": { + "LIBC_CONF_PRINTF_DISABLE_WIDE": { + "value": "true", + "doc": "Disable handling wide characters for printf and friends." + } + } +} |
