Add support for.sdata sections

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2013 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
mdkinney 2006-11-26 04:07:04 +00:00
parent 2b37c802dc
commit c6137cfd5d
1 changed files with 1 additions and 1 deletions

View File

@ -281,7 +281,7 @@ Returns:
goto Finish; goto Finish;
} }
if (strcmp (SectionHeader.Name, ".data") == 0) { if (strcmp (SectionHeader.Name, ".data") == 0 || strcmp (SectionHeader.Name, ".sdata") == 0) {
if (fseek (InFptr, SectionHeader.PointerToRawData, SEEK_SET) != 0) { if (fseek (InFptr, SectionHeader.PointerToRawData, SEEK_SET) != 0) {
Error (NULL, 0, 0, InFileName, "failed to seek to .data section"); Error (NULL, 0, 0, InFileName, "failed to seek to .data section");
goto Finish; goto Finish;