From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by ml01.01.org (Postfix) with ESMTP id 90C261A1E24 for ; Mon, 1 Aug 2016 19:40:52 -0700 (PDT) Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga104.fm.intel.com with ESMTP; 01 Aug 2016 19:40:52 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.28,458,1464678000"; d="scan'208";a="1017964660" Received: from fmsmsx107.amr.corp.intel.com ([10.18.124.205]) by fmsmga001.fm.intel.com with ESMTP; 01 Aug 2016 19:40:52 -0700 Received: from fmsmsx118.amr.corp.intel.com (10.18.116.18) by fmsmsx107.amr.corp.intel.com (10.18.124.205) with Microsoft SMTP Server (TLS) id 14.3.248.2; Mon, 1 Aug 2016 19:40:52 -0700 Received: from shsmsx104.ccr.corp.intel.com (10.239.4.70) by fmsmsx118.amr.corp.intel.com (10.18.116.18) with Microsoft SMTP Server (TLS) id 14.3.248.2; Mon, 1 Aug 2016 19:40:51 -0700 Received: from shsmsx102.ccr.corp.intel.com ([169.254.2.147]) by SHSMSX104.ccr.corp.intel.com ([169.254.5.116]) with mapi id 14.03.0248.002; Tue, 2 Aug 2016 10:39:27 +0800 From: "Gao, Liming" To: Ard Biesheuvel CC: "Shi, Steven" , "Zhu, Yonghong" , "Justen, Jordan L" , "edk2-devel@lists.01.org" , "lersek@redhat.com" , "leif.lindholm@linaro.org" Thread-Topic: [edk2] [PATCH v5 7/8] MdePkg GCC/X64: avoid 'hidden' visibility for module entry points Thread-Index: AQHR68sX1YXE81CPpEGCgS3W14qzHaAz3ajA///MjYCAAAH5gIAAD02AgAAFr4CAATU1gA== Date: Tue, 2 Aug 2016 02:39:26 +0000 Message-ID: <4A89E2EF3DFEDB4C8BFDE51014F606A1155E3E28@shsmsx102.ccr.corp.intel.com> References: <1470038497-2536-1-git-send-email-ard.biesheuvel@linaro.org> <1470038497-2536-8-git-send-email-ard.biesheuvel@linaro.org> <4A89E2EF3DFEDB4C8BFDE51014F606A1155E30DE@shsmsx102.ccr.corp.intel.com> In-Reply-To: Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] MIME-Version: 1.0 Subject: Re: [PATCH v5 7/8] MdePkg GCC/X64: avoid 'hidden' visibility for module entry points X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Aug 2016 02:40:52 -0000 Content-Language: en-US Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 QXJkOg0KICBJIHdpbGwgdmVyaWZ5IGl0LiBBbmQsIEkgd291bGQgYXNrIHdoeSBvbmx5IFg2NCBy ZXF1aXJlcyBpdD8gSUEzMiwgQVJNIGFuZCBBQVJDSDY0IGRvZXNuJ3Qgc3BlY2lhbGx5IGhhbmRs ZSBpdD8NCg0KVGhhbmtzDQpMaW1pbmcNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4g RnJvbTogQXJkIEJpZXNoZXV2ZWwgW21haWx0bzphcmQuYmllc2hldXZlbEBsaW5hcm8ub3JnXQ0K PiBTZW50OiBUdWVzZGF5LCBBdWd1c3QgMDIsIDIwMTYgMTI6MTIgQU0NCj4gVG86IEdhbywgTGlt aW5nIDxsaW1pbmcuZ2FvQGludGVsLmNvbT4NCj4gQ2M6IFNoaSwgU3RldmVuIDxzdGV2ZW4uc2hp QGludGVsLmNvbT47IFpodSwgWW9uZ2hvbmcNCj4gPHlvbmdob25nLnpodUBpbnRlbC5jb20+OyBK dXN0ZW4sIEpvcmRhbiBMIDxqb3JkYW4ubC5qdXN0ZW5AaW50ZWwuY29tPjsNCj4gZWRrMi1kZXZl bEBsaXN0cy4wMS5vcmc7IGxlcnNla0ByZWRoYXQuY29tOyBsZWlmLmxpbmRob2xtQGxpbmFyby5v cm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