mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
zdump: since we create ELF version 1 files use this value explicitly
The value of `EV_CURRENT` might change. The ELF specification says: "The value of EV_CURRENT, though given as 1 above, will change as necessary to reflect the current version number." [1] [1] https://refspecs.linuxfoundation.org/elf/elf.pdf 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
eef0dd4fa4
commit
922e8cbb2f
@@ -21,6 +21,10 @@
|
||||
#include "zg.h"
|
||||
#include "dfi.h"
|
||||
|
||||
#ifndef ELF_VERSION_1
|
||||
#define ELF_VERSION_1 0x1
|
||||
#endif
|
||||
|
||||
/*
|
||||
* S390 CPU timer note (u64)
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user