From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1521) id D7EFF3858D3C; Thu, 10 Nov 2022 07:34:06 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D7EFF3858D3C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1668065646; bh=IMn3ySl4ncs3+20aq/EUcvuaC5F3FE+GOHetdiDP+1c=; h=From:To:Subject:Date:From; b=EWmE3sLo+ZzEQWImIwXVYO0pYrT0voupgFJEYCrE5i6ZwBK2kmcafgOekZAq6R89D Z5/Ro6TLgoWKt6S5W7TOU3PW2eUM7qD6jSQO2KifcqHGFImt/+zvlcRIGjAEj3WSIK npKPmML1ZlkLi5ZJnFIJ+flDvtHxi0S9UbfuOIsc= Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: Michael Frysinger To: gdb-cvs@sourceware.org Subject: [binutils-gdb] sim: ppc: drop support for dgen -L option X-Act-Checkin: binutils-gdb X-Git-Author: Mike Frysinger X-Git-Refname: refs/heads/master X-Git-Oldrev: 40466c48e843221e010209e4baa4197debf7a092 X-Git-Newrev: 7d95d825b3c40d74f17cc1cdb67f93e7ad1dcc66 Message-Id: <20221110073406.D7EFF3858D3C@sourceware.org> Date: Thu, 10 Nov 2022 07:34:06 +0000 (GMT) List-Id: https://sourceware.org/git/gitweb.cgi?p=3Dbinutils-gdb.git;h=3D7d95d825b3c4= 0d74f17cc1cdb67f93e7ad1dcc66 commit 7d95d825b3c40d74f17cc1cdb67f93e7ad1dcc66 Author: Mike Frysinger Date: Thu Nov 10 02:44:38 2022 +0700 sim: ppc: drop support for dgen -L option =20 Nothing passes this to dgen, and even if it did, nothing would happen because the generated spreg.[ch] files don't include any references back to the original data table. So drop it to simplify. Diff: --- sim/ppc/dgen.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/sim/ppc/dgen.c b/sim/ppc/dgen.c index d772771b9fa..8a17700820e 100644 --- a/sim/ppc/dgen.c +++ b/sim/ppc/dgen.c @@ -292,10 +292,9 @@ main(int argc, printf("-n Use this as cpp line numbering name\n"); printf("-h Output header file\n"); printf("-p Output spreg.h(P) or spreg.c(p)\n"); - printf("-L Suppress cpp line numbering in output files\n"); } =20 - while ((ch =3D getopt_long (argc, argv, "hLsn:r:p:", longopts, NULL)) + while ((ch =3D getopt_long (argc, argv, "hsn:r:p:", longopts, NULL)) !=3D -1) { #if 0 /* For debugging. */ @@ -311,9 +310,6 @@ main(int argc, case 'n': real_file_name =3D strdup(optarg); break; - case 'L': - file_references =3D lf_omit_references; - break; case 'h': is_header =3D 1; break;