lkml.org 
[lkml]   [2013]   [Dec]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH] binfmt_elf: fix PIE load with randomization disabled
From
On Wed, Dec 11, 2013 at 11:43 AM, H. Peter Anvin <hpa@zytor.com> wrote:
> On 12/11/2013 10:21 AM, H.J. Lu wrote:
>> On Wed, Dec 11, 2013 at 9:49 AM, H. Peter Anvin <hpa@zytor.com> 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?

User expects the executable will be loaded at the address
specified by -Ttext-segment.

--
H.J.


\
 
 \ /
  Last update: 2013-12-12 05:01    [W:0.085 / U:0.196 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site