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

bugzilla-daemon
2023-12-27T16:47:49Z

--- Comment #2 from Paul Pluzhnikov (ppluzhnikov@google.com) ---
(In reply to Rajesh from comment #1)

> Do you think the following would be helpful.

Sure.

> Replacing "These program headers are structures of the following form:" with
> the following
>
> The ELF program header is described by the type Elf32_Phdr or Elf64_Phdr
> depending on the architecture. Following is an example of 32 bit
> architecture. Refer to elf (man elf) for more information on 64 bit
> architecture.

I suggest deleting the last 4 words, i.e.

Refer to elf (man elf) for more information.

since "man elf" describes both Elf{32,64}_Phdr in a bit more detail.