summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormiod <miod@openbsd.org>2010-06-06 11:25:37 +0000
committermiod <miod@openbsd.org>2010-06-06 11:25:37 +0000
commitfecf3797ba815bb563e471298448661ed9be5896 (patch)
treec1b7d76f1e08f89738c8629d6f6845f8f561c8e8
parentclean-up into smaller functions (diff)
downloadwireguard-openbsd-fecf3797ba815bb563e471298448661ed9be5896.tar.xz
wireguard-openbsd-fecf3797ba815bb563e471298448661ed9be5896.zip
Avoid computing a symbol with arithmetic involving a common, modern binutils
complain about this. From NetBSD
-rw-r--r--sys/arch/alpha/alpha/debug.s5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/arch/alpha/alpha/debug.s b/sys/arch/alpha/alpha/debug.s
index ed4fbc68983..dacd24d3f2e 100644
--- a/sys/arch/alpha/alpha/debug.s
+++ b/sys/arch/alpha/alpha/debug.s
@@ -1,4 +1,4 @@
-/* $OpenBSD: debug.s,v 1.5 2008/06/26 05:42:08 ray Exp $ */
+/* $OpenBSD: debug.s,v 1.6 2010/06/06 11:25:37 miod Exp $ */
/* $NetBSD: debug.s,v 1.5 1999/06/18 18:11:56 thorpej Exp $ */
/*-
@@ -50,7 +50,8 @@
*/
#define DEBUG_STACK_SIZE 8192
BSS(debug_stack_bottom, DEBUG_STACK_SIZE)
-ABS(debug_stack_top, debug_stack_bottom + DEBUG_STACK_SIZE)
+
+#define debug_stack_top (debug_stack_bottom + DEBUG_STACK_SIZE)
/*
* alpha_debug: