summaryrefslogtreecommitdiff
path: root/recipes/glibc/glibc-2.2.5/glibc-2.2.5-mips-clone-local-label.patch
blob: 18d64201fa139f705a951e47b60c1e0149e18b80 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24

#
# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
#

--- glibc-2.2.5/sysdeps/unix/sysv/linux/mips/clone.S~glibc-2.2.5-mips-clone-local-label.patch	2004-09-03 19:00:33.000000000 -0500
+++ glibc-2.2.5/sysdeps/unix/sysv/linux/mips/clone.S	2004-09-03 19:00:38.000000000 -0500
@@ -63,7 +63,7 @@
 	syscall
 
 	bnez		a3,error
-	beqz		v0,__thread_start
+	beqz		v0,.Lthread_start
 
 	/* Successful return from the parent */
 	addiu		sp,32
@@ -85,6 +85,7 @@
    debug info.  */
 
 ENTRY(__thread_start)
+.Lthread_start:
 	/* cp is already loaded.  */
 	.cprestore	16
 	/* The stackframe has been created on entry of clone().  */