From 2d1e3b33a4ce98cd50c0f792b63ef5979bcac852 Mon Sep 17 00:00:00 2001 From: Matt Birkholz Date: Sat, 6 Dec 2014 00:09:58 -0700 Subject: [PATCH] smp: share: comutl.o --- README.txt | 4 +++- src/microcode/comutl.c | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/README.txt b/README.txt index 4707bd419..69e0a9194 100644 --- a/README.txt +++ b/README.txt @@ -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 diff --git a/src/microcode/comutl.c b/src/microcode/comutl.c index e0a9a1487..d02c59687 100644 --- a/src/microcode/comutl.c +++ b/src/microcode/comutl.c @@ -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\ -- 2.25.1