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

Unified Diff: src/untrusted/irt/irt.gyp

Issue 12499011: Use gcc by default for gyp untrusted ARM builds (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: fix irt_core_build Created 7 years, 9 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 | « build/untrusted.gypi ('k') | tools.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/untrusted/irt/irt.gyp
diff --git a/src/untrusted/irt/irt.gyp b/src/untrusted/irt/irt.gyp
index b34fe69139b74ff2397ea302c5002bd6b509fd75..e30e92d0caca83d7573e8d7d431708e137e5bf88 100644
--- a/src/untrusted/irt/irt.gyp
+++ b/src/untrusted/irt/irt.gyp
@@ -67,31 +67,16 @@
'-lplatform',
'-lgio',
'-lm',
+ '-Wl,--section-start,.rodata=<(NACL_IRT_DATA_START)',
+ '-Wl,-Ttext-segment=<(NACL_IRT_TEXT_START)',
],
'conditions': [
# See comment in native_client/src/untrusted/irt/nacl.scons
- # regarding -Ttext-segment. Also see
- # http://code.google.com/p/nativeclient/issues/detail?id=2691.
- ['target_arch!="arm"',
- {
- 'link_flags': [
- '-Wl,--section-start,.rodata=<(NACL_IRT_DATA_START)',
- '-Wl,-Ttext-segment=<(NACL_IRT_TEXT_START)',
- ]
- }, { # target_arch == "arm"
- 'sources': ['<@(irt_sources)',
- 'aeabi_read_tp.S'],
- 'asflags': ['-arch', 'arm'],
- 'link_flags': [
- '-Wl,--section-start,.rodata=<(NACL_IRT_DATA_START)',
- '-Wl,-Ttext=<(NACL_IRT_TEXT_START)',
- # TODO(olonho): rethink
- '-L<(SHARED_INTERMEDIATE_DIR)/tc_newlib/libarm',
- '-Wt,-mtls-use-call',
- '-Wl,--pnacl-irt-link',
- ],
- },
- ],
+ # regarding -Ttext-segment.
+ ['target_arch=="arm"', {
+ 'sources': ['<@(irt_sources)',
+ 'aeabi_read_tp.S'],
+ }],
],
'dependencies': [
'<(DEPTH)/native_client/src/shared/gio/gio.gyp:gio_lib',
@@ -119,6 +104,9 @@
'-nostartfiles',
],
}],
+ ['target_arch=="arm"', {
+ 'sources': [ 'aeabi_read_tp.S' ],
+ }],
],
'dependencies': [
'<(DEPTH)/native_client/tools.gyp:prep_toolchain',
« no previous file with comments | « build/untrusted.gypi ('k') | tools.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698