(elf_machine_rela): Mark auto instead of static, add always_inline attribute. (elf_machine_rela_relative): Likewise. (elf_machine_lazy_rel): Likewise.
This commit is contained in:
parent
917fbe7069
commit
1f7e748f63
@ -499,7 +499,8 @@ elf_machine_plt_value (struct link_map *map, const Elf64_Rela *reloc,
|
||||
|
||||
/* Perform the relocation specified by RELOC and SYM (which is fully
|
||||
resolved). MAP is the object containing the reloc. */
|
||||
static inline void
|
||||
auto inline void
|
||||
__attribute ((always_inline))
|
||||
elf_machine_rela (struct link_map *map,
|
||||
const Elf64_Rela *reloc,
|
||||
const Elf64_Sym *sym,
|
||||
@ -603,7 +604,8 @@ elf_machine_rela (struct link_map *map,
|
||||
can be skipped. */
|
||||
#define ELF_MACHINE_REL_RELATIVE 1
|
||||
|
||||
static inline void
|
||||
auto inline void
|
||||
__attribute ((always_inline))
|
||||
elf_machine_rela_relative (Elf64_Addr l_addr, const Elf64_Rela *reloc,
|
||||
void *const reloc_addr_arg)
|
||||
{
|
||||
@ -615,7 +617,8 @@ elf_machine_rela_relative (Elf64_Addr l_addr, const Elf64_Rela *reloc,
|
||||
}
|
||||
|
||||
/* Perform a RELATIVE reloc on the .got entry that transfers to the .plt. */
|
||||
static inline void
|
||||
auto inline void
|
||||
__attribute ((always_inline))
|
||||
elf_machine_lazy_rel (struct link_map *map,
|
||||
Elf64_Addr l_addr, const Elf64_Rela *reloc)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user