summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorguenther <guenther@openbsd.org>2019-07-14 05:08:26 +0000
committerguenther <guenther@openbsd.org>2019-07-14 05:08:26 +0000
commit2d76821b1141dbdecdfe6c80c4cd6e98cd61bb14 (patch)
tree9dba2a87c791a2f3bfb237f0a4b1cf7a0c686b2a
parentUnlike gas, clang's assembler complains about duplicate symbol assignments. (diff)
downloadwireguard-openbsd-2d76821b1141dbdecdfe6c80c4cd6e98cd61bb14.tar.xz
wireguard-openbsd-2d76821b1141dbdecdfe6c80c4cd6e98cd61bb14.zip
Delete obsolete bits in a comment: mcontext is gone and struct reg is no
longer required to be layout compatible with struct trapframe noted by Benjamin Baier (programmer (at) netzbasis.de)
-rw-r--r--sys/arch/amd64/include/reg.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/arch/amd64/include/reg.h b/sys/arch/amd64/include/reg.h
index ee50e0bfdc9..dfb68c45bc5 100644
--- a/sys/arch/amd64/include/reg.h
+++ b/sys/arch/amd64/include/reg.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: reg.h,v 1.6 2011/03/23 16:54:34 pirofti Exp $ */
+/* $OpenBSD: reg.h,v 1.7 2019/07/14 05:08:26 guenther Exp $ */
/* $NetBSD: reg.h,v 1.1 2003/04/26 18:39:47 fvdl Exp $ */
/*-
@@ -75,8 +75,6 @@
/*
* Registers accessible to ptrace(2) syscall for debugger use.
- * Same as mcontext.__gregs and struct trapframe, they must
- * remain synced (XXX should use common structure).
*/
struct reg {
int64_t r_rdi;