ELF_FILL(3) Library Functions Manual ELF_FILL(3)

elf_fillset fill byte for inter-section padding

library “libelf”

#include <libelf.h>

void
elf_fill(int fill);

Function () allows an application to specify a fill value for the padding inserted between two sections of an ELF file to meet section alignment constraints. By default the ELF library uses zero bytes for padding.

The ELF library will only pad bytes if the ELF_F_LAYOUT flag is not set for the ELF file.

elf(3), elf_flagelf(3), gelf(3)

June 11, 2006 OpenBSD 7.6