VirtualBox

Changeset 59902 in vbox


Ignore:
Timestamp:
Mar 2, 2016 4:40:37 PM (9 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
105814
Message:

bs3kit: build fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ValidationKit/bootsectors/bs3kit/VBoxBs3ObjConverter.cpp

    r59900 r59902  
    533533                                if (*uLoc.pu32)
    534534                                {
    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",
    536536                                          *uLoc.pu32, paRelocs[j].u.VirtualAddress, i, paShdrs[i].Name);
    537537                                    fRet = false;
     
    539539
    540540                                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",
    542542                                                 paRelocs[j].u.VirtualAddress, i, paShdrs[i].Name);
    543543                                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",
    545545                                           paRelocs[j].u.VirtualAddress, i, paShdrs[i].Name);
    546546
     
    562562                            else
    563563                            {
    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",
    565565                                      paRelocs[j].u.VirtualAddress, i, paShdrs[i].Name);
    566566                                fRet = false;
     
    580580                        paRelocs[j].Type = IMAGE_REL_I386_ABSOLUTE;
    581581                        /* 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",
    583583                              paRelocs[j].u.VirtualAddress, i, paShdrs[i].Name);
    584584                        fRet = false;
     
    586586
    587587                    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",
    589589                                     paRelocs[j].Type,
    590590                                     paRelocs[j].Type < RT_ELEMENTS(g_apszCoffAmd64RelTypes)
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette