[edk2] [Patch] BaseTools: ElfConvert Tool update VerboseMsg to same with the comment

Yonghong Zhu posted 1 patch 5 years, 8 months ago
Failed in applying to current master (apply log)
BaseTools/Source/C/GenFw/Elf32Convert.c | 2 +-
BaseTools/Source/C/GenFw/Elf64Convert.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
[edk2] [Patch] BaseTools: ElfConvert Tool update VerboseMsg to same with the comment
Posted by Yonghong Zhu 5 years, 8 months ago
Fixes: https://bugzilla.tianocore.org/show_bug.cgi?id=994
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Yonghong Zhu <yonghong.zhu@intel.com>
---
 BaseTools/Source/C/GenFw/Elf32Convert.c | 2 +-
 BaseTools/Source/C/GenFw/Elf64Convert.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/BaseTools/Source/C/GenFw/Elf32Convert.c b/BaseTools/Source/C/GenFw/Elf32Convert.c
index af5ff93..3d7de6d 100644
--- a/BaseTools/Source/C/GenFw/Elf32Convert.c
+++ b/BaseTools/Source/C/GenFw/Elf32Convert.c
@@ -688,11 +688,11 @@ WriteSections32 (
 
       default:
         //
         //  Ignore for unkown section type.
         //
-        VerboseMsg ("%s unknown section type %x. We directly copy this section into Coff file", mInImageName, (unsigned)Shdr->sh_type);
+        VerboseMsg ("%s unknown section type %x. We ignore this unknown section type.", mInImageName, (unsigned)Shdr->sh_type);
         break;
       }
     }
   }
 
diff --git a/BaseTools/Source/C/GenFw/Elf64Convert.c b/BaseTools/Source/C/GenFw/Elf64Convert.c
index 15da89c..469979c 100644
--- a/BaseTools/Source/C/GenFw/Elf64Convert.c
+++ b/BaseTools/Source/C/GenFw/Elf64Convert.c
@@ -822,11 +822,11 @@ WriteSections64 (
 
       default:
         //
         //  Ignore for unkown section type.
         //
-        VerboseMsg ("%s unknown section type %x. We directly copy this section into Coff file", mInImageName, (unsigned)Shdr->sh_type);
+        VerboseMsg ("%s unknown section type %x. We ignore this unknown section type.", mInImageName, (unsigned)Shdr->sh_type);
         break;
       }
     }
   }
 
-- 
2.6.1.windows.1

_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel
Re: [edk2] [Patch] BaseTools: ElfConvert Tool update VerboseMsg to same with the comment
Posted by Gao, Liming 5 years, 8 months ago
Reviewed-by: Liming Gao <liming.gao@intel.com>

>-----Original Message-----
>From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of
>Yonghong Zhu
>Sent: Friday, July 13, 2018 11:32 AM
>To: edk2-devel@lists.01.org
>Subject: [edk2] [Patch] BaseTools: ElfConvert Tool update VerboseMsg to
>same with the comment
>
>Fixes: https://bugzilla.tianocore.org/show_bug.cgi?id=994
>Contributed-under: TianoCore Contribution Agreement 1.0
>Signed-off-by: Yonghong Zhu <yonghong.zhu@intel.com>
>---
> BaseTools/Source/C/GenFw/Elf32Convert.c | 2 +-
> BaseTools/Source/C/GenFw/Elf64Convert.c | 2 +-
> 2 files changed, 2 insertions(+), 2 deletions(-)
>
>diff --git a/BaseTools/Source/C/GenFw/Elf32Convert.c
>b/BaseTools/Source/C/GenFw/Elf32Convert.c
>index af5ff93..3d7de6d 100644
>--- a/BaseTools/Source/C/GenFw/Elf32Convert.c
>+++ b/BaseTools/Source/C/GenFw/Elf32Convert.c
>@@ -688,11 +688,11 @@ WriteSections32 (
>
>       default:
>         //
>         //  Ignore for unkown section type.
>         //
>-        VerboseMsg ("%s unknown section type %x. We directly copy this
>section into Coff file", mInImageName, (unsigned)Shdr->sh_type);
>+        VerboseMsg ("%s unknown section type %x. We ignore this unknown
>section type.", mInImageName, (unsigned)Shdr->sh_type);
>         break;
>       }
>     }
>   }
>
>diff --git a/BaseTools/Source/C/GenFw/Elf64Convert.c
>b/BaseTools/Source/C/GenFw/Elf64Convert.c
>index 15da89c..469979c 100644
>--- a/BaseTools/Source/C/GenFw/Elf64Convert.c
>+++ b/BaseTools/Source/C/GenFw/Elf64Convert.c
>@@ -822,11 +822,11 @@ WriteSections64 (
>
>       default:
>         //
>         //  Ignore for unkown section type.
>         //
>-        VerboseMsg ("%s unknown section type %x. We directly copy this
>section into Coff file", mInImageName, (unsigned)Shdr->sh_type);
>+        VerboseMsg ("%s unknown section type %x. We ignore this unknown
>section type.", mInImageName, (unsigned)Shdr->sh_type);
>         break;
>       }
>     }
>   }
>
>--
>2.6.1.windows.1
>
>_______________________________________________
>edk2-devel mailing list
>edk2-devel@lists.01.org
>https://lists.01.org/mailman/listinfo/edk2-devel
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel