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

Unified Diff: src/untrusted/irt/nacl.scons

Issue 19288005: Factor linker flag which sets text segment into a function in SConstruct (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: use --section-start .text= instead of -Ttext= Created 7 years, 5 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
Index: src/untrusted/irt/nacl.scons
diff --git a/src/untrusted/irt/nacl.scons b/src/untrusted/irt/nacl.scons
index f98d07dd07b31b80a39aefb6ee5b195b9ee2e2a9..bdac1e0f445a51991718a735caeccef8f70e9fa9 100644
--- a/src/untrusted/irt/nacl.scons
+++ b/src/untrusted/irt/nacl.scons
@@ -16,7 +16,7 @@ if env.Bit('nacl_glibc'):
blob_env = env.Clone()
blob_env.Append(LINKFLAGS=[blob_env.RodataSwitch('${IRT_BLOB_DATA_START}'),
- '-Wl,-Ttext-segment=${IRT_BLOB_CODE_START}'])
+ blob_env.TextSwitch('${IRT_BLOB_CODE_START}')])
irt_support_sources = [
'irt_malloc.c',
« SConstruct ('K') | « SConstruct ('k') | tests/irt_compatibility/nacl.scons » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698