Changeset cb666b8
- Timestamp:
- Aug 11, 2006, 2:07:29 PM (18 years ago)
- Branches:
- clfs-1.2, clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
- Children:
- a3fa93a
- Parents:
- abdbe76
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
patches/glibc-2.4-mips_fixes-3.patch
rabdbe76 rcb666b8 1 1 Submitted By: Jim Gifford (patches at jg555 dot com) 2 Date: 2006-0 7-22 Date: 2006-08-11 3 3 Initial Package Version: 2.4 4 4 Origin: Daniel Jacobwitz 5 5 Upstream Status: Applied 6 6 Description: Fixes for MIPS architecture 7 8 9 7 Fixes changes due to Kernel ABI change in 2.6.12 8 Fixes Testsuites Errors 9 Fixes Missing Symbols in Libm 10 10 11 11 diff -Naur glibc-2.4.orig/ports/sysdeps/mips/fpu/feholdexcpt.c glibc-2.4/ports/sysdeps/mips/fpu/feholdexcpt.c 12 12 --- 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-0 7-22 19:31:13.000000000 -070013 +++ glibc-2.4/ports/sysdeps/mips/fpu/feholdexcpt.c 2006-08-11 13:51:28.984284280 -0700 14 14 @@ -36,3 +36,4 @@ 15 15 … … 19 19 diff -Naur glibc-2.4.orig/ports/sysdeps/mips/fpu/fesetround.c glibc-2.4/ports/sysdeps/mips/fpu/fesetround.c 20 20 --- 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-0 7-22 19:31:13.000000000 -070021 +++ glibc-2.4/ports/sysdeps/mips/fpu/fesetround.c 2006-08-11 13:51:28.984284280 -0700 22 22 @@ -41,3 +41,4 @@ 23 23 … … 27 27 diff -Naur glibc-2.4.orig/ports/sysdeps/mips/ldsodefs.h glibc-2.4/ports/sysdeps/mips/ldsodefs.h 28 28 --- 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-0 7-22 19:30:57.000000000 -070029 +++ glibc-2.4/ports/sysdeps/mips/ldsodefs.h 2006-08-11 13:51:28.984284280 -0700 30 30 @@ -0,0 +1,66 @@ 31 31 +/* Run-time dynamic linker data structures for loaded ELF shared objects. … … 97 97 diff -Naur glibc-2.4.orig/ports/sysdeps/mips/mips64/n32/libm-test-ulps glibc-2.4/ports/sysdeps/mips/mips64/n32/libm-test-ulps 98 98 --- 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-0 7-22 19:46:47.000000000-070099 +++ glibc-2.4/ports/sysdeps/mips/mips64/n32/libm-test-ulps 2006-08-11 13:51:28.988284183 -0700 100 100 @@ -0,0 +1,1245 @@ 101 101 +# Begin of automatic generation … … 1346 1346 diff -Naur glibc-2.4.orig/ports/sysdeps/mips/mips64/n64/libm-test-ulps glibc-2.4/ports/sysdeps/mips/mips64/n64/libm-test-ulps 1347 1347 --- 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-0 7-22 19:46:47.000000000-07001348 +++ glibc-2.4/ports/sysdeps/mips/mips64/n64/libm-test-ulps 2006-08-11 13:51:28.988284183 -0700 1349 1349 @@ -0,0 +1,1245 @@ 1350 1350 +# Begin of automatic generation … … 2595 2595 diff -Naur glibc-2.4.orig/ports/sysdeps/mips/tst-audit.h glibc-2.4/ports/sysdeps/mips/tst-audit.h 2596 2596 --- 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-0 7-22 19:30:57.000000000-07002597 +++ glibc-2.4/ports/sysdeps/mips/tst-audit.h 2006-08-11 13:51:28.988284183 -0700 2598 2598 @@ -0,0 +1,40 @@ 2599 2599 +/* Definitions for testing PLT entry/exit auditing. ARM version. … … 2639 2639 diff -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 2640 2640 --- 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-0 7-22 19:35:21.000000000-07002641 +++ glibc-2.4/ports/sysdeps/unix/sysv/linux/mips/bits/resource.h 2006-08-11 13:51:28.988284183 -0700 2642 2642 @@ -107,14 +107,22 @@ 2643 2643 }; … … 2672 2672 diff -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 2673 2673 --- 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-0 7-22 19:33:52.000000000-07002674 +++ glibc-2.4/ports/sysdeps/unix/sysv/linux/mips/bits/sigcontext.h 2006-08-11 13:51:28.992284087 -0700 2675 2675 @@ -1,5 +1,5 @@ 2676 2676 -/* Copyright (C) 1996, 1997, 1998, 2003, 2004 Free Software Foundation, Inc. … … 2824 2824 diff -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 2825 2825 --- 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-0 7-22 19:30:57.000000000-07002826 +++ glibc-2.4/ports/sysdeps/unix/sysv/linux/mips/bits/stat.h 2006-08-11 13:51:28.992284087 -0700 2827 2827 @@ -61,16 +61,27 @@ 2828 2828 long int st_pad2[3]; … … 2941 2941 diff -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 2942 2942 --- 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-0 7-22 19:34:46.000000000-07002943 +++ glibc-2.4/ports/sysdeps/unix/sysv/linux/mips/kernel_stat.h 2006-08-11 13:51:28.992284087 -0700 2944 2944 @@ -16,12 +16,12 @@ 2945 2945 unsigned int st_rdev; … … 2982 2982 diff -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 2983 2983 --- 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-0 7-22 19:24:57.000000000-07002984 +++ glibc-2.4/ports/sysdeps/unix/sysv/linux/mips/nptl/fork.c 2006-08-11 13:51:28.992284087 -0700 2985 2985 @@ -1 +1 @@ 2986 2986 -#include "../i386/fork.c" 2987 2987 +#include <sysdeps/unix/sysv/linux/i386/fork.c> 2988 diff -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) 2988 3001 diff -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 2989 3002 --- 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-0 7-22 19:33:52.000000000-07003003 +++ glibc-2.4/ports/sysdeps/unix/sysv/linux/mips/register-dump.h 2006-08-11 13:51:28.992284087 -0700 2991 3004 @@ -1,5 +1,5 @@ 2992 3005 /* Dump registers. … … 3034 3047 diff -Naur glibc-2.4.orig/ports/sysdeps/unix/sysv/linux/mips/sigaction.c glibc-2.4/ports/sysdeps/unix/sysv/linux/mips/sigaction.c 3035 3048 --- 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-0 7-22 19:36:49.000000000-07003049 +++ glibc-2.4/ports/sysdeps/unix/sysv/linux/mips/sigaction.c 2006-08-11 13:51:28.992284087 -0700 3037 3050 @@ -153,6 +153,10 @@ 3038 3051 } … … 3048 3061 diff -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 3049 3062 --- 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-0 7-22 19:33:52.000000000-07003063 +++ glibc-2.4/ports/sysdeps/unix/sysv/linux/mips/sys/ucontext.h 2006-08-11 13:51:28.992284087 -0700 3051 3064 @@ -1,5 +1,5 @@ 3052 3065 -/* Copyright (C) 1997, 1998, 2000, 2003, 2004 Free Software Foundation, Inc. … … 3101 3114 diff -Naur glibc-2.4.orig/ports/sysdeps/unix/sysv/linux/mips/xstatconv.c glibc-2.4/ports/sysdeps/unix/sysv/linux/mips/xstatconv.c 3102 3115 --- 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-0 7-22 19:34:46.000000000 -07003116 +++ glibc-2.4/ports/sysdeps/unix/sysv/linux/mips/xstatconv.c 2006-08-11 13:51:28.996283990 -0700 3104 3117 @@ -62,9 +62,12 @@ 3105 3118 buf->st_blksize = kbuf->st_blksize; … … 3134 3147 buf->st_pad4[0] = 0; buf->st_pad4[1] = 0; 3135 3148 buf->st_pad4[2] = 0; buf->st_pad4[3] = 0; 3136 3149 diff -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.