Re: [Qemu-devel] [PATCH v2 15/18] loader: add API to load elf header

2016-03-03 Thread Peter Maydell
On 2 March 2016 at 06:56, Peter Crosthwaite wrote: > 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 > --- > Changed sinc

[Qemu-devel] [PATCH v2 15/18] loader: add API to load elf header

2016-03-01 Thread Peter Crosthwaite
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 --- Changed since v1 (PMM review): Add filname to error messages Remove unneeded