about summary refs log tree commit diff
path: root/linuxthreads
diff options
context:
space:
mode:
Diffstat (limited to 'linuxthreads')
-rw-r--r--linuxthreads/ChangeLog5
-rw-r--r--linuxthreads/sysdeps/unix/sysv/linux/ia64/pt-initfini.c6
2 files changed, 7 insertions, 4 deletions
diff --git a/linuxthreads/ChangeLog b/linuxthreads/ChangeLog
index b47d6488d3..ae5f86622c 100644
--- a/linuxthreads/ChangeLog
+++ b/linuxthreads/ChangeLog
@@ -1,3 +1,8 @@
+2001-02-06  Ulrich Drepper  <drepper@redhat.com>
+
+	* sysdeps/unix/sysv/linux/ia64/pt-initfini.c: First attempt to fix the
+	broken code.  Patch by Jes Sorensen.
+
 2001-02-06  Andreas Jaeger  <aj@suse.de>
 
 	* sysdeps/pthread/pthread.h: Move __pthread_initialize from here
diff --git a/linuxthreads/sysdeps/unix/sysv/linux/ia64/pt-initfini.c b/linuxthreads/sysdeps/unix/sysv/linux/ia64/pt-initfini.c
index 766d4815fc..5ea75d6aed 100644
--- a/linuxthreads/sysdeps/unix/sysv/linux/ia64/pt-initfini.c
+++ b/linuxthreads/sysdeps/unix/sysv/linux/ia64/pt-initfini.c
@@ -60,13 +60,11 @@ _init:
 	st8 [r12] = gp, -16
 	br.call.sptk.many b0 = __pthread_initialize_minimal# ;;
 	;;
-	cmp.eq p6, p7 = 0, r15
-	(p6) br.cond.dptk .L5
+	cmp.ne p6, p0 = 0, r15
 
-	br.call.sptk.many b0 = __gmon_start__# ;;
+(p6)	br.call.sptk.many b0 = __gmon_start__# ;;
 	adds r12 = 16, r12
 	;;
-.L5:
 	ld8 gp = [r12]
 	;;
 	.align 16