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

Diff of /qemu/dyngen.c

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

revision 1.16 by bellard, Thu May 29 20:05:18 2003 UTC revision 1.17 by bellard, Mon Jun 2 20:38:08 2003 UTC
# Line 691  void gen_code(const char *name, host_ulo Line 691  void gen_code(const char *name, host_ulo
691                          case R_ALPHA_BRSGP:                          case R_ALPHA_BRSGP:
692                              /* PC-relative jump. Tweak offset to skip the two instructions that try to                              /* PC-relative jump. Tweak offset to skip the two instructions that try to
693                                 set up the gp from the pv.  */                                 set up the gp from the pv.  */
694                              fprintf(outfile, "    fix_bsr(gen_code_ptr + %ld, (uint8_t *) &%s - (gen_code_ptr + %ld) + 4);\n",                              fprintf(outfile, "    fix_bsr(gen_code_ptr + %ld, (uint8_t *) &%s - (gen_code_ptr + %ld + 4) + 8);\n",
695                                      rel->r_offset - start_offset, sym_name, rel->r_offset - start_offset);                                      rel->r_offset - start_offset, sym_name, rel->r_offset - start_offset);
696                              break;                              break;
697                          default:                          default:

Legend:
Removed from v.1.16  
changed lines
  Added in v.1.17

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