summaryrefslogtreecommitdiffstats
path: root/lib/libelf
diff options
context:
space:
mode:
authorkaiw <kaiw@FreeBSD.org>2010-07-21 10:02:59 +0000
committerkaiw <kaiw@FreeBSD.org>2010-07-21 10:02:59 +0000
commit55d8bc9ed80279a350442ee3d3280470f9831977 (patch)
treedc9fac4c5184bfa38b64e8bea44d670f3efb1d09 /lib/libelf
parent2e04fb95e19b0558696d09aadc16ca3c73c52ed2 (diff)
downloadFreeBSD-src-55d8bc9ed80279a350442ee3d3280470f9831977.zip
FreeBSD-src-55d8bc9ed80279a350442ee3d3280470f9831977.tar.gz
Note that the *_fsize() functions are only defined for ELF types that
have a fixed size. Obtained from: elftoolchain MFC after: 1 month
Diffstat (limited to 'lib/libelf')
-rw-r--r--lib/libelf/gelf_fsize.37
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/libelf/gelf_fsize.3 b/lib/libelf/gelf_fsize.3
index caefae7..59fc5c2 100644
--- a/lib/libelf/gelf_fsize.3
+++ b/lib/libelf/gelf_fsize.3
@@ -47,6 +47,9 @@ These functions return the size in bytes of the file representation of
.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
OpenPOWER on IntegriCloud