> On Dec 19, 2014, at 4:38 AM, Sergey Isakov <isakov...@bk.ru> wrote: > > Hi sirs, > What this message means? > ~~~~ > ld: warning: section `.data' type changed to PROGBITS > ~~~~ > I see it when compiled by GCC49 as well as by XCODE5 some modules: > edk2/DuetPkg/AcpiResetDxe > edk2/DuetPkg/PciBusNoEnumerationDxe > edk2/MdeModulePkg/Universal/PCD/Dxe > > I know, it is safe to ignore them but what they mean? May be we can exclude > the mistake from these sources? >
Sergey, I think this warning usually means BSS is being converted to DATA. Basically zeros in the BSS don’t have to be in the PE/COFF image as the virtual size for the data section is larger than the file size. The PE/COFF loader will zero fill the memory range between the end of the file size and the actual virtual size. For eXecute In Place code this does not work, so we try to avoid it in the edk2. PROGBITS means it is in the file and memory image. NOBITS means it is not in the file, but is zero filled in memory. Thanks, Andrew Fish > Regards, > Sergey > > > ------------------------------------------------------------------------------ > Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server > from Actuate! Instantly Supercharge Your Business Reports and Dashboards > with Interactivity, Sharing, Native Excel Exports, App Integration & more > Get technology previously reserved for billion-dollar corporations, FREE > http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk > _______________________________________________ > edk2-devel mailing list > edk2-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/edk2-devel ------------------------------------------------------------------------------ Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk _______________________________________________ edk2-devel mailing list edk2-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/edk2-devel