[Bug 218018] New: dl_iterate_phdr should mention Elf64_Phdr (in addition to Elf32_Phdr).

bugzilla-daemon
2023-10-16T21:56:16Z

Bug ID: 218018
Summary: dl_iterate_phdr should mention Elf64_Phdr (in addition
to Elf32_Phdr).
Product: Documentation
Version: unspecified
Hardware: All
OS: Linux
Status: NEW
Severity: normal
Priority: P3
Component: man-pages
Assignee: documentation_man-pages@kernel-bugs.osdl.org
Reporter: ppluzhnikov@google.com
Regression: No

dl_iterate_phdr should mention Elf64_Phdr (in addition to Elf32_Phdr).
Currently the man page says:

These program headers are structures of the following form:
typedef { ... } Elf32_Phdr;

which is obviously wrong for 64-bit binaries.