From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2124) id BC6A13858C29; Mon, 13 Nov 2023 16:24:45 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org BC6A13858C29 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: Nick Clifton To: bfd-cvs@sourceware.org Subject: [binutils-gdb] GNU-ld: ARM: Issues when trying to set target output architecture X-Act-Checkin: binutils-gdb X-Git-Author: Nick Clifton X-Git-Refname: refs/heads/master X-Git-Oldrev: 88bbac7c76e89cd3de75a25e46a69a4e7b608bff X-Git-Newrev: b0dfd7427be1c022581ea4ff33713e9922294c34 Message-Id: <20231113162445.BC6A13858C29@sourceware.org> Date: Mon, 13 Nov 2023 16:24:45 +0000 (GMT) X-BeenThere: binutils-cvs@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Binutils-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Nov 2023 16:24:45 -0000 https://sourceware.org/git/gitweb.cgi?p=3Dbinutils-gdb.git;h=3Db0dfd7427be1= c022581ea4ff33713e9922294c34 commit b0dfd7427be1c022581ea4ff33713e9922294c34 Author: Nick Clifton Date: Mon Nov 13 16:24:19 2023 +0000 GNU-ld: ARM: Issues when trying to set target output architecture =20 PR 28910 * lexsup.c (ld_options): Ensure that the --format option is correctly= recognised. Diff: --- ld/ChangeLog | 6 ++++++ ld/lexsup.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ld/ChangeLog b/ld/ChangeLog index 316ef47e93b..b9d6c317f97 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,9 @@ +2023-11-13 Nick Clifton + + PR 28910 + * lexsup.c (ld_options): Ensure that the --format option is + correctly recognised. + 2023-11-13 Chung-Ju Wu =20 * ld.texi: Fix redundant space typo. diff --git a/ld/lexsup.c b/ld/lexsup.c index aa4c76ec281..ce0d7334dd8 100644 --- a/ld/lexsup.c +++ b/ld/lexsup.c @@ -108,7 +108,7 @@ static const struct ld_option ld_options[] =3D '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'},