patches/uClibc/0.9.28.3/150-mips-asm.h.patch
author "Yann E. MORIN" <yann.morin.1998@free.fr>
Wed Jun 25 23:33:01 2014 +0200 (2014-06-25)
changeset 3325 069f43a215cc
parent 6 4267d95819bd
permissions -rw-r--r--
all: fix wildcard to work with make-4.x

In make-3.8x, the $(wildacrd) function would sort the entries,
while in make-4.x, it would just return the entries in any
unpredictable order [*]

Use the $(sort) function to get reproducible behaviour.

[*] Well, most probably the roder the entries appear when read
from readdir()

Reported-by: Andrew Ruder <andrew.ruder@elecsyscorp.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Tested-by: Andrew Ruder <andrew.ruder@elecsyscorp.com>
     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