[PATCH 5/6 v2] doc: Add elf_hash.3

2025-05-12 Thread Aaron Merey
Signed-off-by: Aaron Merey --- v2: Mention use with SHT_HASH and clarify that only the lower 32 bits of the return value are used. doc/Makefile.am | 1 + doc/elf_hash.3 | 51 + 2 files changed, 52 insertions(+) create mode 100644 doc/elf_hash.3

[PATCH 3/6 v2] doc: Add elf_fill.3

2025-05-12 Thread Aaron Merey
Signed-off-by: Aaron Merey --- v2: Mention fill value only applies to new gaps and set Thread Safety atrribute to 'MT-Unsafe race' doc/Makefile.am | 1 + doc/elf_fill.3 | 53 + 2 files changed, 54 insertions(+) create mode 100644 doc/elf_fill.3

[PATCH 6/6 v2] doc: Add elf_kind.3

2025-05-12 Thread Aaron Merey
Signed-off-by: Aaron Merey v2: Mention ar(1) and that elfutils libelf does not support COFF object files. --- On Thu, May 1, 2025 at 1:17 PM Mark Wielaard wrote: > > > +.SH SEE ALSO > > +.BR libelf (3), > > +.BR elf (5) > > elf.5 doesn't describe the ar format, should it? Or should we have an

[PATCH 4/6] doc: Add elf_getbase.3

2025-05-12 Thread Aaron Merey
Signed-off-by: Aaron Merey --- v2: mention that base offset returned is always 0 for non ELF_K_AR kinds. Also mention elf_getaroff and elf_rawelf. doc/Makefile.am | 1 + doc/elf_getbase.3 | 59 +++ 2 files changed, 60 insertions(+) create mode 100

[PATCH 2/6 v2] doc: Add elf_end.3

2025-05-12 Thread Aaron Merey
Signed-off-by: Aaron Merey --- v2: Mention elf arg may be NULL. On Wed, Apr 30, 2025 at 1:18 PM Mark Wielaard wrote: > > So we do have a tiny elf_begin.3 man page, but it doesn't really > describe anything. The above seems a technically correct description of > ELF descriptor internal reference

[PATCH 1/6] doc/Makefile.am: Sort manpages in alphabetical order

2025-05-12 Thread Aaron Merey
Signed-off-by: Aaron Merey --- doc/Makefile.am | 50 - 1 file changed, 25 insertions(+), 25 deletions(-) diff --git a/doc/Makefile.am b/doc/Makefile.am index c95369e9..b75711ca 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -27,37 +27,37 @@