reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
486 if (ref.kindNamespace() != Reference::KindNamespace::mach_o) 488 assert(ref.kindArch() == Reference::KindArch::x86); 489 bool useExternalReloc = useExternalRelocationTo(*ref.target()); 492 switch (static_cast<X86Kind>(ref.kindValue())) { 495 *loc32 = ref.addend() - (fixupAddress + 4); 497 *loc32 =(targetAddress - (fixupAddress+4)) + ref.addend(); 501 *loc16 = ref.addend() - (fixupAddress + 2); 503 *loc16 = (targetAddress - (fixupAddress+2)) + ref.addend(); 507 *loc32 = targetAddress + ref.addend(); 510 *loc32 = targetAddress - inAtomAddress + ref.addend(); // FIXME 513 *loc32 = targetAddress - fixupAddress + ref.addend(); 516 *loc32 = fixupAddress - targetAddress + ref.addend();