aboutsummaryrefslogtreecommitdiff
path: root/lib/libelf
diff options
context:
space:
mode:
authorKai Wang <kaiw@FreeBSD.org>2010-07-21 13:29:00 +0000
committerKai Wang <kaiw@FreeBSD.org>2010-07-21 13:29:00 +0000
commit85de6c411e94b10e96233272d524ca511b42356e (patch)
tree9b15c3a027a106ce7a413c804ea5087864c5fb11 /lib/libelf
parent080610736514c288315ee898245221b645dd94fe (diff)
downloadsrc-85de6c411e94b10e96233272d524ca511b42356e.tar.gz
src-85de6c411e94b10e96233272d524ca511b42356e.zip
* Remove a superfluous error description.
* Document an additional error that may be returned: `ELF_E_ARCHIVE`. Obtained from: elftoolchain MFC after: 1 month
Notes
Notes: svn path=/head/; revision=210353
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 22c76ac006f5..283d33a34500 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