summaryrefslogtreecommitdiffstats
path: root/sys/alpha
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2001-05-28 09:52:21 +0000
committerobrien <obrien@FreeBSD.org>2001-05-28 09:52:21 +0000
commit01707e0035062e46b35977381c90da78a664751b (patch)
tree0c505bc5e496a15db922cedcc5497efd24cf624d /sys/alpha
parentd85b77042de8303a3766fcd0b9eea0e59f5d6005 (diff)
downloadFreeBSD-src-01707e0035062e46b35977381c90da78a664751b.zip
FreeBSD-src-01707e0035062e46b35977381c90da78a664751b.tar.gz
One needs to introduce things with a `.file' directive before trying to
do a .loc on it. BTW, the .loc needs to be in a .text section. gas 2.11.0 catches these oversights where previous versions did not.
Diffstat (limited to 'sys/alpha')
-rw-r--r--sys/alpha/alpha/pal.s5
-rw-r--r--sys/alpha/alpha/prom_disp.s4
-rw-r--r--sys/alpha/include/asm.h6
3 files changed, 13 insertions, 2 deletions
diff --git a/sys/alpha/alpha/pal.s b/sys/alpha/alpha/pal.s
index 2b608f4..2e50312 100644
--- a/sys/alpha/alpha/pal.s
+++ b/sys/alpha/alpha/pal.s
@@ -43,7 +43,10 @@
__KERNEL_RCSID(1, "$NetBSD: pal.s,v 1.12 1998/02/27 03:44:53 thorpej Exp $");
-inc2: .stabs __FILE__,132,0,0,inc2; .loc 1 __LINE__
+inc2: .stabs __FILE__,132,0,0,inc2
+ .text
+ .loc 1 __LINE__
+
/*
* alpha_rpcc: read process cycle counter (XXX INSTRUCTION, NOT PALcode OP)
*/
diff --git a/sys/alpha/alpha/prom_disp.s b/sys/alpha/alpha/prom_disp.s
index 23485a4..cd3e774 100644
--- a/sys/alpha/alpha/prom_disp.s
+++ b/sys/alpha/alpha/prom_disp.s
@@ -39,7 +39,9 @@ __KERNEL_RCSID(2, "$NetBSD: prom_disp.s,v 1.8 1997/11/03 04:22:03 ross Exp $");
.text
.align 4
-inc3: .stabs __FILE__,132,0,0,inc3; .loc 1 __LINE__
+inc3: .stabs __FILE__,132,0,0,inc3
+ .text
+ .loc 1 __LINE__
/*
* Dispatcher routine. Implements prom's calling machinery, saves our
* callee-saved registers as required by C.
diff --git a/sys/alpha/include/asm.h b/sys/alpha/include/asm.h
index 5b626ef..b6cc41e 100644
--- a/sys/alpha/include/asm.h
+++ b/sys/alpha/include/asm.h
@@ -226,6 +226,12 @@
*
*/
+ /*
+ * for `.loc' uses
+ */
+
+ .file 1 __FILE__
+
/*
* MCOUNT
*/
OpenPOWER on IntegriCloud