From patchwork Sun Jul 31 19:04:04 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [edk2,v4,0/7] BaseTools: add support for GCC5 in LTO mode X-Patchwork-Submitter: Ard Biesheuvel X-Patchwork-Id: 73078 Message-Id: To: "Gao, Liming" Cc: "Justen, Jordan L" , "edk2-devel@lists.01.org" , "leif.lindholm@linaro.org" , "lersek@redhat.com" Date: Sun, 31 Jul 2016 21:04:04 +0200 From: Ard Biesheuvel List-Id: EDK II Development On 30 July 2016 at 16:34, Ard Biesheuvel wrote: > On 29 July 2016 at 17:18, Gao, Liming wrote: >> Ard: >> >> My gcc version 5.3.0 20151204 (Ubuntu 5.3.0-3ubuntu1~14.04). I will try >> GCC54. >> > > I cannot reproduce this with 5.3.1-14ubuntu2.1 either. @Liming: is the issue still reproducible with this change? """ """ Thanks, Ard. _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel diff --git a/MdePkg/Include/X64/ProcessorBind.h b/MdePkg/Include/X64/ProcessorBind.h index a4aad3e..73cf799 100644 --- a/MdePkg/Include/X64/ProcessorBind.h +++ b/MdePkg/Include/X64/ProcessorBind.h @@ -34,7 +34,7 @@ // symbols directly using relative references rather than via the GOT, which // contains absolute symbol addresses that are subject to runtime relocation. // -#pragma GCC visibility push (protected) +#pragma GCC visibility push (hidden) #endif #if defined(__INTEL_COMPILER)