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