[PATCH] D23925: [ELF] Default to entry address 0x0 in case start symbol is not defined and entry point is not specified in command line

Ed Maste via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 30 06:31:02 PDT 2016


emaste added a comment.

> Ed, we have a custom system with proprietary micro kernel and lots of applications/services running on top of it.

>  The entry point in our executables is always the beginning of RX segment - there is no _start symbol. There are lot

>  of build scripts for various components and setting "-Wl,-e,0" everywhere is not very convenient solution. That said,

>  I'm not doing this just for fun )


I didn't think you were doing it for fun and I had no opposition to the change, I was just curious how such an ELF file would be useful since I assumed all users would make use of __start / the entry point. So, sounds good to me.


Repository:
  rL LLVM

https://reviews.llvm.org/D23925





More information about the llvm-commits mailing list