summaryrefslogtreecommitdiffstats
path: root/lib/libelf
diff options
context:
space:
mode:
authorkaiw <kaiw@FreeBSD.org>2010-07-21 13:29:00 +0000
committerkaiw <kaiw@FreeBSD.org>2010-07-21 13:29:00 +0000
commit9956fed9ecfb3b4838c31f161b097e4aceda00c4 (patch)
tree9b15c3a027a106ce7a413c804ea5087864c5fb11 /lib/libelf
parente08cc2c2523cae730f047a6dd9cc4d92448c2001 (diff)
downloadFreeBSD-src-9956fed9ecfb3b4838c31f161b097e4aceda00c4.zip
FreeBSD-src-9956fed9ecfb3b4838c31f161b097e4aceda00c4.tar.gz
* Remove a superfluous error description.
* Document an additional error that may be returned: `ELF_E_ARCHIVE`. Obtained from: elftoolchain MFC after: 1 month
Diffstat (limited to 'lib/libelf')
-rw-r--r--lib/libelf/elf_begin.312
1 files changed, 5 insertions, 7 deletions
diff --git a/lib/libelf/elf_begin.3 b/lib/libelf/elf_begin.3
index 22c76ac..283d33a 100644
--- a/lib/libelf/elf_begin.3
+++ b/lib/libelf/elf_begin.3
@@ -23,7 +23,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd April 11, 2010
+.Dd June 20, 2010
.Dt ELF_BEGIN 3
.Os
.Sh NAME
@@ -224,6 +224,10 @@ Function
can fail with the following errors:
.Pp
.Bl -tag -width "[ELF_E_RESOURCE]"
+.It Bq Er ELF_E_ARCHIVE
+The archive denoted by argument
+.Ar elf
+could not be parsed.
.It Bq Er ELF_E_ARGUMENT
An unrecognized value was specified in argument
.Ar cmd .
@@ -247,12 +251,6 @@ differs from the value specified when ELF descriptor
.Ar elf
was created.
.It Bq Er ELF_E_ARGUMENT
-Argument
-.Ar elf
-was not a descriptor for an
-.Xr ar 1
-archive.
-.It Bq Er ELF_E_ARGUMENT
An
.Xr ar 1
archive was opened with with
OpenPOWER on IntegriCloud