Fix another linker command line option that was not being recognised in its long...
authorNick Clifton <nickc@redhat.com>
Tue, 14 Nov 2023 11:24:58 +0000 (11:24 +0000)
committerNick Clifton <nickc@redhat.com>
Tue, 14 Nov 2023 11:24:58 +0000 (11:24 +0000)
  PR 28910
  * lexsup.c (ld_options): Ensure that the --mri-script option is correctly recognised.

ld/ChangeLog
ld/lexsup.c

index b9d6c317f976d6b0bc7750016b1775a80fc25ac8..287e2cfef3ac29dc9aca79ef92bb450ae1e684c4 100644 (file)
@@ -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
index ce0d7334dd82a9969407900a192d1a26ae49b22e..a7c0eb1d277df0ada800bf20eff805cde786a7ee 100644 (file)
@@ -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'},