Module Name:    src
Committed By:   thorpej
Date:           Wed Nov  3 03:58:31 UTC 2021

Modified Files:
        src/lib/libc/arch/alpha/sys: __sigtramp2.S

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


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/lib/libc/arch/alpha/sys/__sigtramp2.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/libc/arch/alpha/sys/__sigtramp2.S
diff -u src/lib/libc/arch/alpha/sys/__sigtramp2.S:1.5 src/lib/libc/arch/alpha/sys/__sigtramp2.S:1.6
--- src/lib/libc/arch/alpha/sys/__sigtramp2.S:1.5	Wed Oct 21 01:58:30 2020
+++ src/lib/libc/arch/alpha/sys/__sigtramp2.S	Wed Nov  3 03:58:31 2021
@@ -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)

Reply via email to