Lines Matching refs:frag
252 /* Walk backwards in the frag chain. */
255 frag_prev (fragS *frag, segT seg)
261 if (fragp->fr_next == frag)
268 bit_offset_frag (fragS *frag, segT seg)
270 while (frag != NULL)
272 if (frag->fr_fix == 0
273 && frag->fr_opcode == NULL
274 && frag->tc_frag_data == 0)
275 frag = frag_prev (frag, seg);
277 return frag;
286 frag_bit_offset (fragS *frag, segT seg)
288 frag = bit_offset_frag (frag, seg);
290 if (frag)
291 return frag->fr_opcode != NULL ? -1 : frag->tc_frag_data;
5124 tic54x_cons_fix_new (fragS *frag, int where, int octets, expressionS *expn,
5146 fix_new_exp (frag, where, octets, expn, 0, r);
5233 tic54x_estimate_size_before_relax (fragS *frag ATTRIBUTE_UNUSED,
5243 tic54x_relax_frag (fragS *frag, long stretch ATTRIBUTE_UNUSED)
5245 symbolS *sym = frag->fr_symbol;
5251 struct bit_info *bi = (struct bit_info *) frag->fr_opcode;
5252 int bit_offset = frag_bit_offset (frag_prev (frag, bi->seg), bi->seg);
5254 fragS *prev_frag = bit_offset_frag (frag_prev (frag, bi->seg), bi->seg);
5260 as_bad_where (frag->fr_file, frag->fr_line,
5269 frag->tc_frag_data = frag->fr_fix = 0;
5288 /* This frag is no longer used. */
5289 growth = -frag->fr_fix;
5290 frag->fr_fix = 0;
5291 frag->tc_frag_data = 0;
5295 char *p = frag->fr_literal;
5299 if ((frag->tc_frag_data = size) == 16)
5300 frag->tc_frag_data = 0;
5314 /* This frag is no longer used. */
5315 growth = -frag->fr_fix;
5316 frag->fr_fix = 0;
5317 frag->tc_frag_data = 0;
5324 growth = (size + 15) / 16 * OCTETS_PER_BYTE - frag->fr_fix;
5326 frag->fr_literal[i] = 0;
5327 frag->fr_fix = growth;
5328 frag->tc_frag_data = size % 16;
5331 S_SET_VALUE (bi->sym, frag->fr_fix / OCTETS_PER_BYTE - 1);
5334 frag->fr_symbol = 0;
5335 frag->fr_opcode = 0;
5344 fragS *frag)
5347 frag->fr_offset = (frag->fr_next->fr_address
5348 - frag->fr_address
5349 - frag->fr_fix) / frag->fr_var;
5350 if (frag->fr_offset < 0)
5352 as_bad_where (frag->fr_file, frag->fr_line,
5354 (long) frag->fr_offset);
5356 frag->fr_type = rs_space;