svn commit: trunk/uClibc/libc/sysdeps/linux/m68k
vapier at uclibc.org
vapier at uclibc.org
Wed Jun 7 14:30:53 UTC 2006
Author: vapier
Date: 2006-06-07 07:30:51 -0700 (Wed, 07 Jun 2006)
New Revision: 15309
Log:
Richard Sandiford writes:
Until a few months ago, libc/sysdeps/linux/m68k/clone.S defined
__syscall_error itself. This local definition was removed in
revision 13305:
However, the clone code uses bcc.w to branch to __syscall_error.
This made sense when there was a local definition, because the
label was guaranteed to be in range. We can't guarantee that
the external definition will be in range though; it depends on
the order that the objects are linked.
This patch adjusts clone.S to use jbcc instead.
Modified:
trunk/uClibc/libc/sysdeps/linux/m68k/clone.S
Changeset:
Modified: trunk/uClibc/libc/sysdeps/linux/m68k/clone.S
===================================================================
--- trunk/uClibc/libc/sysdeps/linux/m68k/clone.S 2006-06-07 14:29:19 UTC (rev 15308)
+++ trunk/uClibc/libc/sysdeps/linux/m68k/clone.S 2006-06-07 14:30:51 UTC (rev 15309)
@@ -21,11 +21,11 @@
movel 4(%sp), %d1 /* no NULL function pointers */
movel %d1, %a0
tstl %d1
- beq.w __syscall_error
+ jbeq __syscall_error
movel 8(%sp), %d1 /* no NULL stack pointers */
movel %d1, %a1
tstl %d1
- beq.w __syscall_error
+ jbeq __syscall_error
/* Allocate space and copy the argument onto the new stack. */
movel 16(%sp), -(%a1)
@@ -50,7 +50,7 @@
#endif
tstl %d0
- bmi.w __syscall_error
+ jbmi __syscall_error
beq.w thread_start
rts
More information about the uClibc-cvs
mailing list