aboutsummaryrefslogtreecommitdiffstats
path: root/executor/common_linux.h
diff options
context:
space:
mode:
authorJouni Hogander <jouni.hogander@unikie.com>2019-11-19 13:12:54 +0200
committerDmitry Vyukov <dvyukov@google.com>2019-12-17 11:10:52 +0100
commit07bfd71dacb4775720708ca2fc39fef10c9f37c4 (patch)
tree13d1bb01110aacfefe8999a23ac3cd83b4a5e9fa /executor/common_linux.h
parentd13d795888186e87aeec9ce670986d183036c348 (diff)
Implement basic support for MIPS64LE
Add basic stuff to enable MIPS64ELR2 target: - build - make extract - make generate - qemu execution - system call parsing from /proc/kallsyms
Diffstat (limited to 'executor/common_linux.h')
-rw-r--r--executor/common_linux.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/executor/common_linux.h b/executor/common_linux.h
index f333c41f1..23f830a8f 100644
--- a/executor/common_linux.h
+++ b/executor/common_linux.h
@@ -1229,6 +1229,8 @@ struct fs_image_segment {
#define sys_memfd_create 279
#elif GOARCH_ppc64le
#define sys_memfd_create 360
+#elif GOARCH_mips64le
+#define sys_memfd_create 314
#endif
static unsigned long fs_image_segment_check(unsigned long size, unsigned long nsegs, long segments)