source:
scripts/patches/glibc-2.3.4-gcc4_elf_fixes_individual/glibc-2.3.4-gcc4_elf_dynamic-link.patch@
3f8be484
Last change on this file since 3f8be484 was 7f65c0e, checked in by , 19 years ago | |
---|---|
|
|
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
1 1 /* 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. 3 3 This file is part of the GNU C Library. 4 4 5 5 The GNU C Library is free software; you can redistribute it and/or … … 31 31 optimizing away alignment tests or using word instructions for 32 32 copying memory, breaking the very code written to handle the 33 33 unaligned cases. */ 34 auto void __attribute__((always_inline)) 34 # if ! ELF_MACHINE_NO_REL 35 auto inline void __attribute__((always_inline)) 35 36 elf_machine_rel (struct link_map *map, const ElfW(Rel) *reloc, 36 37 const ElfW(Sym) *sym, const struct r_found_version *version, 37 38 void *const reloc_addr); 38 auto void __attribute__((always_inline)) 39 auto inline void __attribute__((always_inline)) 40 elf_machine_rel_relative (ElfW(Addr) l_addr, const ElfW(Rel) *reloc, 41 void *const reloc_addr); 42 # endif 43 # if ! ELF_MACHINE_NO_RELA 44 auto inline void __attribute__((always_inline)) 39 45 elf_machine_rela (struct link_map *map, const ElfW(Rela) *reloc, 40 46 const ElfW(Sym) *sym, const struct r_found_version *version, 41 47 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)) 48 auto inline void __attribute__((always_inline)) 46 49 elf_machine_rela_relative (ElfW(Addr) l_addr, const ElfW(Rela) *reloc, 47 50 void *const reloc_addr); 51 # endif 48 52 # if ELF_MACHINE_NO_RELA || defined ELF_MACHINE_PLT_REL 49 auto void __attribute__((always_inline))53 auto inline void __attribute__((always_inline)) 50 54 elf_machine_lazy_rel (struct link_map *map, 51 55 ElfW(Addr) l_addr, const ElfW(Rel) *reloc); 52 56 # else 53 auto void __attribute__((always_inline))57 auto inline void __attribute__((always_inline)) 54 58 elf_machine_lazy_rel (struct link_map *map, 55 59 ElfW(Addr) l_addr, const ElfW(Rela) *reloc); 56 60 # endif
Note:
See TracBrowser
for help on using the repository browser.