mirror of https://github.com/acidanthera/audk.git
ArmPkg/RvdPeCoffExtraActionLib: Add quotes in RVD command line for RVD under Linux
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12630 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
7755dfd3a5
commit
3d4c7abc56
|
@ -117,7 +117,7 @@ PeCoffLoaderRelocateImageExtraAction (
|
|||
{
|
||||
CHAR8 Buffer[256];
|
||||
|
||||
AsciiSPrint (Buffer, sizeof(Buffer), "load /a /ni /np %a &0x%08x\n", ImageContext->PdbPointer, (UINTN)(ImageContext->ImageAddress + ImageContext->SizeOfHeaders));
|
||||
AsciiSPrint (Buffer, sizeof(Buffer), "load /a /ni /np \"%a\" &0x%08x\n", ImageContext->PdbPointer, (UINTN)(ImageContext->ImageAddress + ImageContext->SizeOfHeaders));
|
||||
DeCygwinPathIfNeeded (&Buffer[16]);
|
||||
|
||||
WriteStringToFile (Buffer, AsciiStrSize (Buffer));
|
||||
|
@ -143,7 +143,7 @@ PeCoffLoaderUnloadImageExtraAction (
|
|||
{
|
||||
CHAR8 Buffer[256];
|
||||
|
||||
AsciiSPrint (Buffer, sizeof(Buffer), "unload symbols_only %a\n", ImageContext->PdbPointer);
|
||||
AsciiSPrint (Buffer, sizeof(Buffer), "unload symbols_only \"%a\"\n", ImageContext->PdbPointer);
|
||||
DeCygwinPathIfNeeded (Buffer);
|
||||
|
||||
WriteStringToFile (Buffer, AsciiStrSize (Buffer));
|
||||
|
|
Loading…
Reference in New Issue