summaryrefslogtreecommitdiffstats
path: root/lib/libelf/gelf_fsize.3
diff options
context:
space:
mode:
authorkaiw <kaiw@FreeBSD.org>2010-07-21 10:39:29 +0000
committerkaiw <kaiw@FreeBSD.org>2010-07-21 10:39:29 +0000
commitd137ff16e759f7c0a6acea318e5bd3c932082d79 (patch)
tree9e3351c461c35ef9a25f30454c83f6e09b0a3ccc /lib/libelf/gelf_fsize.3
parent49a7d97ce43a82f9cfa863a35ca5cc928d7caf1e (diff)
downloadFreeBSD-src-d137ff16e759f7c0a6acea318e5bd3c932082d79.zip
FreeBSD-src-d137ff16e759f7c0a6acea318e5bd3c932082d79.tar.gz
- Document that the *fsize() functions return a size of 1 for Elf
types that don't have a fixed size. - The *fsize() functions should return a size of 1, for variable length types. - Redefine symbol ELF_T_LAST to match the current end of the list. Obtained from: elftoolchain MFC after: 1 month
Diffstat (limited to 'lib/libelf/gelf_fsize.3')
-rw-r--r--lib/libelf/gelf_fsize.39
1 files changed, 2 insertions, 7 deletions
diff --git a/lib/libelf/gelf_fsize.3 b/lib/libelf/gelf_fsize.3
index 59fc5c2..2f7036b 100644
--- a/lib/libelf/gelf_fsize.3
+++ b/lib/libelf/gelf_fsize.3
@@ -47,9 +47,8 @@ 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.
+For ELF types that are of variable length, these functions return a
+size of one byte.
.Pp
Functions
.Fn elf32_fsize
@@ -83,10 +82,6 @@ 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