Lines Matching +defs:label +defs:offset
146 /* The name if this is an label. */
147 char label[16];
149 /* The target label name if this is an branch. */
155 /* The offset into FRAG of the first instruction byte. */
763 offset in the stack frame from which to restore the $gp register.
770 offset and even an other register than $gp as global pointer. */
980 fail to compute the offset before expanding the macro to the most
1069 /* Branch without likely bit. If label is out of range, we turn:
1071 beq reg1, reg2, label
1078 j label
1088 bltzal <-> bgezal (with jal label instead of j label)
1098 Branch likely. If label is out of range, we turn:
1100 beql reg1, reg2, label
1109 1: j[al] label
1118 j[al] label
1131 bltzall -> bgezal (with jal label instead of j label)
2026 symbolS *label;
2486 /* Move INSN to offset WHERE in FRAG. Adjust the fixups accordingly
2519 relax_substateT subtype, symbolS *symbol, offsetT offset)
2525 subtype, symbol, offset, NULL);
4449 gas_assert (S_GET_SEGMENT (l->label) == now_seg);
4450 symbol_set_frag (l->label, frag_now);
4455 val |= (S_GET_VALUE (l->label) & 0x1);
4456 S_SET_VALUE (l->label, val);
4490 /* Mark MIPS16 or microMIPS instruction label LABEL. This permits the
4499 mips_compressed_mark_label (symbolS *label)
4504 S_SET_OTHER (label, ELF_ST_SET_MIPS16 (S_GET_OTHER (label)));
4506 S_SET_OTHER (label, ELF_ST_SET_MICROMIPS (S_GET_OTHER (label)));
4507 if ((S_GET_VALUE (label) & 1) == 0
4508 /* Don't adjust the address if the label is global or weak, or
4512 && !S_IS_WEAK (label)
4513 && !S_IS_EXTERNAL (label)
4514 && !s_is_linkonce (label, now_seg))
4515 S_SET_VALUE (label, S_GET_VALUE (label) | 1);
4526 mips_compressed_mark_label (l->label);
4977 expression, assume we have an elided offset. The later match will fail
6109 expressionS *offset, int length, bool using_gprs)
6149 offset->X_op = O_absent;
6178 offset->X_op = O_constant;
6182 offset->X_add_number = bfd_getl32 (data);
6187 offset->X_add_number = bfd_getb32 (data + 4);
6189 if (offset->X_add_number == 0)
6190 offset->X_op = O_absent;
6199 offset->X_op = O_absent;
6233 offset->X_op = O_symbol;
6234 offset->X_add_symbol = symbol_temp_new_now ();
6235 offset->X_add_number = 0;
6646 /* Immediate offset, if any, for this store instruction. */
6672 /* The instruction must have a known offset. */
6965 /* If is an local label and the insn is not sync,
6969 && S_IS_LOCAL (seg_info (now_seg)->label_list->label)
6977 label_name = S_GET_NAME (seg_info (now_seg)->label_list->label);
6980 label_value = S_GET_VALUE (llist->label);
6987 if (S_GET_VALUE (llist->label) == label_value)
6988 label_names[i] = S_GET_NAME (llist->label);
7051 if (history[j].label[0] != '\0'
7052 && streq (history[j].label, history[i].target)
7125 We cheat on this; all we check for is whether there is a label on
7127 a label, users must use .set noreorder. */
7233 /* Can only calculate branch offset if value is known. */
7392 /* For microMIPS macros, we need to generate a local number label
7577 ip->label[0] = '\0';
7579 strncpy (ip->label, S_GET_NAME (seg_info (now_seg)->label_list->label), 15);
7877 offsetT offset;
7899 offset = address_expr->X_add_number;
7905 offset = 0;
7917 symbol, offset);
8181 /* We need to emit a label at the end of branch-likely macros. */
8188 /* We just output an insn, so the next one doesn't have a label. */
8192 /* Forget that there was any previous instruction or label.
8478 /* Assume that the offset has been elided and that what
9419 offset off of a base register (breg) into/from a target register (treg),
9437 /* Signed 16-bit offset will fit in the op. Easy! */
9442 /* 32-bit offset, need multiple instructions and AT, like:
9446 to handle the complete offset. */
9904 offset, in which case cst must be added separately. */
9915 as_bad (_("PIC code offset overflow (max 16 signed bits)"));
9943 as_bad (_("PIC code offset overflow (max 16 signed bits)"));
9981 as_bad (_("PIC code offset overflow (max 16 signed bits)"));
10026 as_bad (_("PIC code offset overflow (max 16 signed bits)"));
10066 emits the second for a 16-bit offset or add_got_offset_hilo emits
10067 a sequence to add a 32-bit offset using a scratch register. */
10178 /* Set to true so that append_insn adds a label. */
10325 part of VALUE accessible using an offset of OFFBITS bits. */
10341 fits into a signed offset of OFFBITS bits. RANGE is the maximum
11196 as_bad (_("offset too large"));
11284 current AT (from the global offset table) and the
11349 current AT (from the global offset table) and the
11370 as_bad (_("PIC code offset overflow (max 32 signed bits)"));
11490 current AT (from the global offset table) and the
11628 current AT (from the global offset table) and the
11648 as_bad (_("PIC code offset overflow (max 32 signed bits)"));
12466 /* The offset field is too narrow to be used for a low-part
12676 as_bad (_("PIC code offset overflow (max 16 signed bits)"));
12715 as_bad (_("PIC code offset overflow (max 16 signed bits)"));
12754 as_bad (_("PIC code offset overflow (max 16 signed bits)"));
13210 as_bad (_("PIC code offset overflow (max 16 signed bits)"));
13262 as_bad (_("PIC code offset overflow (max 16 signed bits)"));
15524 (b) the offset applied in the %lo() expression is no lower than
15525 the offset applied in the %got() or %hi().
15686 to hold an arbitrary absolute section's offset. */
16214 _("PC-relative access using misaligned offset (%lx)"),
16275 /* The branch offset is too large. If this is an
16360 The MIPS assembler also automatically adjusts any preceding label.
16363 one label. However, other label adjustments are applied to batches
16392 /* o Note that the assembler pulls down any immediately preceding label
16557 incorrectly label the sections as SHT_PROGBITS. The best compromise
17132 .cpsetup $reg1, offset|$reg2, label
17134 If offset is given, this results in:
17135 sd $gp, offset($sp)
17136 lui $gp, %hi(%neg(%gp_rel(label)))
17137 addiu $gp, $gp, %lo(%neg(%gp_rel(label)))
17142 lui $gp, %hi(%neg(%gp_rel(label)))
17143 addiu $gp, $gp, %lo(%neg(%gp_rel(label)))
17284 offset from $sp. The offset is remembered, and after making a PIC
17329 /* Handle the .cpreturn pseudo-op defined for NewABI PIC code. If an offset
17331 ld $gp, offset($sp)
17440 code. It sets the offset to use in gp_rel relocations. */
17534 /* GPREL32 composed with 64 gives a 64-bit GP offset. */
17654 now whether the preceding label marks compressed code. We do not
17655 support changing the compression mode of a label after a .stab*
17928 for a text label. */
18177 for a text label. */
18213 /* If label is out of range, we turn branch <br>:
18215 <br> label # 4 bytes
18220 j label # 4 bytes
18230 j label # 4 bytes
18234 lw/ld at, %got(label)(gp) # 4 bytes
18235 d/addiu at, %lo(label) # 4 bytes
18285 for a text label. */
18399 is then identified by the section offset rather than by the symbol.
18401 However, if we're generating REL LO16 relocations, the offset is split
18403 need to recalculate the complete offset in order to correctly identify
18417 /* There is no place to store an in-place offset for JALR relocations. */
18421 /* Likewise an in-range offset of limited PC-relative relocations may
18519 /* At this point, fx_addnumber is "symbol offset - pcrel address".
18520 Relocations want only the symbol offset. */
18544 entry to be used in the relocation's section offset. */
18738 full jump (not likely case). Compute the offset from the
18764 /* Compute the PC offset from the current instruction to
19005 /* Make a label at the end for use with the branch. */
19422 /* This function is called whenever a label is defined, including fake
19424 handling branch delays; if a branch has a label, we assume we cannot
19442 l->label = sym;
19447 /* This function is called as tc_frob_label() whenever a label is defined