summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAliaksey Kandratsenka <alkondratenko@gmail.com>2019-02-10 12:46:18 -0800
committerAliaksey Kandratsenka <alkondratenko@gmail.com>2019-02-10 12:46:22 -0800
commit9e5b1628737c67b4587f937164572774592978c4 (patch)
treecd614d3dabb454ea53bf5618339846d8b093ca17
parent1e36ed705548ae2a5170bb00dfee0954b8ef76de (diff)
downloadgperftools-9e5b1628737c67b4587f937164572774592978c4.tar.gz
don't try to mark rsp as clobbered in linux syscall support
rsp is not actually clobbered by that code and later gccs actually (correctly) bark at it. Fixed issue #1076.
-rw-r--r--src/base/linux_syscall_support.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/base/linux_syscall_support.h b/src/base/linux_syscall_support.h
index 13aa415..199061a 100644
--- a/src/base/linux_syscall_support.h
+++ b/src/base/linux_syscall_support.h
@@ -1485,7 +1485,7 @@ struct kernel_stat {
"d"(LSS_SYSCALL_ARG(parent_tidptr)),
"r"(LSS_SYSCALL_ARG(newtls)),
"r"(LSS_SYSCALL_ARG(child_tidptr))
- : "rsp", "memory", "r8", "r10", "r11", "rcx");
+ : "memory", "r8", "r10", "r11", "rcx");
}
LSS_RETURN(int, __res);
}