source:
scripts/patches/glibc-2.3.4-gcc4_elf_fixes_individual/glibc-2.3.4-gcc4_arm_elf_dl-machine.patch@
0429023
Last change on this file since 0429023 was 7f65c0e, checked in by , 19 years ago | |
---|---|
|
|
File size: 2.8 KB |
-
glibc-2.3.4/sysdeps/arm/dl-machine.
Submitted By: Ryan Oliver <ryan.oliver@pha.com.au> Date: 2005-05-03 (updated 20050603) Initial Package Version: 2.3.4 Origin: fix_bad_pc24 from Dan Kegel's crosstool, rest from glibc cvs Upstream Status: all except fix_bad_pc24 fixed in glibc cvs Description: ( edited changelog entries ) 2005-03-15 Jakub Jelinek <jakub@redhat.com> * sysdeps/arm/dl-machine.h (elf_machine_rel, elf_machine_rel_relative, elf_machine_rela, elf_machine_rela_relative, elf_machine_lazy_rel): Add inline keyword. 2005-03-05 Jakub Jelinek <jakub@redhat.com> * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_RELA): Define unconditionally to (defined RTLD_BOOTSTRAP). 2005-03-01 Roland McGrath <roland@redhat.com> [BZ #721] * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_RELA): Define this outside of [RESOLVE_MAP] fix_bad_pc24 fix from Dan Kegel's crosstool
old new 350 350 351 351 #endif /* !dl_machine_h */ 352 352 353 #ifdef RESOLVE354 355 353 /* ARM never uses Elf32_Rela relocations for the dynamic linker. 356 354 Prelinked libraries may use Elf32_Rela though. */ 357 # ifdefRTLD_BOOTSTRAP358 # define ELF_MACHINE_NO_RELA 1 359 # endif355 #define ELF_MACHINE_NO_RELA defined RTLD_BOOTSTRAP 356 357 #ifdef RESOLVE 360 358 361 359 /* Deal with an out-of-range PC24 reloc. */ 362 static Elf32_Addr 360 auto inline Elf32_Addr 361 __attribute__ ((always_inline)) 363 362 fix_bad_pc24 (Elf32_Addr *const reloc_addr, Elf32_Addr value) 364 363 { 365 364 static void *fix_page; … … 392 391 /* Perform the relocation specified by RELOC and SYM (which is fully resolved). 393 392 MAP is the object containing the reloc. */ 394 393 395 static inline void 394 auto inline void 395 __attribute__ ((always_inline)) 396 396 elf_machine_rel (struct link_map *map, const Elf32_Rel *reloc, 397 397 const Elf32_Sym *sym, const struct r_found_version *version, 398 398 void *const reloc_addr_arg) … … 517 517 } 518 518 519 519 # ifndef RTLD_BOOTSTRAP 520 static inline void 520 auto inline void 521 __attribute__ ((always_inline)) 521 522 elf_machine_rela (struct link_map *map, const Elf32_Rela *reloc, 522 523 const Elf32_Sym *sym, const struct r_found_version *version, 523 524 void *const reloc_addr_arg) … … 597 598 } 598 599 # endif 599 600 600 static inline void 601 auto inline void 602 __attribute__ ((always_inline)) 601 603 elf_machine_rel_relative (Elf32_Addr l_addr, const Elf32_Rel *reloc, 602 604 void *const reloc_addr_arg) 603 605 { … … 606 608 } 607 609 608 610 # ifndef RTLD_BOOTSTRAP 609 static inline void 611 auto inline void 612 __attribute__ ((always_inline)) 610 613 elf_machine_rela_relative (Elf32_Addr l_addr, const Elf32_Rela *reloc, 611 614 void *const reloc_addr_arg) 612 615 { … … 615 618 } 616 619 # endif 617 620 618 static inline void 621 auto inline void 622 __attribute__ ((always_inline)) 619 623 elf_machine_lazy_rel (struct link_map *map, 620 624 Elf32_Addr l_addr, const Elf32_Rel *reloc) 621 625 {
Note:
See TracBrowser
for help on using the repository browser.