Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

elf_fill(3) [netbsd man page]

ELF_FILL(3)						   BSD Library Functions Manual 					       ELF_FILL(3)

elf_fill -- set fill byte for inter-section padding LIBRARY
ELF Access Library (libelf, -lelf) SYNOPSIS
#include <libelf.h> void elf_fill(int fill); DESCRIPTION
Function elf_fill() allows an application to specify a fill value for the padding inserted between two sections of an ELF file to meet sec- tion alignment constraints. By default the ELF library uses zero bytes for padding. The ELF library will only pad bytes if the ELF_F_LAYOUT flag is not set for the ELF file. SEE ALSO
elf(3), elf_flagelf(3), gelf(3) BSD
June 11, 2006 BSD

Check Out this Related Man Page

elf_fill(3ELF)                                                 ELF Library Functions                                                elf_fill(3ELF)

elf_fill - set fill byte SYNOPSIS
cc [ flag ... ] file ... -lelf [ library ... ] #include <libelf.h> void elf_fill(int fill); DESCRIPTION
Alignment constraints for ELF files sometimes require the presence of ``holes.'' For example, if the data for one section are required to begin on an eight-byte boundary, but the preceding section is too ``short,'' the library must fill the intervening bytes. These bytes are set to the fill character. The library uses zero bytes unless the application supplies a value. See elf_getdata(3ELF) for more information about these holes. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Interface Stability |Stable | +-----------------------------+-----------------------------+ |MT-Level |MT-Safe | +-----------------------------+-----------------------------+ SEE ALSO
elf(3ELF), elf_flagdata(3ELF), elf_getdata(3ELF), elf_update(3ELF), libelf(3LIB), attributes(5) NOTES
An application can assume control of the object file organization by setting the ELF_F_LAYOUT bit (see elf_flagdata(3ELF)). When this is done, the library does not fill holes. SunOS 5.10 11 Jul 2001 elf_fill(3ELF)
Man Page