summaryrefslogtreecommitdiffstats
path: root/lib/libelf/elf_getdata.3
Commit message (Collapse)AuthorAgeFilesLines
* - Make sure to set an error code when trying to obtain a data descriptor formarkj2013-02-191-1/+18
| | | | | | | | | | a section of type SHT_NULL. - Update the man page to reflect the fact that elf_getdata() and elf_rawdata() may return with an error of ELF_E_SECTION. PR: bin/175491 Approved by: emaste (co-mentor) MFC after: 1 week
* General mdoc(7) and typo fixes.gjb2012-05-111-1/+1
| | | | | | PR: 167734 Submitted by: Nobuyuki Koganemaru (kogane!jp.freebsd.org) MFC after: 3 days
* Remove trailing whitespace per mdoc lint warningeadler2012-03-291-1/+1
| | | | | | | Disussed with: gavin No objection from: doc Approved by: joel MFC after: 3 days
* Document the behavior of `elf_getdata()` and `elf_rawdata()` withkaiw2011-05-071-4/+5
| | | | | | zero-sized ELF sections. Obtained from: elftoolchain
* Add a cross-reference to `elf_rawfile(3)`.kaiw2010-07-211-2/+3
| | | | | Obtained from: elftoolchain MFC after: 1 month
* - Correctly handle sections of type SHT_NOBITS. For these sections:kaiw2010-07-211-1/+27
| | | | | | | | | | | | - elf_getdata() and elf_rawdata() should return an "Elf_Data" structure that has its "d_buf" member set to NULL and "d_size" member set to the nominal 'size' of the section. [1] - Update the manual page for these functions. - Fix a memory leak in an error handling path inside elf_getdata(). - Use _libelf_allocate_data() in elf_newdata() for consistency. Obtained from: elftoolchain MFC after: 1 month
* mdoc: order prologue macros consistently by Dd/Dt/Osuqs2010-04-141-1/+1
| | | | | | | | Although groff_mdoc(7) gives another impression, this is the ordering most widely used and also required by mdocml/mandoc. Reviewed by: ru Approved by: philip, ed (mentors)
* Fix minor formatting issues:ru2006-11-131-2/+2
| | | | | | | - make document title match filename; - remove hard sentence breaks, whitespace at EOL, and double whitespace; - sort SEE ALSO xrefs, adding missing section numbers; - fix a misspelled macro name.
* MFP4: Add an implementation of the ELF(3) and GELF(3) API set.jkoshy2006-11-111-0/+172
Bump __FreeBSD_version. Reviewed by: jb
OpenPOWER on IntegriCloud