// If there are no relocation entries, then we are done\r
//\r
if (ImageContext->RelocationsStripped) {\r
+ // Applies additional environment specific actions to relocate fixups \r
+ // to a PE/COFF image if needed\r
+ PeCoffLoaderRelocateImageExtraAction (ImageContext); \r
return RETURN_SUCCESS;\r
}\r
\r
ImageContext->EntryPoint -= (UINT64) ImageContext->ImageAddress;\r
ImageContext->EntryPoint += (UINT64) ImageContext->DestinationAddress;\r
}\r
+ \r
+ // Applies additional environment specific actions to relocate fixups \r
+ // to a PE/COFF image if needed\r
+ PeCoffLoaderRelocateImageExtraAction (ImageContext);\r
+ \r
return RETURN_SUCCESS;\r
}\r
\r
IN OUT PE_COFF_LOADER_IMAGE_CONTEXT *ImageContext\r
)\r
{\r
+ // Applies additional environment specific actions to unload a \r
+ // PE/COFF image if needed\r
+ PeCoffLoaderUnloadImageExtraAction (ImageContext);\r
return RETURN_SUCCESS;\r
}\r