diff options
author | kaiw <kaiw@FreeBSD.org> | 2011-05-07 11:29:48 +0000 |
---|---|---|
committer | kaiw <kaiw@FreeBSD.org> | 2011-05-07 11:29:48 +0000 |
commit | 58d64357bcb0060a4fb137fc4b0c12358bb65a63 (patch) | |
tree | 611751e8dd2385b7d119a198e13bee2859f519c6 /lib/libelf | |
parent | f428a5f2b302c88f9975980d4f0ea0114338aec7 (diff) | |
download | FreeBSD-src-58d64357bcb0060a4fb137fc4b0c12358bb65a63.zip FreeBSD-src-58d64357bcb0060a4fb137fc4b0c12358bb65a63.tar.gz |
Document the behavior of `elf_getdata()` and `elf_rawdata()` with
zero-sized ELF sections.
Obtained from: elftoolchain
Diffstat (limited to 'lib/libelf')
-rw-r--r-- | lib/libelf/elf_getdata.3 | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/lib/libelf/elf_getdata.3 b/lib/libelf/elf_getdata.3 index 6a5ef39..59e0ef6 100644 --- a/lib/libelf/elf_getdata.3 +++ b/lib/libelf/elf_getdata.3 @@ -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 |