Home
last modified time | relevance | path

Searched refs:frag (Results 1 – 25 of 142) sorted by relevance

123456

/toolchain/binutils/binutils-2.25/gas/
Dehopt.c471 eh_frame_estimate_size_before_relax (fragS *frag) in eh_frame_estimate_size_before_relax() argument
474 int ca = frag->fr_subtype >> 3; in eh_frame_estimate_size_before_relax()
477 diff = resolve_symbol_value (frag->fr_symbol); in eh_frame_estimate_size_before_relax()
490 frag->fr_subtype = (frag->fr_subtype & ~7) | ret; in eh_frame_estimate_size_before_relax()
500 eh_frame_relax_frag (fragS *frag) in eh_frame_relax_frag() argument
504 oldsize = frag->fr_subtype & 7; in eh_frame_relax_frag()
505 newsize = eh_frame_estimate_size_before_relax (frag); in eh_frame_relax_frag()
514 eh_frame_convert_frag (fragS *frag) in eh_frame_convert_frag() argument
520 loc4_frag = (fragS *) frag->fr_opcode; in eh_frame_convert_frag()
521 loc4_fix = (int) frag->fr_offset; in eh_frame_convert_frag()
[all …]
Dfrags.c415 const fragS *frag; in frag_offset_fixed_p() local
428 frag = frag1; in frag_offset_fixed_p()
429 while (frag->fr_type == rs_fill) in frag_offset_fixed_p()
431 off += frag->fr_fix + frag->fr_offset * frag->fr_var; in frag_offset_fixed_p()
432 frag = frag->fr_next; in frag_offset_fixed_p()
433 if (frag == NULL) in frag_offset_fixed_p()
435 if (frag == frag2) in frag_offset_fixed_p()
444 frag = frag2; in frag_offset_fixed_p()
445 while (frag->fr_type == rs_fill) in frag_offset_fixed_p()
447 off -= frag->fr_fix + frag->fr_offset * frag->fr_var; in frag_offset_fixed_p()
[all …]
Ddwarf2dbg.c1014 static struct frag *
1020 static struct frag *
1091 get_frag_fix (fragS *frag, segT seg) in get_frag_fix() argument
1095 if (frag->fr_next) in get_frag_fix()
1096 return frag->fr_fix; in get_frag_fix()
1102 if (fr->frch_last == frag) in get_frag_fix()
1103 return (char *) obstack_next_free (&fr->frch_obstack) - frag->fr_literal; in get_frag_fix()
1357 emit_fixed_inc_line_addr (int line_delta, addressT addr_delta, fragS *frag, in emit_fixed_inc_line_addr() argument
1377 pexp = symbol_get_value_expression (frag->fr_symbol); in emit_fixed_inc_line_addr()
1398 emit_expr_fix (&exp, sizeof_address, frag, p, TC_PARSE_CONS_RETURN_NONE); in emit_fixed_inc_line_addr()
[all …]
Dwrite.h174 extern int relax_segment (struct frag *, segT, int);
178 (fragS * frag, int where, int size, symbolS * add_symbol,
181 (fragS * frag, int size, symbolS * add_symbol,
184 (fragS * frag, int where, int size, expressionS *exp, int pcrel,
Dsubsegs.c277 fragS *frag; in seg_not_empty_p() local
284 for (frag = chain->frch_root; frag; frag = frag->fr_next) in seg_not_empty_p()
285 if (frag->fr_fix) in seg_not_empty_p()
Dsymbols.h49 fragS * frag);
51 fragS * frag);
53 valueT val, fragS *frag);
131 fragS *frag; member
Dlisting.c154 fragS *frag; member
414 new_i->frag = frag_now; in listing_newline()
467 listing_tail->frag = frag_now; in listing_prev_line()
771 fragS *frag; in calc_hex() local
776 frag = list->frag; in calc_hex()
777 while (frag && frag->line != list) in calc_hex()
778 frag = frag->fr_next; in calc_hex()
780 frag_ptr = frag; in calc_hex()
Dcgen.c250 gas_cgen_record_fixup (frag, where, insn, length, operand, opinfo, symbol, offset) in gas_cgen_record_fixup() argument
251 fragS * frag; in gas_cgen_record_fixup()
264 fixP = fix_new (frag, where, length / 8, symbol, offset,
291 gas_cgen_record_fixup_exp (frag, where, insn, length, operand, opinfo, exp) in gas_cgen_record_fixup_exp() argument
292 fragS * frag; in gas_cgen_record_fixup_exp()
304 fixP = fix_new_exp (frag, where, length / 8, exp,
640 result->frag = old_frag;
646 result->frag = frag_now;
Dsubsegs.h46 struct frag *frch_root; /* 1st struct frag in chain, or NULL */
47 struct frag *frch_last; /* last struct frag in chain, or NULL */
Dread.c623 fragS *frag = frag_now; in start_bundle() local
627 while (frag->fr_type != rs_align_code) in start_bundle()
628 frag = frag->fr_next; in start_bundle()
630 gas_assert (frag != frag_now); in start_bundle()
632 return frag; in start_bundle()
638 pending_bundle_size (fragS *frag) in pending_bundle_size() argument
640 unsigned int offset = frag->fr_fix; in pending_bundle_size()
643 gas_assert (frag != frag_now); in pending_bundle_size()
644 gas_assert (frag->fr_type == rs_align_code); in pending_bundle_size()
646 while (frag != frag_now) in pending_bundle_size()
[all …]
/toolchain/binutils/binutils-2.25/gas/config/
Dtc-msp430.c1546 char *frag; in try_encode_mova() local
1566 frag = frag_more (4); in try_encode_mova()
1567 where = frag - frag_now->fr_literal; in try_encode_mova()
1571 bfd_putl16 ((bfd_vma) bin, frag); in try_encode_mova()
1572 bfd_putl16 (op1->exp.X_add_number & 0xffff, frag + 2); in try_encode_mova()
1576 bfd_putl16 ((bfd_vma) bin, frag); in try_encode_mova()
1579 bfd_putl16 ((bfd_vma) ZEROS, frag + 2); in try_encode_mova()
1588 frag = frag_more (4); in try_encode_mova()
1589 where = frag - frag_now->fr_literal; in try_encode_mova()
1590 bfd_putl16 ((bfd_vma) bin, frag); in try_encode_mova()
[all …]
Dtc-sh.c768 sh_cons_fix_new (fragS *frag, int off, int size, expressionS *exp, in sh_cons_fix_new() argument
805 fix_new_exp (frag, off, size, exp, 0, r_type); in sh_cons_fix_new()
861 const fragS *frag; in align_test_frag_offset_fixed_p() local
874 frag = frag1; in align_test_frag_offset_fixed_p()
875 while (frag->fr_type == rs_fill in align_test_frag_offset_fixed_p()
876 || frag->fr_type == rs_align_test) in align_test_frag_offset_fixed_p()
878 if (frag->fr_type == rs_fill) in align_test_frag_offset_fixed_p()
879 off += frag->fr_fix + frag->fr_offset * frag->fr_var; in align_test_frag_offset_fixed_p()
881 off += frag->fr_fix; in align_test_frag_offset_fixed_p()
882 frag = frag->fr_next; in align_test_frag_offset_fixed_p()
[all …]
Dtc-tic54x.c255 frag_prev (fragS *frag, segT seg) in frag_prev() argument
261 if (fragp->fr_next == frag) in frag_prev()
268 bit_offset_frag (fragS *frag, segT seg) in bit_offset_frag() argument
270 while (frag != NULL) in bit_offset_frag()
272 if (frag->fr_fix == 0 in bit_offset_frag()
273 && frag->fr_opcode == NULL in bit_offset_frag()
274 && frag->tc_frag_data == 0) in bit_offset_frag()
275 frag = frag_prev (frag, seg); in bit_offset_frag()
277 return frag; in bit_offset_frag()
286 frag_bit_offset (fragS *frag, segT seg) in frag_bit_offset() argument
[all …]
Dtc-mn10300.c1016 mn10300_cons_fix_new (fragS *frag, int off, int size, expressionS *exp, in mn10300_cons_fix_new() argument
1073 fix_new_exp (frag, off, size, &fixup.exp, 0, fixup.reloc); in mn10300_cons_fix_new()
2559 fragS * frag; in mn10300_allow_local_subtract() local
2581 for (frag = left_frag; frag != NULL; frag = frag->fr_next) in mn10300_allow_local_subtract()
2583 if (frag->tc_frag_data) in mn10300_allow_local_subtract()
2585 if (frag == right_frag) in mn10300_allow_local_subtract()
2589 if (frag == NULL) in mn10300_allow_local_subtract()
2590 for (frag = right_frag; frag != NULL; frag = frag->fr_next) in mn10300_allow_local_subtract()
2592 if (frag->tc_frag_data) in mn10300_allow_local_subtract()
2594 if (frag == left_frag) in mn10300_allow_local_subtract()
[all …]
Dtc-rl78.c468 rl78_handle_align (fragS * frag) in rl78_handle_align() argument
471 && (frag->fr_type == rs_align in rl78_handle_align()
472 || frag->fr_type == rs_align_code) in rl78_handle_align()
473 && frag->fr_address + frag->fr_fix > 0 in rl78_handle_align()
474 && frag->fr_offset > 0 in rl78_handle_align()
477 fix_new (frag, frag->fr_fix, 0, in rl78_handle_align()
478 &abs_symbol, RL78_RELAXA_ALIGN + frag->fr_offset, in rl78_handle_align()
483 fix_new (frag->fr_next, 0, 0, in rl78_handle_align()
484 &abs_symbol, RL78_RELAXA_ELIGN + frag->fr_offset, in rl78_handle_align()
610 rl78_cons_fix_new (fragS * frag, in rl78_cons_fix_new() argument
[all …]
Dtc-mips.h27 struct frag;
53 extern int mips_relax_frag (asection *, struct frag *, long);
61 extern void mips_handle_align (struct frag *);
Dtc-rx.c1261 rx_handle_align (fragS * frag) in rx_handle_align() argument
1266 if ((frag->fr_type == rs_align in rx_handle_align()
1267 || frag->fr_type == rs_align_code) in rx_handle_align()
1270 int count = (frag->fr_next->fr_address in rx_handle_align()
1271 - frag->fr_address in rx_handle_align()
1272 - frag->fr_fix); in rx_handle_align()
1273 unsigned char *base = (unsigned char *)frag->fr_literal + frag->fr_fix; in rx_handle_align()
1281 frag->fr_var = 2; in rx_handle_align()
1286 frag->fr_var = count; in rx_handle_align()
1292 && (frag->fr_type == rs_align in rx_handle_align()
[all …]
Dtc-sparc.h24 struct frag;
76 extern void sparc_handle_align (struct frag *);
168 (struct frag *, int, unsigned int, struct expressionS *, const char *);
Dtc-arm.h93 extern unsigned int arm_frag_max_var (struct frag *);
98 extern int arm_relax_frag (asection *, struct frag *, long);
353 extern void arm_init_frag (struct frag *, int);
354 extern void arm_handle_align (struct frag *);
Dtc-v850.h72 #define HANDLE_ALIGN(frag) v850_handle_align (frag) argument
Dtc-m32c.c48 fragS * frag; member
391 fix_new (results.frag, in md_assemble()
392 results.addr - results.frag->fr_literal, in md_assemble()
608 target_address_for (fragS *frag) in target_address_for() argument
610 int rv = frag->fr_offset; in target_address_for()
611 symbolS *sym = frag->fr_symbol; in target_address_for()
1019 m32c_cons_fix_new (fragS * frag, in m32c_cons_fix_new() argument
1045 fix_new_exp (frag, where, (int) size, exp, 0, type); in m32c_cons_fix_new()
Dtc-tilepro.h43 extern void tilepro_handle_align (struct frag *);
54 extern void tilepro_cons_fix_new (struct frag *, int,
Dtc-tilegx.h43 extern void tilegx_handle_align (struct frag *);
54 extern void tilegx_cons_fix_new (struct frag *, int,
/toolchain/binutils/binutils-2.25/libiberty/
Dconfigure.ac204 frag=
207 frag=mh-aix ;;
208 *-*-cxux7*) frag=mh-cxux7 ;;
209 *-*-freebsd2.1.*) frag=mh-fbsd21 ;;
210 *-*-freebsd2.2.[[012]]) frag=mh-fbsd21 ;;
211 i370-*-opened*) frag=mh-openedition ;;
212 i[[34567]]86-*-windows*) frag=mh-windows ;;
215 if [[ -n "${frag}" ]]; then
216 frag=${libiberty_topdir}/libiberty/config/$frag
245 echo "# Warning: this fragment is automatically generated" > temp-frag
[all …]
/toolchain/binutils/binutils-2.25/gas/doc/
Dinternals.texi60 is called with @var{finalize_syms} set, the value is the offset from the frag
61 (@pxref{Frags}). Afterward, the frag address has been added in.
83 This points to the frag (@pxref{Frags}) that this symbol is attached to.
293 Set the frag where a symbol is defined.
297 Get the frag where a symbol is defined.
366 some frag.
397 represent symbols whose value is an offset within a frag.
462 take a frag (@pxref{Frags}), a position within the frag, a size, an indication
473 The frag (@pxref{Frags}) this fixup is in.
476 The location within the frag where the fixup occurs.
[all …]

123456