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