From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751475Ab3LKTno (ORCPT ); Wed, 11 Dec 2013 14:43:44 -0500 Received: from terminus.zytor.com ([198.137.202.10]:37445 "EHLO mail.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751145Ab3LKTnn (ORCPT ); Wed, 11 Dec 2013 14:43:43 -0500 Message-ID: <52A8C05D.9050006@zytor.com> Date: Wed, 11 Dec 2013 11:43:25 -0800 From: "H. Peter Anvin" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.1.0 MIME-Version: 1.0 To: "H.J. Lu" CC: Jiri Kosina , LKML , Josh Boyer Subject: Re: [PATCH] binfmt_elf: fix PIE load with randomization disabled References: <52A63AD4.2030101@zytor.com> <52A63BF3.1000608@zytor.com> <52A63DCF.2060504@zytor.com> <52A8A5B0.2080206@zytor.com> In-Reply-To: X-Enigmail-Version: 1.6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 12/11/2013 10:21 AM, H.J. Lu wrote: > On Wed, Dec 11, 2013 at 9:49 AM, H. Peter Anvin wrote: >> On 12/11/2013 05:41 AM, H.J. Lu wrote: >>> >>> When -Ttext-segment=XXX is used, the program is expected to >>> load at XXX, regardless -pie is used or not. >>> >> >> "Expected to" by whom? I think that is at the very best a matter of >> interpretation. > > # ld --help > ... > -Ttext-segment ADDRESS Set address of text segment > ... > I feel a very circular argument going around here... what do the actual user(s) of this option expect? -hpa