Searched refs:got_plt (Results 1 – 2 of 2) sorted by relevance
33 struct mod_section *got_plt_sec = &mod->arch.got_plt; in module_emit_plt_entry()34 struct got_entry *got_plt; in module_emit_plt_entry() local43 got_plt = (struct got_entry *)got_plt_sec->shdr->sh_addr; in module_emit_plt_entry()44 got_plt[i] = emit_got_entry(val); in module_emit_plt_entry()46 plt[i] = emit_plt_entry(val, (u64)&plt[i], (u64)&got_plt[i]); in module_emit_plt_entry()103 mod->arch.got_plt.shdr = sechdrs + i; in module_frob_arch_sections()114 if (!mod->arch.got_plt.shdr) { in module_frob_arch_sections()149 mod->arch.got_plt.shdr->sh_type = SHT_NOBITS; in module_frob_arch_sections()150 mod->arch.got_plt.shdr->sh_flags = SHF_ALLOC; in module_frob_arch_sections()151 mod->arch.got_plt.shdr->sh_addralign = L1_CACHE_BYTES; in module_frob_arch_sections()[all …]
24 struct mod_section got_plt; member64 static inline struct plt_entry emit_plt_entry(u64 val, u64 plt, u64 got_plt) in emit_plt_entry() argument78 u64 offset = got_plt - plt; in emit_plt_entry()90 struct got_entry *got_plt = (struct got_entry *)sec->shdr->sh_addr; in get_got_plt_idx() local93 if (got_plt[i].symbol_addr == val) in get_got_plt_idx()