Changeset cb666b8


Ignore:
Timestamp:
Aug 11, 2006, 2:07:29 PM (16 years ago)
Author:
Jim Gifford <clfs@…>
Branches:
clfs-1.2, clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
Children:
a3fa93a
Parents:
abdbe76
Message:

Added glibc-2.4-mips_fixes-3.patch

File:
1 moved

Legend:

Unmodified
Added
Removed
  • patches/glibc-2.4-mips_fixes-3.patch

    rabdbe76 rcb666b8  
    11Submitted By: Jim Gifford (patches at jg555 dot com)
    2 Date: 2006-07-2
     2Date: 2006-08-11
    33Initial Package Version: 2.4
    44Origin: Daniel Jacobwitz
    55Upstream Status: Applied
    66Description: Fixes for MIPS architecture
    7         Fixes changes due to Kernel ABI change in 2.6.12
    8         Fixes Testsuites Errors
    9         Fixes Missing Symbols in Libm
     7        Fixes changes due to Kernel ABI change in 2.6.12
     8        Fixes Testsuites Errors
     9        Fixes Missing Symbols in Libm
    1010
    1111diff -Naur glibc-2.4.orig/ports/sysdeps/mips/fpu/feholdexcpt.c glibc-2.4/ports/sysdeps/mips/fpu/feholdexcpt.c
    1212--- glibc-2.4.orig/ports/sysdeps/mips/fpu/feholdexcpt.c 2001-07-05 21:56:01.000000000 -0700
    13 +++ glibc-2.4/ports/sysdeps/mips/fpu/feholdexcpt.c      2006-07-22 19:31:13.000000000 -0700
     13+++ glibc-2.4/ports/sysdeps/mips/fpu/feholdexcpt.c      2006-08-11 13:51:28.984284280 -0700
    1414@@ -36,3 +36,4 @@
    1515 
     
    1919diff -Naur glibc-2.4.orig/ports/sysdeps/mips/fpu/fesetround.c glibc-2.4/ports/sysdeps/mips/fpu/fesetround.c
    2020--- glibc-2.4.orig/ports/sysdeps/mips/fpu/fesetround.c  2001-07-05 21:56:01.000000000 -0700
    21 +++ glibc-2.4/ports/sysdeps/mips/fpu/fesetround.c       2006-07-22 19:31:13.000000000 -0700
     21+++ glibc-2.4/ports/sysdeps/mips/fpu/fesetround.c       2006-08-11 13:51:28.984284280 -0700
    2222@@ -41,3 +41,4 @@
    2323 
     
    2727diff -Naur glibc-2.4.orig/ports/sysdeps/mips/ldsodefs.h glibc-2.4/ports/sysdeps/mips/ldsodefs.h
    2828--- glibc-2.4.orig/ports/sysdeps/mips/ldsodefs.h        1969-12-31 16:00:00.000000000 -0800
    29 +++ glibc-2.4/ports/sysdeps/mips/ldsodefs.h     2006-07-22 19:30:57.000000000 -0700
     29+++ glibc-2.4/ports/sysdeps/mips/ldsodefs.h     2006-08-11 13:51:28.984284280 -0700
    3030@@ -0,0 +1,66 @@
    3131+/* Run-time dynamic linker data structures for loaded ELF shared objects.
     
    9797diff -Naur glibc-2.4.orig/ports/sysdeps/mips/mips64/n32/libm-test-ulps glibc-2.4/ports/sysdeps/mips/mips64/n32/libm-test-ulps
    9898--- glibc-2.4.orig/ports/sysdeps/mips/mips64/n32/libm-test-ulps 1969-12-31 16:00:00.000000000 -0800
    99 +++ glibc-2.4/ports/sysdeps/mips/mips64/n32/libm-test-ulps      2006-07-22 19:46:47.000000000 -0700
     99+++ glibc-2.4/ports/sysdeps/mips/mips64/n32/libm-test-ulps      2006-08-11 13:51:28.988284183 -0700
    100100@@ -0,0 +1,1245 @@
    101101+# Begin of automatic generation
     
    13461346diff -Naur glibc-2.4.orig/ports/sysdeps/mips/mips64/n64/libm-test-ulps glibc-2.4/ports/sysdeps/mips/mips64/n64/libm-test-ulps
    13471347--- glibc-2.4.orig/ports/sysdeps/mips/mips64/n64/libm-test-ulps 1969-12-31 16:00:00.000000000 -0800
    1348 +++ glibc-2.4/ports/sysdeps/mips/mips64/n64/libm-test-ulps      2006-07-22 19:46:47.000000000 -0700
     1348+++ glibc-2.4/ports/sysdeps/mips/mips64/n64/libm-test-ulps      2006-08-11 13:51:28.988284183 -0700
    13491349@@ -0,0 +1,1245 @@
    13501350+# Begin of automatic generation
     
    25952595diff -Naur glibc-2.4.orig/ports/sysdeps/mips/tst-audit.h glibc-2.4/ports/sysdeps/mips/tst-audit.h
    25962596--- glibc-2.4.orig/ports/sysdeps/mips/tst-audit.h       1969-12-31 16:00:00.000000000 -0800
    2597 +++ glibc-2.4/ports/sysdeps/mips/tst-audit.h    2006-07-22 19:30:57.000000000 -0700
     2597+++ glibc-2.4/ports/sysdeps/mips/tst-audit.h    2006-08-11 13:51:28.988284183 -0700
    25982598@@ -0,0 +1,40 @@
    25992599+/* Definitions for testing PLT entry/exit auditing.  ARM version.
     
    26392639diff -Naur glibc-2.4.orig/ports/sysdeps/unix/sysv/linux/mips/bits/resource.h glibc-2.4/ports/sysdeps/unix/sysv/linux/mips/bits/resource.h
    26402640--- glibc-2.4.orig/ports/sysdeps/unix/sysv/linux/mips/bits/resource.h   2005-06-20 08:07:34.000000000 -0700
    2641 +++ glibc-2.4/ports/sysdeps/unix/sysv/linux/mips/bits/resource.h        2006-07-22 19:35:21.000000000 -0700
     2641+++ glibc-2.4/ports/sysdeps/unix/sysv/linux/mips/bits/resource.h        2006-08-11 13:51:28.988284183 -0700
    26422642@@ -107,14 +107,22 @@
    26432643 };
     
    26722672diff -Naur glibc-2.4.orig/ports/sysdeps/unix/sysv/linux/mips/bits/sigcontext.h glibc-2.4/ports/sysdeps/unix/sysv/linux/mips/bits/sigcontext.h
    26732673--- glibc-2.4.orig/ports/sysdeps/unix/sysv/linux/mips/bits/sigcontext.h 2004-11-23 20:37:34.000000000 -0800
    2674 +++ glibc-2.4/ports/sysdeps/unix/sysv/linux/mips/bits/sigcontext.h      2006-07-22 19:33:52.000000000 -0700
     2674+++ glibc-2.4/ports/sysdeps/unix/sysv/linux/mips/bits/sigcontext.h      2006-08-11 13:51:28.992284087 -0700
    26752675@@ -1,5 +1,5 @@
    26762676-/* Copyright (C) 1996, 1997, 1998, 2003, 2004 Free Software Foundation, Inc.
     
    28242824diff -Naur glibc-2.4.orig/ports/sysdeps/unix/sysv/linux/mips/bits/stat.h glibc-2.4/ports/sysdeps/unix/sysv/linux/mips/bits/stat.h
    28252825--- glibc-2.4.orig/ports/sysdeps/unix/sysv/linux/mips/bits/stat.h       2004-11-23 20:37:34.000000000 -0800
    2826 +++ glibc-2.4/ports/sysdeps/unix/sysv/linux/mips/bits/stat.h    2006-07-22 19:30:57.000000000 -0700
     2826+++ glibc-2.4/ports/sysdeps/unix/sysv/linux/mips/bits/stat.h    2006-08-11 13:51:28.992284087 -0700
    28272827@@ -61,16 +61,27 @@
    28282828     long int st_pad2[3];
     
    29412941diff -Naur glibc-2.4.orig/ports/sysdeps/unix/sysv/linux/mips/kernel_stat.h glibc-2.4/ports/sysdeps/unix/sysv/linux/mips/kernel_stat.h
    29422942--- glibc-2.4.orig/ports/sysdeps/unix/sysv/linux/mips/kernel_stat.h     2004-11-23 20:37:35.000000000 -0800
    2943 +++ glibc-2.4/ports/sysdeps/unix/sysv/linux/mips/kernel_stat.h  2006-07-22 19:34:46.000000000 -0700
     2943+++ glibc-2.4/ports/sysdeps/unix/sysv/linux/mips/kernel_stat.h  2006-08-11 13:51:28.992284087 -0700
    29442944@@ -16,12 +16,12 @@
    29452945     unsigned int st_rdev;
     
    29822982diff -Naur glibc-2.4.orig/ports/sysdeps/unix/sysv/linux/mips/nptl/fork.c glibc-2.4/ports/sysdeps/unix/sysv/linux/mips/nptl/fork.c
    29832983--- glibc-2.4.orig/ports/sysdeps/unix/sysv/linux/mips/nptl/fork.c       2005-03-28 01:21:52.000000000 -0800
    2984 +++ glibc-2.4/ports/sysdeps/unix/sysv/linux/mips/nptl/fork.c    2006-07-22 19:24:57.000000000 -0700
     2984+++ glibc-2.4/ports/sysdeps/unix/sysv/linux/mips/nptl/fork.c    2006-08-11 13:51:28.992284087 -0700
    29852985@@ -1 +1 @@
    29862986-#include "../i386/fork.c"
    29872987+#include <sysdeps/unix/sysv/linux/i386/fork.c>
     2988diff -Naur glibc-2.4.orig/ports/sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h glibc-2.4/ports/sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h
     2989--- glibc-2.4.orig/ports/sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h       2006-03-02 17:16:30.000000000 -0800
     2990+++ glibc-2.4/ports/sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h    2006-08-11 13:52:07.259360467 -0700
     2991@@ -32,6 +32,9 @@
     2992 #define FUTEX_CMP_REQUEUE      4
     2993 #define FUTEX_WAKE_OP          5
     2994 #define FUTEX_OP_CLEAR_WAKE_IF_GT_ONE  ((4 << 24) | 1)
     2995+#define FUTEX_LOCK_PI          6
     2996+#define FUTEX_UNLOCK_PI                7
     2997+#define FUTEX_TRYLOCK_PI       8
     2998 
     2999 /* Initializer for compatibility lock. */
     3000 #define LLL_MUTEX_LOCK_INITIALIZER (0)
    29883001diff -Naur glibc-2.4.orig/ports/sysdeps/unix/sysv/linux/mips/register-dump.h glibc-2.4/ports/sysdeps/unix/sysv/linux/mips/register-dump.h
    29893002--- glibc-2.4.orig/ports/sysdeps/unix/sysv/linux/mips/register-dump.h   2002-07-12 16:25:56.000000000 -0700
    2990 +++ glibc-2.4/ports/sysdeps/unix/sysv/linux/mips/register-dump.h        2006-07-22 19:33:52.000000000 -0700
     3003+++ glibc-2.4/ports/sysdeps/unix/sysv/linux/mips/register-dump.h        2006-08-11 13:51:28.992284087 -0700
    29913004@@ -1,5 +1,5 @@
    29923005 /* Dump registers.
     
    30343047diff -Naur glibc-2.4.orig/ports/sysdeps/unix/sysv/linux/mips/sigaction.c glibc-2.4/ports/sysdeps/unix/sysv/linux/mips/sigaction.c
    30353048--- glibc-2.4.orig/ports/sysdeps/unix/sysv/linux/mips/sigaction.c       2006-01-08 00:21:17.000000000 -0800
    3036 +++ glibc-2.4/ports/sysdeps/unix/sysv/linux/mips/sigaction.c    2006-07-22 19:36:49.000000000 -0700
     3049+++ glibc-2.4/ports/sysdeps/unix/sysv/linux/mips/sigaction.c    2006-08-11 13:51:28.992284087 -0700
    30373050@@ -153,6 +153,10 @@
    30383051 }
     
    30483061diff -Naur glibc-2.4.orig/ports/sysdeps/unix/sysv/linux/mips/sys/ucontext.h glibc-2.4/ports/sysdeps/unix/sysv/linux/mips/sys/ucontext.h
    30493062--- glibc-2.4.orig/ports/sysdeps/unix/sysv/linux/mips/sys/ucontext.h    2004-11-23 20:36:11.000000000 -0800
    3050 +++ glibc-2.4/ports/sysdeps/unix/sysv/linux/mips/sys/ucontext.h 2006-07-22 19:33:52.000000000 -0700
     3063+++ glibc-2.4/ports/sysdeps/unix/sysv/linux/mips/sys/ucontext.h 2006-08-11 13:51:28.992284087 -0700
    30513064@@ -1,5 +1,5 @@
    30523065-/* Copyright (C) 1997, 1998, 2000, 2003, 2004 Free Software Foundation, Inc.
     
    31013114diff -Naur glibc-2.4.orig/ports/sysdeps/unix/sysv/linux/mips/xstatconv.c glibc-2.4/ports/sysdeps/unix/sysv/linux/mips/xstatconv.c
    31023115--- glibc-2.4.orig/ports/sysdeps/unix/sysv/linux/mips/xstatconv.c       2003-06-30 02:33:13.000000000 -0700
    3103 +++ glibc-2.4/ports/sysdeps/unix/sysv/linux/mips/xstatconv.c    2006-07-22 19:34:46.000000000 -0700
     3116+++ glibc-2.4/ports/sysdeps/unix/sysv/linux/mips/xstatconv.c    2006-08-11 13:51:28.996283990 -0700
    31043117@@ -62,9 +62,12 @@
    31053118        buf->st_blksize = kbuf->st_blksize;
     
    31343147        buf->st_pad4[0] = 0; buf->st_pad4[1] = 0;
    31353148        buf->st_pad4[2] = 0; buf->st_pad4[3] = 0;
    3136 
     3149diff -Naur glibc-2.4.orig/sysdeps/generic/ldsodefs.h glibc-2.4/sysdeps/generic/ldsodefs.h
     3150--- glibc-2.4.orig/sysdeps/generic/ldsodefs.h   2006-02-28 22:18:33.000000000 -0800
     3151+++ glibc-2.4/sysdeps/generic/ldsodefs.h        2006-08-11 14:00:17.187512435 -0700
     3152@@ -1,5 +1,5 @@
     3153 /* Run-time dynamic linker data structures for loaded ELF shared objects.
     3154-   Copyright (C) 1995-2003, 2004, 2005 Free Software Foundation, Inc.
     3155+   Copyright (C) 1995-2003, 2004, 2005, 2006 Free Software Foundation, Inc.
     3156    This file is part of the GNU C Library.
     3157 
     3158    The GNU C Library is free software; you can redistribute it and/or
     3159@@ -193,8 +193,6 @@
     3160 struct La_ppc64_retval;
     3161 struct La_sh_regs;
     3162 struct La_sh_retval;
     3163-struct La_m68k_regs;
     3164-struct La_m68k_retval;
     3165 struct La_alpha_regs;
     3166 struct La_alpha_retval;
     3167 struct La_s390_32_regs;
     3168@@ -203,10 +201,6 @@
     3169 struct La_s390_64_retval;
     3170 struct La_ia64_regs;
     3171 struct La_ia64_retval;
     3172-struct La_mips_32_regs;
     3173-struct La_mips_32_retval;
     3174-struct La_mips_64_regs;
     3175-struct La_mips_64_retval;
     3176 struct La_sparc32_regs;
     3177 struct La_sparc32_retval;
     3178 struct La_sparc64_regs;
     3179@@ -247,10 +241,6 @@
     3180                                  uintptr_t *, const struct La_sh_regs *,
     3181                                  unsigned int *, const char *name,
     3182                                  long int *framesizep);
     3183-    Elf32_Addr (*m68k_gnu_pltenter) (Elf32_Sym *, unsigned int, uintptr_t *,
     3184-                                    uintptr_t *, struct La_m68k_regs *,
     3185-                                    unsigned int *, const char *name,
     3186-                                    long int *framesizep);
     3187     Elf64_Addr (*alpha_gnu_pltenter) (Elf64_Sym *, unsigned int, uintptr_t *,
     3188                                      uintptr_t *, struct La_alpha_regs *,
     3189                                      unsigned int *, const char *name,
     3190@@ -267,21 +257,6 @@
     3191                                     uintptr_t *, struct La_ia64_regs *,
     3192                                     unsigned int *, const char *name,
     3193                                     long int *framesizep);
     3194-    Elf32_Addr (*mips_o32_gnu_pltenter) (Elf32_Sym *, unsigned int,
     3195-                                        uintptr_t *, uintptr_t *,
     3196-                                        const struct La_mips_32_regs *,
     3197-                                        unsigned int *, const char *name,
     3198-                                        long int *framesizep);
     3199-    Elf32_Addr (*mips_n32_gnu_pltenter) (Elf32_Sym *, unsigned int,
     3200-                                        uintptr_t *, uintptr_t *,
     3201-                                        const struct La_mips_64_regs *,
     3202-                                        unsigned int *, const char *name,
     3203-                                        long int *framesizep);
     3204-    Elf64_Addr (*mips_n64_gnu_pltenter) (Elf64_Sym *, unsigned int,
     3205-                                        uintptr_t *, uintptr_t *,
     3206-                                        const struct La_mips_64_regs *,
     3207-                                        unsigned int *, const char *name,
     3208-                                        long int *framesizep);
     3209     Elf32_Addr (*sparc32_gnu_pltenter) (Elf32_Sym *, unsigned int,
     3210                                        uintptr_t *, uintptr_t *,
     3211                                        const struct La_sparc32_regs *,
     3212@@ -317,9 +292,6 @@
     3213     unsigned int (*sh_gnu_pltexit) (Elf32_Sym *, unsigned int, uintptr_t *,
     3214                                    uintptr_t *, const struct La_sh_regs *,
     3215                                    struct La_sh_retval *, const char *);
     3216-    unsigned int (*m68k_gnu_pltexit) (Elf32_Sym *, unsigned int, uintptr_t *,
     3217-                                     uintptr_t *, const struct La_m68k_regs *,
     3218-                                     struct La_m68k_retval *, const char *);
     3219     unsigned int (*alpha_gnu_pltexit) (Elf64_Sym *, unsigned int, uintptr_t *,
     3220                                       uintptr_t *,
     3221                                       const struct La_alpha_regs *,
     3222@@ -338,21 +310,6 @@
     3223                                      uintptr_t *,
     3224                                      const struct La_ia64_regs *,
     3225                                      struct La_ia64_retval *, const char *);
     3226-    unsigned int (*mips_o32_gnu_pltexit) (Elf32_Sym *, unsigned int,
     3227-                                         uintptr_t *, uintptr_t *,
     3228-                                         const struct La_mips_32_regs *,
     3229-                                         struct La_mips_32_retval *,
     3230-                                         const char *);
     3231-    unsigned int (*mips_n32_gnu_pltexit) (Elf32_Sym *, unsigned int,
     3232-                                         uintptr_t *, uintptr_t *,
     3233-                                         const struct La_mips_64_regs *,
     3234-                                         struct La_mips_64_retval *,
     3235-                                         const char *);
     3236-    unsigned int (*mips_n64_gnu_pltexit) (Elf64_Sym *, unsigned int,
     3237-                                         uintptr_t *, uintptr_t *,
     3238-                                         const struct La_mips_64_regs *,
     3239-                                         struct La_mips_64_retval *,
     3240-                                         const char *);
     3241     unsigned int (*sparc32_gnu_pltexit) (Elf32_Sym *, unsigned int,
     3242                                         uintptr_t *, uintptr_t *,
     3243                                         const struct La_sparc32_regs *,
Note: See TracChangeset for help on using the changeset viewer.