patches/uClibc/0.9.28.3/150-mips-asm.h.patch
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Wed May 18 23:00:46 2011 +0200 (2011-05-18)
changeset 2467 200836977ce6
parent 6 4267d95819bd
permissions -rw-r--r--
config: rename variables that are arrays

Make it explicit that a variable is an array bu the name of the variable.
It will be used later when .config gets munged to allow both multiple
arguments and arguments with spaces at the same time to be passed from the
configuration down to the build scripts.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
     1 diff -dur uClibc-0.9.28.1.orig/libc/sysdeps/linux/mips/clone.S uClibc-0.9.28.1/libc/sysdeps/linux/mips/clone.S
     2 --- uClibc-0.9.28.1.orig/libc/sysdeps/linux/mips/clone.S	2007-02-07 11:18:12.000000000 +0100
     3 +++ uClibc-0.9.28.1/libc/sysdeps/linux/mips/clone.S	2007-02-07 10:41:34.000000000 +0100
     4 @@ -24,7 +24,7 @@
     5  #include <sys/regdef.h>
     6  #define _ERRNO_H	1
     7  #include <bits/errno.h>
     8 -#include <asm/asm.h>
     9 +#include <sys/asm.h>
    10  
    11  /* int clone(int (*fn)(void *arg), void *child_stack, int flags, void *arg) */
    12  
    13 diff -dur uClibc-0.9.28.1.orig/libc/sysdeps/linux/mips/pipe.S uClibc-0.9.28.1/libc/sysdeps/linux/mips/pipe.S
    14 --- uClibc-0.9.28.1.orig/libc/sysdeps/linux/mips/pipe.S	2007-02-07 11:18:12.000000000 +0100
    15 +++ uClibc-0.9.28.1/libc/sysdeps/linux/mips/pipe.S	2007-02-07 11:16:52.000000000 +0100
    16 @@ -3,9 +3,9 @@
    17  /*see uClibc's sh/pipe.c and glibc-2.2.4's mips/pipe.S */
    18  
    19  #include <features.h>
    20 -#include <asm/asm.h>
    21 +#include <sys/asm.h>
    22  #include <asm/unistd.h>
    23 -#include <asm/regdef.h>
    24 +#include <sys/regdef.h>
    25  
    26          .globl  pipe
    27          .ent    pipe, 0
    28 diff -dur uClibc-0.9.28.1.orig/libc/sysdeps/linux/mips/syscall.S uClibc-0.9.28.1/libc/sysdeps/linux/mips/syscall.S
    29 --- uClibc-0.9.28.1.orig/libc/sysdeps/linux/mips/syscall.S	2007-02-07 11:18:12.000000000 +0100
    30 +++ uClibc-0.9.28.1/libc/sysdeps/linux/mips/syscall.S	2007-02-07 11:17:03.000000000 +0100
    31 @@ -17,8 +17,8 @@
    32     02111-1307 USA.  */
    33  
    34  #include <features.h>
    35 -#include <asm/asm.h>
    36 -#include <asm/regdef.h>
    37 +#include <sys/asm.h>
    38 +#include <sys/regdef.h>
    39  
    40  #ifdef __PIC__
    41  	.option pic2