diff options
Diffstat (limited to 'sim')
-rw-r--r-- | sim/ppc/ChangeLog | 5 | ||||
-rw-r--r-- | sim/ppc/igen.c | 2 |
2 files changed, 5 insertions, 2 deletions
diff --git a/sim/ppc/ChangeLog b/sim/ppc/ChangeLog index 2502cb5..faeec3b 100644 --- a/sim/ppc/ChangeLog +++ b/sim/ppc/ChangeLog @@ -1,10 +1,13 @@ Tue Nov 14 04:47:25 1995 Michael Meissner <meissner@tiktok.cygnus.com> - * Makefile.in (devices.o): Update dependency. + * Makefile.in (devices.o, main.o): Update dependency. * igen.c (gen_model_h): Use correct variable in loop. + (gen_model_c): Use strcmp, strcasecmp. (lf_print_c_semantic_function_header): Delete unused function. + * main.c (cpu.h): Include cpu.h to get model.h. + Mon Nov 13 09:14:13 1995 Michael Meissner <meissner@tiktok.cygnus.com> * igen.c ({insn,model}_table_fields): Spell mnemonic correctly. diff --git a/sim/ppc/igen.c b/sim/ppc/igen.c index be84fa8..38ec2fb 100644 --- a/sim/ppc/igen.c +++ b/sim/ppc/igen.c @@ -3340,7 +3340,7 @@ gen_model_c(insn_table *table, lf *file) if (models) { lf_printf(file, " model_enum model;\n"); lf_printf(file, " for(model = MODEL_%s; model < nr_models; model++) {\n", models->name); - lf_printf(file, " if(strcasecmp(name, model_name[model]) == 0) {\n"); + lf_printf(file, " if(strcmp(name, model_name[model]) == 0) {\n"); lf_printf(file, " current_model = model;\n"); lf_printf(file, " return;\n"); lf_printf(file, " }\n"); |