Module Name: src Committed By: martin Date: Sun Jul 30 11:52:02 UTC 2023
Modified Files: src/lib/csu/arch/vax [netbsd-9]: crtbegin.S Log Message: Pull up following revision(s) (requested by rin in ticket #1675): lib/csu/arch/vax/crtbegin.S: revision 1.8 lib/csu/arch/vax/crtbegin.S: revision 1.9 vax/csu: __do_global_ctors_aux: Save actually-used r8, instead of r11 Thanks Kalvis Duckmanton for report and patch on tech-toolchain: https://mail-index.netbsd.org/tech-toolchain/2023/07/28/msg004321.html vax/csu: Use register name provided by asm.h. No binary changes. To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.7.30.1 src/lib/csu/arch/vax/crtbegin.S Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/lib/csu/arch/vax/crtbegin.S diff -u src/lib/csu/arch/vax/crtbegin.S:1.7 src/lib/csu/arch/vax/crtbegin.S:1.7.30.1 --- src/lib/csu/arch/vax/crtbegin.S:1.7 Sun Mar 16 11:41:30 2014 +++ src/lib/csu/arch/vax/crtbegin.S Sun Jul 30 11:52:02 2023 @@ -1,4 +1,4 @@ -/* $NetBSD: crtbegin.S,v 1.7 2014/03/16 11:41:30 joerg Exp $ */ +/* $NetBSD: crtbegin.S,v 1.7.30.1 2023/07/30 11:52:02 martin 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.7 2014/03/16 11:41:30 joerg Exp $") +RCSID("$NetBSD: crtbegin.S,v 1.7.30.1 2023/07/30 11:52:02 martin Exp $") .section .ctors, "aw", @progbits .p2align 2 @@ -82,7 +82,7 @@ __dso_handle: .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, 0x0800) +_ENTRY(__do_global_ctors_aux, R8) tstb __initialized bneq 4f movb $1, __initialized