changeset 11718:6e51fde8034a

6634042 g++ exceptions cause core dump on Solaris when libc Unwind is used
author Rod Evans <Rod.Evans@Sun.COM>
date Fri, 19 Feb 2010 14:18:07 -0800
parents 4992968a6106
children fed45add1f53
files usr/src/lib/libc/amd64/unwind/unwind_frame.s
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/usr/src/lib/libc/amd64/unwind/unwind_frame.s	Fri Feb 19 13:29:31 2010 -0800
+++ b/usr/src/lib/libc/amd64/unwind/unwind_frame.s	Fri Feb 19 14:18:07 2010 -0800
@@ -19,7 +19,7 @@
  * CDDL HEADER END
  */
 /*
- * Copyright 2005 Sun Microsystems, Inc.  All rights reserved.
+ * Copyright 2010 Sun Microsystems, Inc.  All rights reserved.
  * Use is subject to license terms.
  */
 
@@ -78,5 +78,6 @@
 	movq	120(%rax),%r15
 	movq	48(%rax),%rbp
 	movq	56(%rax),%rsp
+	movq	(%rax),%rax
 	jmp	*%r8			/* branch to handler */
 	SET_SIZE(_Unw_jmp)