source: scripts/patches/glibc-2.3.4-gcc4_elf_fixes_individual/glibc-2.3.4-gcc4_elf_dynamic-link.patch@ 929aaed

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 929aaed 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: 3.1 KB
  • libc/elf/dynamic-link.h

    Submitted By: Ryan Oliver <ryan.oliver@pha.com.au>
    Date: 2005-05-03
    Initial Package Version: 2.3.4
    Origin: glibc cvs ( libc/elf/dynamic-link.h -r1.54 )
    Upstream Status: See Origin
    Description:
       http://sources.redhat.com/bugzilla/show_bug.cgi?id=721
       http://sources.redhat.com/ml/libc-hacker/2005-02/msg00000.html
       http://sources.redhat.com/ml/libc-hacker/2005-03/msg00008.html
    
    (RO: edited changelog entries )
    2005-03-15  Jakub Jelinek  <jakub@redhat.com>
    
            * elf/dynamic-link.h (elf_machine_rel, elf_machine_rel_relative,
            elf_machine_rela, elf_machine_rela_relative, elf_machine_lazy_rel):
            Add inline keyword.
    
    2005-02-03  Alexandre Oliva  <aoliva@redhat.com>
    
            [BZ #721]
            * elf/dynamic-link.h: Don't declare nested auto functions that are
            not going to be defined.
    
    
    RCS file: /cvs/glibc/libc/elf/dynamic-link.h,v
    retrieving revision 1.51
    retrieving revision 1.54
    diff -u -r1.51 -r1.54
     
    11/* Inline functions for dynamic linking.
    2    Copyright (C) 1995-2002, 2003, 2004 Free Software Foundation, Inc.
     2   Copyright (C) 1995-2002, 2003, 2004, 2005 Free Software Foundation, Inc.
    33   This file is part of the GNU C Library.
    44
    55   The GNU C Library is free software; you can redistribute it and/or
     
    3131   optimizing away alignment tests or using word instructions for
    3232   copying memory, breaking the very code written to handle the
    3333   unaligned cases.  */
    34 auto void __attribute__((always_inline))
     34# if ! ELF_MACHINE_NO_REL
     35auto inline void __attribute__((always_inline))
    3536elf_machine_rel (struct link_map *map, const ElfW(Rel) *reloc,
    3637                 const ElfW(Sym) *sym, const struct r_found_version *version,
    3738                 void *const reloc_addr);
    38 auto void __attribute__((always_inline))
     39auto inline void __attribute__((always_inline))
     40elf_machine_rel_relative (ElfW(Addr) l_addr, const ElfW(Rel) *reloc,
     41                          void *const reloc_addr);
     42# endif
     43# if ! ELF_MACHINE_NO_RELA
     44auto inline void __attribute__((always_inline))
    3945elf_machine_rela (struct link_map *map, const ElfW(Rela) *reloc,
    4046                  const ElfW(Sym) *sym, const struct r_found_version *version,
    4147                  void *const reloc_addr);
    42 auto void __attribute__((always_inline))
    43 elf_machine_rel_relative (ElfW(Addr) l_addr, const ElfW(Rel) *reloc,
    44                           void *const reloc_addr);
    45 auto void __attribute__((always_inline))
     48auto inline void __attribute__((always_inline))
    4649elf_machine_rela_relative (ElfW(Addr) l_addr, const ElfW(Rela) *reloc,
    4750                           void *const reloc_addr);
     51# endif
    4852# if ELF_MACHINE_NO_RELA || defined ELF_MACHINE_PLT_REL
    49 auto void __attribute__((always_inline))
     53auto inline void __attribute__((always_inline))
    5054elf_machine_lazy_rel (struct link_map *map,
    5155                      ElfW(Addr) l_addr, const ElfW(Rel) *reloc);
    5256# else
    53 auto void __attribute__((always_inline))
     57auto inline void __attribute__((always_inline))
    5458elf_machine_lazy_rel (struct link_map *map,
    5559                      ElfW(Addr) l_addr, const ElfW(Rela) *reloc);
    5660# endif
Note: See TracBrowser for help on using the repository browser.