/toolchain/binutils/binutils-2.25/gas/config/ |
D | tc-mn10200.c | 335 if (fragP->fr_subtype == 0) in md_convert_frag() 342 else if (fragP->fr_subtype == 1) in md_convert_frag() 399 else if (fragP->fr_subtype == 2) in md_convert_frag() 457 else if (fragP->fr_subtype == 3) in md_convert_frag() 464 else if (fragP->fr_subtype == 4) in md_convert_frag() 545 else if (fragP->fr_subtype == 5) in md_convert_frag() 627 else if (fragP->fr_subtype == 6) in md_convert_frag() 634 else if (fragP->fr_subtype == 7) in md_convert_frag() 645 else if (fragP->fr_subtype == 8) in md_convert_frag() 653 else if (fragP->fr_subtype == 9) in md_convert_frag() [all …]
|
D | tc-mn10300.c | 473 if (fragP->fr_subtype == 0) in md_convert_frag() 480 else if (fragP->fr_subtype == 1) in md_convert_frag() 537 else if (fragP->fr_subtype == 2) in md_convert_frag() 594 else if (fragP->fr_subtype == 3) in md_convert_frag() 601 else if (fragP->fr_subtype == 4) in md_convert_frag() 640 else if (fragP->fr_subtype == 5) in md_convert_frag() 676 else if (fragP->fr_subtype == 6) in md_convert_frag() 686 else if (fragP->fr_subtype == 7) in md_convert_frag() 701 else if (fragP->fr_subtype == 8) in md_convert_frag() 712 else if (fragP->fr_subtype == 9) in md_convert_frag() [all …]
|
D | tc-v850.c | 1689 if (fragP->fr_subtype == SUBYPTE_LOOP_16_22) in md_convert_frag() 1696 else if (fragP->fr_subtype == SUBYPTE_LOOP_16_22 + 1) in md_convert_frag() 1713 else if (fragP->fr_subtype == SUBYPTE_COND_9_22 in md_convert_frag() 1714 || fragP->fr_subtype == SUBYPTE_UNCOND_9_22 in md_convert_frag() 1715 || fragP->fr_subtype == SUBYPTE_COND_9_22_32 in md_convert_frag() 1716 || fragP->fr_subtype == SUBYPTE_UNCOND_9_22_32 in md_convert_frag() 1717 || fragP->fr_subtype == SUBYPTE_COND_9_17_22 in md_convert_frag() 1718 || fragP->fr_subtype == SUBYPTE_COND_9_17_22_32 in md_convert_frag() 1719 || fragP->fr_subtype == SUBYPTE_SA_9_22 in md_convert_frag() 1720 || fragP->fr_subtype == SUBYPTE_SA_9_22_32 in md_convert_frag() [all …]
|
D | tc-m32c.c | 572 if (fragP->fr_subtype == 1) in md_estimate_size_before_relax() 573 fragP->fr_subtype = insn_to_subtype (fragP->fr_cgen.insn->base->num, fragP->fr_cgen.insn); in md_estimate_size_before_relax() 579 new_insn = subtype_mappings[fragP->fr_subtype].insn_for_extern; in md_estimate_size_before_relax() 580 fragP->fr_subtype = insn_to_subtype (new_insn, 0); in md_estimate_size_before_relax() 585 != subtype_mappings[fragP->fr_subtype].insn in md_estimate_size_before_relax() 586 && subtype_mappings[fragP->fr_subtype].insn > 0) in md_estimate_size_before_relax() 588 int new_insn= subtype_mappings[fragP->fr_subtype].insn; in md_estimate_size_before_relax() 597 return subtype_mappings[fragP->fr_subtype].bytes - (fragP->fr_fix - where); in md_estimate_size_before_relax() 634 fragP->fr_fix = where + subtype_mappings[fragP->fr_subtype].bytes; in md_convert_frag() 636 switch (subtype_mappings[fragP->fr_subtype].insn) in md_convert_frag() [all …]
|
D | tc-mep.c | 1525 if (fragP->fr_subtype == 1) in md_estimate_size_before_relax() 1526 fragP->fr_subtype = insn_to_subtype (fragP->fr_cgen.insn->base->num); in md_estimate_size_before_relax() 1538 new_insn = subtype_mappings[fragP->fr_subtype].insn_for_extern; in md_estimate_size_before_relax() 1539 fragP->fr_subtype = insn_to_subtype (new_insn); in md_estimate_size_before_relax() 1549 fragP->fr_subtype = insn_to_subtype in md_estimate_size_before_relax() 1550 (subtype_mappings[fragP->fr_subtype].insn_for_extern); in md_estimate_size_before_relax() 1553 fragP->fr_subtype ++; in md_estimate_size_before_relax() 1556 fragP->fr_subtype ++; in md_estimate_size_before_relax() 1563 != subtype_mappings[fragP->fr_subtype].insn) in md_estimate_size_before_relax() 1565 int new_insn= subtype_mappings[fragP->fr_subtype].insn; in md_estimate_size_before_relax() [all …]
|
D | tc-rx.c | 743 frag_then->fr_subtype = 0; in rx_fetchalign() 1111 frag_then->fr_subtype = rx_bytes.n_base + rx_bytes.n_ops; in md_assemble() 1474 fragP->fr_literal, fragP->fr_opcode, fragP->fr_type, fragP->fr_subtype); in md_estimate_size_before_relax() 1479 delta = (fragP->fr_subtype - opfixsize); in md_estimate_size_before_relax() 1509 int oldsize = fragP->fr_subtype; in rx_relax_frag() 1519 fragP->fr_literal, fragP->fr_opcode, fragP->fr_type, fragP->fr_subtype, stretch); in rx_relax_frag() 1533 next_size = n->fr_subtype; in rx_relax_frag() 1536 fragP->fr_subtype = (8-(mypc & 7)) & 7; in rx_relax_frag() 1537 tprintf("subtype %u\n", fragP->fr_subtype); in rx_relax_frag() 1538 if (fragP->fr_subtype >= next_size) in rx_relax_frag() [all …]
|
D | tc-sh64.c | 855 switch (fragP->fr_subtype) in shmedia_md_convert_frag() 1411 BAD_CASE (fragP->fr_subtype); in shmedia_md_convert_frag() 1912 switch (fragP->fr_subtype) in shmedia_md_estimate_size_before_relax() 1919 int what = GET_WHAT (fragP->fr_subtype); in shmedia_md_estimate_size_before_relax() 1922 fragP->fr_subtype = C (what, SH64PCREL16); in shmedia_md_estimate_size_before_relax() 1926 int what = GET_WHAT (fragP->fr_subtype); in shmedia_md_estimate_size_before_relax() 1932 fragP->fr_subtype = C (what, SH64PCREL32); in shmedia_md_estimate_size_before_relax() 1934 fragP->fr_var = md_relax_table[fragP->fr_subtype].rlx_length; in shmedia_md_estimate_size_before_relax() 1942 int what = GET_WHAT (fragP->fr_subtype); in shmedia_md_estimate_size_before_relax() 1945 fragP->fr_subtype = C (what, SH64PCREL16); in shmedia_md_estimate_size_before_relax() [all …]
|
D | tc-cris.c | 534 switch (fragP->fr_subtype) in cris_relax_frag() 565 __FUNCTION__, fragP->fr_subtype); in cris_relax_frag() 572 this_state = fragP->fr_subtype; in cris_relax_frag() 606 fragP->fr_subtype = this_state; in cris_relax_frag() 637 fragP->fr_subtype \ in md_estimate_size_before_relax() 641 fragP->fr_subtype \ in md_estimate_size_before_relax() 644 = md_cris_relax_table[fragP->fr_subtype].rlx_length; \ in md_estimate_size_before_relax() 649 switch (fragP->fr_subtype) in md_estimate_size_before_relax() 675 fragP->fr_subtype in md_estimate_size_before_relax() 682 fragP->fr_subtype in md_estimate_size_before_relax() [all …]
|
D | tc-rl78.c | 547 frag_then->fr_subtype = olen; in md_assemble() 818 delta = (fragP->fr_subtype - opfixsize); in md_estimate_size_before_relax() 836 int oldsize = fragP->fr_subtype; in rl78_relax_frag() 879 fragP->fr_subtype = newsize; in rl78_relax_frag() 941 fragP->fr_subtype = newsize; in rl78_relax_frag() 1008 switch (OPCODE (rl78_opcode_type (fragP->fr_opcode), fragP->fr_subtype)) in md_convert_frag() 1098 rl78_opcode_type (fragP->fr_opcode), fragP->fr_subtype, mypc); in md_convert_frag() 1132 fragP->fr_fix = fragP->fr_subtype + (fragP->fr_opcode - fragP->fr_literal); in md_convert_frag() 1134 fragP->fr_subtype, fragP->fr_opcode, fragP->fr_literal); in md_convert_frag()
|
D | tc-epiphany.c | 686 if (fragP->fr_subtype == EPIPHANY_RELAX_NEED_RELAXING) in epiphany_relax_frag() 703 fragP->fr_subtype = subtype; in epiphany_relax_frag() 742 subtype = fragP->fr_subtype; in md_estimate_size_before_relax() 763 fragP->fr_subtype = subtype; in md_estimate_size_before_relax() 787 return md_relax_table[fragP->fr_subtype].rlx_length; in md_estimate_size_before_relax() 835 switch (fragP->fr_subtype) in md_convert_frag()
|
D | tc-mmix.c | 2214 fragP->fr_subtype \ in md_estimate_size_before_relax() 2219 switch (fragP->fr_subtype) in md_estimate_size_before_relax() 2230 fragP->fr_subtype = ENCODE_RELAX (STATE_PUSHJ, STATE_ZERO); in md_estimate_size_before_relax() 2234 fragP->fr_subtype = ENCODE_RELAX (STATE_PUSHJSTUB, STATE_ZERO); in md_estimate_size_before_relax() 2259 BAD_CASE (fragP->fr_subtype); in md_estimate_size_before_relax() 2262 length = mmix_relax_table[fragP->fr_subtype].rlx_length; in md_estimate_size_before_relax() 2329 switch (fragP->fr_subtype) in md_convert_frag() 2406 BAD_CASE (fragP->fr_subtype); in md_convert_frag() 3357 switch (fragP->fr_subtype) in mmix_md_relax_frag() 3413 fragP->fr_subtype = ENCODE_RELAX (STATE_PUSHJSTUB, STATE_ZERO); in mmix_md_relax_frag() [all …]
|
D | tc-m68hc11.c | 3883 switch (fragP->fr_subtype) in m68hc11_relax_frag() 3907 __FUNCTION__, fragP->fr_subtype); in m68hc11_relax_frag() 3914 this_state = fragP->fr_subtype; in m68hc11_relax_frag() 3948 fragP->fr_subtype = this_state; in m68hc11_relax_frag() 3969 switch (fragP->fr_subtype) in md_convert_frag() 4098 if (RELAX_LENGTH (fragP->fr_subtype) == STATE_UNDF) in md_estimate_size_before_relax() 4103 && RELAX_STATE (fragP->fr_subtype) == STATE_INDEXED_OFFSET)) in md_estimate_size_before_relax() 4112 switch (RELAX_STATE (fragP->fr_subtype)) in md_estimate_size_before_relax() 4158 fragP->fr_subtype = ENCODE_RELAX (STATE_INDEXED_OFFSET, in md_estimate_size_before_relax() 4161 return md_relax_table[fragP->fr_subtype].rlx_length; in md_estimate_size_before_relax() [all …]
|
D | tc-xtensa.c | 1296 frag_var (rs_fill, 0, 0, frag_now->fr_subtype, in xtensa_begin_directive() 4529 if (fragP->fr_subtype != RELAX_SLOTS) in frag_format_size() 4611 && (next_fragP->fr_subtype == RELAX_MAYBE_UNREACHABLE in update_next_frag_state() 4612 || next_fragP->fr_subtype == RELAX_UNREACHABLE))) in update_next_frag_state() 4616 && (next_fragP->fr_subtype == RELAX_MAYBE_UNREACHABLE in update_next_frag_state() 4617 || next_fragP->fr_subtype == RELAX_UNREACHABLE)); in update_next_frag_state() 4622 && (new_target->fr_subtype == RELAX_MAYBE_DESIRE_ALIGN in update_next_frag_state() 4623 || new_target->fr_subtype == RELAX_DESIRE_ALIGN))) in update_next_frag_state() 4627 && (new_target->fr_subtype == RELAX_MAYBE_DESIRE_ALIGN in update_next_frag_state() 4628 || new_target->fr_subtype == RELAX_DESIRE_ALIGN)); in update_next_frag_state() [all …]
|
D | tc-m32r.c | 1650 if (fragP->fr_subtype == 2) in m32r_relax_frag() 1654 fragP->fr_subtype = 3; in m32r_relax_frag() 1658 else if (fragP->fr_subtype == 3) in m32r_relax_frag() 1662 fragP->fr_subtype = 2; in m32r_relax_frag() 1671 if (fragP->fr_subtype == 2 && (address & 3) != 0) in m32r_relax_frag() 1673 fragP->fr_subtype = 3; in m32r_relax_frag() 1707 fragP->fr_subtype = 2; in md_estimate_size_before_relax() 1733 return md_relax_table[fragP->fr_subtype].rlx_length; in md_estimate_size_before_relax() 1760 switch (fragP->fr_subtype) in md_convert_frag() 1811 gas_assert (fragP->fr_subtype != 1); in md_convert_frag() [all …]
|
D | tc-mcore.c | 1727 switch (fragP->fr_subtype) in md_convert_frag() 2057 switch (fragP->fr_subtype) in md_estimate_size_before_relax() 2065 fragP->fr_subtype = C (UNCD_JUMP, DISP12); in md_estimate_size_before_relax() 2067 fragP->fr_subtype = C (UNCD_JUMP, DISP12); in md_estimate_size_before_relax() 2069 fragP->fr_subtype = C (UNCD_JUMP, UNDEF_WORD_DISP); in md_estimate_size_before_relax() 2078 fragP->fr_subtype = C (COND_JUMP, DISP12); in md_estimate_size_before_relax() 2081 fragP->fr_subtype = C (COND_JUMP, UNDEF_WORD_DISP); in md_estimate_size_before_relax() 2084 fragP->fr_subtype = C (COND_JUMP, DISP12); in md_estimate_size_before_relax() 2098 return md_relax_table[fragP->fr_subtype].rlx_length; in md_estimate_size_before_relax()
|
D | tc-mips.c | 8486 mips_macro_warning.first_frag->fr_subtype |= subtype; in macro_end() 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() 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() 16865 if (RELAX_MIPS16_EXTENDED (fragp->fr_subtype)) in mips16_extended_frag() 16872 else if (RELAX_MIPS16_JAL_DSLOT (fragp->fr_subtype)) in mips16_extended_frag() 16874 else if (RELAX_MIPS16_DSLOT (fragp->fr_subtype)) in mips16_extended_frag() [all …]
|
D | tc-vax.c | 369 if (RELAX_LENGTH (fragP->fr_subtype) == STATE_UNDF) in md_estimate_size_before_relax() 419 switch (RELAX_STATE (fragP->fr_subtype)) in md_estimate_size_before_relax() 480 switch (RELAX_STATE (fragP->fr_subtype)) in md_estimate_size_before_relax() 483 fragP->fr_subtype = ENCODE_RELAX (STATE_PC_RELATIVE, STATE_BYTE); in md_estimate_size_before_relax() 486 fragP->fr_subtype = ENCODE_RELAX (STATE_CONDITIONAL_BRANCH, STATE_BYTE); in md_estimate_size_before_relax() 489 fragP->fr_subtype = ENCODE_RELAX (STATE_COMPLEX_BRANCH, STATE_WORD); in md_estimate_size_before_relax() 492 fragP->fr_subtype = ENCODE_RELAX (STATE_COMPLEX_HOP, STATE_BYTE); in md_estimate_size_before_relax() 495 fragP->fr_subtype = ENCODE_RELAX (STATE_ALWAYS_BRANCH, STATE_BYTE); in md_estimate_size_before_relax() 500 if (fragP->fr_subtype >= sizeof (md_relax_table) / sizeof (md_relax_table[0])) in md_estimate_size_before_relax() 504 return md_relax_table[fragP->fr_subtype].rlx_length; in md_estimate_size_before_relax() [all …]
|
D | tc-score7.c | 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() 5258 relaxable_p = s7_RELAX_OPT (fragp->fr_subtype); in s7_b32_relax_to_b16() 5291 fragp->fr_subtype = s7_RELAX_OPT_CLEAR (fragp->fr_subtype); in s7_b32_relax_to_b16() 6358 if ((s7_RELAX_TYPE (fragp->fr_subtype) == Insn_GP) in s7_estimate_size_before_relax() 6359 || (s7_RELAX_TYPE (fragp->fr_subtype) == Insn_PIC)) in s7_estimate_size_before_relax() 6391 insn_size = s7_RELAX_NEW (fragp->fr_subtype); in s7_relax_frag() 6393 insn_size = s7_RELAX_OLD (fragp->fr_subtype); in s7_relax_frag() 6397 if ((s7_RELAX_TYPE (fragp->fr_subtype) == Insn_GP) in s7_relax_frag() [all …]
|
D | tc-fr30.c | 223 fragP->fr_subtype = 2; in md_estimate_size_before_relax() 250 return md_relax_table[fragP->fr_subtype].rlx_length; in md_estimate_size_before_relax()
|
D | tc-frv.c | 878 temp_insn->dnop_frag->fr_subtype = NOP_KEEP; in frv_tomcat_analyze_vliw_chains() 888 temp_insn->snop_frag->fr_subtype = NOP_KEEP; in frv_tomcat_analyze_vliw_chains() 906 temp_insn->snop_frag->fr_subtype = NOP_KEEP; in frv_tomcat_analyze_vliw_chains() 938 this_insn->snop_frag->fr_subtype = NOP_KEEP; in frv_tomcat_analyze_vliw_chains() 939 this_insn->dnop_frag->fr_subtype = NOP_KEEP; in frv_tomcat_analyze_vliw_chains() 1270 switch (fragP->fr_subtype) in md_estimate_size_before_relax() 1293 switch (fragP->fr_subtype) in md_convert_frag()
|
D | tc-microblaze.c | 1864 switch (fragP->fr_subtype) in md_convert_frag() 2196 switch (fragP->fr_subtype) in md_estimate_size_before_relax() 2209 fragP->fr_subtype = DEFINED_PC_OFFSET; in md_estimate_size_before_relax() 2219 fragP->fr_subtype = UNDEFINED_PC_OFFSET; in md_estimate_size_before_relax() 2224 fragP->fr_subtype = UNDEFINED_PC_OFFSET; in md_estimate_size_before_relax() 2236 fragP->fr_subtype = DEFINED_ABS_SEGMENT; in md_estimate_size_before_relax() 2248 fragP->fr_subtype = DEFINED_RO_SEGMENT; in md_estimate_size_before_relax() 2261 fragP->fr_subtype = DEFINED_RO_SEGMENT; in md_estimate_size_before_relax() 2273 fragP->fr_subtype = DEFINED_RW_SEGMENT; in md_estimate_size_before_relax() 2284 fragP->fr_subtype = DEFINED_RW_SEGMENT; in md_estimate_size_before_relax()
|
D | tc-msp430.c | 3626 fragP->fr_subtype = in md_estimate_size_before_relax() 3627 ENCODE_RELAX (RELAX_LEN (fragP->fr_subtype), STATE_BITS10); in md_estimate_size_before_relax() 3636 fragP->fr_subtype = in md_estimate_size_before_relax() 3637 ENCODE_RELAX (RELAX_LEN (fragP->fr_subtype), STATE_WORD); in md_estimate_size_before_relax() 3643 fragP->fr_subtype = in md_estimate_size_before_relax() 3644 ENCODE_RELAX (RELAX_LEN (fragP->fr_subtype), STATE_UNDEF); in md_estimate_size_before_relax() 3647 return md_relax_table[fragP->fr_subtype].rlx_length; in md_estimate_size_before_relax() 3661 switch (fragP->fr_subtype) in md_convert_frag() 3793 __FUNCTION__, (long) fragP->fr_subtype); in md_convert_frag() 3821 if (RELAX_STATE (fragP->fr_subtype) == STATE_UNDEF in msp430_relax_frag() [all …]
|
D | tc-crx.c | 385 if (fragp->fr_subtype == rlx_state[subtype] in md_estimate_size_before_relax() 389 fragp->fr_subtype = rlx_state[subtype + 1]; in md_estimate_size_before_relax() 394 if (fragp->fr_subtype >= ARRAY_SIZE (md_relax_table)) in md_estimate_size_before_relax() 397 return md_relax_table[fragp->fr_subtype].rlx_length; in md_estimate_size_before_relax() 410 switch (fragP->fr_subtype) in md_convert_frag() 446 fragP->fr_fix += md_relax_table[fragP->fr_subtype].rlx_length; in md_convert_frag()
|
/toolchain/binutils/binutils-2.25/gas/ |
D | ehopt.c | 474 int ca = frag->fr_subtype >> 3; in eh_frame_estimate_size_before_relax() 490 frag->fr_subtype = (frag->fr_subtype & ~7) | ret; in eh_frame_estimate_size_before_relax() 504 oldsize = frag->fr_subtype & 7; in eh_frame_relax_frag() 525 ca = frag->fr_subtype >> 3; in eh_frame_convert_frag() 528 switch (frag->fr_subtype & 7) in eh_frame_convert_frag() 552 frag->fr_fix += frag->fr_subtype & 7; in eh_frame_convert_frag() 554 frag->fr_subtype = 0; in eh_frame_convert_frag()
|
D | write.c | 468 fragP->fr_subtype); in cvt_frag_to_fill() 504 if (fragP->fr_subtype) in cvt_frag_to_fill() 1853 brokp->dispfrag->fr_subtype = 0; in write_object_file() 2214 this_state = fragP->fr_subtype; in relax_frag() 2298 fragP->fr_subtype = this_state; in relax_frag() 2371 if (fragP->fr_subtype != 0 && offset > fragP->fr_subtype) in relax_segment() 2544 if (fragP->fr_subtype == 0) in relax_segment() 2546 fragP->fr_subtype++; in relax_segment() 2585 if (fragP->fr_subtype != 0) in relax_segment() 2587 if (oldoff > fragP->fr_subtype) in relax_segment() [all …]
|