summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorjkoshy <jkoshy@FreeBSD.org>2006-12-25 02:24:39 +0000
committerjkoshy <jkoshy@FreeBSD.org>2006-12-25 02:24:39 +0000
commit594130bd7ca370593a09ae34e4ca83c597526565 (patch)
treeb2bf74d06cb97209780049d66cb10dc3c30a2828 /lib
parent26d8253ac6532abcb8d1c8d57743998f5368173b (diff)
downloadFreeBSD-src-594130bd7ca370593a09ae34e4ca83c597526565.zip
FreeBSD-src-594130bd7ca370593a09ae34e4ca83c597526565.tar.gz
Document the additional error returns possible when handling ELF objects
that require extended numbering.
Diffstat (limited to 'lib')
-rw-r--r--lib/libelf/elf_strptr.36
-rw-r--r--lib/libelf/elf_update.36
-rw-r--r--lib/libelf/gelf_getehdr.36
-rw-r--r--lib/libelf/gelf_getphdr.36
-rw-r--r--lib/libelf/gelf_newehdr.36
5 files changed, 25 insertions, 5 deletions
diff --git a/lib/libelf/elf_strptr.3 b/lib/libelf/elf_strptr.3
index 6dce1d3..bf24cc1 100644
--- a/lib/libelf/elf_strptr.3
+++ b/lib/libelf/elf_strptr.3
@@ -23,7 +23,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd August 29, 2006
+.Dd December 16, 2006
.Os
.Dt ELF_STRPTR 3
.Sh NAME
@@ -101,6 +101,10 @@ An out of memory condition was detected.
Section
.Ar scndx
contained a malformed section header.
+.It Bq Er ELF_E_SECTION
+The ELF descriptor in argument
+.Ar elf
+did not adhere to the conventions used for extended numbering.
.El
.Sh SEE ALSO
.Xr elf 3 ,
diff --git a/lib/libelf/elf_update.3 b/lib/libelf/elf_update.3
index 11dab97..9831168 100644
--- a/lib/libelf/elf_update.3
+++ b/lib/libelf/elf_update.3
@@ -23,7 +23,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd August 29, 2006
+.Dd December 16, 2006
.Os
.Dt ELF_UPDATE 3
.Sh NAME
@@ -237,6 +237,10 @@ writing or updating.
Argument
.Ar elf
contained a section with an unrecognized type.
+.It Bq Er ELF_E_SECTION
+The section header at index
+.Dv SHN_UNDEF
+had an illegal section type.
.It Bq Er ELF_E_SEQUENCE
An
.Dv ELF_C_WRITE
diff --git a/lib/libelf/gelf_getehdr.3 b/lib/libelf/gelf_getehdr.3
index 7a8bfcb..0cdc432 100644
--- a/lib/libelf/gelf_getehdr.3
+++ b/lib/libelf/gelf_getehdr.3
@@ -23,7 +23,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd July 6, 2006
+.Dd December 16, 2006
.Os
.Dt GELF_GETEHDR 3
.Sh NAME
@@ -103,6 +103,10 @@ ELF descriptor
does not have an associated header.
.It Bq Er ELF_E_RESOURCE
An out of memory condition was detected during execution.
+.It Bq Er ELF_E_SECTION
+The ELF descriptor in argument
+.Ar elf
+did not adhere to the conventions used for extended numbering.
.It Bq Er ELF_E_VERSION
The ELF descriptor
.Ar elf
diff --git a/lib/libelf/gelf_getphdr.3 b/lib/libelf/gelf_getphdr.3
index c604adf..51d20a0 100644
--- a/lib/libelf/gelf_getphdr.3
+++ b/lib/libelf/gelf_getphdr.3
@@ -23,7 +23,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd August 25, 2006
+.Dd December 16, 2006
.Os
.Dt GELF_GETPHDR 3
.Sh NAME
@@ -118,6 +118,10 @@ ELF descriptor
had a corrupt executable header.
.It Bq Er ELF_E_RESOURCE
An out of memory condition was detected.
+.It Bq Er ELF_E_SECTION
+The ELF descriptor in argument
+.Ar elf
+did not adhere to the conventions used for extended numbering.
.It Bq Er ELF_VERSION
ELF descriptor
.Ar elf
diff --git a/lib/libelf/gelf_newehdr.3 b/lib/libelf/gelf_newehdr.3
index 7a5ca50..82ae809 100644
--- a/lib/libelf/gelf_newehdr.3
+++ b/lib/libelf/gelf_newehdr.3
@@ -23,7 +23,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd July 6, 2006
+.Dd December 16, 2006
.Os
.Dt GELF_NEWEHDR 3
.Sh NAME
@@ -163,6 +163,10 @@ did not match that of the API function being called.
A malformed ELF header was detected.
.It Bq Er ELF_E_RESOURCE
An out of memory condition was detected during execution.
+.It Bq Er ELF_E_SECTION
+The ELF descriptor in argument
+.Ar elf
+did not adhere to the conventions used for extended numbering.
.It Bq Er ELF_E_VERSION
The ELF descriptor
.Ar elf
OpenPOWER on IntegriCloud