Home
last modified time | relevance | path

Searched refs:fragp (Results 1 – 25 of 52) sorted by relevance

123

/toolchain/binutils/binutils-2.25/gas/config/
Dtc-nios2.c740 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()
[all …]
Dtc-score7.c5216 s7_judge_size_before_relax (fragS * fragp, asection *sec) in s7_judge_size_before_relax() argument
5221 change = s7_nopic_need_relax (fragp->fr_symbol, 0); in s7_judge_size_before_relax()
5223 change = s7_pic_need_relax (fragp->fr_symbol, sec); in s7_judge_size_before_relax()
5229 if (fragp->fr_opcode == NULL) in s7_judge_size_before_relax()
5231 fragp->fr_fix = s7_RELAX_NEW (fragp->fr_subtype); in s7_judge_size_before_relax()
5232 fragp->fr_opcode = fragp->fr_literal + s7_RELAX_RELOC1 (fragp->fr_subtype); in s7_judge_size_before_relax()
5233 return s7_RELAX_NEW (fragp->fr_subtype) - s7_RELAX_OLD (fragp->fr_subtype); in s7_judge_size_before_relax()
5241 s7_b32_relax_to_b16 (fragS * fragp) in s7_b32_relax_to_b16() argument
5245 int frag_addr = fragp->fr_address + fragp->insn_addr; in s7_b32_relax_to_b16()
5258 relaxable_p = s7_RELAX_OPT (fragp->fr_subtype); in s7_b32_relax_to_b16()
[all …]
Dtc-mips.c16756 mips16_extended_frag (fragS *fragp, asection *sec, long stretch) in mips16_extended_frag() argument
16764 if (RELAX_MIPS16_USER_SMALL (fragp->fr_subtype)) in mips16_extended_frag()
16766 if (RELAX_MIPS16_USER_EXT (fragp->fr_subtype)) in mips16_extended_frag()
16769 type = RELAX_MIPS16_TYPE (fragp->fr_subtype); in mips16_extended_frag()
16772 sym_frag = symbol_get_frag (fragp->fr_symbol); in mips16_extended_frag()
16773 val = S_GET_VALUE (fragp->fr_symbol); in mips16_extended_frag()
16774 symsec = S_GET_SEGMENT (fragp->fr_symbol); in mips16_extended_frag()
16791 if (RELAX_MIPS16_LONG_BRANCH (fragp->fr_subtype)) in mips16_extended_frag()
16799 fragp->fr_subtype = in mips16_extended_frag()
16800 RELAX_MIPS16_MARK_LONG_BRANCH (fragp->fr_subtype); in mips16_extended_frag()
[all …]
Dtc-score.c65 static void s3_frag_check (fragS * fragp ATTRIBUTE_UNUSED);
70 static int s3_estimate_size_before_relax (fragS * fragp, asection * sec ATTRIBUTE_UNUSED);
71 static int s3_relax_frag (asection * sec ATTRIBUTE_UNUSED, fragS * fragp, long stretch ATTRIBUTE_UN…
72 static void s3_convert_frag (bfd * abfd ATTRIBUTE_UNUSED, segT sec ATTRIBUTE_UNUSED, fragS * fragp);
5792 char *fragp; in s3_s_score_end() local
5849 fragp = frag_more (7 * 4); in s3_s_score_end()
5850 md_number_to_chars (fragp, (valueT) s3_cur_proc_ptr->reg_mask, 4); in s3_s_score_end()
5851 md_number_to_chars (fragp + 4, (valueT) s3_cur_proc_ptr->reg_offset, 4); in s3_s_score_end()
5852 md_number_to_chars (fragp + 8, (valueT) s3_cur_proc_ptr->fpreg_mask, 4); in s3_s_score_end()
5853 md_number_to_chars (fragp + 12, (valueT) s3_cur_proc_ptr->leaf, 4); in s3_s_score_end()
[all …]
Dtc-mips.h51 #define md_relax_frag(segment, fragp, stretch) \ argument
52 mips_relax_frag(segment, fragp, stretch)
62 #define HANDLE_ALIGN(fragp) mips_handle_align (fragp) argument
Dtc-tic6x.c4098 fragS *fragp; in tic6x_adjust_section() local
4107 for (fragp = frchp->frch_root; fragp; fragp = fragp->fr_next) in tic6x_adjust_section()
4108 switch (fragp->fr_type) in tic6x_adjust_section()
4111 if (fragp->tc_frag_data.is_insns) in tic6x_adjust_section()
4117 if (fragp->fr_fix > 0) in tic6x_adjust_section()
4183 for (fragp = frchp->frch_root; fragp; fragp = fragp->fr_next) in tic6x_adjust_section()
4190 if (fragp->fr_type != rs_machine_dependent) in tic6x_adjust_section()
4193 if (fragp->tc_frag_data.is_insns in tic6x_adjust_section()
4194 && pos + fragp->fr_fix > 32 in tic6x_adjust_section()
4195 && !fragp->tc_frag_data.can_cross_fp_boundary) in tic6x_adjust_section()
[all …]
Dtc-arm.h96 #define md_relax_frag(segment, fragp, stretch) \ argument
97 arm_relax_frag (segment, fragp, stretch)
238 #define TC_FRAG_INIT(fragp) arm_init_frag (fragp, max_chars) argument
239 #define HANDLE_ALIGN(fragp) arm_handle_align (fragp) argument
Dtc-aarch64.h139 #define TC_FRAG_INIT(fragp) aarch64_init_frag (fragp, max_chars) argument
140 #define HANDLE_ALIGN(fragp) aarch64_handle_align (fragp) argument
Dtc-mn10200.c794 md_estimate_size_before_relax (fragS *fragp, asection *seg) in md_estimate_size_before_relax() argument
796 if (fragp->fr_subtype == 6 in md_estimate_size_before_relax()
797 && (!S_IS_DEFINED (fragp->fr_symbol) in md_estimate_size_before_relax()
798 || seg != S_GET_SEGMENT (fragp->fr_symbol))) in md_estimate_size_before_relax()
799 fragp->fr_subtype = 7; in md_estimate_size_before_relax()
800 else if (fragp->fr_subtype == 8 in md_estimate_size_before_relax()
801 && (!S_IS_DEFINED (fragp->fr_symbol) in md_estimate_size_before_relax()
802 || seg != S_GET_SEGMENT (fragp->fr_symbol))) in md_estimate_size_before_relax()
803 fragp->fr_subtype = 10; in md_estimate_size_before_relax()
805 if (fragp->fr_subtype >= sizeof (md_relax_table) / sizeof (md_relax_table[0])) in md_estimate_size_before_relax()
[all …]
Dtc-spu.c910 spu_handle_align (fragS *fragp) in spu_handle_align() argument
920 if (fragp->fr_type != rs_align_code) in spu_handle_align()
923 bytes = fragp->fr_next->fr_address - fragp->fr_address - fragp->fr_fix; in spu_handle_align()
924 p = fragp->fr_literal + fragp->fr_fix; in spu_handle_align()
932 fragp->fr_fix += fix; in spu_handle_align()
939 fragp->fr_fix += 4; in spu_handle_align()
943 fragp->fr_var = 8; in spu_handle_align()
Dtc-epiphany.c334 epiphany_handle_align (fragS *fragp) in epiphany_handle_align() argument
339 if (fragp->fr_type != rs_align_code) in epiphany_handle_align()
342 bytes = fragp->fr_next->fr_address - fragp->fr_address - fragp->fr_fix; in epiphany_handle_align()
343 p = fragp->fr_literal + fragp->fr_fix; in epiphany_handle_align()
360 fragp->fr_fix += fix; in epiphany_handle_align()
Dobj-coff.c1734 fragS *fragp; in coff_frob_section() local
1757 fragp = seg_info (sec)->frchainP->frch_root; in coff_frob_section()
1759 while (fragp->fr_next != last) in coff_frob_section()
1760 fragp = fragp->fr_next; in coff_frob_section()
1762 fragp->fr_offset += new_size - size; in coff_frob_section()
1806 fragp = seg_info (sec)->frchainP->frch_root; in coff_frob_section()
1807 while (fragp && fragp->fr_fix == 0) in coff_frob_section()
1808 fragp = fragp->fr_next; in coff_frob_section()
1809 gas_assert (fragp != 0 && fragp->fr_fix >= 12); in coff_frob_section()
1812 p = fragp->fr_literal; in coff_frob_section()
Dtc-metag.h56 #define HANDLE_ALIGN(fragp) metag_handle_align (fragp) argument
Dtc-i860.h91 #define HANDLE_ALIGN(fragp) i860_handle_align (fragp) argument
Dtc-score.h39 #define md_relax_frag(segment, fragp, stretch) score_relax_frag (segment, fragp, stretch) argument
Dtc-tilepro.h42 #define HANDLE_ALIGN(fragp) tilepro_handle_align (fragp) argument
Dtc-tilegx.h42 #define HANDLE_ALIGN(fragp) tilegx_handle_align (fragp) argument
Dtc-i860.c1449 i860_handle_align (fragS *fragp) in i860_handle_align() argument
1457 if (fragp->fr_type != rs_align_code) in i860_handle_align()
1460 bytes = fragp->fr_next->fr_address - fragp->fr_address - fragp->fr_fix; in i860_handle_align()
1461 p = fragp->fr_literal + fragp->fr_fix; in i860_handle_align()
1470 fragp->fr_fix += fix; in i860_handle_align()
1474 fragp->fr_var = 4; in i860_handle_align()
Dtc-mn10300.c2283 has_known_symbol_location (fragS * fragp, asection * sec) in has_known_symbol_location() argument
2285 symbolS * sym = fragp->fr_symbol; in has_known_symbol_location()
2294 md_estimate_size_before_relax (fragS *fragp, asection *seg) in md_estimate_size_before_relax() argument
2296 if (fragp->fr_subtype == 6 in md_estimate_size_before_relax()
2297 && ! has_known_symbol_location (fragp, seg)) in md_estimate_size_before_relax()
2298 fragp->fr_subtype = 7; in md_estimate_size_before_relax()
2299 else if (fragp->fr_subtype == 8 in md_estimate_size_before_relax()
2300 && ! has_known_symbol_location (fragp, seg)) in md_estimate_size_before_relax()
2301 fragp->fr_subtype = 9; in md_estimate_size_before_relax()
2302 else if (fragp->fr_subtype == 10 in md_estimate_size_before_relax()
[all …]
Dtc-tilepro.c1625 tilepro_handle_align (fragS *fragp) in tilepro_handle_align() argument
1630 if (fragp->fr_type != rs_align_code) in tilepro_handle_align()
1633 bytes = fragp->fr_next->fr_address - fragp->fr_address - fragp->fr_fix; in tilepro_handle_align()
1634 p = fragp->fr_literal + fragp->fr_fix; in tilepro_handle_align()
1654 fragp->fr_fix += fix; in tilepro_handle_align()
1655 fragp->fr_var = TILEPRO_BUNDLE_SIZE_IN_BYTES; in tilepro_handle_align()
Dtc-alpha.h111 #define HANDLE_ALIGN(fragp) alpha_handle_align (fragp) argument
Dtc-tilegx.c1845 tilegx_handle_align (fragS *fragp) in tilegx_handle_align() argument
1850 if (fragp->fr_type != rs_align_code) in tilegx_handle_align()
1853 bytes = fragp->fr_next->fr_address - fragp->fr_address - fragp->fr_fix; in tilegx_handle_align()
1854 p = fragp->fr_literal + fragp->fr_fix; in tilegx_handle_align()
1873 fragp->fr_fix += fix; in tilegx_handle_align()
1874 fragp->fr_var = TILEGX_BUNDLE_SIZE_IN_BYTES; in tilegx_handle_align()
Dtc-sparc.h75 #define HANDLE_ALIGN(fragp) sparc_handle_align (fragp) argument
/toolchain/binutils/binutils-2.25/gas/
Dsubsegs.c316 fragS *fragp; in subsegs_print_statistics() local
318 for (fragp = frchp->frch_root; fragp; fragp = fragp->fr_next) in subsegs_print_statistics()
Dwrite.c548 fragS *fragp; in size_seg() local
558 for (fragp = seginfo->frchainP->frch_root; fragp; fragp = fragp->fr_next) in size_seg()
559 cvt_frag_to_fill (sec, fragp); in size_seg()
560 for (fragp = seginfo->frchainP->frch_root; in size_seg()
561 fragp->fr_next; in size_seg()
562 fragp = fragp->fr_next) in size_seg()
565 size = fragp->fr_address + fragp->fr_fix; in size_seg()
592 fragp = seginfo->frchainP->frch_root; in size_seg()
593 while (fragp->fr_next != last) in size_seg()
594 fragp = fragp->fr_next; in size_seg()
[all …]

123