ELF Library Functions elffill(3ELF)
NAME
elffill - set fill byte
SYNOPSIS
cc [ flag ... ] file ... -lelf [ library ... ]
#include
void elffill(int fill);
DESCRIPTION
Alignment constraints for ELF files sometimes require the
presence of ``holes.'' For example, if the data for one sec-
tion 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 applica-
tion supplies a value. See elfgetdata(3ELF) for more infor-
mation about these holes.
ATRIBUTES
See attributes(5) for descriptions of the following attri-
butes:
ATRIBUTE TYPE ATRIBUTE VALUE
Interface Stability Stable
MT-Level MT-Safe
SEE ALSO
elf(3ELF), elfflagdata(3ELF), elfgetdata(3ELF),
elfupdate(3ELF), libelf(3LIB), attributes(5)
NOTES
An application can assume control of the object file organi-
zation by setting the ELFLAYOUT bit (see
elfflagdata(3ELF)). When this is done, the library does not
fill holes.
SunOS 5.11 Last change: 11 Jul 2001 1
|