summaryrefslogtreecommitdiffstats
path: root/usr.sbin/mkuboot/copy_elf.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Fix 'make bsd.umg' by skipping PT_OPENBSD_RANDOMIZE segments, as well asmcbride2014-01-011-5/+24
| | | | | | | | | other innocuous segment types (PT_NOTE, PT_NULL). Handle PT_LOAD, fail on any others. Thanks kettenis and millert for feedback ok deraadt
* s/hphdr/phdr/ to fix compile with DEBUGmcbride2013-12-311-2/+2
| | | | ok miod
* Make sure string and symbol tables are properly aligned.patrick2013-11-111-2/+15
| | | | | From and with drahn@bitrig, fgs@, syl@ Tested by aalm@, ok fgs@
* Fix endianess for big endian architecture.syl2013-11-011-67/+89
| | | | | Works with macppc. ok miod@
* Improve mkuboot's ELF handling. This fixes the problem where mkubootpatrick2013-10-281-0/+236
running on 64-bit systems does not create valid images. While there, append kernel symbols at the end of the kernel. ok syl@