diff options
author | Peter Crosthwaite <crosthwaitepeter@gmail.com> | 2016-03-04 11:30:21 +0000 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2016-03-04 11:30:21 +0000 |
commit | 04ae712a9f31fe21eacfcaeb689c7e6d0a7e251c (patch) | |
tree | cef357793fb382ff6efb6ff9a69b0e087ec7da75 /hw/cris | |
parent | e334bd3190f6c4ca12f1d40d316dc471c70009ab (diff) | |
download | qemu-04ae712a9f31fe21eacfcaeb689c7e6d0a7e251c.zip qemu-04ae712a9f31fe21eacfcaeb689c7e6d0a7e251c.tar.gz qemu-04ae712a9f31fe21eacfcaeb689c7e6d0a7e251c.tar.bz2 |
loader: add API to load elf header
Add an API to load an elf header header from a file. Populates a
buffer with the header contents, as well as a boolean for whether the
elf is 64b or not. Both arguments are optional.
Signed-off-by: Peter Crosthwaite <crosthwaite.peter@gmail.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
[PMM: Fix typo in comment]
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'hw/cris')
0 files changed, 0 insertions, 0 deletions