Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
HP-UX Reference > E

elf_fill(3E)

HP-UX 11i Version 3: February 2007
» 

Technical documentation

» Feedback
Content starts here

 » Table of Contents

 » Index

NAME

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(3E) for more information about these holes.

Note

An application can assume control of the object file organization by setting the ELF_F_LAYOUT bit (see elf_flag(3E)). When this is done, the library does not fill holes.

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 1983-2007 Hewlett-Packard Development Company, L.P.