diff options
Diffstat (limited to 'man5/elf.5')
| -rw-r--r-- | man5/elf.5 | 64 |
1 files changed, 32 insertions, 32 deletions
diff --git a/man5/elf.5 b/man5/elf.5 index 12682cbd8d..d72024e9a4 100644 --- a/man5/elf.5 +++ b/man5/elf.5 @@ -96,9 +96,9 @@ stands for .I uint32_t or .IR uint64_t ): +.PP .in +4n -.nf - +.EX ElfN_Addr Unsigned program address, uintN_t ElfN_Off Unsigned file offset, uintN_t ElfN_Section Unsigned section index, uint16_t @@ -138,9 +138,9 @@ The ELF header is described by the type .I Elf32_Ehdr or .IR Elf64_Ehdr : +.PP .in +4n -.nf - +.EX #define EI_NIDENT 16 typedef struct { @@ -634,9 +634,9 @@ The ELF program header is described by the type or .I Elf64_Phdr depending on the architecture: +.PP .in +4n -.nf - +.EX typedef struct { uint32_t p_type; Elf32_Off p_offset; @@ -649,9 +649,9 @@ typedef struct { } Elf32_Phdr; .fi .in +.PP .in +4n -.nf - +.EX typedef struct { uint32_t p_type; uint32_t p_flags; @@ -878,9 +878,9 @@ The section header table does not contain entries for the reserved indices. .PP The section header has the following structure: +.PP .in +4n -.nf - +.EX typedef struct { uint32_t sh_name; uint32_t sh_type; @@ -895,9 +895,9 @@ typedef struct { } Elf32_Shdr; .fi .in +.PP .in +4n -.nf - +.EX typedef struct { uint32_t sh_name; uint32_t sh_type; @@ -1443,9 +1443,9 @@ An object file's symbol table holds information needed to locate and relocate a program's symbolic definitions and references. A symbol table index is a subscript into this array. +.PP .in +4n -.nf - +.EX typedef struct { uint32_t st_name; Elf32_Addr st_value; @@ -1456,9 +1456,9 @@ typedef struct { } Elf32_Sym; .fi .in +.PP .in +4n -.nf - +.EX typedef struct { uint32_t st_name; unsigned char st_info; @@ -1615,18 +1615,18 @@ program image. Relocation entries are these data. .PP Relocation structures that do not need an addend: +.PP .in +4n -.nf - +.EX typedef struct { Elf32_Addr r_offset; uint32_t r_info; } Elf32_Rel; .fi .in +.PP .in +4n -.nf - +.EX typedef struct { Elf64_Addr r_offset; uint64_t r_info; @@ -1635,9 +1635,9 @@ typedef struct { .in .PP Relocation structures that need an addend: +.PP .in +4n -.nf - +.EX typedef struct { Elf32_Addr r_offset; uint32_t r_info; @@ -1645,9 +1645,9 @@ typedef struct { } Elf32_Rela; .fi .in +.PP .in +4n -.nf - +.EX typedef struct { Elf64_Addr r_offset; uint64_t r_info; @@ -1693,9 +1693,9 @@ The member controls the interpretation of .IR d_un . +.PP .in +4n -.nf - +.EX typedef struct { Elf32_Sword d_tag; union { @@ -1706,9 +1706,9 @@ typedef struct { extern Elf32_Dyn _DYNAMIC[]; .fi .in +.PP .in +4n -.nf - +.EX typedef struct { Elf64_Sxword d_tag; union { @@ -1899,9 +1899,9 @@ field is not set (e.g., is 0), then there are two sets of notes: one for core files and one for all other ELF types. If the namespace is unknown, then tools will usually fallback to these sets of notes as well. +.PP .in +4n -.nf - +.EX typedef struct { Elf32_Word n_namesz; Elf32_Word n_descsz; @@ -1909,9 +1909,9 @@ typedef struct { } Elf32_Nhdr; .fi .in +.PP .in +4n -.nf - +.EX typedef struct { Elf64_Word n_namesz; Elf64_Word n_descsz; |
