[prev in list] [next in list] [prev in thread] [next in thread] 

List:       glibc-cvs
Subject:    GNU C Library master sources branch roland/x86_64-crt1-cfi created. glibc-2.17-569-g28db054
From:       roland () sourceware ! org
Date:       2013-04-26 21:24:08
Message-ID: 20130426212408.31089.qmail () sourceware ! org
[Download RAW message or body]

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".

The branch, roland/x86_64-crt1-cfi has been created
        at  28db0546beb292b42481d99505be3ff8f291dc96 (commit)

- Log -----------------------------------------------------------------
http://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=28db0546beb292b42481d99505be3ff8f291dc96

commit 28db0546beb292b42481d99505be3ff8f291dc96
Author: Roland McGrath <roland@hack.frob.com>
Date:   Fri Apr 26 14:23:58 2013 -0700

    BZ#15407: Complete CFI annotations in x86_64 _start code.

diff --git a/ChangeLog b/ChangeLog
index 225236c..ab3ad29 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2013-04-26  Roland McGrath  <roland@hack.frob.com>
+
+	[BZ #15407]
+	* sysdeps/x86_64/start.S (_start): Use cfi_adjust_cfa_offset for
+	change to the stack pointer.
+
 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
 
 	[BZ #15406]
diff --git a/sysdeps/x86_64/start.S b/sysdeps/x86_64/start.S
index 7cbc157..e50b33c 100644
--- a/sysdeps/x86_64/start.S
+++ b/sysdeps/x86_64/start.S
@@ -88,6 +88,7 @@ _start:
 #else
 	popq %rsi		/* Pop the argument count.  */
 #endif
+	cfi_adjust_cfa_offset (LP_SIZE)
 	/* argv starts just at the current stack top.  */
 	mov %RSP_LP, %RDX_LP
 	/* Align the stack to a 16 byte boundary to follow the ABI.  */
@@ -95,10 +96,12 @@ _start:
 
 	/* Push garbage because we push 8 more bytes.  */
 	pushq %rax
+	cfi_adjust_cfa_offset (-8)
 
 	/* Provide the highest stack address to the user code (for stacks
 	   which grow downwards).  */
 	pushq %rsp
+	cfi_adjust_cfa_offset (-8)
 
 #ifdef SHARED
 	/* Pass address of our own entry points to .fini and .init.  */

-----------------------------------------------------------------------


hooks/post-receive
-- 
GNU C Library master sources
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic