summaryrefslogtreecommitdiff
path: root/sys/lib/libsa/loadfile_elf32.c
AgeCommit message (Expand)Author
2020-09-13Elf64_Phdr::p_offset is 64 bits, not 32jmcneill
2020-09-13Elf64_Phdr::p_flags is 32 bits, not 64jmcneill
2020-05-07Update the comments.maxv
2019-10-17Make sure we're dealing with a static binary. Otherwise we could crash ifmaxv
2019-07-21Add SA_ENABLE_BIENDIAN option, which enable us to load kernel image ofrin
2019-06-20Add KASLR support in UEFI.maxv
2018-08-23Support loading read-only data sections. ARM64 ELF kernels need this. ok skrll@jmcneill
2017-12-21Make sure we're loading a relocatable binary, to give the user a chance tomaxv
2017-11-15Support large pages on KASLR kernels, in a way that does not reducemaxv
2017-11-13Don't process ELF sections that don't have the ALLOC flag set.maxv
2017-11-13Revert my last revision, that is to say, don't group sections intomaxv
2017-10-18Group the sections into segments, and align to KERNALIGN only betweenmaxv
2017-10-13Introduce two functions, and dedup code.maxv
2017-10-13Constify offset, it must not change.maxv
2017-10-08Improve comments.maxv
2017-10-07Add a new option in libsa, to load dynamic binaries. A separate functionmaxv
2017-10-05try a different style of __used.christos
2017-10-04mark first as used for platforms that define PROGRESS to nothing (mvme68k)christos
2017-09-25Clean up and split loadfile, reduces a patch I have.maxv
2017-04-18Swap arguments to strncmp() so that the thing we are testing, theuwe
2017-04-18Move deallocation of shstrsz inside the block where it is allocated.uwe
2017-04-17Section at index 0 is SHN_UNDEF. When searching for symbol sectionsuwe
2017-04-17Don't hide first = 1 assignment inside for(), that just obscures theuwe
2017-02-23update marks[MARK_DATA] with COUNT_DATA.nonaka
2017-02-23fix CTF section symbol size was not counted with COUNT_KERNEL.nonaka
2017-01-06Explain how all that mess works, without actually fixing it yet.maxv
2016-12-03Fix a wrong flag and KNF.maxv
2016-08-31Initialize the marker for the data segment, in case the caller passes notmartin
2015-07-25white space -> tab.isaki
2013-11-27Fix a use-after-free (well, dealloc actually) issue.jakllsch
2011-02-17revert bad whitespace change.christos
2011-02-17fix -Wself-assign warningchristos
2010-09-16Use standard ELF types for ELF code, instead of paddr_t. paddr_t shouldjym
2010-09-02PR/43830: Valery Ushakov: libsa/loadfile_elf32.c loads .shstrtab intochristos
2010-03-12DTrace: Add support for CTF sections in the netbsd elf image, load thesedarran
2008-09-25add a LOAD_NOTE flag to make loading the note optional.christos
2008-05-20Extract kernel version from the note section and stuff into a globalad
2008-04-28Remove clause 3 and 4 from TNF licensesmartin
2007-12-29ANSIfy.tsutsui
2007-12-03Use standard error code (EIO) instead of standalone error codeisaki
2007-12-02unsigned -> unsigned inttsutsui
2007-11-23loadfile_*() must set errno when it returns -1.isaki
2007-06-05Add a MARK_DATA marker containing the effective VA of the first loadedmartin
2006-04-06Pass by reference to MD_LOADSEG(). Thanks to Matt Thomas for pointing this out.cherry
2006-04-03Encapsulated the MD test: phdr[i].p_type & PT_LOPROC out of MI code,cherry
2006-04-03Allows processor ABI specific ELF segment loads.cherry
2006-01-25free -> deallocchristos
2005-12-11merge ktrace-lwp.christos
2005-07-14rearrange free's and add a missing one.christos
2005-02-26nuke trailing whitespaceperry