[PATCH] D13212: [ELF2] - Implemented -e flag

Joerg Sonnenberger via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 28 09:59:18 PDT 2015


On Mon, Sep 28, 2015 at 01:33:16PM +0000, George Rimar via llvm-commits wrote:
> "If there is no symbol named entry, the linker will try to parse entry
> as a number, and use that as the entry address (the number will be
> interpreted in base 10; you may use a leading 0x for base 16, or a leading 0 for base 8)."
> 
> But I doubt that it is a real usecase and not sure if it should be implemented or not ?

In combination with linker scripts, it can make perfect sense. Many ELF
kernel images are linked that way.

Joerg


More information about the llvm-commits mailing list