summaryrefslogtreecommitdiff
path: root/cmake
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 /cmake
parentc5747615da78f7c2d91112f2a6b6b4da4f18540a (diff)
downloadgperftools-3b1c60cc4ea737ff151977dbcd164c5e2eb859fb.tar.gz
Add support for Elbrus 2000 (e2k)
Diffstat (limited to 'cmake')
-rw-r--r--cmake/PCFromUContext.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmake/PCFromUContext.cmake b/cmake/PCFromUContext.cmake
index e2db2e3..d231124 100644
--- a/cmake/PCFromUContext.cmake
+++ b/cmake/PCFromUContext.cmake
@@ -29,6 +29,7 @@ macro(pc_from_ucontext variable)
"uc_mcontext.psw.addr" # Linux (s390)
"uc_mcontext.gregs[R15]" # Linux (arm old [untested])
"uc_mcontext.arm_pc" # Linux (arm arch 5)
+ "uc_mcontext.cr0_hi" # Linux (e2k)
"uc_mcontext.gp_regs[PT_NIP]" # Suse SLES 11 (ppc64)
"uc_mcontext.mc_eip" # FreeBSD (i386)
"uc_mcontext.mc_rip" # FreeBSD (x86_64 [untested])