Source-Changes-HG archive

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

[src/trunk]: src/lib/libc/arch/sparc64 Add a .register directive to appease n...



details:   https://anonhg.NetBSD.org/src/rev/a32cea89033c
branches:  trunk
changeset: 526544:a32cea89033c
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Sun May 05 17:51:46 2002 +0000

description:
Add a .register directive to appease newer gas.

diffstat:

 lib/libc/arch/sparc64/SYS.h |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (24 lines):

diff -r 1110274a4f07 -r a32cea89033c lib/libc/arch/sparc64/SYS.h
--- a/lib/libc/arch/sparc64/SYS.h       Sun May 05 17:11:41 2002 +0000
+++ b/lib/libc/arch/sparc64/SYS.h       Sun May 05 17:51:46 2002 +0000
@@ -1,3 +1,5 @@
+/*     $NetBSD: SYS.h,v 1.8 2002/05/05 17:51:46 thorpej Exp $  */
+
 /*-
  * Copyright (c) 1992, 1993
  *     The Regents of the University of California.  All rights reserved.
@@ -37,7 +39,6 @@
  *     @(#)SYS.h       8.1 (Berkeley) 6/4/93
  *
  *     from: Header: SYS.h,v 1.2 92/07/03 18:57:00 torek Exp
- *     $NetBSD: SYS.h,v 1.7 2002/01/14 00:55:56 thorpej Exp $
  */
 
 #include <machine/asm.h>
@@ -130,4 +131,6 @@
        ENTRY(x); mov (_CAT(SYS_,y))|SYSCALL_G2RFLAG,%g1; add %o7,8,%g2; \
        t ST_SYSCALL
 
+       .register       %g2,#scratch
+
        .globl  _C_LABEL(__cerror)



Home | Main Index | Thread Index | Old Index