smp: share: error.o
authorMatt Birkholz <puck@birchwood-abbey.net>
Fri, 5 Dec 2014 00:24:17 +0000 (17:24 -0700)
committerMatt Birkholz <puck@birchwood-abbey.net>
Sun, 21 Dec 2014 19:19:10 +0000 (12:19 -0700)
README.txt
src/microcode/error.c

index 3b07a62c743651254bdd969e62c61e6332523a5c..9b559b08aa0496eb2a01456cbcb6016ba6a385f1 100644 (file)
@@ -230,9 +230,11 @@ command line.  The remaining 12 belong to the 7 microcode modules and
   dfloat.o:
 
   error.o:
-  00000004 b current_handler_record
-  00000008 b current_restart_record
-  00000000 b next_condition_type_index
+  00000004 b current_handler_record    __thread
+  00000008 b current_restart_record    __thread
+  00000000 b next_condition_type_index __thread
+
+       OK.  Localized, though this appears to be unused.
 
   extern.o:
 
index 817f3ad06b50cb2ca6a6ffd3ae3f92c23aca5a2b..d6f45608214a81785a6d97231cfe37d4761d0ec7 100644 (file)
@@ -44,9 +44,9 @@ struct restart_record
   struct condition_restart contents;
 };
 
-static unsigned long next_condition_type_index;
-static struct handler_record * current_handler_record;
-static struct restart_record * current_restart_record;
+static __thread unsigned long next_condition_type_index;
+static __thread struct handler_record * current_handler_record;
+static __thread struct restart_record * current_restart_record;
 
 void
 initialize_condition_system (void)