http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59410

--- Comment #21 from H.J. Lu <hjl.tools at gmail dot com> ---
(In reply to Kostya Serebryany from comment #20)
> > > 
> > > # readelf -lW a.out
> > 
> > Your address must be sensible.  Otherwise kernel will ignore it.
> > Please try "-Ttext-segment 0x855555000000".
> 
> How is 0x855555000000 censible if it's beyond the address space? 
> (Or I miss something?)
> 
> Anyway, here is an experiment that proves that on my box 
> -Ttext-segment is ignored if ASLR is off. 
> 
>

That is true.  The kernel change was made to fix:

https://bugzilla.kernel.org/show_bug.cgi?id=36372

Reply via email to