diff --git a/lib/libelf/elf_strptr.3 b/lib/libelf/elf_strptr.3 index 6dce1d3ef02d..bf24cc1f6553 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 11dab9798659..983116886878 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 7a8bfcb0aa19..0cdc432dc3fb 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 c604adffbe2f..51d20a009c99 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 7a5ca50f3a9c..82ae809a1a70 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