source: scripts/patches/glibc-2.3.4-gcc4_elf_fixes_individual/glibc-2.3.4-gcc4_generic_elf_dl-machine.patch@ 86b01c92

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 86b01c92 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: 1.7 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/sysdeps/generic/dl-machine.h -r1.9 )
5Upstream Status: See Origin
6Description:
7
8(RO: edited changelog entry)
9
102005-03-15 Jakub Jelinek <jakub@redhat.com>
11
12 * sysdeps/generic/dl-machine.h (elf_machine_rel, elf_machine_rela):
13 Add always_inline attribute. Change static inline into auto inline.
14
15===================================================================
16RCS file: /cvs/glibc/libc/sysdeps/generic/dl-machine.h,v
17retrieving revision 1.8
18retrieving revision 1.9
19diff -u -r1.8 -r1.9
20--- libc/sysdeps/generic/dl-machine.h 2001/09/08 17:16:43 1.8
21+++ libc/sysdeps/generic/dl-machine.h 2005/03/15 22:57:24 1.9
22@@ -1,5 +1,6 @@
23 /* Machine-dependent ELF dynamic relocation inline functions. Stub version.
24- Copyright (C) 1995,1996,1997,1999,2000,2001 Free Software Foundation, Inc.
25+ Copyright (C) 1995, 1996, 1997, 1999, 2000, 2001, 2005
26+ Free Software Foundation, Inc.
27 This file is part of the GNU C Library.
28
29 The GNU C Library is free software; you can redistribute it and/or
30@@ -64,7 +65,8 @@
31 LOADADDR is the load address of the object; INFO is an array indexed
32 by DT_* of the .dynamic section info. */
33
34-static inline void
35+auto inline void
36+__attribute__ ((always_inline))
37 elf_machine_rel (Elf32_Addr loadaddr, Elf32_Dyn *info[DT_NUM],
38 const Elf32_Rel *reloc, const Elf32_Sym *sym,
39 Elf32_Addr (*resolve) (const Elf32_Sym **ref,
40@@ -87,7 +89,8 @@
41 }
42
43
44-static inline Elf32_Addr
45+auto inline Elf32_Addr
46+__attribute__ ((always_inline))
47 elf_machine_rela (Elf32_Addr loadaddr, Elf32_Dyn *info[DT_NUM],
48 const Elf32_Rel *reloc, const Elf32_Sym *sym,
49 Elf32_Addr (*resolve) (const Elf32_Sym **ref,
Note: See TracBrowser for help on using the repository browser.