All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] man/man5/elf.5: Fix description of e_flags
@ 2026-08-03 13:05 Ryota Saito
  2026-08-06 23:08 ` Alejandro Colomar
  0 siblings, 1 reply; 2+ messages in thread
From: Ryota Saito @ 2026-08-03 13:05 UTC (permalink / raw)
  To: Alejandro Colomar; +Cc: Ryota Saito, linux-man

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 <saito.ryota.23@shizuoka.ac.jp>
---
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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] man/man5/elf.5: Fix description of e_flags
  2026-08-03 13:05 [PATCH] man/man5/elf.5: Fix description of e_flags Ryota Saito
@ 2026-08-06 23:08 ` Alejandro Colomar
  0 siblings, 0 replies; 2+ messages in thread
From: Alejandro Colomar @ 2026-08-06 23:08 UTC (permalink / raw)
  To: Ryota Saito; +Cc: linux-man

[-- Attachment #1: Type: text/plain, Size: 1352 bytes --]

Hi Ryota,

> Date: 2026-08-03 22:05:43+0900
> From: Ryota Saito <saito.ryota.23@shizuoka.ac.jp>
>
> 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 <saito.ryota.23@shizuoka.ac.jp>

Thanks!  I've applied the patch.


Have a lovely night!
Alex

> ---
> 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
> 

-- 
<https://www.alejandro-colomar.es>

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-08-06 23:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-03 13:05 [PATCH] man/man5/elf.5: Fix description of e_flags Ryota Saito
2026-08-06 23:08 ` Alejandro Colomar

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.