summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUlrich Drepper <[email protected]>2006-05-28 00:01:43 +0000
committerUlrich Drepper <[email protected]>2006-05-28 00:01:43 +0000
commit41a990833dff9d573caefe17d00b5a0509db3fa4 (patch)
treea3d638fab05610c57fd4e4dd895ffffc8d675779
parent2cb8e73a5695c462af4a4d34c757d9a95345e8fd (diff)
readelf: Clarify ELF header output.
-rw-r--r--src/ChangeLog1
-rw-r--r--src/readelf.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index cdba0763..9bb0bf8c 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,6 +1,7 @@
2006-05-27 Ulrich Drepper <[email protected]>
* 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 <[email protected]>
diff --git a/src/readelf.c b/src/readelf.c
index c5218bdd..135abe36 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)")
: "(\?\?\?)");