(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
|
/* Perform the relocation specified by RELOC and SYM (which is fully
|
||||||
resolved). MAP is the object containing the reloc. */
|
resolved). MAP is the object containing the reloc. */
|
||||||
static inline void
|
auto inline void
|
||||||
|
__attribute ((always_inline))
|
||||||
elf_machine_rela (struct link_map *map,
|
elf_machine_rela (struct link_map *map,
|
||||||
const Elf64_Rela *reloc,
|
const Elf64_Rela *reloc,
|
||||||
const Elf64_Sym *sym,
|
const Elf64_Sym *sym,
|
||||||
|
@ -603,7 +604,8 @@ elf_machine_rela (struct link_map *map,
|
||||||
can be skipped. */
|
can be skipped. */
|
||||||
#define ELF_MACHINE_REL_RELATIVE 1
|
#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,
|
elf_machine_rela_relative (Elf64_Addr l_addr, const Elf64_Rela *reloc,
|
||||||
void *const reloc_addr_arg)
|
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. */
|
/* 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,
|
elf_machine_lazy_rel (struct link_map *map,
|
||||||
Elf64_Addr l_addr, const Elf64_Rela *reloc)
|
Elf64_Addr l_addr, const Elf64_Rela *reloc)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue