Lines Matching refs:action

4461    the action in-place directly into the contents and return TRUE.  Otherwise,
4630 the action in-place directly into the contents and return TRUE. Otherwise,
5380 "ta_remove_literal" remove a literal; this action is
5383 "ta_add_literal" insert a new literal; this action is
5390 removed by performing the text action. In the case of a "ta_widen"
5411 /* Structure for a text action record. */
5414 text_action_t action;
5458 a.action = ta_fill;
5481 BFD_ASSERT (ta == NULL || ta->action == ta_fill);
5530 if (pa->action == pb->action)
5532 return action_priority[pa->action] - action_priority[pb->action];
5546 action_next (text_action_list *action_list, text_action *action)
5549 (splay_tree_key)action);
5553 /* Add a modification action to the text. For the case of adding or
5560 text_action_t action,
5569 if (action == ta_fill && sec->size == offset)
5573 if (action == ta_fill && removed == 0)
5576 a.action = action;
5579 if (action == ta_fill)
5594 ta->action = action;
5605 text_action_t action,
5615 BFD_ASSERT (action == ta_add_literal);
5619 ta->action = action;
5633 text_actions, beginning from a particular starting action. This is
5661 && (before_fill || r->action != ta_fill || r->removed_bytes >= 0))
5718 if (r->action != ta_fill || r->removed_bytes >= 0)
5801 static const text_action_t action[] =
5813 for (i = 0; i < sizeof (action) / sizeof (*action); ++i)
5817 a.action = action[i];
5832 switch (r->action)
6431 text_action_t action;
6434 bfd_boolean do_action; /* If false, then we will not perform the action. */
6464 /* Action alignments -- one for each proposed action. */
6692 text_action_t action,
6719 act->action = action;
7976 /* Add an instruction narrow action. */
7985 /* Add an instruction widen action. */
8061 proposed_action *action = NULL;
8068 action = &ebb_table->actions[i];
8069 if (action->action == ta_convert_longcall)
8071 if (action->action == ta_narrow_insn)
8073 if (action->action == ta_widen_insn)
8075 if (action->action == ta_fill)
8077 if (action->align_type == EBB_REQUIRE_LOOP_ALIGN)
8079 if (action->align_type == EBB_REQUIRE_TGT_ALIGN
8089 && action->align_type != EBB_REQUIRE_LOOP_ALIGN
8090 && action->align_type != EBB_REQUIRE_TGT_ALIGN)
8131 action = &ebb_table->actions[i];
8132 switch (action->action)
8137 action->action = ta_remove_longcall;
8138 action->do_action = TRUE;
8139 action->removed_bytes += 3;
8146 action->do_action = TRUE;
8147 action->removed_bytes += 1;
8154 action->do_action = TRUE;
8155 action->removed_bytes -= 1;
8174 proposed_action *action = &ebb_table->actions[i];
8176 if (action->do_action && action->action == ta_convert_longcall)
8206 if (new_action->action == ta_narrow_insn
8216 if (new_action->action == ta_widen_insn
8231 action->removed_bytes += 3;
8232 action->action = ta_remove_longcall;
8233 action->do_action = TRUE;
8237 if (action->do_action)
8238 removed_bytes += action->removed_bytes;
8245 proposed_action *action = &ebb_table->actions[i];
8246 if (action->do_action)
8247 removed_bytes += action->removed_bytes;
8253 proposed_action *action;
8258 action = &ebb_table->actions[ebb_table->action_count - 1];
8259 BFD_ASSERT (action->action == ta_fill);
8263 br = action->removed_bytes + removed_bytes + extra_space;
8266 action->removed_bytes = extra_space - br;
8345 switch (r->action)
8380 action list. */
8478 proposed_action *action = &constraint->actions[i];
8479 bfd_vma offset = action->offset;
8554 proposed_action *action = &constraint->actions[j];
8555 bfd_vma offset = action->offset;
8556 int removed_bytes = action->removed_bytes;
8558 || (offset == orig_self_offset && action->action == ta_fill
8559 && action->removed_bytes < 0))
8562 || (offset == orig_target_offset && action->action == ta_fill
8563 && action->removed_bytes < 0))
8629 const proposed_action *action = &constraint->actions[i];
8630 if (action->do_action)
8631 removed += action->removed_bytes;
8649 proposed_action *action = &ebb_table->actions[i];
8651 if (!action->do_action)
8653 switch (action->action)
8662 text_action_add (l, action->action, sec, action->offset,
8663 action->removed_bytes);
9388 text_action *action = (text_action *)node->value;
9390 *final_size -= action->removed_bytes;
9484 text_action *action =
9487 if (action && (action->action == ta_convert_longcall
9488 || action->action == ta_remove_longcall))
9502 /* Update the action so that the code that moves
9507 can be done w/o removing and reinserting action into
9510 if (action->action == ta_remove_longcall)
9511 action->action = ta_remove_insn;
9513 action->action = ta_none;
9698 text_action *action;
9712 for (action = action_first (&relax_info->action_list); action;
9713 action = action_next (&relax_info->action_list, action))
9716 if (action->offset > orig_dot)
9724 if (action->offset > orig_dot)
9726 copy_size = action->offset - orig_dot;
9730 BFD_ASSERT (action->offset == orig_dot);
9732 else if (action->offset < orig_dot)
9734 if (action->action == ta_fill
9735 && action->offset - action->removed_bytes == orig_dot)
9739 else if (action->action == ta_add_literal)
9744 if (action->offset == orig_dot)
9746 if (action->virtual_offset > orig_dot_vo)
9751 copy_size = action->virtual_offset - orig_dot_vo;
9760 BFD_ASSERT (action->virtual_offset <= orig_dot_vo);
9762 switch (action->action)
9766 BFD_ASSERT (action->removed_bytes >= 0);
9767 orig_dot += action->removed_bytes;
9774 BFD_ASSERT (action->removed_bytes == 1);
9783 if (action->removed_bytes >= 0)
9784 orig_dot += action->removed_bytes;
9789 dup_dot += (-action->removed_bytes);
9794 BFD_ASSERT (action->removed_bytes == 0);
9807 BFD_ASSERT (action->removed_bytes == -1);
9818 BFD_ASSERT (action->removed_bytes == -4);
9826 relax_info, &internal_relocs, &action->value))