Source-Changes-HG archive

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

[src/trunk]: src/lib/libc/arch/alpha/sys Set up the CFI in a slightly more ra...



details:   https://anonhg.NetBSD.org/src/rev/58b057e601f7
branches:  trunk
changeset: 1024763:58b057e601f7
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Wed Nov 03 03:58:31 2021 +0000

description:
Set up the CFI in a slightly more rational way.

diffstat:

 lib/libc/arch/alpha/sys/__sigtramp2.S |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (23 lines):

diff -r 98d01acf96ec -r 58b057e601f7 lib/libc/arch/alpha/sys/__sigtramp2.S
--- a/lib/libc/arch/alpha/sys/__sigtramp2.S     Tue Nov 02 22:13:14 2021 +0000
+++ b/lib/libc/arch/alpha/sys/__sigtramp2.S     Wed Nov 03 03:58:31 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: __sigtramp2.S,v 1.5 2020/10/21 01:58:30 thorpej Exp $  */
+/*     $NetBSD: __sigtramp2.S,v 1.6 2021/11/03 03:58:31 thorpej Exp $  */
 
 /*
  * Copyright (c) 1994, 1995, 1996 Carnegie-Mellon University.
@@ -40,11 +40,11 @@
  *     sp->    siginfo structure       [0]
  */
 
-#define        CFI_OFFSET(r)   .cfi_offset r, SIZEOF_SIGINFO + UC_GREGS + r*8
+#define        CFI_OFFSET(r)   .cfi_offset r, r*8
 
        .cfi_startproc simple
        .cfi_signal_frame
-       .cfi_def_cfa _REG_SP, 0
+       .cfi_def_cfa _REG_SP, SIZEOF_SIGINFO + UC_GREGS
        CFI_OFFSET(_REG_V0)
        CFI_OFFSET(_REG_T0)
        CFI_OFFSET(_REG_T1)



Home | Main Index | Thread Index | Old Index