mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-23 13:30:06 +00:00
(elf_machine_rela)
(elf_machine_rela_relative, elf_machine_lazy_rel): Mark auto instead of static.
This commit is contained in:
parent
fe3dd5144e
commit
7618b354bf
@ -223,7 +223,7 @@ elf_machine_plt_value (struct link_map *map, const Elf32_Rela *reloc,
|
|||||||
/* Perform the relocation specified by RELOC and SYM (which is fully resolved).
|
/* Perform the relocation specified by RELOC and SYM (which is fully resolved).
|
||||||
MAP is the object containing the reloc. */
|
MAP is the object containing the reloc. */
|
||||||
|
|
||||||
static inline void __attribute__ ((always_inline))
|
auto inline void __attribute__ ((unused, always_inline))
|
||||||
elf_machine_rela (struct link_map *map, const Elf32_Rela *reloc,
|
elf_machine_rela (struct link_map *map, const Elf32_Rela *reloc,
|
||||||
const Elf32_Sym *sym, const struct r_found_version *version,
|
const Elf32_Sym *sym, const struct r_found_version *version,
|
||||||
void *const reloc_addr_arg)
|
void *const reloc_addr_arg)
|
||||||
@ -294,7 +294,7 @@ elf_machine_rela (struct link_map *map, const Elf32_Rela *reloc,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static inline void
|
auto inline void __attribute__ ((unused, always_inline))
|
||||||
elf_machine_rela_relative (Elf32_Addr l_addr, const Elf32_Rela *reloc,
|
elf_machine_rela_relative (Elf32_Addr l_addr, const Elf32_Rela *reloc,
|
||||||
void *const reloc_addr_arg)
|
void *const reloc_addr_arg)
|
||||||
{
|
{
|
||||||
@ -302,7 +302,7 @@ elf_machine_rela_relative (Elf32_Addr l_addr, const Elf32_Rela *reloc,
|
|||||||
*reloc_addr = l_addr + reloc->r_addend;
|
*reloc_addr = l_addr + reloc->r_addend;
|
||||||
}
|
}
|
||||||
|
|
||||||
static inline void
|
auto inline void __attribute__ ((unused, always_inline))
|
||||||
elf_machine_lazy_rel (struct link_map *map,
|
elf_machine_lazy_rel (struct link_map *map,
|
||||||
Elf32_Addr l_addr, const Elf32_Rela *reloc)
|
Elf32_Addr l_addr, const Elf32_Rela *reloc)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user