summaryrefslogtreecommitdiff
path: root/libc/sysdeps
diff options
context:
space:
mode:
authorMark Salter <msalter@redhat.com>2011-03-06 17:44:00 -0500
committerBernd Schmidt <bernds@codesourcery.com>2011-03-09 15:34:28 +0100
commite5d4a571e1e8850b36bbfb246270b63dab0c2a3d (patch)
tree652d2df1c99aac4f555f350f578aa93289a466f6 /libc/sysdeps
parentbe36fa013e821e6fba87bfbc8bdf4f5e73b545cb (diff)
cleanup hardcoded syscall numbers
Signed-off-by: Mark Salter <msalter@redhat.com> Signed-off-by: Bernd Schmidt <bernds@codesourcery.com>
Diffstat (limited to 'libc/sysdeps')
-rw-r--r--libc/sysdeps/linux/c6x/clone.S3
1 files changed, 2 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/c6x/clone.S b/libc/sysdeps/linux/c6x/clone.S
index 8d9da4b49..6fba5bb98 100644
--- a/libc/sysdeps/linux/c6x/clone.S
+++ b/libc/sysdeps/linux/c6x/clone.S
@@ -17,6 +17,7 @@
; along with this program; if not, write to the Free Software Foundation,
; Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
;
+#define __ASSEMBLY__
; int _clone(int (*fn)(void *arg), void *child_stack, int flags, void *arg);
@@ -50,7 +51,7 @@ __clone:
|| AND .D2 ~7,B4,B4
; do the system call
-|| MVK .S2 120,B0 ; __NR_clone
+|| MVK .S2 __NR_clone,B0
|| MV .L2 B5,B6
0:
#ifndef _TMS320C6400_PLUS