diff options
author | Liam Merwick | 2019-01-15 13:18:04 +0100 |
---|---|---|
committer | Paolo Bonzini | 2019-02-05 16:50:16 +0100 |
commit | 696aa04c84c6065aa6c4b085d223a3129718d700 (patch) | |
tree | da6c1103c69e11f237095d6f8a939bce7f28ea57 /Makefile.target | |
parent | elf: Add optional function ptr to load_elf() to parse ELF notes (diff) | |
download | qemu-696aa04c84c6065aa6c4b085d223a3129718d700.tar.gz qemu-696aa04c84c6065aa6c4b085d223a3129718d700.tar.xz qemu-696aa04c84c6065aa6c4b085d223a3129718d700.zip |
elf-ops.h: Add get_elf_note_type()
Introduce a routine which, given a pointer to a range of ELF Notes,
searches through them looking for a note matching the type specified
and returns a pointer to the matching ELF note.
get_elf_note_type() is used by elf_load[32|64]() to find the
specified note type required by the 'elf_note_fn' parameter
added in the previous commit.
Signed-off-by: Liam Merwick <Liam.Merwick@oracle.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Liam Merwick <liam.merwick@oracle.com>
Diffstat (limited to 'Makefile.target')
0 files changed, 0 insertions, 0 deletions