X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=BaseTools%2FSource%2FC%2FGenFw%2FElfConvert.c;fp=BaseTools%2FSource%2FC%2FGenFw%2FElfConvert.c;h=be98544056ec49416c844d21f266c5868f4cea84;hp=7db8721167de0fe2050cb50cc5b39997ee70b7eb;hb=414cd2a4d536b444acee3fcdbe33bd0c8ef9819b;hpb=c8ea48bdf95532f9a3a4c39a154c09988566901f diff --git a/BaseTools/Source/C/GenFw/ElfConvert.c b/BaseTools/Source/C/GenFw/ElfConvert.c index 7db8721167..be98544056 100644 --- a/BaseTools/Source/C/GenFw/ElfConvert.c +++ b/BaseTools/Source/C/GenFw/ElfConvert.c @@ -223,6 +223,14 @@ ConvertElf ( VerboseMsg ("Write debug info."); ElfFunctions.WriteDebug (); + // + // For PRM Driver to Write export info. + // + if (mExportFlag) { + VerboseMsg ("Write export info."); + ElfFunctions.WriteExport (); + } + // // Make sure image size is correct before returning the new image. //