From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by ml01.01.org (Postfix) with ESMTP id 92CFF1A1E11 for ; Mon, 1 Aug 2016 00:54:21 -0700 (PDT) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga102.fm.intel.com with ESMTP; 01 Aug 2016 00:54:22 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.28,454,1464678000"; d="scan'208,217";a="1006130751" Received: from fmsmsx105.amr.corp.intel.com ([10.18.124.203]) by orsmga001.jf.intel.com with ESMTP; 01 Aug 2016 00:54:18 -0700 Received: from fmsmsx154.amr.corp.intel.com (10.18.116.70) by FMSMSX105.amr.corp.intel.com (10.18.124.203) with Microsoft SMTP Server (TLS) id 14.3.248.2; Mon, 1 Aug 2016 00:54:18 -0700 Received: from shsmsx104.ccr.corp.intel.com (10.239.4.70) by FMSMSX154.amr.corp.intel.com (10.18.116.70) with Microsoft SMTP Server (TLS) id 14.3.248.2; Mon, 1 Aug 2016 00:54:17 -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; Mon, 1 Aug 2016 15:54:16 +0800 From: "Shi, Steven" To: Ard Biesheuvel CC: edk2-devel-01 , "Gao, Liming" , "afish@apple.com" , "Justen, Jordan L" , "Kinney, Michael D" Thread-Topic: [PATCH v2 2/7] BaseTools-GenFw:Add new x86_64 Elf relocation types for PIC/PIE code Thread-Index: AQHR2PTIfEgqDmQOXkSZxkGjHzXOZaAwUHcAgADFQ0D//4q6gIABWuBw//+paACAAOGngIABCJcw//+seQAAEOGtQP//hWcA//93H4CAAJTIAP//eNrg Date: Mon, 1 Aug 2016 07:54:15 +0000 Message-ID: <06C8AB66E78EE34A949939824ABE2B31033824FA@shsmsx102.ccr.corp.intel.com> References: <1467967364-11556-1-git-send-email-steven.shi@intel.com> <1467967364-11556-3-git-send-email-steven.shi@intel.com> <06C8AB66E78EE34A949939824ABE2B3103381245@shsmsx102.ccr.corp.intel.com> <06C8AB66E78EE34A949939824ABE2B31033813C8@shsmsx102.ccr.corp.intel.com> <06C8AB66E78EE34A949939824ABE2B3103381AD8@shsmsx102.ccr.corp.intel.com> <06C8AB66E78EE34A949939824ABE2B3103381BF3@shsmsx102.ccr.corp.intel.com> <06C8AB66E78EE34A949939824ABE2B3103382483@shsmsx102.ccr.corp.intel.com> In-Reply-To: Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiMWNmNzFmNzYtZjg2Yy00NTQ2LWI4ZmEtNWQ0Y2M5NTBlZmZkIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX0lDIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE1LjkuNi42IiwiVHJ1c3RlZExhYmVsSGFzaCI6IkZia2wzb01KbHFCTHFxSnZmWjU3bHJ0NGt2WFd5OThldXluSklPUlhEcEk9In0= x-ctpclassification: CTP_IC x-originating-ip: [10.239.127.40] MIME-Version: 1.0 X-Content-Filtered-By: Mailman/MimeDel 2.1.21 Subject: Re: [PATCH v2 2/7] BaseTools-GenFw:Add new x86_64 Elf relocation types for PIC/PIE code 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: Mon, 01 Aug 2016 07:54:21 -0000 Content-Language: en-US Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 PiBPbiAxIEF1Z3VzdCAyMDE2IGF0IDA5OjE5LCBTaGksIFN0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lvbiBzZWN0aW9ucy4NCg0KDQoNClNlY3Rpb24gSGVhZGVyczoNCg0KICBbTnJdIE5hbWUgICAg ICAgICAgICAgIFR5cGUgICAgICAgICAgICAgQWRkcmVzcyAgICAgICAgICAgT2Zmc2V0DQoNCiAg ICAgICBTaXplICAgICAgICAgICAgICBFbnRTaXplICAgICAgICAgIEZsYWdzICBMaW5rICBJbmZv ICBBbGlnbg0KDQogIFsgMF0gICAgICAgICAgICAgICAgICAgTlVMTCAgICAgICAgICAgICAwMDAw MDAwMDAwMDAwMDAwICAwMDAwMDAwMA0KDQogICAgICAgMDAwMDAwMDAwMDAwMDAwMCAgMDAwMDAw MDAwMDAwMDAwMCAgICAgICAgICAgMCAgICAgMCAgICAgMA0KDQogIFsgMV0gLm5vdGUuZ251LmJ1 aWxkLWkgTk9URSAgICAgICAgICAgICAwMDAwMDAwMDAwMDAwMDAwICAwMDAwMDEwMA0KDQogICAg ICAgMDAwMDAwMDAwMDAwMDAyNCAgMDAwMDAwMDAwMDAwMDAwMCAgIEEgICAgICAgMCAgICAgMCAg ICAgNA0KDQogIFsgMl0gLnRleHQgICAgICAgICAgICAgUFJPR0JJVFMgICAgICAgICAwMDAwMDAw MDAwMDAwMjQwICAwMDAwMDM0MA0KDQogICAgICAgMDAwMDAwMDAwMDAwNTlmOCAgMDAwMDAwMDAw MDAwMDAwOCAgQVggICAgICAgMCAgICAgMCAgICAgNjQNCg0KICBbIDNdIC5yZWxhLnRleHQgICAg ICAgIFJFTEEgICAgICAgICAgICAgMDAwMDAwMDAwMDAwMDAwMCAgMDAwMDg3MjgNCg0KICAgICAg IDAwMDAwMDAwMDAwMDQ0ZDAgIDAwMDAwMDAwMDAwMDAwMTggICBJICAgICAgMTAgICAgIDIgICAg IDgNCg0KICBbIDRdIC5kYXRhICAgICAgICAgICAgIFBST0dCSVRTICAgICAgICAgMDAwMDAwMDAw MDAwNWM0MCAgMDAwMDVkNDANCg0KICAgICAgIDAwMDAwMDAwMDAwMDBhNjggID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