summaryrefslogtreecommitdiffstats
path: root/include/elf.h
Commit message (Collapse)AuthorAgeFilesLines
* Allow ELF executables with function descriptor entrypoint to be skiboot payloadsNathan Whitehorn2015-02-041-0/+17
| | | | | | | | | | | | | Big-endian ELF64 ELF executables normally (the Linux kernel is an exception) have their entry point refer to a function descriptor instead of the first instruction. Distinguish between the Linux case and the function descriptor case, which is used for the FreeBSD kernel, by checking whether the entry point points into an executable section or not. This allows use of the FreeBSD kernel as a skiboot payload. Signed-off-by: Nathan Whitehorn <nwhitehorn@freebsd.org> [stewart@linux.vnet.ibm.com: reverse test polarity, change continue to break] Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
* Initial commit of Open Source releaseBenjamin Herrenschmidt2014-07-021-0/+135
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
OpenPOWER on IntegriCloud