elf.5: Minor tweaks to Mike Frysinger's patch

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2016-11-17 16:41:36 +01:00
parent 98ec6ed789
commit 215f434628
1 changed files with 14 additions and 7 deletions

View File

@ -83,7 +83,8 @@ the file.
This header file describes the above mentioned headers as C structures
and also includes structures for dynamic sections, relocation sections and
symbol tables.
.SS Basic Types
.\"
.SS Basic types
The following types are used for N-bit architectures (N=32,64,
.I ElfN
stands for
@ -131,7 +132,8 @@ size and alignment guidelines for the relevant class.
If necessary,
data structures contain explicit padding to ensure 4-byte alignment
for 4-byte objects, to force structure sizes to a multiple of 4, and so on.
.SS ELF Header (Ehdr)
.\"
.SS ELF header (Ehdr)
The ELF header is described by the type
.I Elf32_Ehdr
or
@ -608,7 +610,8 @@ member of the initial entry in section header table.
Otherwise, the
.IR sh_link
member of the initial entry in section header table contains the value zero.
.SS Program Header (Phdr)
.\"
.SS Program header (Phdr)
An executable or shared object file's program header table is an array of
structures, each describing a segment or other information the system needs
to prepare the program for execution.
@ -800,7 +803,8 @@ should equal
.IR p_offset ,
modulo
.IR p_align .
.SS Section Header (Shdr)
.\"
.SS Section header (Shdr)
A file's section header table lets one locate all the file's sections.
The
section header table is an array of
@ -1397,7 +1401,8 @@ The attributes used are
.BR SHF_ALLOC
and
.BR SHF_EXECINSTR .
.SS String and Symbol Tables
.\"
.SS String and symbol tables
String table sections hold null-terminated character sequences, commonly
called strings.
The object file uses these strings to represent symbol
@ -1574,7 +1579,8 @@ Every symbol table entry is
in relation to some section.
This member holds the relevant section
header table index.
.SS Relocation Entries (Rel & Rela)
.\"
.SS Relocation entries (Rel & Rela)
Relocation is the process of connecting symbolic references with
symbolic definitions.
Relocatable files must have information that
@ -1651,7 +1657,8 @@ member.
.IR r_addend
This member specifies a constant addend used to compute the value to be
stored into the relocatable field.
.SS Dynamic Tags (Dyn)
.\"
.SS Dynamic tags (Dyn)
The
.I .dynamic
section contains a series of structures that hold relevant