[libc] Reduce binary size for baremetal targets (#121164)

For `math` functions we must choose size optimized implementations.
Removing framepointers will also help with binary size savings.
This commit is contained in:
Prabhuk 2024-12-26 15:55:39 -08:00 committed by GitHub
parent 8e9fda1c11
commit 7deaed975e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -25,5 +25,15 @@
"LIBC_CONF_QSORT_IMPL": {
"value": "LIBC_QSORT_HEAP_SORT"
}
},
"math": {
"LIBC_CONF_MATH_OPTIMIZATIONS": {
"value": "(LIBC_MATH_SKIP_ACCURATE_PASS | LIBC_MATH_SMALL_TABLES)"
}
},
"codegen": {
"LIBC_CONF_KEEP_FRAME_POINTER": {
"value": false
}
}
}