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

Unified Diff: tools/build.py

Issue 1559223003: Treat R19 is a C preserved register, fixing crashing on Linux ARM64. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: 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
Index: tools/build.py
diff --git a/tools/build.py b/tools/build.py
index 0c5e235c16d4b80dada3bf751bb303ae4fb2904c..dac178fbf2209ef3208965ea1bbc43daba2f415c 100755
--- a/tools/build.py
+++ b/tools/build.py
@@ -153,8 +153,10 @@ def GetToolchainPrefix(target_os, arch, options):
if arch == 'arm':
# To use a non-hf compiler, specify on the command line with --toolchain.
return (DEFAULT_ARM_CROSS_COMPILER_PATH + "/arm-linux-gnueabihf")
+ if arch == 'arm64':
+ return (DEFAULT_ARM_CROSS_COMPILER_PATH + "/aarch64-linux-gnu")
- # TODO(zra): Find default MIPS and ARM64 Linux cross-compilers.
+ # TODO(zra): Find default MIPS Linux cross-compiler.
return None

Powered by Google App Engine
This is Rietveld 408576698