diff options
author | Roland McGrath <roland@gnu.org> | 2005-02-14 22:44:25 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2005-02-14 22:44:25 +0000 |
commit | 7de00121723507e61df94dfbb6a4c5a9fbba7146 (patch) | |
tree | be125d49c82e5fe2d83b5027dfefb2d8e0f78da5 /sysdeps/powerpc/powerpc32 | |
parent | c56f532fb5a95ddbd453ed4f11ee830cff7e9740 (diff) | |
download | glibc-7de00121723507e61df94dfbb6a4c5a9fbba7146.zip glibc-7de00121723507e61df94dfbb6a4c5a9fbba7146.tar.gz glibc-7de00121723507e61df94dfbb6a4c5a9fbba7146.tar.bz2 |
* 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.
Diffstat (limited to 'sysdeps/powerpc/powerpc32')
-rw-r--r-- | sysdeps/powerpc/powerpc32/dl-machine.h | 19 |
1 files changed, 16 insertions, 3 deletions
diff --git a/sysdeps/powerpc/powerpc32/dl-machine.h b/sysdeps/powerpc/powerpc32/dl-machine.h index de3b9e9..6d7d91b 100644 --- a/sysdeps/powerpc/powerpc32/dl-machine.h +++ b/sysdeps/powerpc/powerpc32/dl-machine.h @@ -204,7 +204,7 @@ extern void _dl_reloc_overflow (struct link_map *map, LOADADDR is the load address of the object; INFO is an array indexed by DT_* of the .dynamic section info. */ -inline void +auto inline void __attribute__ ((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) @@ -298,7 +298,7 @@ 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) { @@ -306,13 +306,26 @@ 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) { /* elf_machine_runtime_setup handles this. */ } +auto inline void __attribute__ ((always_inline)) +elf_machine_rel (struct link_map *map, const Elf32_Rel *reloc, + const ElfW(Sym) *sym, const struct r_found_version *version, + void *const reloc_addr) +{ +} + +auto inline void __attribute__ ((always_inline)) +elf_machine_rel_relative (ElfW(Addr) l_addr, const Elf32_Rel *reloc, + void *const reloc_addr) +{ +} + /* The SVR4 ABI specifies that the JMPREL relocs must be inside the DT_RELA table. */ #define ELF_MACHINE_PLTREL_OVERLAP 1 |