[PATCH] man/man5/elf.5: Fix description of e_flags

Ryota Saito <[email protected]> Mon, 3 Aug 2026 22:05:43 +0900
Newsgroups org.kernel.vger.linux-man
Message-ID <[email protected]>
Processor-specific e_flags are defined by the ABI supplements of many
architectures (e.g., EF_RISCV_RVC, EF_ARM_EABI_VER5), and glibc's
<elf.h> currently defines over 150 EF_* constants.  Replace the
incorrect statement with one that does not depend on the current set
of defined flags.

Signed-off-by: Ryota Saito <[email protected]>
---
Range-diff:
-:  --------- > 1:  06a472163 man/man5/elf.5: Fix description of e_flags

 man/man5/elf.5 | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/man/man5/elf.5 b/man/man5/elf.5
index 67544f4e6..ab5d2a21f 100644
--- a/man/man5/elf.5
+++ b/man/man5/elf.5
@@ -509,7 +509,8 @@ file has no section header table, this member holds zero.
 .I e_flags
 This member holds processor-specific flags associated with the file.
 Flag names take the form EF_`machine_flag'.
-Currently, no flags have been defined.
+The defined flags and their meanings
+depend on the target architecture and its ABI.
 .TP
 .I e_ehsize
 This member holds the ELF header's size in bytes.
-- 
2.43.0