summaryrefslogtreecommitdiffstats
path: root/man5/elf.5
diff options
context:
space:
mode:
Diffstat (limited to 'man5/elf.5')
-rw-r--r--man5/elf.514
1 files changed, 7 insertions, 7 deletions
diff --git a/man5/elf.5 b/man5/elf.5
index b96322341..6fa4ddf71 100644
--- a/man5/elf.5
+++ b/man5/elf.5
@@ -32,7 +32,7 @@
.\" 2007-10-11, Mike Frysinger <vapier@gentoo.org>, various fixes
.\" 2007-12-08, mtk, Converted from mdoc to man macros
.\"
-.TH ELF 5 2023-02-05 "Linux man-pages 6.03"
+.TH ELF 5 2023-05-03 "Linux man-pages 6.05.01"
.SH NAME
elf \- format of Executable and Linking Format (ELF) files
.SH SYNOPSIS
@@ -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) +