[edk2] Overhead MdePkg e MdeModulePkg

Subject: [edk2] Overhead MdePkg e MdeModulePkg

From: Rafael Machado <rafaelrodrigues.machado@gmail.com>

To: edk2-devel <edk2-devel@lists.sourceforge.net>

Date: 2012-06-04 22:32:53

Hi everyone

I'm having a little problem with on UEFI application.
The application was developed usingMdePkg and MdeModulePkg.
The problem is that when I compile and generate the .efi I have an overhead of some kb.

I did a test here copying the .c from UDK2010SR1 that my application uses to my application's directory, and I saw that the overhead is smaller.
Since copy the .c files to my project is really strange, is ther a way to 'eliminate' the overhead when usingMdePkg and MdeModulePkg ?

By the way, could some one explain me why does this overhead exists ? It seams to be when some variables are initialized atMdePkg and MdeModulePkg

Thanks and Regards
Rafael R. Machado