Date: Tue, 14 Feb 2012 19:50:41 +0000 (UTC) From: Kai Wang <kaiw@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org Subject: svn commit: r231706 - stable/8/lib/libelf Message-ID: <201202141950.q1EJofuU015365@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: kaiw Date: Tue Feb 14 19:50:41 2012 New Revision: 231706 URL: http://svn.freebsd.org/changeset/base/231706 Log: MFC r221598: Document the behavior of `elf_getdata()` and `elf_rawdata()` with zero-sized ELF sections. Modified: stable/8/lib/libelf/elf_getdata.3 Directory Properties: stable/8/lib/libelf/ (props changed) Modified: stable/8/lib/libelf/elf_getdata.3 ============================================================================== --- stable/8/lib/libelf/elf_getdata.3 Tue Feb 14 19:49:36 2012 (r231705) +++ stable/8/lib/libelf/elf_getdata.3 Tue Feb 14 19:50:41 2012 (r231706) @@ -1,4 +1,4 @@ -.\" Copyright (c) 2006,2008,2010 Joseph Koshy. All rights reserved. +.\" Copyright (c) 2006,2008,2010-2011 Joseph Koshy. All rights reserved. .\" .\" Redistribution and use in source and binary forms, with or without .\" modification, are permitted provided that the following conditions @@ -23,7 +23,7 @@ .\" .\" $FreeBSD$ .\" -.Dd April 30, 2010 +.Dd January 26, 2011 .Dt ELF_GETDATA 3 .Os .Sh NAME @@ -142,9 +142,10 @@ always returns .Vt Elf_Data structures of type .Dv ELF_T_BYTE . -.Ss Special handling of SHT_NOBITS sections +.Ss Special handling of zero-sized and SHT_NOBITS sections For sections of type -.Dv SHT_NOBITS , +.Dv SHT_NOBITS, +and for zero-sized sections, the functions .Fn elf_getdata and
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201202141950.q1EJofuU015365>