Can we enable TLS instead of using emutls?
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
GNU Arm Embedded Toolchain |
New
|
Undecided
|
Unassigned |
Bug Description
Version: gcc-arm-
I'm working on an embedded C library, picolibc, https:/
However, the provided binary packages for GNU Arm Embedded Toolchain are built with --disable-tls which causes the system to use emulated TLS instead, and that uses a lot of memory, is very slow and requires malloc.
I don't see any reason not to enable TLS support for the embedded toolchain; I've built the compiler with it enabled, built picolibc with the compiler and run the resulting code on a variety of devices.