Home | History | Annotate | Download | only in config

Lines Matching refs:frag

766 /* Add expression EXP of SIZE bytes to offset OFF of fragment FRAG.  */
769 sh_cons_fix_new (fragS *frag, int off, int size, expressionS *exp,
806 fix_new_exp (frag, off, size, exp, 0, r_type);
862 const fragS *frag;
866 Prior to assigning frag addresses this will be zero. */
875 frag = frag1;
876 while (frag->fr_type == rs_fill
877 || frag->fr_type == rs_align_test)
879 if (frag->fr_type == rs_fill)
880 off += frag->fr_fix + frag->fr_offset * frag->fr_var;
882 off += frag->fr_fix;
883 frag = frag->fr_next;
884 if (frag == NULL)
886 if (frag == frag2)
895 frag = frag2;
896 while (frag->fr_type == rs_fill
897 || frag->fr_type == rs_align_test)
899 if (frag->fr_type == rs_fill)
900 off -= frag->fr_fix + frag->fr_offset * frag->fr_var;
902 off -= frag->fr_fix;
903 frag = frag->fr_next;
904 if (frag == NULL)
906 if (frag == frag1)
916 /* Optimize a difference of symbols which have rs_align_test frag if
3591 /* Stabilize this frag, so we don't trip an assert. */
3671 /* Stabilize this frag, so we don't trip an assert. */
3766 sh_handle_align (fragS *frag)
3768 int bytes = frag->fr_next->fr_address - frag->fr_address - frag->fr_fix;
3770 if (frag->fr_type == rs_align_code)
3775 char *p = frag->fr_literal + frag->fr_fix;
3781 frag->fr_fix += 1;
3787 frag->fr_var = sizeof big_nop_pattern;
3792 frag->fr_var = sizeof little_nop_pattern;
3795 else if (frag->fr_type == rs_align_test)
3798 as_bad_where (frag->fr_file, frag->fr_line, _("misaligned data"));
3802 && (frag->fr_type == rs_align
3803 || frag->fr_type == rs_align_code)
3804 && frag->fr_address + frag->fr_fix > 0
3805 && frag->fr_offset > 1
3807 fix_new (frag, frag->fr_fix, 2, &abs_symbol, frag->fr_offset, 0,