summaryrefslogtreecommitdiff
path: root/src/malloc_hook_mmap_linux.h
diff options
context:
space:
mode:
authorSSE4 <tomskside@gmail.com>2021-01-27 11:15:56 +0300
committerAliaksey Kandratsenka <alkondratenko@gmail.com>2021-01-30 13:45:18 -0800
commit3b1c60cc4ea737ff151977dbcd164c5e2eb859fb (patch)
tree941217737091e5f48f1e90afd0e64e368f27aac0 /src/malloc_hook_mmap_linux.h
parentc5747615da78f7c2d91112f2a6b6b4da4f18540a (diff)
downloadgperftools-3b1c60cc4ea737ff151977dbcd164c5e2eb859fb.tar.gz
Add support for Elbrus 2000 (e2k)
Diffstat (limited to 'src/malloc_hook_mmap_linux.h')
-rw-r--r--src/malloc_hook_mmap_linux.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/malloc_hook_mmap_linux.h b/src/malloc_hook_mmap_linux.h
index fb93b8a..927c533 100644
--- a/src/malloc_hook_mmap_linux.h
+++ b/src/malloc_hook_mmap_linux.h
@@ -56,7 +56,8 @@
|| defined(__PPC64__) \
|| defined(__aarch64__) \
|| (defined(_MIPS_SIM) && (_MIPS_SIM == _ABI64 || _MIPS_SIM == _ABIN32)) \
- || defined(__s390__) || (defined(__riscv) && __riscv_xlen == 64)
+ || defined(__s390__) || (defined(__riscv) && __riscv_xlen == 64) \
+ || defined(__e2k__)
static inline void* do_mmap64(void *start, size_t length,
int prot, int flags,