Source-Changes-HG archive

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

[src/trunk]: src/libexec/ld.elf_so/arch/sparc64 Add .register directives to a...



details:   https://anonhg.NetBSD.org/src/rev/3b652c3d9fd5
branches:  trunk
changeset: 526583:3b652c3d9fd5
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Mon May 06 18:53:30 2002 +0000

description:
Add .register directives to appease newer gas.

diffstat:

 libexec/ld.elf_so/arch/sparc64/rtld_start.S |  7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diffs (21 lines):

diff -r 3e547c7e22d3 -r 3b652c3d9fd5 libexec/ld.elf_so/arch/sparc64/rtld_start.S
--- a/libexec/ld.elf_so/arch/sparc64/rtld_start.S       Mon May 06 18:25:46 2002 +0000
+++ b/libexec/ld.elf_so/arch/sparc64/rtld_start.S       Mon May 06 18:53:30 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: rtld_start.S,v 1.5 2001/08/14 22:17:48 eeh Exp $       */
+/*     $NetBSD: rtld_start.S,v 1.6 2002/05/06 18:53:30 thorpej Exp $   */
 
 /*-
  * Copyright (c) 2000 Eduardo Horvath.
@@ -53,7 +53,10 @@
  * NB: We are violating the ELF spec by passing a pointer to the ps strings in
  *     %g1 instead of a termination routine.
  */
-       
+
+       .register       %g2,#scratch
+       .register       %g3,#scratch
+
 /* Offset of ARGC from bottom of stack */
 #define        ARGC    (16*8)                  
        



Home | Main Index | Thread Index | Old Index