diff options
author | mdkinney <mdkinney@6f19259b-4bc3-4df7-8a09-765794883524> | 2006-11-26 04:07:04 +0000 |
---|---|---|
committer | mdkinney <mdkinney@6f19259b-4bc3-4df7-8a09-765794883524> | 2006-11-26 04:07:04 +0000 |
commit | c6137cfd5d5272401fdd6f60bf51ffe51fcc61b2 (patch) | |
tree | 88fe193f6b61ef17a54c6eb9065ca9389cff8d12 /Tools/CCode/Source/GenAcpiTable/GenAcpiTable.c | |
parent | 2b37c802dcd9e175d455424b6ae578aa2195942e (diff) | |
download | edk2-platforms-c6137cfd5d5272401fdd6f60bf51ffe51fcc61b2.tar.xz |
Add support for.sdata sections
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2013 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'Tools/CCode/Source/GenAcpiTable/GenAcpiTable.c')
-rw-r--r-- | Tools/CCode/Source/GenAcpiTable/GenAcpiTable.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Tools/CCode/Source/GenAcpiTable/GenAcpiTable.c b/Tools/CCode/Source/GenAcpiTable/GenAcpiTable.c index 7a413eacb0..f1efa3c302 100644 --- a/Tools/CCode/Source/GenAcpiTable/GenAcpiTable.c +++ b/Tools/CCode/Source/GenAcpiTable/GenAcpiTable.c @@ -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;
|