Home
last modified time | relevance | path

Searched refs:fr_subtype (Results 1 – 25 of 74) sorted by relevance

123

/openbsd-src/gnu/usr.bin/binutils-2.17/gas/
H A Dehopt.c423 int fr_subtype; in check_eh_frame() local
426 fr_subtype = d->cie_info.code_alignment << 3; in check_eh_frame()
428 fr_subtype = 0; in check_eh_frame()
430 frag_var (rs_cfa, 4, 0, fr_subtype, make_expr_symbol (exp), in check_eh_frame()
452 int ca = frag->fr_subtype >> 3; in eh_frame_estimate_size_before_relax()
466 frag->fr_subtype = (frag->fr_subtype & ~7) | ret; in eh_frame_estimate_size_before_relax()
480 oldsize = frag->fr_subtype & 7; in eh_frame_relax_frag()
501 switch (frag->fr_subtype & 7) in eh_frame_convert_frag()
505 int ca = frag->fr_subtype >> 3; in eh_frame_convert_frag()
528 frag->fr_fix += frag->fr_subtype & 7; in eh_frame_convert_frag()
[all …]
H A Dwrite.c456 fragP->fr_subtype); in cvt_frag_to_fill()
492 if (fragP->fr_subtype) in cvt_frag_to_fill()
1280 brokp->dispfrag->fr_subtype = 0; in write_object_file()
1609 this_state = fragP->fr_subtype; in relax_frag()
1681 fragP->fr_subtype = this_state; in relax_frag()
1751 if (fragP->fr_subtype != 0 && offset > fragP->fr_subtype) in relax_segment()
1896 if (fragP->fr_subtype == 0) in relax_segment()
1898 fragP->fr_subtype++; in relax_segment()
1930 if (fragP->fr_subtype != 0) in relax_segment()
1932 if (oldoff > fragP->fr_subtype) in relax_segment()
[all …]
/openbsd-src/gnu/usr.bin/binutils/gas/
H A Dehopt.c431 int fr_subtype; in check_eh_frame() local
434 fr_subtype = d->cie_info.code_alignment << 3; in check_eh_frame()
436 fr_subtype = 0; in check_eh_frame()
438 frag_var (rs_cfa, 4, 0, fr_subtype, make_expr_symbol (exp), in check_eh_frame()
460 int ca = frag->fr_subtype >> 3; in eh_frame_estimate_size_before_relax()
474 frag->fr_subtype = (frag->fr_subtype & ~7) | ret; in eh_frame_estimate_size_before_relax()
488 oldsize = frag->fr_subtype & 7; in eh_frame_relax_frag()
509 switch (frag->fr_subtype & 7) in eh_frame_convert_frag()
513 int ca = frag->fr_subtype >> 3; in eh_frame_convert_frag()
536 frag->fr_fix += frag->fr_subtype & 7; in eh_frame_convert_frag()
[all …]
/openbsd-src/gnu/usr.bin/binutils/gas/config/
H A Dtc-fr30.c218 if (fragP->fr_subtype == 2)
222 fragP->fr_subtype = 3;
226 else if (fragP->fr_subtype == 3)
230 fragP->fr_subtype = 2;
239 if (fragP->fr_subtype == 2 && (address & 3) != 0)
241 fragP->fr_subtype = 3;
281 fragP->fr_subtype = 2;
328 return md_relax_table[fragP->fr_subtype].rlx_length;
357 switch (fragP->fr_subtype)
398 assert (fragP->fr_subtype != 1);
[all …]
H A Dtc-openrisc.c233 if (fragP->fr_subtype == 2)
237 fragP->fr_subtype = 3;
241 else if (fragP->fr_subtype == 3)
245 fragP->fr_subtype = 2;
254 if (fragP->fr_subtype == 2 && (address & 3) != 0)
256 fragP->fr_subtype = 3;
292 fragP->fr_subtype = 2;
318 return md_relax_table[fragP->fr_subtype].rlx_length;
H A Dtc-mn10200.c389 if (fragP->fr_subtype == 0)
396 else if (fragP->fr_subtype == 1)
453 else if (fragP->fr_subtype == 2)
511 else if (fragP->fr_subtype == 3)
518 else if (fragP->fr_subtype == 4)
598 else if (fragP->fr_subtype == 5)
679 else if (fragP->fr_subtype == 6)
686 else if (fragP->fr_subtype == 7)
697 else if (fragP->fr_subtype == 8)
705 else if (fragP->fr_subtype == 9)
[all …]
H A Dtc-mn10300.c760 if (fragP->fr_subtype == 0)
767 else if (fragP->fr_subtype == 1)
824 else if (fragP->fr_subtype == 2)
881 else if (fragP->fr_subtype == 3)
888 else if (fragP->fr_subtype == 4)
927 else if (fragP->fr_subtype == 5)
963 else if (fragP->fr_subtype == 6)
972 else if (fragP->fr_subtype == 7)
984 else if (fragP->fr_subtype == 8)
994 else if (fragP->fr_subtype == 9)
[all …]
H A Dtc-tahoe.c618 if (RELAX_LENGTH (fragP->fr_subtype) == STATE_UNDF)
628 switch (RELAX_STATE (fragP->fr_subtype))
690 switch (RELAX_STATE (fragP->fr_subtype))
693 fragP->fr_subtype = ENCODE_RELAX (STATE_PC_RELATIVE, STATE_BYTE);
696 fragP->fr_subtype = ENCODE_RELAX (STATE_CONDITIONAL_BRANCH, STATE_BYTE);
699 fragP->fr_subtype = ENCODE_RELAX (STATE_BIG_REV_BRANCH, STATE_WORD);
702 fragP->fr_subtype = ENCODE_RELAX (STATE_BIG_NON_REV_BRANCH, STATE_WORD);
705 fragP->fr_subtype = ENCODE_RELAX (STATE_ALWAYS_BRANCH, STATE_BYTE);
710 if (fragP->fr_subtype >= sizeof (md_relax_table) / sizeof (md_relax_table[0]))
714 return md_relax_table[fragP->fr_subtype].rlx_length;
[all …]
H A Dtc-cris.c395 switch (fragP->fr_subtype)
421 __FUNCTION__, fragP->fr_subtype);
428 this_state = fragP->fr_subtype;
462 fragP->fr_subtype = this_state;
490 switch (fragP->fr_subtype)
495 fragP->fr_subtype
499 fragP->fr_subtype
501 fragP->fr_var = md_cris_relax_table[fragP->fr_subtype].rlx_length;
518 fragP->fr_subtype
520 fragP->fr_var = md_cris_relax_table[fragP->fr_subtype].rlx_length;
[all …]
H A Dtc-m68hc11.c2780 switch (fragP->fr_subtype) in m68hc11_relax_frag()
2804 __FUNCTION__, fragP->fr_subtype); in m68hc11_relax_frag()
2811 this_state = fragP->fr_subtype; in m68hc11_relax_frag()
2845 fragP->fr_subtype = this_state; in m68hc11_relax_frag()
2867 switch (fragP->fr_subtype) in md_convert_frag()
2997 if (RELAX_LENGTH (fragP->fr_subtype) == STATE_UNDF) in md_estimate_size_before_relax()
3002 && RELAX_STATE (fragP->fr_subtype) == STATE_INDEXED_OFFSET)) in md_estimate_size_before_relax()
3011 switch (RELAX_STATE (fragP->fr_subtype)) in md_estimate_size_before_relax()
3057 fragP->fr_subtype = ENCODE_RELAX (STATE_INDEXED_OFFSET, in md_estimate_size_before_relax()
3060 return md_relax_table[fragP->fr_subtype].rlx_length; in md_estimate_size_before_relax()
[all …]
H A Dtc-w65.c809 switch (fragP->fr_subtype)
1074 return md_relax_table[frag->fr_subtype].rlx_length;
1087 switch (fragP->fr_subtype)
1094 what = GET_WHAT (fragP->fr_subtype);
1100 fragP->fr_subtype = C (what, BYTE_DISP);
1106 fragP->fr_subtype = C (what, UNDEF_WORD_DISP);
1121 fragP->fr_var = md_relax_table[fragP->fr_subtype].rlx_length;
H A Dtc-sh64.c851 switch (fragP->fr_subtype) in shmedia_md_convert_frag()
1407 BAD_CASE (fragP->fr_subtype); in shmedia_md_convert_frag()
1908 switch (fragP->fr_subtype) in shmedia_md_estimate_size_before_relax()
1915 int what = GET_WHAT (fragP->fr_subtype); in shmedia_md_estimate_size_before_relax()
1918 fragP->fr_subtype = C (what, SH64PCREL16); in shmedia_md_estimate_size_before_relax()
1922 int what = GET_WHAT (fragP->fr_subtype); in shmedia_md_estimate_size_before_relax()
1928 fragP->fr_subtype = C (what, SH64PCREL32); in shmedia_md_estimate_size_before_relax()
1930 fragP->fr_var = md_relax_table[fragP->fr_subtype].rlx_length; in shmedia_md_estimate_size_before_relax()
1938 int what = GET_WHAT (fragP->fr_subtype); in shmedia_md_estimate_size_before_relax()
1941 fragP->fr_subtype = C (what, SH64PCREL16); in shmedia_md_estimate_size_before_relax()
[all …]
H A Dtc-m32r.c1675 if (fragP->fr_subtype == 2)
1679 fragP->fr_subtype = 3;
1683 else if (fragP->fr_subtype == 3)
1687 fragP->fr_subtype = 2;
1696 if (fragP->fr_subtype == 2 && (address & 3) != 0)
1698 fragP->fr_subtype = 3;
1739 fragP->fr_subtype = 2;
1786 return md_relax_table[fragP->fr_subtype].rlx_length;
1814 switch (fragP->fr_subtype)
1863 assert (fragP->fr_subtype != 1);
[all …]
H A Dtc-mmix.c2224 fragP->fr_subtype \
2229 switch (fragP->fr_subtype)
2240 fragP->fr_subtype = ENCODE_RELAX (STATE_PUSHJ, STATE_ZERO);
2244 fragP->fr_subtype = ENCODE_RELAX (STATE_PUSHJSTUB, STATE_ZERO);
2269 BAD_CASE (fragP->fr_subtype);
2272 length = mmix_relax_table[fragP->fr_subtype].rlx_length;
2372 switch (fragP->fr_subtype)
2449 BAD_CASE (fragP->fr_subtype);
3412 switch (fragP->fr_subtype)
3468 fragP->fr_subtype = ENCODE_RELAX (STATE_PUSHJSTUB, STATE_ZERO);
[all …]
/openbsd-src/gnu/usr.bin/binutils-2.17/gas/config/
H A Dtc-mn10200.c369 if (fragP->fr_subtype == 0) in md_convert_frag()
376 else if (fragP->fr_subtype == 1) in md_convert_frag()
433 else if (fragP->fr_subtype == 2) in md_convert_frag()
491 else if (fragP->fr_subtype == 3) in md_convert_frag()
498 else if (fragP->fr_subtype == 4) in md_convert_frag()
578 else if (fragP->fr_subtype == 5) in md_convert_frag()
659 else if (fragP->fr_subtype == 6) in md_convert_frag()
666 else if (fragP->fr_subtype == 7) in md_convert_frag()
677 else if (fragP->fr_subtype == 8) in md_convert_frag()
685 else if (fragP->fr_subtype == 9) in md_convert_frag()
[all …]
H A Dtc-m32c.c542 if (fragP->fr_subtype == 1) in md_estimate_size_before_relax()
543 fragP->fr_subtype = insn_to_subtype (fragP->fr_cgen.insn->base->num); in md_estimate_size_before_relax()
549 new_insn = subtype_mappings[fragP->fr_subtype].insn_for_extern; in md_estimate_size_before_relax()
550 fragP->fr_subtype = insn_to_subtype (new_insn); in md_estimate_size_before_relax()
555 != subtype_mappings[fragP->fr_subtype].insn in md_estimate_size_before_relax()
556 && subtype_mappings[fragP->fr_subtype].insn > 0) in md_estimate_size_before_relax()
558 int new_insn= subtype_mappings[fragP->fr_subtype].insn; in md_estimate_size_before_relax()
567 return subtype_mappings[fragP->fr_subtype].bytes - (fragP->fr_fix - where); in md_estimate_size_before_relax()
606 new_insn = subtype_mappings[fragP->fr_subtype].insn; in md_convert_frag()
608 fragP->fr_fix = where + subtype_mappings[fragP->fr_subtype].bytes; in md_convert_frag()
[all …]
H A Dtc-mn10300.c765 if (fragP->fr_subtype == 0)
772 else if (fragP->fr_subtype == 1)
829 else if (fragP->fr_subtype == 2)
886 else if (fragP->fr_subtype == 3)
893 else if (fragP->fr_subtype == 4)
932 else if (fragP->fr_subtype == 5)
968 else if (fragP->fr_subtype == 6)
977 else if (fragP->fr_subtype == 7)
989 else if (fragP->fr_subtype == 8)
999 else if (fragP->fr_subtype == 9)
[all …]
H A Dtc-maxq.c306 || fragP->fr_subtype == EXPLICT_LONG_PREFIX) in md_estimate_size_before_relax()
318 if (fragP->fr_subtype == EXPLICT_LONG_PREFIX) in md_estimate_size_before_relax()
319 fragP->fr_subtype = LONG_PREFIX; in md_estimate_size_before_relax()
322 && ((!(fragP->fr_subtype) == EXPLICT_LONG_PREFIX))) in md_estimate_size_before_relax()
323 fragP->fr_subtype = ABSOLUTE_ADDR_FOR_DATA; in md_estimate_size_before_relax()
326 (fragP->fr_subtype ? fragP->fr_subtype : ABSOLUTE_ADDR_FOR_DATA); in md_estimate_size_before_relax()
328 fragP->fr_subtype = reloc_type; in md_estimate_size_before_relax()
343 if (fragP->fr_subtype == SHORT_PREFIX) in md_estimate_size_before_relax()
345 fragP->fr_subtype = SHORT_PREFIX; in md_estimate_size_before_relax()
349 if (fragP->fr_subtype == NO_PREFIX || fragP->fr_subtype == LONG_PREFIX) in md_estimate_size_before_relax()
[all …]
H A Dtc-m68hc11.c2781 switch (fragP->fr_subtype) in m68hc11_relax_frag()
2805 __FUNCTION__, fragP->fr_subtype); in m68hc11_relax_frag()
2812 this_state = fragP->fr_subtype; in m68hc11_relax_frag()
2846 fragP->fr_subtype = this_state; in m68hc11_relax_frag()
2868 switch (fragP->fr_subtype) in md_convert_frag()
2998 if (RELAX_LENGTH (fragP->fr_subtype) == STATE_UNDF) in md_estimate_size_before_relax()
3003 && RELAX_STATE (fragP->fr_subtype) == STATE_INDEXED_OFFSET)) in md_estimate_size_before_relax()
3012 switch (RELAX_STATE (fragP->fr_subtype)) in md_estimate_size_before_relax()
3058 fragP->fr_subtype = ENCODE_RELAX (STATE_INDEXED_OFFSET, in md_estimate_size_before_relax()
3061 return md_relax_table[fragP->fr_subtype].rlx_length; in md_estimate_size_before_relax()
[all …]
H A Dtc-cris.c532 switch (fragP->fr_subtype) in cris_relax_frag()
562 __FUNCTION__, fragP->fr_subtype); in cris_relax_frag()
569 this_state = fragP->fr_subtype; in cris_relax_frag()
603 fragP->fr_subtype = this_state; in cris_relax_frag()
634 fragP->fr_subtype \ in md_estimate_size_before_relax()
638 fragP->fr_subtype \ in md_estimate_size_before_relax()
641 = md_cris_relax_table[fragP->fr_subtype].rlx_length; \ in md_estimate_size_before_relax()
646 switch (fragP->fr_subtype) in md_estimate_size_before_relax()
672 fragP->fr_subtype in md_estimate_size_before_relax()
679 fragP->fr_subtype in md_estimate_size_before_relax()
[all …]
H A Dtc-sh64.c856 switch (fragP->fr_subtype) in shmedia_md_convert_frag()
1412 BAD_CASE (fragP->fr_subtype); in shmedia_md_convert_frag()
1913 switch (fragP->fr_subtype) in shmedia_md_estimate_size_before_relax()
1920 int what = GET_WHAT (fragP->fr_subtype); in shmedia_md_estimate_size_before_relax()
1923 fragP->fr_subtype = C (what, SH64PCREL16); in shmedia_md_estimate_size_before_relax()
1927 int what = GET_WHAT (fragP->fr_subtype); in shmedia_md_estimate_size_before_relax()
1933 fragP->fr_subtype = C (what, SH64PCREL32); in shmedia_md_estimate_size_before_relax()
1935 fragP->fr_var = md_relax_table[fragP->fr_subtype].rlx_length; in shmedia_md_estimate_size_before_relax()
1943 int what = GET_WHAT (fragP->fr_subtype); in shmedia_md_estimate_size_before_relax()
1946 fragP->fr_subtype = C (what, SH64PCREL16); in shmedia_md_estimate_size_before_relax()
[all …]
H A Dtc-msp430.c2120 fragP->fr_subtype = in md_estimate_size_before_relax()
2121 ENCODE_RELAX (RELAX_LEN (fragP->fr_subtype), STATE_BITS10); in md_estimate_size_before_relax()
2130 fragP->fr_subtype = in md_estimate_size_before_relax()
2131 ENCODE_RELAX (RELAX_LEN (fragP->fr_subtype), STATE_WORD); in md_estimate_size_before_relax()
2137 fragP->fr_subtype = in md_estimate_size_before_relax()
2138 ENCODE_RELAX (RELAX_LEN (fragP->fr_subtype), STATE_UNDEF); in md_estimate_size_before_relax()
2141 return md_relax_table[fragP->fr_subtype].rlx_length; in md_estimate_size_before_relax()
2155 switch (fragP->fr_subtype) in md_convert_frag()
2253 __FUNCTION__, (long) fragP->fr_subtype); in md_convert_frag()
2281 if (RELAX_STATE (fragP->fr_subtype) == STATE_UNDEF in msp430_relax_frag()
[all …]
H A Dtc-mmix.c2181 fragP->fr_subtype \ in md_estimate_size_before_relax()
2186 switch (fragP->fr_subtype) in md_estimate_size_before_relax()
2197 fragP->fr_subtype = ENCODE_RELAX (STATE_PUSHJ, STATE_ZERO); in md_estimate_size_before_relax()
2201 fragP->fr_subtype = ENCODE_RELAX (STATE_PUSHJSTUB, STATE_ZERO); in md_estimate_size_before_relax()
2226 BAD_CASE (fragP->fr_subtype); in md_estimate_size_before_relax()
2229 length = mmix_relax_table[fragP->fr_subtype].rlx_length; in md_estimate_size_before_relax()
2324 switch (fragP->fr_subtype) in md_convert_frag()
2401 BAD_CASE (fragP->fr_subtype); in md_convert_frag()
3352 switch (fragP->fr_subtype) in mmix_md_relax_frag()
3408 fragP->fr_subtype = ENCODE_RELAX (STATE_PUSHJSTUB, STATE_ZERO); in mmix_md_relax_frag()
[all …]
H A Dtc-xtensa.c1251 frag_var (rs_fill, 0, 0, frag_now->fr_subtype, in xtensa_begin_directive()
4408 if (fragP->fr_subtype != RELAX_SLOTS) in frag_format_size()
4464 && (next_fragP->fr_subtype == RELAX_MAYBE_UNREACHABLE in update_next_frag_state()
4465 || next_fragP->fr_subtype == RELAX_UNREACHABLE))) in update_next_frag_state()
4469 && (next_fragP->fr_subtype == RELAX_MAYBE_UNREACHABLE in update_next_frag_state()
4470 || next_fragP->fr_subtype == RELAX_UNREACHABLE)); in update_next_frag_state()
4475 && (new_target->fr_subtype == RELAX_MAYBE_DESIRE_ALIGN in update_next_frag_state()
4476 || new_target->fr_subtype == RELAX_DESIRE_ALIGN))) in update_next_frag_state()
4480 && (new_target->fr_subtype == RELAX_MAYBE_DESIRE_ALIGN in update_next_frag_state()
4481 || new_target->fr_subtype == RELAX_DESIRE_ALIGN)); in update_next_frag_state()
[all …]
H A Dtc-m32r.c1651 if (fragP->fr_subtype == 2) in m32r_relax_frag()
1655 fragP->fr_subtype = 3; in m32r_relax_frag()
1659 else if (fragP->fr_subtype == 3) in m32r_relax_frag()
1663 fragP->fr_subtype = 2; in m32r_relax_frag()
1672 if (fragP->fr_subtype == 2 && (address & 3) != 0) in m32r_relax_frag()
1674 fragP->fr_subtype = 3; in m32r_relax_frag()
1708 fragP->fr_subtype = 2; in md_estimate_size_before_relax()
1734 return md_relax_table[fragP->fr_subtype].rlx_length; in md_estimate_size_before_relax()
1761 switch (fragP->fr_subtype) in md_convert_frag()
1812 assert (fragP->fr_subtype != 1); in md_convert_frag()
[all …]

123