]> git.proxmox.com Git - mirror_edk2.git/blobdiff - BaseTools/Source/C/GenFw/ElfConvert.c
BaseTools/GenFw: Enhance GenFw to support PRM GCC build
[mirror_edk2.git] / BaseTools / Source / C / GenFw / ElfConvert.c
index 7db8721167de0fe2050cb50cc5b39997ee70b7eb..be98544056ec49416c844d21f266c5868f4cea84 100644 (file)
@@ -223,6 +223,14 @@ ConvertElf (
   VerboseMsg ("Write debug info.");\r
   ElfFunctions.WriteDebug ();\r
 \r
+  //\r
+  // For PRM Driver to Write export info.\r
+  //\r
+  if (mExportFlag) {\r
+    VerboseMsg ("Write export info.");\r
+    ElfFunctions.WriteExport ();\r
+  }\r
+\r
   //\r
   // Make sure image size is correct before returning the new image.\r
   //\r