source: scripts/patches/glibc-2.3.4-gcc4_elf_fixes_individual/glibc-2.3.4-gcc4_arm_elf_dl-machine.patch@ b34085fc

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since b34085fc was 7f65c0e, checked in by Jim Gifford <clfs@…>, 19 years ago

r625@server (orig r623): jim | 2005-10-31 12:43:24 -0800
Final Move

  • Property mode set to 100644
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  
    350350
    351351#endif /* !dl_machine_h */
    352352
    353 #ifdef RESOLVE
    354 
    355353/* ARM never uses Elf32_Rela relocations for the dynamic linker.
    356354   Prelinked libraries may use Elf32_Rela though.  */
    357 # ifdef RTLD_BOOTSTRAP
    358 #  define ELF_MACHINE_NO_RELA 1
    359 # endif
     355#define ELF_MACHINE_NO_RELA defined RTLD_BOOTSTRAP
     356
     357#ifdef RESOLVE
    360358
    361359/* Deal with an out-of-range PC24 reloc.  */
    362 static Elf32_Addr
     360auto inline Elf32_Addr
     361__attribute__ ((always_inline))
    363362fix_bad_pc24 (Elf32_Addr *const reloc_addr, Elf32_Addr value)
    364363{
    365364  static void *fix_page;
     
    392391/* Perform the relocation specified by RELOC and SYM (which is fully resolved).
    393392   MAP is the object containing the reloc.  */
    394393
    395 static inline void
     394auto inline void
     395__attribute__ ((always_inline))
    396396elf_machine_rel (struct link_map *map, const Elf32_Rel *reloc,
    397397                 const Elf32_Sym *sym, const struct r_found_version *version,
    398398                 void *const reloc_addr_arg)
     
    517517}
    518518
    519519# ifndef RTLD_BOOTSTRAP
    520 static inline void
     520auto inline void
     521__attribute__ ((always_inline))
    521522elf_machine_rela (struct link_map *map, const Elf32_Rela *reloc,
    522523                  const Elf32_Sym *sym, const struct r_found_version *version,
    523524                  void *const reloc_addr_arg)
     
    597598}
    598599# endif
    599600
    600 static inline void
     601auto inline void
     602__attribute__ ((always_inline))
    601603elf_machine_rel_relative (Elf32_Addr l_addr, const Elf32_Rel *reloc,
    602604                          void *const reloc_addr_arg)
    603605{
     
    606608}
    607609
    608610# ifndef RTLD_BOOTSTRAP
    609 static inline void
     611auto inline void
     612__attribute__ ((always_inline))
    610613elf_machine_rela_relative (Elf32_Addr l_addr, const Elf32_Rela *reloc,
    611614                           void *const reloc_addr_arg)
    612615{
     
    615618}
    616619# endif
    617620
    618 static inline void
     621auto inline void
     622__attribute__ ((always_inline))
    619623elf_machine_lazy_rel (struct link_map *map,
    620624                      Elf32_Addr l_addr, const Elf32_Rel *reloc)
    621625{
Note: See TracBrowser for help on using the repository browser.