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

Unified Diff: runtime/vm/elfgen.h

Issue 221133002: Begins work on ARM64, first assembler test. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: adds files Created 6 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 | « runtime/vm/disassembler_test.cc ('k') | runtime/vm/exceptions_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/elfgen.h
===================================================================
--- runtime/vm/elfgen.h (revision 34648)
+++ runtime/vm/elfgen.h (working copy)
@@ -403,6 +403,9 @@
WriteShort(&header_, kEM_X86_64); // e_machine
#elif defined(TARGET_ARCH_ARM)
WriteShort(&header_, kEM_ARM); // e_machine
+#elif defined(TARGET_ARCH_ARM64)
+ // TODO(zra): Find the right ARM64 constant.
+ WriteShort(&header_, kEM_ARM); // e_machine
#elif defined(TARGET_ARCH_MIPS)
WriteShort(&header_, kEM_MIPS); // e_machine
#else
« no previous file with comments | « runtime/vm/disassembler_test.cc ('k') | runtime/vm/exceptions_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698