http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48076
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> 2011-03-11 16:33:49 UTC --- >This looks unlikely on x86, but it may be a much bigger deal on ARM. This code should not be used on GNU/Linux on most targets anyways. ARM Linux supports TLS natively. I am not saying this is not a bug but I think you should figure out why native TLS is not be used for arm for your code.