Lines Matching refs:ElfW

76 	 *(ElfW(Addr) *)ptr = (ElfW(Addr)) (r); \
79 *(ElfW(Addr) *)((l)->l_info[DT_MIPS (RLD_MAP)]->d_un.d_ptr) = \
80 (ElfW(Addr)) (r); \
95 elf_machine_matches_host (const ElfW(Ehdr) *ehdr) in elf_machine_matches_host()
122 static inline ElfW(Addr) * in ElfW() function
123 elf_mips_got_from_gpreg (ElfW(Addr) gpreg) in ElfW()
126 return (ElfW(Addr) *) (gpreg - OFFSET_GP_GOT); in ElfW()
132 static inline ElfW(Addr)
135 register ElfW(Addr) gp __asm__ ("$28"); in elf_machine_dynamic()
144 static inline ElfW(Addr)
147 ElfW(Addr) addr; in elf_machine_load_address()
164 ElfW(Addr) tmp; in elf_machine_load_address()
191 ElfW(Sym) *sym; \
192 ElfW(Addr) *got; \
195 got = (ElfW(Addr) *) D_PTR (map, l_info[DT_PLTGOT]); \
212 sym = (ElfW(Sym) *) D_PTR(map, l_info[DT_SYMTAB]) \
451 static inline ElfW(Addr)
453 const ElfW(Sym) *refsym, const ElfW(Sym) *sym, in elf_machine_fixup_plt()
454 const ElfW(Rel) *reloc, in elf_machine_fixup_plt()
455 ElfW(Addr) *reloc_addr, ElfW(Addr) value) in elf_machine_fixup_plt()
460 static inline ElfW(Addr)
461 elf_machine_plt_value (struct link_map *map, const ElfW(Rel) *reloc, in elf_machine_plt_value()
462 ElfW(Addr) value) in elf_machine_plt_value()
478 ElfW(Addr) r_info, const ElfW(Sym) *sym, in elf_machine_reloc()
480 ElfW(Addr) r_addend, int inplace_p) in elf_machine_reloc()
483 ElfW(Addr) *addr_field = (ElfW(Addr) *) reloc_addr; in elf_machine_reloc()
552 ElfW(Addr) reloc_value; in elf_machine_reloc()
562 const ElfW(Word) gotsym in elf_machine_reloc()
563 = (const ElfW(Word)) map->l_info[DT_MIPS (GOTSYM)]->d_un.d_val; in elf_machine_reloc()
565 if ((ElfW(Word))symidx < gotsym) in elf_machine_reloc()
590 const ElfW(Addr) *got in elf_machine_reloc()
591 = (const ElfW(Addr) *) D_PTR (map, l_info[DT_PLTGOT]); in elf_machine_reloc()
592 const ElfW(Word) local_gotno in elf_machine_reloc()
593 = (const ElfW(Word)) in elf_machine_reloc()
617 const ElfW(Word) gotsym in elf_machine_reloc()
618 = (const ElfW(Word)) map->l_info[DT_MIPS (GOTSYM)]->d_un.d_val; in elf_machine_reloc()
620 if (__builtin_expect ((ElfW(Word)) symidx >= gotsym, 1)) in elf_machine_reloc()
622 const ElfW(Addr) *got in elf_machine_reloc()
623 = (const ElfW(Addr) *) D_PTR (map, l_info[DT_PLTGOT]); in elf_machine_reloc()
624 const ElfW(Word) local_gotno in elf_machine_reloc()
625 = ((const ElfW(Word)) in elf_machine_reloc()
628 ElfW(Addr) reloc_value = got[symidx + local_gotno - gotsym]; in elf_machine_reloc()
640 ElfW(Addr) value; in elf_machine_reloc()
658 const ElfW(Sym) *const refsym = sym; in elf_machine_reloc()
660 ElfW(Addr) value; in elf_machine_reloc()
713 const ElfW(Rel) *reloc, const ElfW(Sym) *sym, in elf_machine_rel()
722 elf_machine_rel_relative (ElfW(Addr) l_addr, const ElfW(Rel) *reloc, in elf_machine_rel_relative()
731 ElfW(Addr) l_addr, const ElfW(Rel) *reloc, in elf_machine_lazy_rel()
734 ElfW(Addr) *const reloc_addr = (void *) (l_addr + reloc->r_offset); in elf_machine_lazy_rel()
753 elf_machine_rela (struct link_map *map, struct r_scope_elem *scope[], const ElfW(Rela) *reloc, in elf_machine_rela()
754 const ElfW(Sym) *sym, const struct r_found_version *version, in elf_machine_rela()
763 elf_machine_rela_relative (ElfW(Addr) l_addr, const ElfW(Rela) *reloc, in elf_machine_rela_relative()
774 ElfW(Addr) *got; in elf_machine_got_rel()
775 ElfW(Sym) *sym; in elf_machine_got_rel()
776 const ElfW(Half) *vernum; in elf_machine_got_rel()
781 const ElfW(Sym) *ref = sym; \ in elf_machine_got_rel()
794 got = (ElfW(Addr) *) D_PTR (map, l_info[DT_PLTGOT]); in elf_machine_got_rel()
817 sym = (ElfW(Sym) *) D_PTR (map, l_info[DT_SYMTAB]) + symidx; in elf_machine_got_rel()
877 ElfW(Addr) *got; in elf_machine_runtime_setup()
878 extern void _dl_runtime_resolve (ElfW(Word)); in elf_machine_runtime_setup()
888 got = (ElfW(Addr) *) D_PTR (l, l_info[DT_PLTGOT]); in elf_machine_runtime_setup()
892 got[0] = (ElfW(Addr)) &_dl_runtime_resolve; in elf_machine_runtime_setup()
898 got[1] = ((ElfW(Addr)) l | ELF_MIPS_GNU_GOT1_MASK); in elf_machine_runtime_setup()
909 ElfW(Addr) *gotplt; in elf_machine_runtime_setup()
910 gotplt = (ElfW(Addr) *) D_PTR (l, l_info[DT_MIPS (PLTGOT)]); in elf_machine_runtime_setup()
916 gotplt[0] = (ElfW(Addr)) &_dl_runtime_pltresolve; in elf_machine_runtime_setup()
917 gotplt[1] = (ElfW(Addr)) l; in elf_machine_runtime_setup()