summaryrefslogtreecommitdiff
path: root/libc/sysdeps
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-06-07 14:30:51 +0000
committerMike Frysinger <vapier@gentoo.org>2006-06-07 14:30:51 +0000
commitea6fbd3e7626269d308cdaac7a918b2ca9495e1c (patch)
tree8374eda434d450308111be7d4d50e38341ebf91b /libc/sysdeps
parent798c6a3bddbf197712bd4b7d54ea01933cb669ef (diff)
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.
Diffstat (limited to 'libc/sysdeps')
-rw-r--r--libc/sysdeps/linux/m68k/clone.S6
1 files changed, 3 insertions, 3 deletions
diff --git a/libc/sysdeps/linux/m68k/clone.S b/libc/sysdeps/linux/m68k/clone.S
index 2735bcba0..8ef916e91 100644
--- a/libc/sysdeps/linux/m68k/clone.S
+++ b/libc/sysdeps/linux/m68k/clone.S
@@ -21,11 +21,11 @@ clone:
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 @@ clone:
#endif
tstl %d0
- bmi.w __syscall_error
+ jbmi __syscall_error
beq.w thread_start
rts