From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753123Ab3LJT0n (ORCPT ); Tue, 10 Dec 2013 14:26:43 -0500 Received: from terminus.zytor.com ([198.137.202.10]:51319 "EHLO mail.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752690Ab3LJT0i (ORCPT ); Tue, 10 Dec 2013 14:26:38 -0500 Message-ID: <52A76AD5.40602@zytor.com> Date: Tue, 10 Dec 2013 11:26:13 -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: Binutils , Jiri Kosina , LKML , Josh Boyer Subject: Re: RFC: binutils PATCH: Set e_type to ET_EXEC for -pie -Ttext-segment= References: <52A766A4.7040202@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/10/2013 11:15 AM, H.J. Lu wrote: >> >> Either way, if the *only* goal is to get the file above a certain point, >> like 4 GiB, then there is no reason not to randomize upward. > > I agree that kernel should load ET_DYN binary anywhere. I will > change linker to set type to ET_EXEC if p_vaddr != 0. > I didn't say "anywhere". I said "at or above the p_vaddr". -hpa