| Index: source/libvpx/build/make/obj_int_extract.c
|
| ===================================================================
|
| --- source/libvpx/build/make/obj_int_extract.c (revision 251189)
|
| +++ source/libvpx/build/make/obj_int_extract.c (working copy)
|
| @@ -666,7 +666,11 @@
|
| }
|
| strcpy(sectionlist[i], sectionname);
|
|
|
| - if (!strcmp(sectionname, ".rdata")) sectionrawdata_ptr = get_le32(ptr + 20);
|
| + // check if it's .rdata and is not a COMDAT section.
|
| + if (!strcmp(sectionname, ".rdata") &&
|
| + (get_le32(ptr + 36) & 0x1000) == 0) {
|
| + sectionrawdata_ptr = get_le32(ptr + 20);
|
| + }
|
|
|
| ptr += 40;
|
| }
|
|
|