Corrently the set of file types for the PIC section contains two
duplicate values.
Replace the duplicate value with the correct one to fix the issue.
Signed-off-by: Konstantin Aladyshev <aladyshev22@gmail.com>
Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn>
Reviewed-by: Bob Feng <bob.c.feng@intel.com>
if FileType not in {BINARY_FILE_TYPE_PE32, "SEC_PE32"}:\r
raise Warning(WarningString % FileType, self.FileName, self.CurrentLineNumber)\r
elif SectionType == BINARY_FILE_TYPE_PIC:\r
- if FileType not in {BINARY_FILE_TYPE_PIC, BINARY_FILE_TYPE_PIC}:\r
+ if FileType not in {BINARY_FILE_TYPE_PIC, "SEC_PIC"}:\r
raise Warning(WarningString % FileType, self.FileName, self.CurrentLineNumber)\r
elif SectionType == BINARY_FILE_TYPE_TE:\r
if FileType not in {BINARY_FILE_TYPE_TE, "SEC_TE"}:\r