aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
Diffstat (limited to 'ld')
-rw-r--r--ld/ChangeLog4
-rw-r--r--ld/lexsup.c1
2 files changed, 5 insertions, 0 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index e1cdb05..e027201 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,7 @@
+2016-11-14 Nick Clifton <nickc@redhat.com>
+
+ * lexsup.c (parse_args): Add break at end of default case.
+
2016-11-10 Jiong Wang <jiong.wang@arm.com>
PR target/20737
diff --git a/ld/lexsup.c b/ld/lexsup.c
index d39f848..fb0b47f 100644
--- a/ld/lexsup.c
+++ b/ld/lexsup.c
@@ -707,6 +707,7 @@ parse_args (unsigned argc, char **argv)
default:
einfo (_("%P%F: use the --help option for usage information\n"));
+ break;
case 1: /* File name. */
lang_add_input_file (optarg, lang_input_file_is_file_enum, NULL);