Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/alpha/alpha Don't try and symbol set debug_stack_to...



details:   https://anonhg.NetBSD.org/src/rev/bddecf15618c
branches:  trunk
changeset: 746828:bddecf15618c
user:      skrll <skrll%NetBSD.org@localhost>
date:      Thu Aug 20 21:34:03 2009 +0000

description:
Don't try and symbol set debug_stack_top from the common symbol
debug_stack_bottom. It's bogus and disallowed in new binutils.

diffstat:

 sys/arch/alpha/alpha/debug.s |  7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diffs (28 lines):

diff -r cc02a7c116b7 -r bddecf15618c sys/arch/alpha/alpha/debug.s
--- a/sys/arch/alpha/alpha/debug.s      Thu Aug 20 21:31:49 2009 +0000
+++ b/sys/arch/alpha/alpha/debug.s      Thu Aug 20 21:34:03 2009 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: debug.s,v 1.11 2008/04/28 20:23:10 martin Exp $ */
+/* $NetBSD: debug.s,v 1.12 2009/08/20 21:34:03 skrll Exp $ */
 
 /*-
  * Copyright (c) 1999, 2001 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  * POSSIBILITY OF SUCH DAMAGE.
  */
 
-__KERNEL_RCSID(6, "$NetBSD: debug.s,v 1.11 2008/04/28 20:23:10 martin Exp $")
+__KERNEL_RCSID(6, "$NetBSD: debug.s,v 1.12 2009/08/20 21:34:03 skrll Exp $")
 
 #include "opt_multiprocessor.h"
 #include "opt_kgdb.h"
@@ -47,7 +47,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:



Home | Main Index | Thread Index | Old Index