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: |