Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(141)

Unified Diff: SConstruct

Issue 1536713003: [MIPS] Make $t8 point to the address of TLS pointers (Closed) Base URL: https://chromium.googlesource.com/native_client/src/native_client@master
Patch Set: Move EditMipsCode() below EditArmCode(). Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/tools/tls_edit/tls_edit.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: SConstruct
diff --git a/SConstruct b/SConstruct
index 477fb3e3a955307d6d67d20d13428a438b3e909e..311625f37ad68b33940b63e0c47d7d867a928c4f 100755
--- a/SConstruct
+++ b/SConstruct
@@ -3499,16 +3499,6 @@ nacl_irt_env.Replace(LINK=(nacl_irt_env['LINK'].
nacl_irt_env.Replace(LINK=(nacl_irt_env['LINK'].
replace('nacl-clang++', 'nacl-clang')))
-
-# 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
-# call to __nacl_read_tp, which the IRT code overrides to segregate
-# IRT-private TLS from user TLS. This only applies to mips now, on
-# other platforms we modify the TLS register through tls_edit as a
-# post process.
-if nacl_irt_env.Bit('build_mips32'):
- nacl_irt_env.Append(LINKFLAGS=['-Wt,-mtls-use-call'])
-
# TODO(mcgrathr): Clean up uses of these methods.
def AddLibraryDummy(env, nodes):
return nodes
« no previous file with comments | « no previous file | src/tools/tls_edit/tls_edit.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698