aboutsummaryrefslogtreecommitdiff
path: root/binutils
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2003-02-13 09:56:51 +0000
committerNick Clifton <nickc@redhat.com>2003-02-13 09:56:51 +0000
commitd3c543fde935de5565595d72c0e9df73534baa60 (patch)
tree75ac71f6f8cf610789d107b299a31bdaaabf4bdb /binutils
parentf0c8c24a697dc386b56b86c0a0b869ac7c3f857d (diff)
downloadgdb-d3c543fde935de5565595d72c0e9df73534baa60.zip
gdb-d3c543fde935de5565595d72c0e9df73534baa60.tar.gz
gdb-d3c543fde935de5565595d72c0e9df73534baa60.tar.bz2
Add 'H' to getlongopts so that "readelf -H" does not display "unknown option"
Diffstat (limited to 'binutils')
-rw-r--r--binutils/ChangeLog2
-rw-r--r--binutils/readelf.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog
index e3039ef..9903634 100644
--- 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
--- 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:vVWH", options, NULL)) != EOF)
{
char *cp;
int section;