sim: ppc: drop support for dgen -L option

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.
This commit is contained in:
Mike Frysinger 2022-11-10 02:44:38 +07:00
parent 40466c48e8
commit 7d95d825b3

View File

@ -292,10 +292,9 @@ main(int argc,
printf("-n <file-name> Use this as cpp line numbering name\n");
printf("-h Output header file\n");
printf("-p <spreg-file> Output spreg.h(P) or spreg.c(p)\n");
printf("-L Suppress cpp line numbering in output files\n");
}
while ((ch = getopt_long (argc, argv, "hLsn:r:p:", longopts, NULL))
while ((ch = getopt_long (argc, argv, "hsn:r:p:", longopts, NULL))
!= -1)
{
#if 0 /* For debugging. */
@ -311,9 +310,6 @@ main(int argc,
case 'n':
real_file_name = strdup(optarg);
break;
case 'L':
file_references = lf_omit_references;
break;
case 'h':
is_header = 1;
break;