Lines Matching refs:fragp

740 md_estimate_size_before_relax (fragS *fragp, segT segment ATTRIBUTE_UNUSED)  in md_estimate_size_before_relax()  argument
742 return nios2_relax_subtype_size (fragp->fr_subtype); in md_estimate_size_before_relax()
747 nios2_relax_frag (segT segment, fragS *fragp, long stretch) in nios2_relax_frag() argument
749 addressT target = fragp->fr_offset; in nios2_relax_frag()
750 relax_substateT subtype = fragp->fr_subtype; in nios2_relax_frag()
751 symbolS *symbolp = fragp->fr_symbol; in nios2_relax_frag()
763 && sym_frag->relax_marker != fragp->relax_marker) in nios2_relax_frag()
765 if (stretch < 0 || sym_frag->region == fragp->region) in nios2_relax_frag()
767 else if (target < fragp->fr_address) in nios2_relax_frag()
768 target = fragp->fr_next->fr_address + stretch; in nios2_relax_frag()
773 offset = target - fragp->fr_address - fragp->fr_fix - fragp->fr_var; in nios2_relax_frag()
804 as_bad_where (fragp->fr_file, fragp->fr_line, in nios2_relax_frag()
814 fragp->fr_subtype = CBRANCH_SUBTYPE (n); in nios2_relax_frag()
816 fragp->fr_subtype = UBRANCH_SUBTYPE (n); in nios2_relax_frag()
818 return (nios2_relax_subtype_size (fragp->fr_subtype) in nios2_relax_frag()
830 fragS *fragp) in md_convert_frag() argument
832 char *buffer = fragp->fr_literal + fragp->fr_fix; in md_convert_frag()
833 relax_substateT subtype = fragp->fr_subtype; in md_convert_frag()
835 addressT target = fragp->fr_offset; in md_convert_frag()
836 symbolS *symbolp = fragp->fr_symbol; in md_convert_frag()
846 fix_new (fragp, fragp->fr_fix, 4, fragp->fr_symbol, fragp->fr_offset, 1, in md_convert_frag()
848 fragp->fr_fix += 4; in md_convert_frag()
890 as_bad_where (fragp->fr_file, fragp->fr_line, in md_convert_frag()
898 fragp->fr_fix += 4; in md_convert_frag()
908 fragp->fr_fix += 4; in md_convert_frag()
913 offset = target - fragp->fr_address - fragp->fr_fix; in md_convert_frag()
927 fragp->fr_fix += 4; in md_convert_frag()
936 fragp->fr_fix += 4; in md_convert_frag()
947 fix_new (fragp, fragp->fr_fix, 4, fragp->fr_symbol, fragp->fr_offset, in md_convert_frag()
949 fragp->fr_fix += 4; in md_convert_frag()
955 fix_new (fragp, fragp->fr_fix, 4, fragp->fr_symbol, fragp->fr_offset, in md_convert_frag()
957 fragp->fr_fix += 4; in md_convert_frag()
963 fragp->fr_fix += 4; in md_convert_frag()
2856 nios2_handle_align (fragS *fragp) in nios2_handle_align() argument
2861 && (fragp->fr_type == rs_align || fragp->fr_type == rs_align_code) in nios2_handle_align()
2862 && fragp->fr_address + fragp->fr_fix > 0 in nios2_handle_align()
2863 && fragp->fr_offset > 1 in nios2_handle_align()
2865 fix_new (fragp, fragp->fr_fix, 0, &abs_symbol, fragp->fr_offset, 0, in nios2_handle_align()