[PATCH] D24471: [ELF] Set EF_ARM_EABI_VER5 for ARM

Rui Ueyama via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 12 22:41:43 PDT 2016


On Mon, Sep 12, 2016 at 10:34 PM, Martin Storsjö <martin at martin.st> wrote:

> mstorsjo added a comment.
>
> In https://reviews.llvm.org/D24471#540599, @emaste wrote:
>
> > Can you add a test case?
>
>
> Ok, I'll have a look at it
>
> > > Without this flag set, an aarch64 kernel won't try to load the
> executable
>
> >
>
> >
>
> > Do you mean this is part of some ABI spec and so any aarch64 kernel
> should not load the executable, or that this is due to an implementation
> detail of (presumably) the Linux kernel?
>
>
> I think it's just an implementation detail. Since GNU ld has been setting
> it since forever (I assume), I guess the aarch64 kernel just hasn't
> bothered to add support for "legacy" binaries, only the ones commonly
> available.
>

 What operating system and version needs this flag being set?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160912/7ff3820e/attachment.html>


More information about the llvm-commits mailing list