[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, (cherry picked from libc/sysdeps/mips/dl-machine.h -r1.77 )
|
---|
| 5 | Upstream Status: See Origin
|
---|
| 6 | Description:
|
---|
| 7 |
|
---|
| 8 | (RO: edited changelog entry)
|
---|
| 9 | (elf_machine_rel, elf_machine_rel_relative, elf_machine_lazy_rel)
|
---|
| 10 | (elf_machine_runtime_setup): Use "auto inline".
|
---|
| 11 | --- glibc-2.3.4/sysdeps/mips/dl-machine.h-orig 2004-11-24 15:36:09.000000000 +1100
|
---|
| 12 | +++ glibc-2.3.4/sysdeps/mips/dl-machine.h 2005-05-05 01:39:11.000000000 +1000
|
---|
| 13 | @@ -528,7 +528,7 @@
|
---|
| 14 | /* Perform the relocation specified by RELOC and SYM (which is fully resolved).
|
---|
| 15 | MAP is the object containing the reloc. */
|
---|
| 16 |
|
---|
| 17 | -static inline void
|
---|
| 18 | +auto inline void
|
---|
| 19 | #ifdef RTLD_BOOTSTRAP
|
---|
| 20 | __attribute__ ((always_inline))
|
---|
| 21 | #endif
|
---|
| 22 | @@ -635,14 +635,16 @@
|
---|
| 23 | }
|
---|
| 24 | }
|
---|
| 25 |
|
---|
| 26 | -static inline void
|
---|
| 27 | +auto inline void
|
---|
| 28 | +__attribute__((always_inline))
|
---|
| 29 | elf_machine_rel_relative (ElfW(Addr) l_addr, const ElfW(Rel) *reloc,
|
---|
| 30 | void *const reloc_addr)
|
---|
| 31 | {
|
---|
| 32 | /* XXX Nothing to do. There is no relative relocation, right? */
|
---|
| 33 | }
|
---|
| 34 |
|
---|
| 35 | -static inline void
|
---|
| 36 | +auto inline void
|
---|
| 37 | +__attribute__((always_inline))
|
---|
| 38 | elf_machine_lazy_rel (struct link_map *map,
|
---|
| 39 | ElfW(Addr) l_addr, const ElfW(Rel) *reloc)
|
---|
| 40 | {
|
---|
| 41 | @@ -651,7 +653,8 @@
|
---|
| 42 |
|
---|
| 43 | #ifndef RTLD_BOOTSTRAP
|
---|
| 44 | /* Relocate GOT. */
|
---|
| 45 | -static inline void
|
---|
| 46 | +auto inline void
|
---|
| 47 | +__attribute__((always_inline))
|
---|
| 48 | elf_machine_got_rel (struct link_map *map, int lazy)
|
---|
| 49 | {
|
---|
| 50 | ElfW(Addr) *got;
|
---|
| 51 | @@ -738,7 +741,8 @@
|
---|
| 52 | /* Set up the loaded object described by L so its stub function
|
---|
| 53 | will jump to the on-demand fixup code __dl_runtime_resolve. */
|
---|
| 54 |
|
---|
| 55 | -static inline int
|
---|
| 56 | +auto inline int
|
---|
| 57 | +__attribute__((always_inline))
|
---|
| 58 | elf_machine_runtime_setup (struct link_map *l, int lazy, int profile)
|
---|
| 59 | {
|
---|
| 60 | # ifndef RTLD_BOOTSTRAP
|
---|