Source-Changes-HG archive

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

[src/trunk]: src/lib/csu/arch/vax vax/csu: Use register name provided by asm....



details:   https://anonhg.NetBSD.org/src/rev/3ac8a0664b74
branches:  trunk
changeset: 378252:3ac8a0664b74
user:      rin <rin%NetBSD.org@localhost>
date:      Fri Jul 28 07:17:30 2023 +0000

description:
vax/csu: Use register name provided by asm.h. No binary changes.

diffstat:

 lib/csu/arch/vax/crtbegin.S |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (36 lines):

diff -r 80ae8fb3e581 -r 3ac8a0664b74 lib/csu/arch/vax/crtbegin.S
--- a/lib/csu/arch/vax/crtbegin.S       Fri Jul 28 07:04:41 2023 +0000
+++ b/lib/csu/arch/vax/crtbegin.S       Fri Jul 28 07:17:30 2023 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: crtbegin.S,v 1.8 2023/07/28 07:04:41 rin Exp $ */
+/*     $NetBSD: crtbegin.S,v 1.9 2023/07/28 07:17:30 rin Exp $ */
 /*-
  * Copyright (c) 2013 The NetBSD Foundation, Inc.
  * All rights reserved.
@@ -30,7 +30,7 @@
 
 #include <vax/asm.h>
 
-RCSID("$NetBSD: crtbegin.S,v 1.8 2023/07/28 07:04:41 rin Exp $")
+RCSID("$NetBSD: crtbegin.S,v 1.9 2023/07/28 07:17:30 rin Exp $")
 
        .section        .ctors, "aw", @progbits
        .p2align 2
@@ -82,7 +82,7 @@ RCSID("$NetBSD: crtbegin.S,v 1.8 2023/07
 
        .hidden __do_global_dtors_aux
 
-_ENTRY(__do_global_dtors_aux, 0x0100)          /* save r8 */
+_ENTRY(__do_global_dtors_aux, R8)
        tstb    __finished                      /* done this already? */
        bneq    4f
        movb    $1, __finished                  /* mark it as done */
@@ -132,7 +132,7 @@ END(__do_global_dtors_aux)
 
        .hidden __do_global_ctors_aux
 
-_ENTRY(__do_global_ctors_aux, 0x0100)          /* save r8 */
+_ENTRY(__do_global_ctors_aux, R8)
        tstb    __initialized
        bneq    4f
        movb    $1, __initialized



Home | Main Index | Thread Index | Old Index