From: Ulrich Drepper Date: Sun, 28 May 2006 00:01:43 +0000 (+0000) Subject: readelf: Clarify ELF header output. X-Git-Tag: elfutils-0.121~22 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=41a990833dff9d573caefe17d00b5a0509db3fa4;p=thirdparty%2Felfutils.git readelf: Clarify ELF header output. --- 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)") : "(\?\?\?)");