/[qemu]/qemu/dyngen.c
ViewVC logotype

Diff of /qemu/dyngen.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.23 by bellard, Wed Jun 25 22:11:41 2003 UTC revision 1.24 by bellard, Mon Jun 30 10:04:47 2003 UTC
# Line 1200  int load_elf(const char *filename, FILE Line 1200  int load_elf(const char *filename, FILE
1200      }      }
1201    
1202      if (out_type == OUT_INDEX_OP) {      if (out_type == OUT_INDEX_OP) {
1203            fprintf(outfile, "DEF(nop1, 0, 0)\n");
1204            fprintf(outfile, "DEF(nop2, 0, 0)\n");
1205            fprintf(outfile, "DEF(nop3, 0, 0)\n");
1206            fprintf(outfile, "DEF(nop, 0, 0)\n");
1207          fprintf(outfile, "DEF(end, 0, 0)\n");          fprintf(outfile, "DEF(end, 0, 0)\n");
1208          for(i = 0, sym = symtab; i < nb_syms; i++, sym++) {          for(i = 0, sym = symtab; i < nb_syms; i++, sym++) {
1209              const char *name, *p;              const char *name, *p;
# Line 1270  fprintf(outfile, Line 1274  fprintf(outfile,
1274          }          }
1275    
1276  fprintf(outfile,  fprintf(outfile,
1277    "        case INDEX_op_nop:\n"
1278    "            break;\n"
1279    "        case INDEX_op_nop1:\n"
1280    "            opparam_ptr++;\n"
1281    "            break;\n"
1282    "        case INDEX_op_nop2:\n"
1283    "            opparam_ptr += 2;\n"
1284    "            break;\n"
1285    "        case INDEX_op_nop3:\n"
1286    "            opparam_ptr += 3;\n"
1287    "            break;\n"
1288  "        default:\n"  "        default:\n"
1289  "            goto the_end;\n"  "            goto the_end;\n"
1290  "        }\n");  "        }\n");

Legend:
Removed from v.1.23  
changed lines
  Added in v.1.24

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26