[Issue 5485] New: TLS sections handled incorrectly

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Jan 25 11:55:13 PST 2011


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: nobody at puremagic.com
        ReportedBy: dawg at dawgfoto.de


--- Comment #0 from dawg at 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: -------


More information about the Digitalmars-d-bugs mailing list