------- Comment #7 from davek at gcc dot gnu dot org 2009-09-15 13:40 ------- This looks a little tricky.
Knowledge of the "__emutls_v." prefix is entirely private to varasm.c. The actual prefixed object itself escapes publicly with that name, but only varasm.c knows that subsequent references to that variable need to be prefixed also, and this is not refelected anywhere in the DECL_NAME or DECL_ASSEMBLER_NAME. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41357