https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81501
H.J. Lu <hjl.tools at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #61788|0 |1 is obsolete| | --- Comment #14 from H.J. Lu <hjl.tools at gmail dot com> --- Created attachment 61790 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61790&action=edit An updated patch This is the patch I will submit. It reduces the number of __tls_get_addr calls in libgcc.a by 72%: __tls_get_addr calls before after libgcc.a 868 243