Home | History | Annotate | Download | only in gas

Lines Matching refs:frag

43 /* Initialization for frag routines.  */
73 /* Allocate a frag on the specified obstack.
74 Call this routine every time a new frag is made, so that the
87 the frag (via obstack_finish adjusting obstack next_free
88 pointer), making it seem like the frag already has contents in
98 /* Try to augment current frag by nchars chars.
99 If there is no room, close off the current frag with a ".fill 0"
100 and begin a new frag. Then loop until the new frag has at least
122 as_fatal (ngettext ("can't extend frag %lu char",
123 "can't extend frag %lu chars",
135 /* Not enough room in this frag. Close it and start a new one.
136 This must be done in a loop because the created frag may not
148 /* Call this to close off a completed frag, and start up a new (empty)
149 frag, in the same subsegment as the old frag.
153 characters at the end of the old frag belong to the maximal
155 It doesn't actually set up the old frag's fr_var. You may have
156 set fr_var == 1, but allocated 10 chars to the end of the frag;
159 size of the variable part of the frag; None of the generic frag
162 Make a new frag, initialising some components. Link new frag at end
168 variable_length part of frag. */)
175 /* Fix up old frag's fr_fix. */
194 IMMEDIATELY after the struct frag, even if they are not starting
209 /* Start a new frag unless we have n more chars of room in the current frag.
210 Close off the old frag with a .fill 0.
228 /* Close the current frag, setting its fields for a relaxable frag. Start a
229 new frag. */
255 /* Start a new frag unless we have max_chars more chars of room in the
256 current frag. Close off the old frag with a .fill 0.
258 Set up a machine_dependent relaxable frag, then start a new frag.
259 Return the address of the 1st char of the var part of the old frag
295 /* Reduce the variable end of a frag to a harmless state. */
306 /* Return the number of bytes by which the current frag can be grown. */
315 /* Make an alignment frag. The size of this frag will be adjusted to
316 force the next frag to have the appropriate alignment. ALIGNMENT
344 /* Make an alignment frag like frag_align, but fill with a repeating
419 not already accounted for in the frag FR_ADDRESS. */
424 const fragS *frag;
428 Prior to assigning frag addresses this will be zero. */
437 frag = frag1;
438 while (frag->fr_type == rs_fill)
440 off += frag->fr_fix + frag->fr_offset * frag->fr_var;
441 frag = frag->fr_next;
442 if (frag == NULL)
444 if (frag == frag2)
453 frag = frag2;
454 while (frag->fr_type == rs_fill)
456 off -= frag->fr_fix + frag->fr_offset * frag->fr_var;
457 frag = frag->fr_next;
458 if (frag == NULL)
460 if (frag == frag1)
472 the difference in address not already accounted for in the frag
479 const fragS *frag;
483 Prior to assigning frag addresses this will be zero. */
491 frag = frag1;
492 while (frag->fr_type == rs_fill
493 || frag->fr_type == rs_align
494 || frag->fr_type == rs_align_code
495 || frag->fr_type == rs_align_test)
497 if (frag->fr_type == rs_fill)
498 off += frag->fr_fix + frag->fr_offset * frag->fr_var;
499 frag = frag->fr_next;
500 if (frag == NULL)
502 if (frag == frag2)
520 They are known to be in the same segment, and not the same frag
535 /* If the first symbol offset is at the end of the first frag and
536 the second symbol offset at the beginning of the second frag then
538 non-zero fr_fix in any frag between these frags. If found then
539 we can say the O_gt result will be true. If no such frag is
544 const fragS *frag = frag1;
548 delta += frag->fr_fix;
549 frag = frag->fr_next;
550 if (frag == frag2)
556 /* If we run off the end of the frag chain then we have a case
559 if (frag == NULL)