[PATCH] D13645: [ELF2] - implemented default enterpteter for X86, X86_64, PPC and AArch64

Rui Ueyama via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 13 14:34:07 PDT 2015


Current way means setting ld-linux.so even on FreeBSD, which I think
doesn't make much sense. I'd try to add entries which I think reasonable to
the function, but I wouldn't be serious about making it perfect.

On Tue, Oct 13, 2015 at 2:20 PM, Rafael EspĂ­ndola <
rafael.espindola at gmail.com> wrote:

> On 13 October 2015 at 17:04, Rui Ueyama <ruiu at google.com> wrote:
> > ruiu added a comment.
> >
> > Hm, that's an interesting point. Are you suggesting we always set the
> same value to .interp or make --dynamic_linker mandatory?
>
> I like the current behavior if we can get away with it.
>
> For example, the bfd ld recently got a --no-dynamic-linker for use
> with static PIE executables. That is the behavior we have if someone
> just doesn't pass a --dynamic_linker.
>
> Cheers,
> Rafael
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151013/67b1af33/attachment.html>


More information about the llvm-commits mailing list