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

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: Created 5 years 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') | src/tools/tls_edit/tls_edit.c » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: SConstruct
diff --git a/SConstruct b/SConstruct
index 60697bc7b6957998c16ccf236993dd5bb2286066..f1329272ab04716ce4f8ed7f55e34104de184f01 100755
--- a/SConstruct
+++ b/SConstruct
@@ -3561,16 +3561,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') | src/tools/tls_edit/tls_edit.c » ('J')

Powered by Google App Engine
This is Rietveld 408576698