2 .\" Copyright 1989 AT&T Copyright (c) 1996, Sun Microsystems, Inc. All Rights Reserved
3 .\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
4 .\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
5 .\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
6 .TH ELF_FILL 3ELF "Jul 11, 2001"
8 elf_fill \- set fill byte
12 cc [ \fIflag\fR ... ] \fIfile\fR ... \fB-lelf\fR [ \fIlibrary\fR ... ]
15 \fBvoid\fR \fBelf_fill\fR(\fBint\fR \fIfill\fR);
21 Alignment constraints for \fBELF\fR files sometimes require the presence of
22 ``holes.'' For example, if the data for one section are required to begin on an
23 eight-byte boundary, but the preceding section is too ``short,'' the library
24 must fill the intervening bytes. These bytes are set to the \fIfill\fR
25 character. The library uses zero bytes unless the application supplies a value.
26 See \fBelf_getdata\fR(3ELF) for more information about these holes.
30 See \fBattributes\fR(5) for descriptions of the following attributes:
38 ATTRIBUTE TYPE ATTRIBUTE VALUE
40 Interface Stability Stable
48 \fBelf\fR(3ELF), \fBelf_flagdata\fR(3ELF), \fBelf_getdata\fR(3ELF),
49 \fBelf_update\fR(3ELF), \fBlibelf\fR(3LIB), \fBattributes\fR(5)
53 An application can assume control of the object file organization by setting
54 the \fBELF_F_LAYOUT\fR bit (see \fBelf_flagdata\fR(3ELF)). When this is done,
55 the library does \fInot\fR fill holes.