]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
GNU-ld: ARM: Issues when trying to set target output architecture
authorNick Clifton <nickc@redhat.com>
Mon, 13 Nov 2023 16:24:19 +0000 (16:24 +0000)
committerNick Clifton <nickc@redhat.com>
Mon, 13 Nov 2023 16:24:19 +0000 (16:24 +0000)
  PR 28910
  * lexsup.c (ld_options): Ensure that the --format option is correctly recognised.

ld/ChangeLog
ld/lexsup.c

index 316ef47e93b56b38a19d45eab5c4a5dc2291104d..b9d6c317f976d6b0bc7750016b1775a80fc25ac8 100644 (file)
@@ -1,3 +1,9 @@
+2023-11-13  Nick Clifton  <nickc@redhat.com>
+
+       PR 28910
+       * lexsup.c (ld_options): Ensure that the --format option is
+       correctly recognised.
+
 2023-11-13  Chung-Ju Wu  <jasonwucj@gmail.com>
 
        * ld.texi: Fix redundant space typo.
index aa4c76ec281f04c5487cdcd118a9462a9820405d..ce0d7334dd82a9969407900a192d1a26ae49b22e 100644 (file)
@@ -108,7 +108,7 @@ static const struct ld_option ld_options[] =
     'A', N_("ARCH"), N_("Set architecture") , EXACTLY_TWO_DASHES },
   { {"format", required_argument, NULL, 'b'},
     'b', N_("TARGET"), N_("Specify target for following input files"),
-    TWO_DASHES },
+    EXACTLY_TWO_DASHES },
   { {"mri-script", required_argument, NULL, 'c'},
     'c', N_("FILE"), N_("Read MRI format linker script"), TWO_DASHES },
   { {"dc", no_argument, NULL, 'd'},