source: patches/glibc-2.3.4-gcc4_elf_fixes_individual/glibc-2.3.4-gcc4_elf_dynamic-link.patch @ 617118d

clfs-1.2clfs-2.1clfs-3.0.0-systemdclfs-3.0.0-sysvinitsystemdsysvinit
Last change on this file since 617118d was 617118d, checked in by Jim Gifford <clfs@…>, 18 years ago

r561@server (orig r559): root | 2005-06-05 02:38:49 -0700
Fixed Directory Structure

  • Property mode set to 100644
File size: 3.1 KB
RevLine 
[617118d]1Submitted By: Ryan Oliver <ryan.oliver@pha.com.au>
2Date: 2005-05-03
3Initial Package Version: 2.3.4
4Origin: glibc cvs ( libc/elf/dynamic-link.h -r1.54 )
5Upstream Status: See Origin
6Description:
7   http://sources.redhat.com/bugzilla/show_bug.cgi?id=721
8   http://sources.redhat.com/ml/libc-hacker/2005-02/msg00000.html
9   http://sources.redhat.com/ml/libc-hacker/2005-03/msg00008.html
10
11(RO: edited changelog entries )
122005-03-15  Jakub Jelinek  <jakub@redhat.com>
13
14        * elf/dynamic-link.h (elf_machine_rel, elf_machine_rel_relative,
15        elf_machine_rela, elf_machine_rela_relative, elf_machine_lazy_rel):
16        Add inline keyword.
17
182005-02-03  Alexandre Oliva  <aoliva@redhat.com>
19
20        [BZ #721]
21        * elf/dynamic-link.h: Don't declare nested auto functions that are
22        not going to be defined.
23
24
25===================================================================
26RCS file: /cvs/glibc/libc/elf/dynamic-link.h,v
27retrieving revision 1.51
28retrieving revision 1.54
29diff -u -r1.51 -r1.54
30--- libc/elf/dynamic-link.h     2004/09/24 17:09:03     1.51
31+++ libc/elf/dynamic-link.h     2005/03/15 22:57:25     1.54
32@@ -1,5 +1,5 @@
33 /* Inline functions for dynamic linking.
34-   Copyright (C) 1995-2002, 2003, 2004 Free Software Foundation, Inc.
35+   Copyright (C) 1995-2002, 2003, 2004, 2005 Free Software Foundation, Inc.
36    This file is part of the GNU C Library.
37 
38    The GNU C Library is free software; you can redistribute it and/or
39@@ -31,26 +31,30 @@
40    optimizing away alignment tests or using word instructions for
41    copying memory, breaking the very code written to handle the
42    unaligned cases.  */
43-auto void __attribute__((always_inline))
44+# if ! ELF_MACHINE_NO_REL
45+auto inline void __attribute__((always_inline))
46 elf_machine_rel (struct link_map *map, const ElfW(Rel) *reloc,
47                 const ElfW(Sym) *sym, const struct r_found_version *version,
48                 void *const reloc_addr);
49-auto void __attribute__((always_inline))
50+auto inline void __attribute__((always_inline))
51+elf_machine_rel_relative (ElfW(Addr) l_addr, const ElfW(Rel) *reloc,
52+                         void *const reloc_addr);
53+# endif
54+# if ! ELF_MACHINE_NO_RELA
55+auto inline void __attribute__((always_inline))
56 elf_machine_rela (struct link_map *map, const ElfW(Rela) *reloc,
57                  const ElfW(Sym) *sym, const struct r_found_version *version,
58                  void *const reloc_addr);
59-auto void __attribute__((always_inline))
60-elf_machine_rel_relative (ElfW(Addr) l_addr, const ElfW(Rel) *reloc,
61-                         void *const reloc_addr);
62-auto void __attribute__((always_inline))
63+auto inline void __attribute__((always_inline))
64 elf_machine_rela_relative (ElfW(Addr) l_addr, const ElfW(Rela) *reloc,
65                           void *const reloc_addr);
66+# endif
67 # if ELF_MACHINE_NO_RELA || defined ELF_MACHINE_PLT_REL
68-auto void __attribute__((always_inline))
69+auto inline void __attribute__((always_inline))
70 elf_machine_lazy_rel (struct link_map *map,
71                      ElfW(Addr) l_addr, const ElfW(Rel) *reloc);
72 # else
73-auto void __attribute__((always_inline))
74+auto inline void __attribute__((always_inline))
75 elf_machine_lazy_rel (struct link_map *map,
76                      ElfW(Addr) l_addr, const ElfW(Rela) *reloc);
77 # endif
Note: See TracBrowser for help on using the repository browser.