Note that the *_fsize() functions are only defined for ELF types that

have a fixed size.

Obtained from:	elftoolchain
MFC after:		1 month
This commit is contained in:
Kai Wang 2010-07-21 10:02:59 +00:00
parent 0e3c61d436
commit 135fdd3027
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=210333

View File

@ -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