Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Jul 2010 10:02:59 +0000 (UTC)
From:      Kai Wang <kaiw@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r210333 - head/lib/libelf
Message-ID:  <201007211002.o6LA2xpe082885@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201007211002.o6LA2xpe082885>