]> sourceware.org Git - glibc.git/commitdiff
Small optimisation.
authorUlrich Drepper <drepper@redhat.com>
Sat, 21 Dec 2002 18:36:55 +0000 (18:36 +0000)
committerUlrich Drepper <drepper@redhat.com>
Sat, 21 Dec 2002 18:36:55 +0000 (18:36 +0000)
sysdeps/unix/sysv/linux/arm/clone.S

index c9a1ec23ac0139037b3d70b9cc21da5e45a55d0c..1c6f7861cfafa448b54dbc192ce49b5186ccd5d2 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1996, 1997, 1998, 1999 Free Software Foundation, Inc.
+/* Copyright (C) 1996, 1997, 1998, 1999, 2002 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Pat Beirne <patb@corelcomputer.com>
 
@@ -35,10 +35,8 @@ ENTRY(__clone)
        beq     PLTJMP(syscall_error)
 
        @ insert the args onto the new stack
-       sub     r1, r1, #8
-       str     r3, [r1, #4]
-       @ save the function pointer as the 0th element
-       str     r0, [r1]
+       str     r3, [r1, #-4]!
+       str     r0, [r1, #-4]!
 
        @ do the system call
        @ get flags
This page took 0.043097 seconds and 5 git commands to generate.