smp: share: comutl.o
authorMatt Birkholz <puck@birchwood-abbey.net>
Sat, 6 Dec 2014 07:09:58 +0000 (00:09 -0700)
committerMatt Birkholz <puck@birchwood-abbey.net>
Sun, 21 Dec 2014 19:19:11 +0000 (12:19 -0700)
README.txt
src/microcode/comutl.c

index 4707bd41902298bcd0eb674cf174fb64addc6c40..69e0a919414dcfaeb5ceb3bc85b0f7158ea69d7d 100644 (file)
@@ -924,7 +924,9 @@ command line.  The remaining 12 belong to the 7 microcode modules and
        OK.
 
   comutl.o:
-  00000000 b ilof_prefix
+  00000000 b ilof_prefix               __thread
+
+       OK.  Now thread-local.
 
   usrdef.o:
   00000000 D MAX_STATIC_PRIMITIVE
index e0a9a1487633f9e81c719721dce3f4ab4a8f9459..d02c59687f534605075bb80725285dca72470b46 100644 (file)
@@ -207,7 +207,7 @@ DEFINE_PRIMITIVE ("INITIALIZE-C-COMPILED-BLOCK",
 }
 
 typedef unsigned long thunk_t (void);
-static const char * ilof_prefix = 0;
+static __thread const char * ilof_prefix = 0;
 
 DEFINE_PRIMITIVE ("INITIALIZE-LIARC-OBJECT-FILE", Prim_initialize_liarc_object_file, 2, 2,
                  "(ADDRESS PREFIX)\n\