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

Unified Diff: tests/irt_compatibility/nacl.scons

Issue 140653005: Adds tls_edit utility which patches irt_core.nexe's TLS usage. (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: Rebased to master Created 6 years, 10 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 | « src/untrusted/irt/nacl.scons ('k') | tests/irt_private_pthread/nacl.scons » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/irt_compatibility/nacl.scons
diff --git a/tests/irt_compatibility/nacl.scons b/tests/irt_compatibility/nacl.scons
index a9aa6b21fab1d375c69168da24409dbafa5329e6..96c74b69b57ceff89a6828de302f2d794e408fd2 100644
--- a/tests/irt_compatibility/nacl.scons
+++ b/tests/irt_compatibility/nacl.scons
@@ -20,10 +20,14 @@ blob_env.Append(LINKFLAGS=['-Wl,-Trodata-segment=${IRT_BLOB_DATA_START}',
# interface versions.
blob_env.Append(CPPDEFINES=[['ALLOW_DYNAMIC_LINKING',
str(int(not env.Bit('nacl_static_link')))]])
-irt_comp_test_library = blob_env.ComponentProgram(
- 'irt_comp_test', ['irt_comp_interfaces.c'],
+irt_comp_test_raw_library = blob_env.ComponentProgram(
+ 'irt_comp_test_raw', ['irt_comp_interfaces.c'],
EXTRA_LIBS=['irt_support_private'])
+irt_comp_test_library = env.ApplyTLSEdit(
+ 'irt_comp_test',
+ irt_comp_test_raw_library)
+
# Don't provide IRT, we provide it ourselves via -B.
env.ClearBits('tests_use_irt')
« no previous file with comments | « src/untrusted/irt/nacl.scons ('k') | tests/irt_private_pthread/nacl.scons » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698