Lines Matching refs:gp
144 uint64_t gp;
227 0x00, 0x00, 0x00, 0x00, 0x00, 0x20, /* movl gp=TARGET_GP */
232 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* brl.many gp=TARGET_GP */
277 0x00, 0x00, 0x00, 0x00, 0x00, 0x20, /* movl gp=TARGET_GP */
519 * Get gp-relative offset for the linkage-table entry of VALUE.
541 return (uint64_t) e - mod->arch.gp;
547 return value - mod->arch.gp + MAX_LTOFF/2 < MAX_LTOFF;
568 /* "value" is a pointer to a function-descriptor; fetch the target ip/gp from it: */
627 fdesc->gp = mod->arch.gp;
647 case RV_GPREL: val -= mod->arch.gp; break;
730 val -= mod->arch.gp;
821 if (!mod->arch.gp) {
822 uint64_t gp;
828 gp = mod->core_size - MAX_LTOFF / 2;
830 gp = mod->core_size / 2;
831 gp = (uint64_t) mod->module_core + ((gp + 7) & -8);
832 mod->arch.gp = gp;
833 DEBUGP("%s: placing gp at 0x%lx\n", __FUNCTION__, gp);
901 DEBUGP("%s: name=%s, gp=%lx, num_init=%lu, num_core=%lu\n", __FUNCTION__,
902 mod->name, mod->arch.gp, num_init, num_core);
908 mod->arch.core_unw_table = unw_add_unwind_table(mod->name, 0, mod->arch.gp,
914 mod->arch.init_unw_table = unw_add_unwind_table(mod->name, 0, mod->arch.gp,