Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/sparc64/sparc64 Add .register directives to appease...



details:   https://anonhg.NetBSD.org/src/rev/557c6093e76b
branches:  trunk
changeset: 526521:557c6093e76b
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Sun May 05 08:15:15 2002 +0000

description:
Add .register directives to appease newer gas.

diffstat:

 sys/arch/sparc64/sparc64/sunos_sigcode.s   |  5 ++++-
 sys/arch/sparc64/sparc64/svr4_32_sigcode.s |  5 ++++-
 sys/arch/sparc64/sparc64/svr4_sigcode64.s  |  5 ++++-
 3 files changed, 12 insertions(+), 3 deletions(-)

diffs (57 lines):

diff -r 111955d68335 -r 557c6093e76b sys/arch/sparc64/sparc64/sunos_sigcode.s
--- a/sys/arch/sparc64/sparc64/sunos_sigcode.s  Sun May 05 07:27:35 2002 +0000
+++ b/sys/arch/sparc64/sparc64/sunos_sigcode.s  Sun May 05 08:15:15 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: sunos_sigcode.s,v 1.1 2001/06/06 21:19:51 mrg Exp $    */
+/*     $NetBSD: sunos_sigcode.s,v 1.2 2002/05/05 08:21:40 thorpej Exp $        */
 
 /*
  * Copyright (c) 1996-2000 Eduardo Horvath
@@ -62,6 +62,9 @@
 #include <machine/frame.h>
 #include <compat/sunos/sunos_syscall.h>
 
+       .register       %g2,#scratch
+       .register       %g3,#scratch
+
 /*
  * The following code is copied to the top of the user stack when each
  * process is exec'ed, and signals are `trampolined' off it.
diff -r 111955d68335 -r 557c6093e76b sys/arch/sparc64/sparc64/svr4_32_sigcode.s
--- a/sys/arch/sparc64/sparc64/svr4_32_sigcode.s        Sun May 05 07:27:35 2002 +0000
+++ b/sys/arch/sparc64/sparc64/svr4_32_sigcode.s        Sun May 05 08:15:15 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: svr4_32_sigcode.s,v 1.1 2001/06/06 21:19:51 mrg Exp $  */
+/*     $NetBSD: svr4_32_sigcode.s,v 1.2 2002/05/05 08:21:40 thorpej Exp $      */
 
 /*
  * Copyright (c) 1996-2000 Eduardo Horvath
@@ -65,6 +65,9 @@
 #include <sys/syscall.h>
 #include <compat/svr4/svr4_syscall.h>
 
+       .register       %g2,#scratch
+       .register       %g3,#scratch
+
 /*
  * This code is still 32-bit only.
  */
diff -r 111955d68335 -r 557c6093e76b sys/arch/sparc64/sparc64/svr4_sigcode64.s
--- a/sys/arch/sparc64/sparc64/svr4_sigcode64.s Sun May 05 07:27:35 2002 +0000
+++ b/sys/arch/sparc64/sparc64/svr4_sigcode64.s Sun May 05 08:15:15 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: svr4_sigcode64.s,v 1.2 2001/06/30 00:09:08 eeh Exp $   */
+/*     $NetBSD: svr4_sigcode64.s,v 1.3 2002/05/05 08:15:15 thorpej Exp $       */
 
 /*
  * Copyright (c) 1996-2000 Eduardo Horvath
@@ -66,6 +66,9 @@
 #include <sys/syscall.h>
 #include <compat/svr4/svr4_syscall.h>
 
+       .register       %g2,#scratch
+       .register       %g3,#scratch
+
 /*
  * XXXXX Not implemented yet
  *



Home | Main Index | Thread Index | Old Index