Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | use (long long) and %llx to satisfy both 32-bit and 64-bit systems. | deraadt | 2020-04-28 | 1 | -2/+3 |
| | |||||
* | When system calls indicate an error they return -1, not some arbitrary | deraadt | 2019-06-28 | 1 | -3/+3 |
| | | | | | | value < 0. errno is only updated in this case. Change all (most?) callers of syscalls to follow this better, and let's see if this strictness helps us in the future. | ||||
* | Prefer <elf.h> to the non portable <sys/exec_elf.h>. | mpi | 2017-10-29 | 2 | -4/+5 |
| | | | | ok jca@, deraadt@ | ||||
* | Add missing quote. | kevlo | 2017-10-27 | 1 | -2/+2 |
| | | | | ok jsg@ | ||||
* | build mkuboot on arm64 | jsg | 2017-01-30 | 1 | -3/+2 |
| | |||||
* | Add the u-boot arm64 architecture number and map it to "aarch64" to | jsg | 2016-12-20 | 1 | -1/+3 |
| | | | | | | match OpenBSD/arm64 MACHINE_ARCH. ok patrick@ | ||||
* | pledge "stdio" after opening up the input & output files. | deraadt | 2015-10-12 | 1 | -1/+4 |
| | | | | ok jsg | ||||
* | fstat() of opened fd, rather than stat(), to avoid TOCTOU | deraadt | 2015-10-12 | 1 | -5/+3 |
| | | | | ok jsg | ||||
* | Missing $OpenBSD$'s. | krw | 2015-01-20 | 2 | -0/+2 |
| | | | | ok deraadt@ | ||||
* | Correctly handle files smaller than an ELF header; reported by drahn@bitrig | miod | 2014-05-18 | 1 | -5/+3 |
| | |||||
* | Fix 'make bsd.umg' by skipping PT_OPENBSD_RANDOMIZE segments, as well as | mcbride | 2014-01-01 | 1 | -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 DEBUG | mcbride | 2013-12-31 | 1 | -2/+2 |
| | | | | ok miod | ||||
* | Make sure string and symbol tables are properly aligned. | patrick | 2013-11-11 | 1 | -2/+15 |
| | | | | | From and with drahn@bitrig, fgs@, syl@ Tested by aalm@, ok fgs@ | ||||
* | Fix endianess for big endian architecture. | syl | 2013-11-01 | 1 | -67/+89 |
| | | | | | Works with macppc. ok miod@ | ||||
* | Improve mkuboot's ELF handling. This fixes the problem where mkuboot | patrick | 2013-10-28 | 5 | -81/+289 |
| | | | | | | | running on 64-bit systems does not create valid images. While there, append kernel symbols at the end of the kernel. ok syl@ | ||||
* | Beagle has been replaced by armv7. | patrick | 2013-09-04 | 1 | -2/+2 |
| | |||||
* | Let mkuboot recognize native ELF binaries and only output the program headers | miod | 2013-07-28 | 1 | -11/+165 |
| | | | | | | area in this case, to save the need for `objcopy -O binary'; this will make beagle install/upgrade processes easier until they get a native bootloader. Tested by florian@ on panda ES and rapha@ on BeagleBone | ||||
* | Move mkuboot to the proper location. | bmercer | 2013-05-30 | 3 | -0/+403 |
OK jasper@ get it in deraadt@ |