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.
References
Intro(3elf),
elf_getdata(3elf),
elf_flag(3elf),
elf_update(3elf)
Notices
An application can assume control of the object
file organization by setting the
ELF_F_LAYOUT
bit [see
elf_flag(3elf)].
When this is done, the library does not fill holes.
© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 25 April 2004