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. */
760 offset in the stack frame from which to restore the $gp register.
767 offset and even an other register than $gp as global pointer. */
977 fail to compute the offset before expanding the macro to the most
1066 /* Branch without likely bit. If label is out of range, we turn:
1068 beq reg1, reg2, label
1075 j label
1085 bltzal <-> bgezal (with jal label instead of j label)
1095 Branch likely. If label is out of range, we turn:
1097 beql reg1, reg2, label
1106 1: j[al] label
1115 j[al] label
1128 bltzall -> bgezal (with jal label instead of j label)
2023 symbolS *label;
2483 /* Move INSN to offset WHERE in FRAG. Adjust the fixups accordingly
2516 relax_substateT subtype, symbolS *symbol, offsetT offset)
2522 subtype, symbol, offset, NULL);
4446 gas_assert (S_GET_SEGMENT (l->label) == now_seg);
4447 symbol_set_frag (l->label, frag_now);
4452 val |= (S_GET_VALUE (l->label) & 0x1);
4453 S_SET_VALUE (l->label, val);
4487 /* Mark MIPS16 or microMIPS instruction label LABEL. This permits the
4496 mips_compressed_mark_label (symbolS *label)
4501 S_SET_OTHER (label, ELF_ST_SET_MIPS16 (S_GET_OTHER (label)));
4503 S_SET_OTHER (label, ELF_ST_SET_MICROMIPS (S_GET_OTHER (label)));
4504 if ((S_GET_VALUE (label) & 1) == 0
4505 /* Don't adjust the address if the label is global or weak, or
4509 && !S_IS_WEAK (label)
4510 && !S_IS_EXTERNAL (label)
4511 && !s_is_linkonce (label, now_seg))
4512 S_SET_VALUE (label, S_GET_VALUE (label) | 1);
4523 mips_compressed_mark_label (l->label);
4974 expression, assume we have an elided offset. The later match will fail
6106 expressionS *offset, int length, bool using_gprs)
6146 offset->X_op = O_absent;
6175 offset->X_op = O_constant;
6179 offset->X_add_number = bfd_getl32 (data);
6184 offset->X_add_number = bfd_getb32 (data + 4);
6186 if (offset->X_add_number == 0)
6187 offset->X_op = O_absent;
6196 offset->X_op = O_absent;
6230 offset->X_op = O_symbol;
6231 offset->X_add_symbol = symbol_temp_new_now ();
6232 offset->X_add_number = 0;
6643 /* Immediate offset, if any, for this store instruction. */
6669 /* The instruction must have a known offset. */
6962 /* If is an local label and the insn is not sync,
6966 && S_IS_LOCAL (seg_info (now_seg)->label_list->label)
6974 label_name = S_GET_NAME (seg_info (now_seg)->label_list->label);
6977 label_value = S_GET_VALUE (llist->label);
6984 if (S_GET_VALUE (llist->label) == label_value)
6985 label_names[i] = S_GET_NAME (llist->label);
7052 if (history[j].label[0] != '\0'
7053 && streq (history[j].label, history[i].target)
7126 We cheat on this; all we check for is whether there is a label on
7128 a label, users must use .set noreorder. */
7234 /* Can only calculate branch offset if value is known. */
7393 /* For microMIPS macros, we need to generate a local number label
7578 ip->label[0] = '\0';
7580 strncpy (ip->label, S_GET_NAME (seg_info (now_seg)->label_list->label), 15);
7878 offsetT offset;
7900 offset = address_expr->X_add_number;
7906 offset = 0;
7918 symbol, offset);
8182 /* We need to emit a label at the end of branch-likely macros. */
8189 /* We just output an insn, so the next one doesn't have a label. */
8193 /* Forget that there was any previous instruction or label.
8479 /* Assume that the offset has been elided and that what
9420 offset off of a base register (breg) into/from a target register (treg),
9438 /* Signed 16-bit offset will fit in the op. Easy! */
9443 /* 32-bit offset, need multiple instructions and AT, like:
9447 to handle the complete offset. */
9907 offset, in which case cst must be added separately. */
9918 as_bad (_("PIC code offset overflow (max 16 signed bits)"));
9946 as_bad (_("PIC code offset overflow (max 16 signed bits)"));
9984 as_bad (_("PIC code offset overflow (max 16 signed bits)"));
10029 as_bad (_("PIC code offset overflow (max 16 signed bits)"));
10069 emits the second for a 16-bit offset or add_got_offset_hilo emits
10070 a sequence to add a 32-bit offset using a scratch register. */
10181 /* Set to true so that append_insn adds a label. */
10328 part of VALUE accessible using an offset of OFFBITS bits. */
10344 fits into a signed offset of OFFBITS bits. RANGE is the maximum
11199 as_bad (_("offset too large"));
11287 current AT (from the global offset table) and the
11352 current AT (from the global offset table) and the
11373 as_bad (_("PIC code offset overflow (max 32 signed bits)"));
11493 current AT (from the global offset table) and the
11631 current AT (from the global offset table) and the
11651 as_bad (_("PIC code offset overflow (max 32 signed bits)"));
12471 /* The offset field is too narrow to be used for a low-part
12681 as_bad (_("PIC code offset overflow (max 16 signed bits)"));
12720 as_bad (_("PIC code offset overflow (max 16 signed bits)"));
12759 as_bad (_("PIC code offset overflow (max 16 signed bits)"));
13217 as_bad (_("PIC code offset overflow (max 16 signed bits)"));
13269 as_bad (_("PIC code offset overflow (max 16 signed bits)"));
15530 (b) the offset applied in the %lo() expression is no lower than
15531 the offset applied in the %got() or %hi().
15693 to hold an arbitrary absolute section's offset. */
16221 _("PC-relative access using misaligned offset (%lx)"),
16282 /* The branch offset is too large. If this is an
16367 The MIPS assembler also automatically adjusts any preceding label.
16370 one label. However, other label adjustments are applied to batches
16397 /* o Note that the assembler pulls down any immediately preceding label
16559 incorrectly label the sections as SHT_PROGBITS. The best compromise
17134 .cpsetup $reg1, offset|$reg2, label
17136 If offset is given, this results in:
17137 sd $gp, offset($sp)
17138 lui $gp, %hi(%neg(%gp_rel(label)))
17139 addiu $gp, $gp, %lo(%neg(%gp_rel(label)))
17144 lui $gp, %hi(%neg(%gp_rel(label)))
17145 addiu $gp, $gp, %lo(%neg(%gp_rel(label)))
17286 offset from $sp. The offset is remembered, and after making a PIC
17331 /* Handle the .cpreturn pseudo-op defined for NewABI PIC code. If an offset
17333 ld $gp, offset($sp)
17442 code. It sets the offset to use in gp_rel relocations. */
17536 /* GPREL32 composed with 64 gives a 64-bit GP offset. */
17656 now whether the preceding label marks compressed code. We do not
17657 support changing the compression mode of a label after a .stab*
17927 for a text label. */
18176 for a text label. */
18212 /* If label is out of range, we turn branch <br>:
18214 <br> label # 4 bytes
18219 j label # 4 bytes
18229 j label # 4 bytes
18233 lw/ld at, %got(label)(gp) # 4 bytes
18234 d/addiu at, %lo(label) # 4 bytes
18284 for a text label. */
18398 is then identified by the section offset rather than by the symbol.
18400 However, if we're generating REL LO16 relocations, the offset is split
18402 need to recalculate the complete offset in order to correctly identify
18416 /* There is no place to store an in-place offset for JALR relocations. */
18420 /* Likewise an in-range offset of limited PC-relative relocations may
18518 /* At this point, fx_addnumber is "symbol offset - pcrel address".
18519 Relocations want only the symbol offset. */
18543 entry to be used in the relocation's section offset. */
18737 full jump (not likely case). Compute the offset from the
18763 /* Compute the PC offset from the current instruction to
19004 /* Make a label at the end for use with the branch. */
19421 /* This function is called whenever a label is defined, including fake
19423 handling branch delays; if a branch has a label, we assume we cannot
19441 l->label = sym;
19446 /* This function is called as tc_frob_label() whenever a label is defined