diff options
Diffstat (limited to 'man5/elf.5')
-rw-r--r-- | man5/elf.5 | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/man5/elf.5 b/man5/elf.5 index 2abf79a8f..1518a2ac8 100644 --- a/man5/elf.5 +++ b/man5/elf.5 @@ -142,7 +142,7 @@ or .in +4n .EX #define EI_NIDENT 16 - +\& typedef struct { unsigned char e_ident[EI_NIDENT]; uint16_t e_type; @@ -1871,19 +1871,19 @@ in memory: .EX void *memory, *name, *desc; Elf64_Nhdr *note, *next_note; - +\& /* The buffer is pointing to the start of the section/segment. */ note = memory; - +\& /* If the name is defined, it follows the note. */ name = note\->n_namesz == 0 ? NULL : memory + sizeof(*note); - +\& /* If the descriptor is defined, it follows the name (with alignment). */ - +\& desc = note\->n_descsz == 0 ? NULL : memory + sizeof(*note) + ALIGN_UP(note\->n_namesz, 4); - +\& /* The next note follows both (with alignment). */ next_note = memory + sizeof(*note) + ALIGN_UP(note\->n_namesz, 4) + |