Re: [edk2] [PATCH] MdePkg: move to 'hidden' visibility for all symbols under GCC/X64

2016-08-02 Thread Ard Biesheuvel
On 2 August 2016 at 04:49, Gao, Liming wrote: > Reviewed-by: Liming Gao > Thanks Pushed as 28ade7b802e0 -- Ard. >> -Original Message- >> From: Ard Biesheuvel [mailto:ard.biesheu...@linaro.org] >> Sent: Monday, August 01, 2016 2:57 PM >> To:

Re: [edk2] [PATCH] MdePkg: move to 'hidden' visibility for all symbols under GCC/X64

2016-08-01 Thread Gao, Liming
Reviewed-by: Liming Gao > -Original Message- > From: Ard Biesheuvel [mailto:ard.biesheu...@linaro.org] > Sent: Monday, August 01, 2016 2:57 PM > To: Shi, Steven ; Zhu, Yonghong > ; Gao, Liming ;

[edk2] [PATCH] MdePkg: move to 'hidden' visibility for all symbols under GCC/X64

2016-08-01 Thread Ard Biesheuvel
When using GCC to build for X64, we switched to the position independent small code model, which is much more efficient in terms of code generation and runtime relocation footprint, and produces binaries that can execute correctly from any offset. However, the PIC routines are by default geared