Home | History | Annotate | Download | only in gas

Lines Matching refs:frag

43 /* Initialization for frag routines.  */
73 /* Allocate a frag on the specified obstack.
94 /* Try to augment current frag by nchars chars.
95 If there is no room, close off the current frag with a ".fill 0"
96 and begin a new frag. Then loop until the new frag has at least
118 as_fatal (ngettext ("can't extend frag %lu char",
119 "can't extend frag %lu chars",
131 /* Not enough room in this frag. Close it and start a new one.
132 This must be done in a loop because the created frag may not
144 /* Call this to close off a completed frag, and start up a new (empty)
145 frag, in the same subsegment as the old frag.
149 characters at the end of the old frag belong to the maximal
151 It doesn't actually set up the old frag's fr_var. You may have
152 set fr_var == 1, but allocated 10 chars to the end of the frag;
155 size of the variable part of the frag; None of the generic frag
158 Make a new frag, initialising some components. Link new frag at end
164 variable_length part of frag. */)
171 /* Fix up old frag's fr_fix. */
193 IMMEDIATELY after the struct frag, even if they are not starting
208 /* Start a new frag unless we have n more chars of room in the current frag.
209 Close off the old frag with a .fill 0.
227 /* Close the current frag, setting its fields for a relaxable frag. Start a
228 new frag. */
254 /* Start a new frag unless we have max_chars more chars of room in the
255 current frag. Close off the old frag with a .fill 0.
257 Set up a machine_dependent relaxable frag, then start a new frag.
258 Return the address of the 1st char of the var part of the old frag
294 /* Reduce the variable end of a frag to a harmless state. */
305 /* Return the number of bytes by which the current frag can be grown. */
314 /* Make an alignment frag. The size of this frag will be adjusted to
315 force the next frag to have the appropriate alignment. ALIGNMENT
343 /* Make an alignment frag like frag_align, but fill with a repeating
418 not already accounted for in the frag FR_ADDRESS. */
423 const fragS *frag;
427 Prior to assigning frag addresses this will be zero. */
436 frag = frag1;
437 while (frag->fr_type == rs_fill)
439 off += frag->fr_fix + frag->fr_offset * frag->fr_var;
440 frag = frag->fr_next;
441 if (frag == NULL)
443 if (frag == frag2)
452 frag = frag2;
453 while (frag->fr_type == rs_fill)
455 off -= frag->fr_fix + frag->fr_offset * frag->fr_var;
456 frag = frag->fr_next;
457 if (frag == NULL)
459 if (frag == frag1)
471 the difference in address not already accounted for in the frag
478 const fragS *frag;
482 Prior to assigning frag addresses this will be zero. */
490 frag = frag1;
491 while (frag->fr_type == rs_fill
492 || frag->fr_type == rs_align
493 || frag->fr_type == rs_align_code
494 || frag->fr_type == rs_align_test)
496 if (frag->fr_type == rs_fill)
497 off += frag->fr_fix + frag->fr_offset * frag->fr_var;
498 frag = frag->fr_next;
499 if (frag == NULL)
501 if (frag == frag2)
519 They are known to be in the same segment, and not the same frag
534 /* If the first symbol offset is at the end of the first frag and
535 the second symbol offset at the beginning of the second frag then
537 non-zero fr_fix in any frag between these frags. If found then
538 we can say the O_gt result will be true. If no such frag is
543 const fragS *frag = frag1;
547 delta += frag->fr_fix;
548 frag = frag->fr_next;
549 if (frag == frag2)
555 /* If we run off the end of the frag chain then we have a case
558 if (frag == NULL)