From: "H. Peter Anvin" <hpa@zytor.com>
To: "H.J. Lu" <hjl.tools@gmail.com>
Cc: Binutils <binutils@sourceware.org>, Jiri Kosina <jkosina@suse.cz>,
LKML <linux-kernel@vger.kernel.org>,
Josh Boyer <jwboyer@redhat.com>
Subject: Re: RFC: binutils PATCH: Set e_type to ET_EXEC for -pie -Ttext-segment=
Date: Tue, 10 Dec 2013 11:26:13 -0800 [thread overview]
Message-ID: <52A76AD5.40602@zytor.com> (raw)
In-Reply-To: <CAMe9rOoU51t9KUYEYFCVZVwDLTuGWyd9_d97-pcsFrT_WcYS0w@mail.gmail.com>
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
next prev parent reply other threads:[~2013-12-10 19:26 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-12-10 12:20 RFC: binutils PATCH: Set e_type to ET_EXEC for -pie -Ttext-segment= H.J. Lu
2013-12-10 19:08 ` H. Peter Anvin
2013-12-10 19:15 ` H.J. Lu
2013-12-10 19:26 ` H. Peter Anvin [this message]
-- strict thread matches above, loose matches on Subject: below --
2013-12-10 3:10 H.J. Lu
2013-12-10 22:36 ` Alan Modra
2013-12-10 22:47 ` H.J. Lu
2013-12-12 15:42 ` H.J. Lu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=52A76AD5.40602@zytor.com \
--to=hpa@zytor.com \
--cc=binutils@sourceware.org \
--cc=hjl.tools@gmail.com \
--cc=jkosina@suse.cz \
--cc=jwboyer@redhat.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.