mirror of
https://github.com/acidanthera/audk.git
synced 2025-04-08 17:05:09 +02:00
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:
parent
2b37c802dc
commit
c6137cfd5d
@ -281,7 +281,7 @@ Returns:
|
||||
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) {
|
||||
Error (NULL, 0, 0, InFileName, "failed to seek to .data section");
|
||||
goto Finish;
|
||||
|
Loading…
x
Reference in New Issue
Block a user