]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
2005-02-14 Alan Modra <amodra@bigpond.net.au>
authorRoland McGrath <roland@gnu.org>
Mon, 17 Oct 2005 04:52:15 +0000 (04:52 +0000)
committerRoland McGrath <roland@gnu.org>
Mon, 17 Oct 2005 04:52:15 +0000 (04:52 +0000)
[BZ #721]
* sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Define
with auto inline, and attribute always_inline.
(elf_machine_rela_relative, elf_machine_lazy_rel): Likewise.
(elf_machine_rel, elf_machine_rel_relative): Likewise.
* sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
(elf_machine_rela_relative, elf_machine_lazy_rel): Likewise.
(elf_machine_rel, elf_machine_rel_relative): Likewise.
(elf_machine_tprel): Likewise.

sysdeps/powerpc/powerpc32/dl-machine.h

index a8c1e3e4907d5b1eb9038f115868190477250b68..a5c5ebb2a20ceb4868a61d6d8c41663abc002d0a 100644 (file)
@@ -455,7 +455,8 @@ elf_machine_rela (struct link_map *map, const Elf32_Rela *reloc,
     }
 }
 
-static inline void
+auto inline void
+__attribute__ ((always_inline))
 elf_machine_rela_relative (Elf32_Addr l_addr, const Elf32_Rela *reloc,
                           void *const reloc_addr_arg)
 {
@@ -463,7 +464,8 @@ elf_machine_rela_relative (Elf32_Addr l_addr, const Elf32_Rela *reloc,
   *reloc_addr = l_addr + reloc->r_addend;
 }
 
-static inline void
+auto inline void
+__attribute__ ((always_inline))
 elf_machine_lazy_rel (struct link_map *map,
                      Elf32_Addr l_addr, const Elf32_Rela *reloc)
 {