Changeset 85880 in vbox for trunk/src/VBox/Devices/EFI/Firmware/BaseTools
- Timestamp:
- Aug 24, 2020 6:22:41 PM (5 years ago)
- svn:sync-xref-src-repo-rev:
- 140054
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/EFI/Firmware/BaseTools/Source/C/GenFw/Elf64Convert.c
r85718 r85880 692 692 mCoffOffset = (UINT32) ((mCoffOffset + shdr->sh_addralign - 1) & ~(shdr->sh_addralign - 1)); 693 693 } else { 694 #ifdef VBOX 695 Error (NULL, 0, 3000, "Invalid", "Section address not aligned to its own alignment. sec#%i addr=%#llx align=%#llx", i, shdr->sh_addr, shdr->sh_addralign); 696 #else 694 697 Error (NULL, 0, 3000, "Invalid", "Section address not aligned to its own alignment."); 698 #endif 695 699 } 696 700 } … … 743 747 mCoffOffset = (UINT32) ((mCoffOffset + shdr->sh_addralign - 1) & ~(shdr->sh_addralign - 1)); 744 748 } else { 749 #ifdef VBOX 750 Error (NULL, 0, 3000, "Invalid", "Section address not aligned to its own alignment. sec#%i addr=%#llx align=%#llx", i, shdr->sh_addr, shdr->sh_addralign); 751 #else 745 752 Error (NULL, 0, 3000, "Invalid", "Section address not aligned to its own alignment."); 753 #endif 746 754 } 747 755 } … … 795 803 mCoffOffset = (UINT32) ((mCoffOffset + shdr->sh_addralign - 1) & ~(shdr->sh_addralign - 1)); 796 804 } else { 805 #ifdef VBOX 806 Error (NULL, 0, 3000, "Invalid", "Section address not aligned to its own alignment. sec#%i addr=%#llx align=%#llx", i, shdr->sh_addr, shdr->sh_addralign); 807 #else 797 808 Error (NULL, 0, 3000, "Invalid", "Section address not aligned to its own alignment."); 809 #endif 798 810 } 799 811 }
Note:
See TracChangeset
for help on using the changeset viewer.