Lines Matching refs:reladdr
372 long reladdr; in create_ftrace_stub() local
377 reladdr = addr - kernel_toc_addr(); in create_ftrace_stub()
378 if (reladdr > 0x7FFFFFFF || reladdr < -(0x80000000L)) { in create_ftrace_stub()
384 entry->jump[1] |= PPC_HA(reladdr); in create_ftrace_stub()
385 entry->jump[2] |= PPC_LO(reladdr); in create_ftrace_stub()
441 long reladdr; in create_stub() local
449 reladdr = (unsigned long)entry - my_r2(sechdrs, me); in create_stub()
450 if (reladdr > 0x7FFFFFFF || reladdr < -(0x80000000L)) { in create_stub()
452 me->name, (void *)reladdr, (void *)my_r2); in create_stub()
455 pr_debug("Stub %p get data from reladdr %li\n", entry, reladdr); in create_stub()
457 entry->jump[0] |= PPC_HA(reladdr); in create_stub()
458 entry->jump[1] |= PPC_LO(reladdr); in create_stub()