Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/alpha/include Disable .loc in macros for now; the n...



details:   https://anonhg.NetBSD.org/src/rev/7794702ac096
branches:  trunk
changeset: 519471:7794702ac096
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Tue Dec 18 04:15:45 2001 +0000

description:
Disable .loc in macros for now; the new assembler is a lot more
picky about having the file number defined.

diffstat:

 sys/arch/alpha/include/asm.h |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (36 lines):

diff -r 009edf3f1b10 -r 7794702ac096 sys/arch/alpha/include/asm.h
--- a/sys/arch/alpha/include/asm.h      Tue Dec 18 03:46:36 2001 +0000
+++ b/sys/arch/alpha/include/asm.h      Tue Dec 18 04:15:45 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: asm.h,v 1.24 2001/09/05 20:12:53 nathanw Exp $ */
+/* $NetBSD: asm.h,v 1.25 2001/12/18 04:15:45 thorpej Exp $ */
 
 /* 
  * Copyright (c) 1991,1990,1989,1994,1995,1996 Carnegie Mellon University
@@ -247,7 +247,7 @@
        ERSAVE()
 
 #define        ESETUP(_name_)                                          \
-       .loc    1 __LINE__;                                     \
+       /* .loc 1 __LINE__; */                                  \
        .globl  _name_;                                         \
        .ent    _name_ 0;                                       \
 _name_:;                                                       \
@@ -262,7 +262,7 @@
        stq     at_reg,(FRAME_AT*8)(sp);                        \
        .set    at;                                             \
        stq     ra,(FRAME_RA*8)(sp);                            \
-       .loc    1 __LINE__;                                     \
+       /* .loc 1 __LINE__; */                                  \
        bsr     ra,exception_save_regs         /* jmp/CALL trashes pv/t12 */
 
 
@@ -412,7 +412,7 @@
  *     Function invocation
  */
 #define        CALL(_name_)                                            \
-       .loc    1 __LINE__;                                     \
+       /* .loc 1 __LINE__; */                                  \
        jsr     ra,_name_;                                      \
        ldgp    gp,0(ra)
 /* but this would cover longer jumps



Home | Main Index | Thread Index | Old Index