aboutsummaryrefslogtreecommitdiff
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
commit058a363ddc625e9f83ae0cf7b3bf322be87aafaa (patch)
tree014119c6eeac1a7b4767edc3e046ac1efb527343 /ld
parentede602d7c88efaaccf5c0679e0382298ae989d95 (diff)
downloadgdb-058a363ddc625e9f83ae0cf7b3bf322be87aafaa.zip
gdb-058a363ddc625e9f83ae0cf7b3bf322be87aafaa.tar.gz
gdb-058a363ddc625e9f83ae0cf7b3bf322be87aafaa.tar.bz2
* 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 b388bce..15a994a 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 c4336c4..1d267f4 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"));