[617118d] | 1 | Submitted By: Ryan Oliver <ryan.oliver@pha.com.au>
|
---|
| 2 | Date: 2005-05-03
|
---|
| 3 | Initial Package Version: 2.3.4
|
---|
| 4 | Origin: glibc cvs ( libc/sysdeps/generic/dl-machine.h -r1.9 )
|
---|
| 5 | Upstream Status: See Origin
|
---|
| 6 | Description:
|
---|
| 7 |
|
---|
| 8 | (RO: edited changelog entry)
|
---|
| 9 |
|
---|
| 10 | 2005-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 | ===================================================================
|
---|
| 16 | RCS file: /cvs/glibc/libc/sysdeps/generic/dl-machine.h,v
|
---|
| 17 | retrieving revision 1.8
|
---|
| 18 | retrieving revision 1.9
|
---|
| 19 | diff -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,
|
---|