ELF Library Functions elf_fill(3ELF)
NAME
elf_fill - set fill byte
SYNOPSIS
cc [ flag ... ] file ... -lelf [ library ... ]
#include
void elf_fill(int fill);
DESCRIPTION
Alignment constraints for ELF files sometimes require thepresence 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 fillcharacter. The library uses zero bytes unless the applica-
tion supplies a value. See elf_getdata(3ELF) for more infor-
mation about these holes.ATTRIBUTES
See attributes(5) for descriptions of the following attri-
butes:____________________________________________________________
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
|_____________________________|_____________________________|
| Interface Stability | Committed ||_____________________________|_____________________________|
| MT-Level | MT-Safe |
|_____________________________|_____________________________|
SEE ALSO
elf(3ELF), elf_flagdata(3ELF), elf_getdata(3ELF),
elf_update(3ELF), libelf(3LIB), attributes(5)
NOTESAn application can assume control of the object file organi-
zation by setting the ELF_F_LAYOUT bit (see
elf_flagdata(3ELF)). When this is done, the library does not
fill holes.SunOS 5.11 Last change: 11 Jul 2001 1