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

Martin Storsjö via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 12 22:34:12 PDT 2016


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.


https://reviews.llvm.org/D24471





More information about the llvm-commits mailing list