Source-Changes-HG archive

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

[src/trunk]: src/lib/libc/arch/aarch64 Change x30 to lr for ease of reading



details:   https://anonhg.NetBSD.org/src/rev/6df513b7b883
branches:  trunk
changeset: 941030:6df513b7b883
user:      skrll <skrll%NetBSD.org@localhost>
date:      Sat Oct 17 15:44:59 2020 +0000

description:
Change x30 to lr for ease of reading

NFCI

diffstat:

 lib/libc/arch/aarch64/genassym.cf       |  4 ++--
 lib/libc/arch/aarch64/sys/__sigtramp2.S |  4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diffs (36 lines):

diff -r 7409bd923c20 -r 6df513b7b883 lib/libc/arch/aarch64/genassym.cf
--- a/lib/libc/arch/aarch64/genassym.cf Sat Oct 17 10:47:28 2020 +0000
+++ b/lib/libc/arch/aarch64/genassym.cf Sat Oct 17 15:44:59 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: genassym.cf,v 1.3 2020/10/13 01:59:55 kamil Exp $
+# $NetBSD: genassym.cf,v 1.4 2020/10/17 15:44:59 skrll Exp $
 
 #-
 # Copyright (c) 2014 The NetBSD Foundation, Inc.
@@ -63,7 +63,7 @@
 define _UC_REGS_X27    offsetof(ucontext_t, uc_mcontext.__gregs[_REG_X27])
 define _UC_REGS_X28    offsetof(ucontext_t, uc_mcontext.__gregs[_REG_X28])
 define _UC_REGS_X29    offsetof(ucontext_t, uc_mcontext.__gregs[_REG_X29])
-define _UC_REGS_X30    offsetof(ucontext_t, uc_mcontext.__gregs[_REG_X30])
+define _UC_REGS_LR     offsetof(ucontext_t, uc_mcontext.__gregs[_REG_LR])
 define _UC_REGS_SP     offsetof(ucontext_t, uc_mcontext.__gregs[_REG_SP])
 define _UC_REGS_PC     offsetof(ucontext_t, uc_mcontext.__gregs[_REG_PC])
 
diff -r 7409bd923c20 -r 6df513b7b883 lib/libc/arch/aarch64/sys/__sigtramp2.S
--- a/lib/libc/arch/aarch64/sys/__sigtramp2.S   Sat Oct 17 10:47:28 2020 +0000
+++ b/lib/libc/arch/aarch64/sys/__sigtramp2.S   Sat Oct 17 15:44:59 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: __sigtramp2.S,v 1.2 2020/10/13 01:59:55 kamil Exp $ */
+/* $NetBSD: __sigtramp2.S,v 1.3 2020/10/17 15:44:59 skrll Exp $ */
 
 /*-
  * Copyright (c) 2014 The NetBSD Foundation, Inc.
@@ -81,7 +81,7 @@
        .cfi_offset x27, _UC_REGS_X27
        .cfi_offset x28, _UC_REGS_X28
        .cfi_offset x29, _UC_REGS_X29
-       .cfi_offset x30, _UC_REGS_X30
+       .cfi_offset lr, _UC_REGS_LR
        /* The unwinder will use the CFA to restore X31 (SP). */
        nop
 ENTRY_NP(__sigtramp_siginfo_2)



Home | Main Index | Thread Index | Old Index