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

Unified Diff: third_party/android_crazy_linker/src/src/elf_traits.h

Issue 346583004: crazy_linker: Add support for x86_64. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase to master Created 6 years, 4 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 | « third_party/android_crazy_linker/src/src/crazy_linker_elf_relocations.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/android_crazy_linker/src/src/elf_traits.h
diff --git a/third_party/android_crazy_linker/src/src/elf_traits.h b/third_party/android_crazy_linker/src/src/elf_traits.h
index fa6b780fa1bcd1d01eaf1f2a93301c586d2fbbe3..f666b65bf71d0d7f92420a514c23c56c1cd1cd43 100644
--- a/third_party/android_crazy_linker/src/src/elf_traits.h
+++ b/third_party/android_crazy_linker/src/src/elf_traits.h
@@ -67,6 +67,8 @@ struct ELF {
#define ELF_MACHINE EM_ARM
#elif defined(__i386__)
#define ELF_MACHINE EM_386
+#elif defined(__x86_64__)
+#define ELF_MACHINE EM_X86_64
#elif defined(__mips__) && !defined(__LP64__) // mips64el defines __mips__ too
#define ELF_MACHINE EM_MIPS
#elif defined(__aarch64__)
« no previous file with comments | « third_party/android_crazy_linker/src/src/crazy_linker_elf_relocations.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698