Skip to content

Commit

Permalink
(elf_machine_rela) (elf_machine_rela_relative, elf_machine_lazy_rel):…
Browse files Browse the repository at this point in the history
… Mark auto instead of static.
  • Loading branch information
Andreas Schwab committed Oct 30, 2004
1 parent 73f6403 commit 4888542
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions sysdeps/m68k/dl-machine.h
Original file line number Diff line number Diff line change
Expand Up @@ -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).
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,
const Elf32_Sym *sym, const struct r_found_version *version,
void *const reloc_addr_arg)
Expand Down Expand Up @@ -294,15 +294,15 @@ 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,
void *const reloc_addr_arg)
{
Elf32_Addr *const reloc_addr = reloc_addr_arg;
*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,
Elf32_Addr l_addr, const Elf32_Rela *reloc)
{
Expand Down

0 comments on commit 4888542

Please sign in to comment.