Home
last modified time | relevance | path

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

/NextBSD/contrib/binutils/gas/config/
HDtc-score.c4830 judge_size_before_relax (fragS * fragp, asection *sec) in judge_size_before_relax() argument
4835 change = nopic_need_relax (fragp->fr_symbol, 0); in judge_size_before_relax()
4837 change = pic_need_relax (fragp->fr_symbol, sec); in judge_size_before_relax()
4843 if (fragp->fr_opcode == NULL) in judge_size_before_relax()
4845 fragp->fr_fix = RELAX_NEW (fragp->fr_subtype); in judge_size_before_relax()
4846 fragp->fr_opcode = fragp->fr_literal + RELAX_RELOC1 (fragp->fr_subtype); in judge_size_before_relax()
4847 return RELAX_NEW (fragp->fr_subtype) - RELAX_OLD (fragp->fr_subtype); in judge_size_before_relax()
4859 md_estimate_size_before_relax (fragS * fragp, asection * sec ATTRIBUTE_UNUSED) in md_estimate_size_before_relax() argument
4861 if ((RELAX_TYPE (fragp->fr_subtype) == Insn_GP) in md_estimate_size_before_relax()
4862 || (RELAX_TYPE (fragp->fr_subtype) == Insn_PIC)) in md_estimate_size_before_relax()
[all …]
HDtc-score.h38 #define md_relax_frag(segment, fragp, stretch) score_relax_frag (segment, fragp, stretch) argument
41 #define md_frag_check(fragp) score_frag_check (fragp) argument
HDtc-mips.c13672 mips16_extended_frag (fragS *fragp, asection *sec, long stretch) in mips16_extended_frag() argument
13681 if (RELAX_MIPS16_USER_SMALL (fragp->fr_subtype)) in mips16_extended_frag()
13683 if (RELAX_MIPS16_USER_EXT (fragp->fr_subtype)) in mips16_extended_frag()
13686 type = RELAX_MIPS16_TYPE (fragp->fr_subtype); in mips16_extended_frag()
13713 sym_frag = symbol_get_frag (fragp->fr_symbol); in mips16_extended_frag()
13714 val = S_GET_VALUE (fragp->fr_symbol); in mips16_extended_frag()
13715 symsec = S_GET_SEGMENT (fragp->fr_symbol); in mips16_extended_frag()
13729 if (RELAX_MIPS16_LONG_BRANCH (fragp->fr_subtype)) in mips16_extended_frag()
13737 fragp->fr_subtype = in mips16_extended_frag()
13738 RELAX_MIPS16_MARK_LONG_BRANCH (fragp->fr_subtype); in mips16_extended_frag()
[all …]
HDtc-mips.h49 #define md_relax_frag(segment, fragp, stretch) \ argument
50 mips_relax_frag(segment, fragp, stretch)
57 #define HANDLE_ALIGN(fragp) mips_handle_align (fragp) argument
HDtc-arm.h84 #define md_relax_frag(segment, fragp, stretch) \ argument
85 arm_relax_frag(segment, fragp, stretch)
188 #define TC_FRAG_INIT(fragp) arm_init_frag (fragp) argument
189 #define HANDLE_ALIGN(fragp) arm_handle_align (fragp) argument
HDtc-spu.c915 spu_handle_align (fragS *fragp) in spu_handle_align() argument
925 if (fragp->fr_type != rs_align_code) in spu_handle_align()
928 bytes = fragp->fr_next->fr_address - fragp->fr_address - fragp->fr_fix; in spu_handle_align()
929 p = fragp->fr_literal + fragp->fr_fix; in spu_handle_align()
937 fragp->fr_fix += fix; in spu_handle_align()
944 fragp->fr_fix += 4; in spu_handle_align()
948 fragp->fr_var = 8; in spu_handle_align()
HDobj-coff.c1653 fragS *fragp; in coff_frob_section() local
1675 fragp = seg_info (sec)->frchainP->frch_root; in coff_frob_section()
1677 while (fragp->fr_next != last) in coff_frob_section()
1678 fragp = fragp->fr_next; in coff_frob_section()
1680 fragp->fr_offset += new_size - size; in coff_frob_section()
1720 fragp = seg_info (sec)->frchainP->frch_root; in coff_frob_section()
1721 while (fragp && fragp->fr_fix == 0) in coff_frob_section()
1722 fragp = fragp->fr_next; in coff_frob_section()
1723 assert (fragp != 0 && fragp->fr_fix >= 12); in coff_frob_section()
1726 p = fragp->fr_literal; in coff_frob_section()
HDtc-alpha.h110 #define HANDLE_ALIGN(fragp) alpha_handle_align (fragp) argument
HDtc-sparc.h72 #define HANDLE_ALIGN(fragp) sparc_handle_align (fragp) argument
HDtc-sparc.c4327 sparc_handle_align (fragp) in sparc_handle_align() argument
4328 fragS *fragp; in sparc_handle_align()
4333 count = fragp->fr_next->fr_address - fragp->fr_address - fragp->fr_fix;
4335 switch (fragp->fr_type)
4339 as_bad_where (fragp->fr_file, fragp->fr_line, _("misaligned data"));
4343 p = fragp->fr_literal + fragp->fr_fix;
4371 fragp->fr_fix += fix;
4372 fragp->fr_var = 4;
HDtc-cr16.c587 md_estimate_size_before_relax (fragS *fragp, asection *seg) in md_estimate_size_before_relax() argument
596 if (fragp->fr_subtype == rlx_state[subtype] in md_estimate_size_before_relax()
597 && (!S_IS_DEFINED (fragp->fr_symbol) in md_estimate_size_before_relax()
598 || seg != S_GET_SEGMENT (fragp->fr_symbol))) in md_estimate_size_before_relax()
600 fragp->fr_subtype = rlx_state[subtype + 1]; in md_estimate_size_before_relax()
605 if (fragp->fr_subtype >= ARRAY_SIZE (md_relax_table)) in md_estimate_size_before_relax()
608 return md_relax_table[fragp->fr_subtype].rlx_length; in md_estimate_size_before_relax()
HDtc-arm.c16631 md_estimate_size_before_relax (fragS * fragp, in md_estimate_size_before_relax() argument
16634 fragp->fr_var = 2; in md_estimate_size_before_relax()
16641 md_convert_frag (bfd *abfd, segT asec ATTRIBUTE_UNUSED, fragS *fragp) in md_convert_frag() argument
16652 buf = fragp->fr_literal + fragp->fr_fix; in md_convert_frag()
16655 if (fragp->fr_symbol) { in md_convert_frag()
16657 exp.X_add_symbol = fragp->fr_symbol; in md_convert_frag()
16661 exp.X_add_number = fragp->fr_offset; in md_convert_frag()
16662 opcode = fragp->fr_subtype; in md_convert_frag()
16675 if (fragp->fr_var == 4) in md_convert_frag()
16698 if (fragp->fr_var == 4) in md_convert_frag()
[all …]
HDtc-s390.c1833 md_estimate_size_before_relax (fragp, seg) in md_estimate_size_before_relax() argument
1834 fragS *fragp ATTRIBUTE_UNUSED; in md_estimate_size_before_relax()
1844 md_convert_frag (abfd, sec, fragp) in md_convert_frag() argument
1847 fragS *fragp ATTRIBUTE_UNUSED;
HDtc-alpha.c4808 alpha_handle_align (fragS *fragp) in alpha_handle_align() argument
4820 if (fragp->fr_type != rs_align_code) in alpha_handle_align()
4823 bytes = fragp->fr_next->fr_address - fragp->fr_address - fragp->fr_fix; in alpha_handle_align()
4824 p = fragp->fr_literal + fragp->fr_fix; in alpha_handle_align()
4845 fragp->fr_fix += fix; in alpha_handle_align()
4846 fragp->fr_var = 8; in alpha_handle_align()
HDtc-ia64.c11767 ia64_handle_align (fragp) in ia64_handle_align() argument
11768 fragS *fragp; in ia64_handle_align()
11774 if (fragp->fr_type != rs_align_code)
11778 nop = fragp->tc_frag_data ? le_nop_stop : le_nop;
11780 bytes = fragp->fr_next->fr_address - fragp->fr_address - fragp->fr_fix;
11781 p = fragp->fr_literal + fragp->fr_fix;
11784 if (!bytes && fragp->tc_frag_data)
11786 if (fragp->fr_fix < 16)
11794 as_bad_where (fragp->fr_file, fragp->fr_line,
11811 fragp->fr_fix += fix;
[all …]
HDtc-arc.c1073 md_estimate_size_before_relax (fragS *fragp ATTRIBUTE_UNUSED, in md_estimate_size_before_relax()
1085 fragS *fragp ATTRIBUTE_UNUSED) in md_convert_frag()
HDtc-ppc.c5312 md_estimate_size_before_relax (fragS *fragp ATTRIBUTE_UNUSED, in md_estimate_size_before_relax()
5324 fragS *fragp ATTRIBUTE_UNUSED) in md_convert_frag()
/NextBSD/contrib/binutils/gas/
HDsubsegs.c318 fragS *fragp; in subsegs_print_statistics() local
320 for (fragp = frchp->frch_root; fragp; fragp = fragp->fr_next) in subsegs_print_statistics()
HDwrite.c532 fragS *fragp; in size_seg() local
542 for (fragp = seginfo->frchainP->frch_root; fragp; fragp = fragp->fr_next) in size_seg()
543 cvt_frag_to_fill (sec, fragp); in size_seg()
544 for (fragp = seginfo->frchainP->frch_root; in size_seg()
545 fragp->fr_next; in size_seg()
546 fragp = fragp->fr_next) in size_seg()
549 size = fragp->fr_address + fragp->fr_fix; in size_seg()
573 fragp = seginfo->frchainP->frch_root; in size_seg()
574 while (fragp->fr_next != last) in size_seg()
575 fragp = fragp->fr_next; in size_seg()
[all …]
HDChangeLog-02033227 (md_estimate_size_before_relax <fragp, seg>): Likewise.
3244 (i960_handle_align <fragp>): Likewise.
HDChangeLog-00013391 * config/tc-m32r.c (m32r_handle_align): Declare type of fragp.
/NextBSD/contrib/binutils/gas/doc/
HDinternals.texi1120 @item TC_FRAG_INIT (@var{fragp})
1122 A C statement to initialize the target specific fields of frag @var{fragp}.