Index: src/untrusted/irt/nacl.scons |
diff --git a/src/untrusted/irt/nacl.scons b/src/untrusted/irt/nacl.scons |
index 82b69aff1a2f812ee74258ae8adbe57f0f9cb851..21e63f0a2a55cd558db7bb74651fc564d6014887 100644 |
--- a/src/untrusted/irt/nacl.scons |
+++ b/src/untrusted/irt/nacl.scons |
@@ -67,7 +67,7 @@ irt_library = blob_env.ComponentProgram( |
'pthread', |
'm']) |
-if env.Bit('build_x86_32'): |
+if env.Bit('build_x86_32') and not env.Bit('bitcode'): |
# Make sure that the linked IRT nexe never uses TLS via %gs access. |
# All IRT code must avoid direct use of the TLS ABI register, which |
# is reserved for user TLS. Instead, ensure all TLS accesses use a |