Re: [PATCH] binfmt_elf: fix PIE load with randomization disabled

From: H.J. Lu
Date: Wed Dec 11 2013 - 13:21:40 EST


On Wed, Dec 11, 2013 at 9:49 AM, H. Peter Anvin <hpa@xxxxxxxxx> 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
...


--
H.J.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/