Исполнимый и линкуемый формат (ELF)

Unknown, “Executable and Linkable Format (ELF)”, public translation into Russian from English More about this translation.

See also 173 similar translations

Translate into another language.

Participants

Revolver_45 49 points
tIGO 18 points
VlKhomenko 10 points
Join Translated.by to translate! If you already have a Translated.by account, please sign in.
If you do not want to register an account, you can sign in with OpenID.
Pages: previous Ctrl next next untranslated

typedef struct {

Elf32_Word

Elf32_Off

Elf32_Addr

Elf32_Addr

Elf32_Word

Elf32_Word

Elf32_Word

Elf32_Word

} Elf32_Phdr;

p_type;

p_offset;

p_vaddr;

p_paddr;

p_filesz;

p_memsz;

p_flags;

p_align;

p_type This member tells what kind of segment this array element describes or how to interpret

the array element’s information. Type values and their meanings appear below.

p_offset This member gives the offset from the beginning of the file at which the first byte of the

segment resides.

p_vaddr This member gives the virtual address at which the first byte of the segment resides in

memory.

p_paddr On systems for which physical addressing is relevant, this member is reserved for the

segment’s physical address. Because System V ignores physical addressing for applica-

tion programs, this member has unspecified contents for executable files and shared

objects.

p_filesz This member gives the number of bytes in the file image of the segment; it may be zero.

p_memsz This member gives the number of bytes in the memory image of the segment; it may be

zero.

p_flags This member gives flags relevant to the segment. Defined flag values appear below.

p_align As ‘‘Program Loading’’ later in this part describes, loadable process segments must have

congruent values for p_vaddr and p_offset, modulo the page size. This member

gives the value to which the segments are aligned in memory and in the file. Values 0

and 1 mean no alignment is required. Otherwise, p_align should be a positive, integral

power of 2, and p_vaddr should equal p_offset, modulo p_align.

Some entries describe process segments; others give supplementary information and do not contribute to

the process image. Segment entries may appear in any order, except as explicitly noted below. Defined

type values follow; other values are reserved for future use.

ELF: Executable and Linkable Format

Figure 2-2: Segment Types, p_type

Name

Value

___________________________

Pages: previous Ctrl next next untranslated