Re: [PATCH 0/3] BaseTools GCC: pass CC flags to linker


Ard Biesheuvel
 

On 2 August 2016 at 16:50, Gao, Liming <liming.gao@intel.com> wrote:
Ard:
Without this change, GCC5 LTO can pass build. With it, what difference will be in the generated image? Original way may generate the wrong image, or new way will generate the smaller image?
This is not about code size but about correctness. Compiler switches
for code model or alignment etc may affect the way code is generated
at link time by the LTO routines.

Join devel@edk2.groups.io to automatically receive all group messages.