Changeset 59902 in vbox
- Timestamp:
- Mar 2, 2016 4:40:37 PM (9 years ago)
- svn:sync-xref-src-repo-rev:
- 105814
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/bootsectors/bs3kit/VBoxBs3ObjConverter.cpp
r59900 r59902 533 533 if (*uLoc.pu32) 534 534 { 535 error(pszFile, "__ImageBase fixup with disp %#x at rva=%#x in section #%u '%-8.8 '!\n",535 error(pszFile, "__ImageBase fixup with disp %#x at rva=%#x in section #%u '%-8.8s'!\n", 536 536 *uLoc.pu32, paRelocs[j].u.VirtualAddress, i, paShdrs[i].Name); 537 537 fRet = false; … … 539 539 540 540 if (fSeenImageBase) 541 return error(pszFile, "More than one __ImageBase fixup! 2nd at rva=%#x in section #%u '%-8.8 '\n",541 return error(pszFile, "More than one __ImageBase fixup! 2nd at rva=%#x in section #%u '%-8.8s'\n", 542 542 paRelocs[j].u.VirtualAddress, i, paShdrs[i].Name); 543 543 if (g_cVerbose) 544 printf("Applying __ImageBase hack at rva=%#x in section #%u '%-8.8 '\n",544 printf("Applying __ImageBase hack at rva=%#x in section #%u '%-8.8s'\n", 545 545 paRelocs[j].u.VirtualAddress, i, paShdrs[i].Name); 546 546 … … 562 562 else 563 563 { 564 error(pszFile, "__ImageBase fixup that isn't a recognized LEA at rva=%#x in section #%u '%-8.8 '!\n",564 error(pszFile, "__ImageBase fixup that isn't a recognized LEA at rva=%#x in section #%u '%-8.8s'!\n", 565 565 paRelocs[j].u.VirtualAddress, i, paShdrs[i].Name); 566 566 fRet = false; … … 580 580 paRelocs[j].Type = IMAGE_REL_I386_ABSOLUTE; 581 581 /* Turns out wlink takes this seriously, so it usage must be checked out. */ 582 error(pszFile, "ABSOLUTE fixup at rva=%#x in section #%u '%-8.8 '\n",582 error(pszFile, "ABSOLUTE fixup at rva=%#x in section #%u '%-8.8s'\n", 583 583 paRelocs[j].u.VirtualAddress, i, paShdrs[i].Name); 584 584 fRet = false; … … 586 586 587 587 default: 588 return error(pszFile, "Unsupported fixup type %#x (%s) at rva=%#x in section #%u '%-8.8 '\n",588 return error(pszFile, "Unsupported fixup type %#x (%s) at rva=%#x in section #%u '%-8.8s'\n", 589 589 paRelocs[j].Type, 590 590 paRelocs[j].Type < RT_ELEMENTS(g_apszCoffAmd64RelTypes)
Note:
See TracChangeset
for help on using the changeset viewer.