aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ld/ChangeLog6
-rw-r--r--ld/lexsup.c2
2 files changed, 7 insertions, 1 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index b9d6c31..287e2cf 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,9 @@
+2023-11-14 Nick Clifton <nickc@redhat.com>
+
+ PR 28910
+ * lexsup.c (ld_options): Ensure that the --mri-script option is
+ correctly recognised.
+
2023-11-13 Nick Clifton <nickc@redhat.com>
PR 28910
diff --git a/ld/lexsup.c b/ld/lexsup.c
index ce0d733..a7c0eb1 100644
--- a/ld/lexsup.c
+++ b/ld/lexsup.c
@@ -110,7 +110,7 @@ static const struct ld_option ld_options[] =
'b', N_("TARGET"), N_("Specify target for following input files"),
EXACTLY_TWO_DASHES },
{ {"mri-script", required_argument, NULL, 'c'},
- 'c', N_("FILE"), N_("Read MRI format linker script"), TWO_DASHES },
+ 'c', N_("FILE"), N_("Read MRI format linker script"), EXACTLY_TWO_DASHES },
{ {"dc", no_argument, NULL, 'd'},
'd', NULL, N_("Force common symbols to be defined"), ONE_DASH },
{ {"dp", no_argument, NULL, 'd'},