OSDN Git Service
(root)
/
pf3gnuchains
/
pf3gnuchains4x.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3db5739
)
Add 'H' to getlongopts so that "readelf -H" does not display "unknown option"
author
nickc
<nickc>
Thu, 13 Feb 2003 09:56:51 +0000
(09:56 +0000)
committer
nickc
<nickc>
Thu, 13 Feb 2003 09:56:51 +0000
(09:56 +0000)
binutils/ChangeLog
patch
|
blob
|
history
binutils/readelf.c
patch
|
blob
|
history
diff --git
a/binutils/ChangeLog
b/binutils/ChangeLog
index
e3039ef
..
9903634
100644
(file)
--- a/
binutils/ChangeLog
+++ b/
binutils/ChangeLog
@@
-4,6
+4,8
@@
quotes consistent.
* objdump.c (usage): Ditto. Also fix some typos.
+ * readelf.c (parse_args): Include 'H' option in call to getopt_long.
+
2003-02-10 Nick Clifton <nickc@redhat.com>
* readelf.c (decode_ARM_machine_flags): Handle the
diff --git
a/binutils/readelf.c
b/binutils/readelf.c
index
6a5986f
..
fa6aa57
100644
(file)
--- a/
binutils/readelf.c
+++ b/
binutils/readelf.c
@@
-2529,7
+2529,7
@@
parse_args (argc, argv)
usage ();
while ((c = getopt_long
- (argc, argv, "ersuahnldSDAIw::x:i:vVW", options, NULL)) != EOF)
+ (argc, argv, "ersuahnldSDAIw::x:i:vVW
H
", options, NULL)) != EOF)
{
char *cp;
int section;