https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61548
--- Comment #26 from Jan Hubicka <hubicka at gcc dot gnu.org> --- Hmm, emutls_foo is added to symtab twice and therefore it is also output twice. __emutls_v.foo/6 (__emutls_v.foo) @0x7ffff6973300 Type: variable definition analyzed Visibility: externally_visible public artificial next sharing asm name: 4 References: Referring: __emutls_v.bar/7 (alias) Availability: available Varpool flags: initialized tls-emulated __emutls_v.foo/4 (__emutls_v.foo) @0x7ffff6973200 Type: variable definition analyzed Visibility: externally_visible public artificial previous sharing asm name: 6 References: Referring: Availability: available Varpool flags: initialized tls-emulated