Searched refs:iRel (Results 1 - 2 of 2) sorted by relevance

/vbox/src/VBox/Runtime/testcase/
H A DtstLdr.cpp200 unsigned iRel = 0; local
270 if (iRel >= RT_ELEMENTS(aRels))
275 aRels[iRel] &= UINT32_C(0xffffffff);
278 RTPrintf("tstLdr: Relocating image 2 from %RTptr to %RTptr\n", aLoads[2].Addr, aRels[iRel]);
279 int rc = RTLdrRelocate(aLoads[2].hLdrMod, aLoads[2].pvBits, aRels[iRel], aLoads[2].Addr, testGetImport, &aRels[iRel]);
283 pszFilename, aRels[iRel], aLoads[2].Addr, rc);
287 aLoads[2].Addr = aRels[iRel];
290 iRel++;
/vbox/src/VBox/Runtime/common/ldr/
H A DldrELFRelocatable.cpp.h207 for (unsigned iRel = 0; iRel < iRelMax; iRel++)
214 if (ELF_R_TYPE(paRels[iRel].r_info) == R_386_NONE)
217 if (ELF_R_TYPE(paRels[iRel].r_info) == R_X86_64_NONE)
224 Elf_Size iSym = ELF_R_SYM(paRels[iRel].r_info);
265 Value = SymValue + paRels[iRel].r_addend;
271 AssertMsgReturn(paRels[iRel].r_offset < cbSec, (FMT_ELF_ADDR " " FMT_ELF_SIZE "\n", paRels[iRel].r_offset, cbSec), VERR_LDRELF_INVALID_RELOCATION_OFFSET);
273 const Elf_Addr *pAddrR = (const Elf_Addr *)(pu8SecBaseR + paRels[iRel]
[all...]

Completed in 1555 milliseconds