http://d.puremagic.com/issues/show_bug.cgi?id=5485

           Summary: TLS sections handled incorrectly
           Product: D
           Version: D2
          Platform: Other
        OS/Version: FreeBSD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: druntime
        AssignedTo: nob...@puremagic.com
        ReportedBy: d...@dawgfoto.de


--- Comment #0 from d...@dawgfoto.de 2011-01-25 11:53:08 PST ---
Created an attachment (id=879)
git format-patch

In src/core/thread.d:
_tlsstart/_tlsend should be handled same as for linux elf.

-                    extern void* _tlsstart;
-                    extern void* _tlsend;
+                    extern __thread int _tlsstart;
+                    extern __thread int _tlsend;

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to