aboutsummaryrefslogtreecommitdiffstats
path: root/man5/elf.5
diff options
context:
space:
mode:
authorAlejandro Colomar <alx@kernel.org>2023-05-03 00:48:14 +0200
committerAlejandro Colomar <alx@kernel.org>2023-05-03 00:48:22 +0200
commitfe5dba139dc089eae4061fdc17f087e71f48b198 (patch)
tree54af56b1b0138bde9a21e99372ab68ce4d64564a /man5/elf.5
parent5a0d9ed151e6449d978fabdd654cacc17b20a235 (diff)
downloadman-pages-fe5dba139dc089eae4061fdc17f087e71f48b198.tar.gz
man*/, man.ignore.grep: srcfix; warn about blank lines
- Use the dummy character to avoid warnings in examples. - Re-enable the warning. Suggested-by: "G. Branden Robinson" <g.branden.robinson@gmail.com> Signed-off-by: Alejandro Colomar <alx@kernel.org>
Diffstat (limited to 'man5/elf.5')
-rw-r--r--man5/elf.512
1 files changed, 6 insertions, 6 deletions
diff --git a/man5/elf.5 b/man5/elf.5
index 2abf79a8f7..1518a2ac81 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) +