mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
zdump: df_elf: read_elf_hdr: return Elf64_Ehdr struct
This makes the API of `read_elf_hdr` consistent with `read_elf_phdrs`. Signed-off-by: Marc Hartmayer <mhartmay@linux.ibm.com> Reviewed-by: Alexander Egorenkov <egorenar@linux.ibm.com> Reviewed-by: Steffen Eiden <seiden@linux.ibm.com> Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>
This commit is contained in:
committed by
Jan Höppner
parent
4e6d43e2ac
commit
f93f437f8b
+1
-1
@@ -146,7 +146,7 @@ bool ehdr_is_s390x(const Elf64_Ehdr *ehdr);
|
||||
/*
|
||||
* Read ELF header at current offset
|
||||
*/
|
||||
int read_elf_hdr(const struct zg_fh *fh, Elf64_Ehdr *ehdr);
|
||||
Elf64_Ehdr *read_elf_hdr(const struct zg_fh *fh);
|
||||
|
||||
/*
|
||||
* Read ELF program headers
|
||||
|
||||
Reference in New Issue
Block a user