Lines Matching +defs:label +defs:offset
135 /* Lists of symbols. We keep a list of symbols that label the current
286 bfd_vma offset;
348 #define O_pcrel O_md4 /* value is a PC-relative offset */
493 static fixS *xg_append_jump (fragS *fragP, symbolS *sym, offsetT offset);
1096 /* Functions related to the list of current label symbols. */
1545 /* Support .literal label, expr, ... */
3638 /* Literal with no ops is a label? */
3750 offsetT pc_offset, /* offset in fragment */
4327 offsetT offset)
4392 the_fix = fix_new_exp (fragP, offset, fmt_length, exp,
4407 offsetT offset,
4426 if (!xg_add_opcode_fix (tinsn, opnum, fmt, slot, exp, fragP, offset))
4901 /* Return the number of bytes for the offset of the expanded loop
5387 /* Since the label was already attached to a frag associated with the
5431 /* If the label is already known to be a branch target, i.e., a
5496 separates a function label from its entry instruction, ending up
5497 with the literal position between the function label and the entry
7043 char *label = XNEWVEC (char, strlen (FAKE_LABEL_NAME) + 12);
7044 sprintf (label, "%s_rl_%x", FAKE_LABEL_NAME, relaxed_sym_idx++);
7045 colon (label);
7047 label_sym = symbol_find_or_make (label);
7049 free (label);
7254 frag_now->tc_frag_data.slot_offsets[slot] = tinsn->offset;
7270 if (tinsn->subtype || tinsn->symbol || tinsn->offset
7423 addressT offset;
7426 /* Trampoline chain for a given (sym, offset) pair is a sorted array
7428 as pairs (sym, offset): trampoline frag symbol and offset of the jump
7460 /* Known trampoline chains ordered by (sym, offset) pair */
7642 if (pa->offset != pb->offset)
7643 return pa->offset < pb->offset ? -1 : 1;
7669 if (S_GET_VALUE(e->sym) + e->offset <= source)
7684 addressT target = S_GET_VALUE(tc->target.sym) + tc->target.offset;
7692 S_GET_VALUE(e->sym) + e->offset <= source &&
7700 chained_target = S_GET_VALUE(next->sym) + next->offset;
7710 chained_target = S_GET_VALUE(e->sym) + e->offset;
7742 if (pa->offset != pb->offset)
7743 return pa->offset < pb->offset ? -1 : 1;
7750 addressT offset)
7765 c.target.offset = offset;
7772 to the *sym + *offset. If found, replace *sym and *offset with the
7777 addressT *offset)
7779 struct trampoline_chain *tc = xg_get_trampoline_chain (ts, *sym, *offset);
7786 *offset = e->offset;
7792 symbolS *sym, addressT offset)
7803 e->offset = offset;
7810 symbolS *sym, addressT offset)
7824 tc->target.offset = offset;
7828 xg_add_location_to_chain (tc, sym, offset);
8132 maximum offset is (4 - 2) + 63 = 65. */
8353 unsigned int offset = 0;
8368 (isa, insnbuf, (unsigned char *) &next_fragP->fr_literal[offset], 0);
8385 offset += xtensa_format_length (isa, fmt);
8386 if (offset == next_fragP->fr_fix)
8389 offset = 0;
8397 (isa, insnbuf, (unsigned char *) &next_fragP->fr_literal[offset], 0);
8418 loop end label, convert this frag to one that will generate a NOP.
8565 offsetT offset = 0;
8574 return offset;
8576 offset += unrelaxed_frag_min_size (current_fragP);
8578 if (offset >= max_size)
8640 1) the instruction size count to the loop end label
8647 3) the instruction size count to the loop end label is too short
8747 unsigned int offset = 0;
8756 while (offset < fragP->fr_fix)
8761 (isa, insnbuf, (unsigned char *) fragP->fr_literal + offset, 0);
8769 offset += xtensa_format_length (isa, fmt);
8800 unsigned int offset = 0;
8809 while (offset < fragP->fr_fix)
8815 (isa, insnbuf, (unsigned char *) fragP->fr_literal + offset, 0);
8823 get_opcode_from_buf (fragP->fr_literal + offset, slot);
8828 offset += xtensa_format_length (isa, fmt);
9335 could be at an offset from this fragment. */
10160 /* Append jump to sym + offset to the end of the trampoline frag fragP.
10164 static fixS *xg_append_jump (fragS *fragP, symbolS *sym, offsetT offset)
10176 set_expr_symbol_offset (&insn.tok[0], sym, offset);
10182 fixP = fix_new (fragP, fragP->fr_fix, 3, sym, offset, true,
10212 char label[10 + 2 * sizeof(fp)];
10214 sprintf (label, ".L0_TR_%p", fp);
10215 lsym = (symbolS *) local_symbol_make (label, now_seg, fp, 0);
10250 /* Assemble a jump to the target label in the trampoline frag. */
10426 addressT offset = fragP->tc_frag_data.slot_offsets[s];
10430 &offset);
10435 offset);
10436 fragP->tc_frag_data.slot_offsets[s] = offset;
10797 /* First, create the mapping from a label name to the REAL label. */
11134 char label[10 + 2 * sizeof (fragS *)];
11144 sprintf (label, ".L0_LT_%p", poolbeg);
11145 lsym = (symbolS *) local_symbol_make (label, lps->seg, poolend, 0);
11891 cur_block->offset,
11989 cur_block->offset,
12098 if ((*xt_block)->offset + (*xt_block)->size
12108 new_block->offset = fragP->fr_address;
12272 end_addr = xt_block->offset + xt_block->size;
12275 return end_addr - xt_block->offset;
12285 if (xt_block->offset + xt_block_aligned_size (xt_block)
12286 != xt_block_2->offset)
12349 tmp_block.offset = fragP->fr_address;
13088 tinsn->offset = exp->X_add_number;
13195 /* Set the expression to a symbol + constant offset. */
13198 set_expr_symbol_offset (expressionS *s, symbolS *sym, offsetT offset)
13203 s->X_add_number = offset;