summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authorasmodai <asmodai@FreeBSD.org>2000-11-24 10:42:21 +0000
committerasmodai <asmodai@FreeBSD.org>2000-11-24 10:42:21 +0000
commit3b66620c2d519de42e3d7ea2edab37b6221ec4b8 (patch)
tree9eda7499341e911d8bd140dc2bf97d4471d4dd33 /share
parentbef994a037f3fa442f18a0f79bfd85ca9eedc208 (diff)
downloadFreeBSD-src-3b66620c2d519de42e3d7ea2edab37b6221ec4b8.zip
FreeBSD-src-3b66620c2d519de42e3d7ea2edab37b6221ec4b8.tar.gz
Document EI_OSABI and EI_ABIVERSION.
Requested by: obrien
Diffstat (limited to 'share')
-rw-r--r--share/man/man5/elf.545
1 files changed, 44 insertions, 1 deletions
diff --git a/share/man/man5/elf.5 b/share/man/man5/elf.5
index 7b8c87d..5a16a6d 100644
--- a/share/man/man5/elf.5
+++ b/share/man/man5/elf.5
@@ -166,7 +166,7 @@ and may contain values which start with the prefix
.Sy ELF .
The following macros are defined:
.Pp
-.Bl -tag -width "EI_VERSION" -compact
+.Bl -tag -width "EI_ABIVERSION" -compact
.It Dv EI_MAG0
The first byte of the magic number.
It must be filled with
@@ -218,6 +218,49 @@ Invalid version.
.It Dv EV_CURRENT
Current version.
.El
+.It Dv EI_OSABI
+This 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;
+the interpretation of those fields is determined by the value of this byte.
+The following values are currently defined:
+.Pp
+.Bl -tag -width "ELFOSABI_STANDALONE" -compact
+.It Dv ELFOSABI_SYSV
+UNIX System V ABI.
+.It Dv ELFOSABI_HPUX
+HP-UX operating system ABI.
+.It Dv ELFOSABI_NETBSD
+NetBSD operating system ABI.
+.It Dv ELFOSABI_LINUX
+GNU/Linux operating system ABI.
+.It Dv ELFOSABI_HURD
+GNU/Hurd operating system ABI.
+.It Dv ELFOSABI_86OPEN
+86Open Common IA32 ABI.
+.It Dv ELFOSABI_SOLARIS
+Solaris operating system ABI.
+.It Dv ELFOSABI_MONTEREY
+Monterey project ABI.
+.It Dv ELFOSABI_IRIX
+IRIX operating system ABI.
+.It Dv ELFOSABI_FREEBSD
+FreeBSD operating system ABI.
+.It Dv ELFOSABI_TRU64
+TRU64 UNIX operating system ABI.
+.It Dv ELFOSABI_ARM
+ARM architecture ABI.
+.It Dv ELFOSABI_STANDALONE
+Standalone (embedded) ABI.
+.El
+.It Dv EI_ABIVERSION
+This 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
+is dependent on the ABI identified by the EI_OSABI field.
+Applications conforming to this specification use the value 0.
.It Dv EI_PAD
Start of padding.
These bytes are reserved and set to zero.
OpenPOWER on IntegriCloud