http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46972
Iain Sandoe <iains at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |iains at gcc dot gnu.org --- Comment #9 from Iain Sandoe <iains at gcc dot gnu.org> 2010-12-21 13:12:53 UTC --- (In reply to comment #8) > (In reply to comment #7) > > (In reply to comment #6) > > > I think enumtls has been fixed on the trunk with respect of > > > fsection-anchors. > > > Can you try the trunk? > > > > Yes, looks like this bug is fixed in trunk. Assembly output looks sane. I > > will > > see if it works on real hardware some time later today. Do you know svn > > revision it got fixed? > > No but the change was done by Iain Sandoe to fix enum TLS with LTO on darwin. The fix to emuTLS on trunk is from Richard Henderson's new implementation. http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=162549 I made some fixes to LTO-compatibility and Section anchors, but they primarily affect ObjC* and PPC-darwin, so likely not relevant to your case.