Changeset 558
- Timestamp:
- 02/21/06 07:55:58 (3 years ago)
- Files:
-
- cross-lfs/cross-lfs/trunk/patches/glibc-2.3.4-gcc4_elf_fixes.patch (modified) (11 diffs)
- cross-lfs/cross-lfs/trunk/patches/glibc-2.3.4-gcc4_elf_fixes_individual/glibc-2.3.4-gcc4_arm_elf_dl-machine.patch (modified) (8 diffs)
- cross-lfs/cross-lfs/trunk/patches/glibc-2.3.4-gcc4_elf_fixes_individual/glibc-2.3.4-gcc4_i386_elf_dl-machine.patch (added)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
cross-lfs/cross-lfs/trunk/patches/glibc-2.3.4-gcc4_elf_fixes.patch
r493 r558 1 1 Submitted By: Ryan Oliver <ryan.oliver@pha.com.au> 2 Date: 2005-05-03 2 Date: 2005-05-03 (updated 2005-06-03) 3 3 Initial Package Version: 2.3.4 4 4 Origin: glibc cvs … … 7 7 libc/sysdeps/arm/dl-machine.h 8 8 - fix_bad_pc24 fix from Dan Kegel's crosstool 9 - remainder from -r1.5 19 - remainder from -r1.52 10 10 libc/sysdeps/generic/dl-machine.h -r1.9 11 11 libc/sysdeps/mips/dl-machine.h -r1.77 … … 14 14 libc/sysdeps/powepc/powerpc64/dl-machine.h -r1.23 15 15 libc/sysdeps/sparc/sparc64/dl-machine.h -r1.48 16 libc/sysdeps/i386/dl-machine.h -r1.134 (except using RESOLVE) 16 17 Upstream Status: See Origin, all except fix_bad_pc24 fixed in glibc cvs 17 18 Description: … … 35 36 elf_machine_rela, elf_machine_rela_relative, elf_machine_lazy_rel): 36 37 Likewise. 38 39 2005-03-05 Jakub Jelinek <jakub@redhat.com> 40 41 * sysdeps/i386/dl-machine.h (ELF_MACHINE_NO_RELA): Define 42 unconditionally to (defined RTLD_BOOTSTRAP). 43 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_RELA): Likewise 44 45 2005-03-01 Roland McGrath <roland@redhat.com> 46 47 [BZ #721] 48 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_RELA): Define this outside 49 of [RESOLVE_MAP] 37 50 38 51 2005-02-16 Roland McGrath <roland@redhat.com> … … 156 169 { 157 170 --- glibc-2.3.4/sysdeps/arm/dl-machine.h-orig 2004-12-05 08:20:17.000000000 +1100 158 +++ glibc-2.3.4/sysdeps/arm/dl-machine.h 2005-05-04 18:41:04.000000000 +1000 159 @@ -359,7 +359,8 @@ 160 # endif 171 +++ glibc-2.3.4/sysdeps/arm/dl-machine.h 2005-06-03 15:33:44.000000000 +1000 172 @@ -350,16 +350,15 @@ 173 174 #endif /* !dl_machine_h */ 175 176 -#ifdef RESOLVE 177 - 178 /* ARM never uses Elf32_Rela relocations for the dynamic linker. 179 Prelinked libraries may use Elf32_Rela though. */ 180 -# ifdef RTLD_BOOTSTRAP 181 -# define ELF_MACHINE_NO_RELA 1 182 -# endif 183 +#define ELF_MACHINE_NO_RELA defined RTLD_BOOTSTRAP 184 + 185 +#ifdef RESOLVE 161 186 162 187 /* Deal with an out-of-range PC24 reloc. */ … … 167 192 { 168 193 static void *fix_page; 169 @@ -392,7 +39 3,8 @@194 @@ -392,7 +391,8 @@ 170 195 /* Perform the relocation specified by RELOC and SYM (which is fully resolved). 171 196 MAP is the object containing the reloc. */ … … 177 202 const Elf32_Sym *sym, const struct r_found_version *version, 178 203 void *const reloc_addr_arg) 179 @@ -517,7 +51 9,8 @@204 @@ -517,7 +517,8 @@ 180 205 } 181 206 … … 187 212 const Elf32_Sym *sym, const struct r_found_version *version, 188 213 void *const reloc_addr_arg) 189 @@ -597,7 + 600,8 @@214 @@ -597,7 +598,8 @@ 190 215 } 191 216 # endif … … 197 222 void *const reloc_addr_arg) 198 223 { 199 @@ -606,7 +6 10,8 @@224 @@ -606,7 +608,8 @@ 200 225 } 201 226 … … 207 232 void *const reloc_addr_arg) 208 233 { 209 @@ -615,7 +6 20,8 @@234 @@ -615,7 +618,8 @@ 210 235 } 211 236 # endif … … 472 497 Elf64_Addr l_addr, const Elf64_Rela *reloc) 473 498 { 499 --- glibc-2.3.4/sysdeps/i386/dl-machine.h-orig 2004-09-28 14:54:41.000000000 +1000 500 +++ glibc-2.3.4/sysdeps/i386/dl-machine.h 2005-06-02 19:28:58.000000000 +1000 501 @@ -377,13 +377,11 @@ 502 503 #endif /* !dl_machine_h */ 504 505 -#ifdef RESOLVE 506 - 507 /* The i386 never uses Elf32_Rela relocations for the dynamic linker. 508 Prelinked libraries may use Elf32_Rela though. */ 509 -#ifdef RTLD_BOOTSTRAP 510 -# define ELF_MACHINE_NO_RELA 1 511 -#endif 512 +#define ELF_MACHINE_NO_RELA defined RTLD_BOOTSTRAP 513 + 514 +#ifdef RESOLVE 515 516 /* Perform the relocation specified by RELOC and SYM (which is fully resolved). 517 MAP is the object containing the reloc. */ cross-lfs/cross-lfs/trunk/patches/glibc-2.3.4-gcc4_elf_fixes_individual/glibc-2.3.4-gcc4_arm_elf_dl-machine.patch
r556 r558 1 Submitted By: Ryan Oliver <ryan.oliver@pha.com.au> Date: 2005-05-03 1 Submitted By: Ryan Oliver <ryan.oliver@pha.com.au> 2 Date: 2005-05-03 (updated 20050603) 2 3 Initial Package Version: 2.3.4 3 4 Origin: fix_bad_pc24 from Dan Kegel's crosstool, rest from glibc cvs … … 5 6 Description: 6 7 7 ( edited changelog entr y)8 ( edited changelog entries ) 8 9 2005-03-15 Jakub Jelinek <jakub@redhat.com> 9 10 … … 12 13 Add inline keyword. 13 14 15 2005-03-05 Jakub Jelinek <jakub@redhat.com> 16 17 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_RELA): Define 18 unconditionally to (defined RTLD_BOOTSTRAP). 19 20 2005-03-01 Roland McGrath <roland@redhat.com> 21 22 [BZ #721] 23 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_RELA): Define this outside 24 of [RESOLVE_MAP] 25 14 26 fix_bad_pc24 fix from Dan Kegel's crosstool 15 27 16 28 --- glibc-2.3.4/sysdeps/arm/dl-machine.h-orig 2004-12-05 08:20:17.000000000 +1100 17 +++ glibc-2.3.4/sysdeps/arm/dl-machine.h 2005-05-04 18:41:04.000000000 +1000 18 @@ -359,7 +359,8 @@ 19 # endif 29 +++ glibc-2.3.4/sysdeps/arm/dl-machine.h 2005-06-03 15:33:44.000000000 +1000 30 @@ -350,16 +350,15 @@ 31 32 #endif /* !dl_machine_h */ 33 34 -#ifdef RESOLVE 35 - 36 /* ARM never uses Elf32_Rela relocations for the dynamic linker. 37 Prelinked libraries may use Elf32_Rela though. */ 38 -# ifdef RTLD_BOOTSTRAP 39 -# define ELF_MACHINE_NO_RELA 1 40 -# endif 41 +#define ELF_MACHINE_NO_RELA defined RTLD_BOOTSTRAP 42 + 43 +#ifdef RESOLVE 20 44 21 45 /* Deal with an out-of-range PC24 reloc. */ … … 26 50 { 27 51 static void *fix_page; 28 @@ -392,7 +39 3,8 @@52 @@ -392,7 +391,8 @@ 29 53 /* Perform the relocation specified by RELOC and SYM (which is fully resolved). 30 54 MAP is the object containing the reloc. */ … … 36 60 const Elf32_Sym *sym, const struct r_found_version *version, 37 61 void *const reloc_addr_arg) 38 @@ -517,7 +51 9,8 @@62 @@ -517,7 +517,8 @@ 39 63 } 40 64 … … 46 70 const Elf32_Sym *sym, const struct r_found_version *version, 47 71 void *const reloc_addr_arg) 48 @@ -597,7 + 600,8 @@72 @@ -597,7 +598,8 @@ 49 73 } 50 74 # endif … … 56 80 void *const reloc_addr_arg) 57 81 { 58 @@ -606,7 +6 10,8 @@82 @@ -606,7 +608,8 @@ 59 83 } 60 84 … … 66 90 void *const reloc_addr_arg) 67 91 { 68 @@ -615,7 +6 20,8 @@92 @@ -615,7 +618,8 @@ 69 93 } 70 94 # endif
