summaryrefslogtreecommitdiff
path: root/man5/elf.5
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2013-04-08 11:27:27 +0200
committerMichael Kerrisk <mtk.manpages@gmail.com>2013-04-16 05:03:09 +0200
commit7e8740aeddbcbc5ce63eb0d3146db40520be72b7 (patch)
treecb6927e7e0f3cdc72b782819e5d9fc2990477724 /man5/elf.5
parent39b6689e36b6d673a5ad93e3054147fce2ef43eb (diff)
elf.5: Add byte positions for all EI_xxx fields
When describing e_ident, most of the EI_xxx defines mention the exact byte number. This is useful when manually hacking an ELF with a hex editor. However, the last few fields don't do this, which means you have to count things up yourself. Add a single word to each so you don't have to do that. Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Diffstat (limited to 'man5/elf.5')
-rw-r--r--man5/elf.56
1 files changed, 3 insertions, 3 deletions
diff --git a/man5/elf.5 b/man5/elf.5
index 84272444..e08987d3 100644
--- a/man5/elf.5
+++ b/man5/elf.5
@@ -241,7 +241,7 @@ Two's complement, big-endian.
.TP
.PD 0
.BR EI_VERSION
-The version number of the ELF specification:
+The seventh byte is the version number of the ELF specification:
.\" .Bl -tag -width "EV_CURRENT" -compact
.RS 12
.TP 14
@@ -255,7 +255,7 @@ Current version.
.\".El
.TP
.BR EI_OSABI
-This byte identifies the operating system
+The eighth byte identifies the operating system
and ABI to which the object is targeted.
Some fields in other ELF structures have flags
and values that have platform-specific meanings;
@@ -332,7 +332,7 @@ Stand-alone (embedded) ABI.
.RE
.TP
.BR EI_ABIVERSION
-This byte identifies the version of the ABI
+The ninth byte identifies the version of the ABI
to which the object is targeted.
This field is used to distinguish among incompatible versions of an ABI.
The interpretation of this version number