https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80881
--- Comment #114 from LIU Hao <lh_mouse at 126 dot com> ---
I suggest
if (startswith (name, ".tls$"))
*f++ = 'd';
be moved into the `else` branch just beneath it. Currently it looks like if
both `if` are true it may produce "dd".
