From 41a990833dff9d573caefe17d00b5a0509db3fa4 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sun, 28 May 2006 00:01:43 +0000 Subject: [PATCH] readelf: Clarify ELF header output. --- src/ChangeLog | 1 + src/readelf.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/ChangeLog b/src/ChangeLog index cdba0763d..9bb0bf8c3 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,6 +1,7 @@ 2006-05-27 Ulrich Drepper * readelf.c (handle_relocs_rela): Better notations for addon value. + (print_ehdr): Distinguish e_ident[EI_VERSION] from e_version. 2006-04-04 Ulrich Drepper diff --git a/src/readelf.c b/src/readelf.c index c5218bdd1..135abe364 100644 --- a/src/readelf.c +++ b/src/readelf.c @@ -556,7 +556,7 @@ print_ehdr (Ebl *ebl, GElf_Ehdr *ehdr) : ehdr->e_ident[EI_DATA] == ELFDATA2MSB ? "2's complement, big endian" : "\?\?\?"); - printf (gettext (" Version: %hhd %s\n"), + printf (gettext (" Ident Version: %hhd %s\n"), ehdr->e_ident[EI_VERSION], ehdr->e_ident[EI_VERSION] == EV_CURRENT ? gettext ("(current)") : "(\?\?\?)"); -- 2.47.2