[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug binutils/29628] New: The help document of size misses an option.
From: |
mengda2020 at iscas dot ac.cn |
Subject: |
[Bug binutils/29628] New: The help document of size misses an option. |
Date: |
Wed, 28 Sep 2022 12:43:43 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=29628
Bug ID: 29628
Summary: The help document of size misses an option.
Product: binutils
Version: 2.39
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: binutils
Assignee: unassigned at sourceware dot org
Reporter: mengda2020 at iscas dot ac.cn
Target Milestone: ---
The "-h" option of readelf misses the option "f".
1) For the option "f", the following code appears during option parsing in
binutils/size.c:231-240 for version 2.39.
case 'f': /* FIXME : For sysv68, `-f' means `full format', i.e.
`[fname:] M(.text) + N(.data) + O(.bss) + P(.comment) = Q'
where `fname: ' appears only if there are >= 2 input files,
and M, N, O, P, Q are expressed in decimal by default,
hexa or octal if requested by `-x' or `-o'.
Just to make things interesting, Solaris also accepts -f,
which prints out the size of each allocatable section, the
name of the section, and the total of the section sizes. */
/* For the moment, accept `-f' silently, and ignore it. */
break;
Although it has no actual function, it is still possible forget to modify the
help document after adding the function in a subsequent update.
But they do not appear in the document provided by "-h".
It may prevent users from using the relevant function.
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug binutils/29628] New: The help document of size misses an option.,
mengda2020 at iscas dot ac.cn <=