New: dl_iterate_phdr should mention Elf64_Phdr (in addition to Elf32_Phdr).
https://bugzilla.kernel.org/show_bug.cgi?id=218018
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: [email protected]
Reporter: [email protected]
Regression: Nodl_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.
Signature · 4 lines
You may reply to this email to add a comment. You are receiving this mail because: You are watching the assignee of the bug.
[Bug 218018] dl_iterate_phdr should mention Elf64_Phdr (in addition to Elf32_Phdr).
https://bugzilla.kernel.org/show_bug.cgi?id=218018
Rajesh ([email protected]) changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]
--- Comment #1 from Rajesh ([email protected]) --- (In reply to Paul Pluzhnikov from comment #0)
Quoted 7 lines
dl_iterate_phdrshould mentionElf64_Phdr(in addition toElf32_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.
Hello Paul,
Do you think the following would be helpful.
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.
Signature · 4 lines
You may reply to this email to add a comment. You are receiving this mail because: You are watching the assignee of the bug.
[Bug 218018] dl_iterate_phdr should mention Elf64_Phdr (in addition to Elf32_Phdr).
In reply to [email protected]https://bugzilla.kernel.org/show_bug.cgi?id=218018
--- Comment #2 from Paul Pluzhnikov ([email protected]) --- (In reply to Rajesh from comment #1)
Quoted 1 line
Do you think the following would be helpful.
Sure.
Quoted 7 lines
Replacing "These program headers are structures of the following form:" with the following
The ELF program header is described by the type
Elf32_PhdrorElf64_Phdrdepending 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.
Signature · 4 lines
You may reply to this email to add a comment. You are receiving this mail because: You are watching the assignee of the bug.
Alejandro Colomar
maintainerRe: [Bug 218018] dl_iterate_phdr should mention Elf64_Phdr (in addition to Elf32_Phdr).
Quoted 17 lines · On Wed, Dec 27, 2023 at 04:47:48PM +0000, [email protected] wrote:
https://bugzilla.kernel.org/show_bug.cgi?id=218018
--- Comment #2 from Paul Pluzhnikov ([email protected]) --- (In reply to Rajesh from comment #1)
Quoted 1 line
Do you think the following would be helpful.
Sure.
Quoted 7 lines
Replacing "These program headers are structures of the following form:" with the following
The ELF program header is described by the type
Elf32_PhdrorElf64_Phdrdepending on the architecture. Following is an example of 32 bit architecture. Refer to elf (man elf) for more information on 64 bit architecture.
Quoted 5 lines
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.
I suggest creating link pages Elf32_Phdr(3type) and Elf64_Phdr(3type) both of which link to elf(5).
Quoted 6 lines
Signature · 5 lines
-- You may reply to this email to add a comment. You are receiving this mail because: You are watching the assignee of the bug.
Signature · 2 lines
<https://www.alejandro-colomar.es/> Looking for a remote C programming job at the moment.
[Bug 218018] dl_iterate_phdr should mention Elf64_Phdr (in addition to Elf32_Phdr).
In reply to [email protected]https://bugzilla.kernel.org/show_bug.cgi?id=218018
--- Comment #3 from Rajesh ([email protected]) ---
Great.I have submitted the patch. If they approve it will be merged. Cheers Paul.
Signature · 4 lines
You may reply to this email to add a comment. You are receiving this mail because: You are watching the assignee of the bug.
[Bug 218018] dl_iterate_phdr should mention Elf64_Phdr (in addition to Elf32_Phdr).
In reply to [email protected]https://bugzilla.kernel.org/show_bug.cgi?id=218018
--- Comment #4 from Alejandro Colomar ([email protected]) ---
Quoted 18 lines · On Wed, Dec 27, 2023 at 04:47:48PM +0000, [email protected] wrote:
https://bugzilla.kernel.org/show_bug.cgi?id=218018
--- Comment #2 from Paul Pluzhnikov ([email protected]) --- (In reply to Rajesh from comment #1)
Quoted 1 line
Do you think the following would be helpful.
Sure.
Quoted 1 line
Replacing "These program headers are structures of the following form:"
with
Quoted 6 lines
the following
The ELF program header is described by the type
Elf32_PhdrorElf64_Phdrdepending on the architecture. Following is an example of 32 bit architecture. Refer to elf (man elf) for more information on 64 bit architecture.
Quoted 5 lines
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.
I suggest creating link pages Elf32_Phdr(3type) and Elf64_Phdr(3type) both of which link to elf(5).
Quoted 6 lines
Signature · 5 lines
-- You may reply to this email to add a comment. You are receiving this mail because: You are watching the assignee of the bug.
Signature · 4 lines
You may reply to this email to add a comment. You are receiving this mail because: You are watching the assignee of the bug.