How to disable Emulating TLS

gcc-arm-none-eabi uses the --disable-tls configuration to compile. When I use TLS on Cortex-M7, Emulating TLS is used. When accessing thread local variables, gcc will insert __emutls_get_address to get thread local The address of the variable. But I want gcc to insert __tls_get_address, TLS section is put into tdata and tbss, so I modified the configuration option --enable-tls and recompile gcc-arm-none-eabi, the newly generated toolchain still uses Emulating TLS, how do I need to configure it to turn off Emulating TLS and use __tls_get_address? Thanks

More questions in this forum