Lines Matching defs:frag

386 sh_cons_fix_new (fragS *frag, int off, int size, expressionS *exp,
423 fix_new_exp (frag, off, size, exp, 0, r_type);
469 const fragS *frag;
473 Prior to assigning frag addresses this will be zero. */
482 frag = frag1;
483 while (frag->fr_type == rs_fill
484 || frag->fr_type == rs_align_test)
486 if (frag->fr_type == rs_fill)
487 off += frag->fr_fix + frag->fr_offset * frag->fr_var;
489 off += frag->fr_fix;
490 frag = frag->fr_next;
491 if (frag == NULL)
493 if (frag == frag2)
502 frag = frag2;
503 while (frag->fr_type == rs_fill
504 || frag->fr_type == rs_align_test)
506 if (frag->fr_type == rs_fill)
507 off -= frag->fr_fix + frag->fr_offset * frag->fr_var;
509 off -= frag->fr_fix;
510 frag = frag->fr_next;
511 if (frag == NULL)
513 if (frag == frag1)
523 /* Optimize a difference of symbols which have rs_align_test frag if
3067 /* Stabilize this frag, so we don't trip an assert. */
3147 /* Stabilize this frag, so we don't trip an assert. */
3238 sh_handle_align (fragS *frag)
3240 int bytes = frag->fr_next->fr_address - frag->fr_address - frag->fr_fix;
3242 if (frag->fr_type == rs_align_code)
3247 char *p = frag->fr_literal + frag->fr_fix;
3253 frag->fr_fix += 1;
3259 frag->fr_var = sizeof big_nop_pattern;
3264 frag->fr_var = sizeof little_nop_pattern;
3267 else if (frag->fr_type == rs_align_test)
3270 as_bad_where (frag->fr_file, frag->fr_line, _("misaligned data"));
3274 && (frag->fr_type == rs_align
3275 || frag->fr_type == rs_align_code)
3276 && frag->fr_address + frag->fr_fix > 0
3277 && frag->fr_offset > 1
3279 fix_new (frag, frag->fr_fix, 2, &abs_symbol, frag->fr_offset, 0,