summaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorBen Elliston <bje@au.ibm.com>2006-10-24 03:35:49 +0000
committerBen Elliston <bje@au.ibm.com>2006-10-24 03:35:49 +0000
commit95f62b88ecfa770fc4c222fa45e5c1a6165323a8 (patch)
tree40cf87a927a0f633bd21b28951402497e64e730f /ld
parent3b81df06b496c26a42a8ddd37dd2bf8f4c21df9a (diff)
downloadbinutils-redhat-95f62b88ecfa770fc4c222fa45e5c1a6165323a8.tar.gz
* lexsup.c (parse_args): Add a comment noting a fall-through.
Diffstat (limited to 'ld')
-rw-r--r--ld/ChangeLog4
-rw-r--r--ld/lexsup.c2
2 files changed, 6 insertions, 0 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index b388bcee46..15a994a980 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,7 @@
+2006-10-24 Ben Elliston <bje@au.ibm.com>
+
+ * lexsup.c (parse_args): Add a comment noting a fall-through.
+
2006-10-24 H.J. Lu <hongjiu.lu@intel.com>
* configure.in (AC_CHECK_HEADERS): Add limits.h and sys/param.h.
diff --git a/ld/lexsup.c b/ld/lexsup.c
index c4336c45be..1d267f40e1 100644
--- a/ld/lexsup.c
+++ b/ld/lexsup.c
@@ -680,6 +680,8 @@ parse_args (unsigned argc, char **argv)
{
case '?':
einfo (_("%P: unrecognized option '%s'\n"), argv[last_optind]);
+ /* Fall through. */
+
default:
einfo (_("%P%F: use the --help option for usage information\n"));