SOURCES: glibc-thread_start.patch (NEW) - unofficial fix for PR6693.
pluto
pluto at pld-linux.org
Wed Jun 25 18:21:39 CEST 2008
Author: pluto Date: Wed Jun 25 16:21:39 2008 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- unofficial fix for PR6693.
---- Files affected:
SOURCES:
glibc-thread_start.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SOURCES/glibc-thread_start.patch
diff -u /dev/null SOURCES/glibc-thread_start.patch:1.1
--- /dev/null Wed Jun 25 18:21:39 2008
+++ SOURCES/glibc-thread_start.patch Wed Jun 25 18:21:33 2008
@@ -0,0 +1,25 @@
+2006-11-30 Jan Kratochvil <jan.kratochvil at redhat.com>
+
+ * sysdeps/unix/sysv/linux/x86_64/clone.S: Provide CFI for the outermost
+ `clone' function to ensure proper unwinding stop of gdb.
+
+--- glibc-2.8/sysdeps/unix/sysv/linux/x86_64/clone.S.orig 2008-04-16 20:57:05.000000000 +0200
++++ glibc-2.8/sysdeps/unix/sysv/linux/x86_64/clone.S 2008-06-24 23:18:02.000000000 +0200
+@@ -89,9 +89,6 @@
+ ret
+
+ L(thread_start):
+- cfi_startproc;
+- /* Clearing frame pointer is insufficient, use CFI. */
+- cfi_undefined (rip);
+ /* Clear the frame pointer. The ABI suggests this be done, to mark
+ the outermost frame obviously. */
+ xorl %ebp, %ebp
+@@ -116,7 +113,6 @@
+ /* Call exit with return value from function call. */
+ movq %rax, %rdi
+ call HIDDEN_JUMPTARGET (_exit)
+- cfi_endproc;
+
+ cfi_startproc;
+ PSEUDO_END (BP_SYM (__clone))
================================================================
More information about the pld-cvs-commit
mailing list