patches/uClibc/0.9.28.3/150-mips-asm.h.patch
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Mon Jan 03 23:40:22 2011 +0100 (2011-01-03)
changeset 2267 7af68e6083aa
parent 6 4267d95819bd
permissions -rw-r--r--
libc-glibc: remove 2.3.6

This is an obsolete version which is no longer used by any sample (the only
user, the ia64 sample, has been removed).

It also makes the code path a bit complex, with twists just to accomodate
that version. Removing the version will make those twists go away, and
will ease commonalisation of glibc and eglibc in the future (hopefully!).

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