svn commit: r210333 - head/lib/libelf
Kai Wang
kaiw at FreeBSD.org
Wed Jul 21 10:02:59 UTC 2010
Author: kaiw
Date: Wed Jul 21 10:02:59 2010
New Revision: 210333
URL: http://svn.freebsd.org/changeset/base/210333
Log:
Note that the *_fsize() functions are only defined for ELF types that
have a fixed size.
Obtained from: elftoolchain
MFC after: 1 month
Modified:
head/lib/libelf/gelf_fsize.3
Modified: head/lib/libelf/gelf_fsize.3
==============================================================================
--- head/lib/libelf/gelf_fsize.3 Wed Jul 21 09:56:42 2010 (r210332)
+++ head/lib/libelf/gelf_fsize.3 Wed Jul 21 10:02:59 2010 (r210333)
@@ -47,6 +47,9 @@ These functions return the size in bytes
.Ar count
numbers of objects of ELF type
.Ar type .
+Argument
+.Ar type
+must be one that has a fixed size file representation.
.Pp
Functions
.Fn elf32_fsize
@@ -80,6 +83,10 @@ had an unknown ELF class.
Argument
.Ar type
contained an illegal value.
+.It Bq Er ELF_E_ARGUMENT
+Argument
+.Ar type
+denoted an ELF type with variable size.
.It Bq Er ELF_E_UNIMPL
Support for ELF type
.Ar type
More information about the svn-src-head
mailing list