If PE image has no relocation section, and has not set RELOCS_STRIPPED,
after it is converted to TE image, GenFw will set its relocation section
VirtualAddress to non-zero address, and keep Size value as Zero. MdePkg
BasePeCoffLib applied this rule to get RelocationsStripped attribute. But,
it is
Ard:
If PE image has no relocation section, and has not set
EFI_IMAGE_FILE_RELOCS_STRIPPED, after it is converted to TE image, GenFw will
set its relocation section VirtualAddress to non-zero address, and keep Size
value as Zero. If PE image is without relocation section, and set
2 matches
Mail list logo