arrfab / rpms / glibc

Forked from rpms/glibc 5 years ago
Clone

Blame SOURCES/glibc-rh1398244.patch

147e83
2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
147e83
147e83
       [BZ #20728]
147e83
       * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Replace a
147e83
       branch to _exit() by a function call.
147e83
147e83
--- glibc-2.17-c758a686/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S
147e83
+++ glibc-2.17-c758a686/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S
147e83
@@ -112,7 +112,7 @@
147e83
 #ifdef SHARED
147e83
 	b	JUMPTARGET(__GI__exit)
147e83
 #else
147e83
-	b	JUMPTARGET(_exit)
147e83
+	bl	JUMPTARGET(_exit)
147e83
 	/* We won't ever get here but provide a nop so that the linker
147e83
 	   will insert a toc adjusting stub if necessary.  */
147e83
 	nop