Changeset 62450 in vbox for trunk/src/VBox
- Timestamp:
- Jul 22, 2016 3:04:27 PM (8 years ago)
- Location:
- trunk/src/VBox
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/BiosCommonCode/MakeAlternativeSource.cpp
r62406 r62450 338 338 339 339 340 #if 0 /* unused */ 340 341 /** 341 342 * Checks if a dword could be a far 16:16 BIOS address. … … 356 357 return true; 357 358 } 359 #endif 358 360 359 361 -
trunk/src/VBox/ValidationKit/bootsectors/bs3kit/VBoxBs3ObjConverter.cpp
r60727 r62450 162 162 remove(pszFile); 163 163 164 int rc = -1;165 164 FILE *pFile = openfile(pszFile, true); 166 165 if (pFile) … … 1028 1027 } 1029 1028 1029 #if 0 /* unused */ 1030 1030 /** 1031 1031 * LEDATA + FIXUPP - Adds a byte to the LEDATA record, splitting if needed. … … 1041 1041 return false; 1042 1042 } 1043 #endif 1043 1044 1044 1045 /** … … 1933 1934 if (omfWriter_BeginModule(pThis, pszFile)) 1934 1935 { 1935 Elf64_Ehdr const *pEhdr = (Elf64_Ehdr const *)pbFile;1936 Elf64_Shdr const *paShdrs = (Elf64_Shdr const *)&pbFile[pEhdr->e_shoff];1937 const char *pszStrTab = (const char *)&pbFile[paShdrs[pEhdr->e_shstrndx].sh_offset];1938 1939 1936 if ( convertElfSectionsToSegDefsAndGrpDefs(pThis, &ElfStuff) 1940 1937 && convertElfSymbolsToPubDefsAndExtDefs(pThis, &ElfStuff) … … 3620 3617 { 3621 3618 Elf64_Ehdr const *pEhdr = (Elf64_Ehdr const *)pbFile; 3622 Elf64_Shdr const *paShdrs = (Elf64_Shdr const *)&pbFile[pEhdr->e_shoff];3623 const char *pszStrTab = (const char *)&pbFile[paShdrs[pEhdr->e_shstrndx].sh_offset];3624 3619 3625 3620 if ( convertMachOSectionsToSegDefsAndGrpDefs(pThis, &MachOStuff) … … 4586 4581 4587 4582 /* Begin and write the CV version signature. */ 4588 uint32_t const cbMaxChunk = RT_ALIGN(OMF_MAX_RECORD_PAYLOAD - 1 - 16, 4); /* keep the data dword aligned */4589 4583 if ( !omfWriter_LEDataBegin(pThis, pOmfStuff->iSymbolsSeg, 0) 4590 4584 || !omfWriter_LEDataAddU32(pThis, RTCVSYMBOLS_SIGNATURE_CV8))
Note:
See TracChangeset
for help on using the changeset viewer.