HP-UX Reference (11i v1 00/12) - 3 Library Functions A-M (vol 6)

__________________________________________________________________________________________________________________________________________________________________________________________________
__________________________________________________________________________________________________________________________________________________________________________________________________
STANDARD Printed by: Nora Chuang [nchuang] STANDARD
/build/1111/BRICK/man3/!!!intro.3c
________________________________________________________________
___ ___
e
elf(3E) elf(3E)
ELF64_FSZ_TYPE
These constants give the file sizes in bytes of the basic ELF types for the 64-bit
class of files. See elf_fsize for more information.
ELF_K_KIND The function elf_kind identifies the KIND of file associated with an ELF
descriptor. These values are members of the Elf_Kind enumeration; they range
from zero through ELF_K_NUM-1 .
ELF_T_TYPE When a service function, such as elf_xlate, deals with multiple types, names of
this form specify the desired TYPE. Thus, for example, ELF_T_EHDR is directly
related to Elf32_Ehdr These values are members of the Elf_Type enumera-
tion; they range from zero through ELF_T_NUM-1 .
NOTICES
Information in the ELF header files is separated into common parts and processor-specific parts. A pro-
gram can make a processor’s information available by including the appropriate header file:
sys/elf_NAME.h where NAME matches the processor name as used in the ELF file header.
Symbol Processor
parisc PA RISC
Other processors will be added to the table as necessary. To illustrate, a program could use the following
code to ‘‘see’’ the processor-specific information for the WE 32100.
#include <libelf.h>
#include <sys/elf_M32.h>
Without the sys/elf_M32.h definition, only the common ELF information would be visible.
SEE ALSO
a.out(4), ar(4), elf_begin(3E), elf_cntl(3E), elf_end(3E), elf_error(3E), elf_fill(3E), elf_flag(3E), elf_fsize(3E),
elf_getarhdr(3E), elf_getarsym(3E), elf_getbase(3E), elf_getdata(3E), elf_getehdr(3E), elf_getident(3E),
elf_getphdr(3E), elf_getscn(3E), elf_getshdr(3E), elf_hash(3E), elf_kind(3E), elf_next(3E), elf_rand(3E),
elf_rawfile(3E), elf_strptr(3E), elf_update(3E), elf_version(3E), elf_xlate(3E).
HP-UX Release 11i: December 2000 3 Section 3171
___
___