Lines Matching refs:action

3577    valid.  If the do_it parameter is non-zero, then perform the action
3721 valid. If the do_it parameter is non-zero, then the action should
4559 "ta_remove_literal" remove a literal; this action is
4562 "ta_add_literal" insert a new literal; this action is
4569 removed by performing the text action. In the case of a "ta_widen"
4590 /* Structure for a text action record. */
4593 text_action_t action;
4623 /* When the action is another fill at the same address,
4625 if (t->offset == offset && t->action == ta_fill)
4646 BFD_ASSERT (ta == NULL || ta->action == ta_fill);
4675 /* Add a modification action to the text. For the case of adding or
4682 text_action_t action,
4691 if (action == ta_fill && sec->size == offset)
4695 if (action == ta_fill && removed == 0)
4701 /* When the action is another fill at the same address,
4703 if (t->offset == offset && t->action == ta_fill && action == ta_fill)
4712 ta->action = action;
4723 text_action_t action,
4734 BFD_ASSERT (action == ta_add_literal);
4746 ta->action = action;
4766 || (r->action == ta_fill && r->removed_bytes < 0))
4811 switch (t->action)
4844 switch (r->action)
5374 text_action_t action;
5377 bfd_boolean do_action; /* If false, then we will not perform the action. */
5407 /* Action alignments -- one for each proposed action. */
5633 text_action_t action,
5660 act->action = action;
6624 /* Add an instruction narrow action. */
6634 /* Add an instruction widen action. */
6709 proposed_action *action = NULL;
6716 action = &ebb_table->actions[i];
6717 if (action->action == ta_convert_longcall)
6719 if (action->action == ta_narrow_insn)
6721 if (action->action == ta_widen_insn)
6723 if (action->action == ta_fill)
6725 if (action->align_type == EBB_REQUIRE_LOOP_ALIGN)
6727 if (action->align_type == EBB_REQUIRE_TGT_ALIGN
6737 && action->align_type != EBB_REQUIRE_LOOP_ALIGN
6738 && action->align_type != EBB_REQUIRE_TGT_ALIGN)
6779 action = &ebb_table->actions[i];
6780 switch (action->action)
6785 action->action = ta_remove_longcall;
6786 action->do_action = TRUE;
6787 action->removed_bytes += 3;
6794 action->do_action = TRUE;
6795 action->removed_bytes += 1;
6802 action->do_action = TRUE;
6803 action->removed_bytes -= 1;
6822 proposed_action *action = &ebb_table->actions[i];
6824 if (action->do_action && action->action == ta_convert_longcall)
6854 if (new_action->action == ta_narrow_insn
6864 if (new_action->action == ta_widen_insn
6877 action->removed_bytes += 3;
6878 action->action = ta_remove_longcall;
6879 action->do_action = TRUE;
6883 if (action->do_action)
6884 removed_bytes += action->removed_bytes;
6891 proposed_action *action = &ebb_table->actions[i];
6892 if (action->do_action)
6893 removed_bytes += action->removed_bytes;
6899 proposed_action *action;
6904 action = &ebb_table->actions[ebb_table->action_count - 1];
6905 BFD_ASSERT (action->action == ta_fill);
6909 br = action->removed_bytes + removed_bytes + extra_space;
6912 action->removed_bytes = extra_space - br;
6983 action list. */
7018 switch (r->action)
7147 proposed_action *action = &constraint->actions[j];
7148 bfd_vma offset = action->offset;
7149 int removed_bytes = action->removed_bytes;
7151 || (offset == orig_self_offset && action->action == ta_fill
7152 && action->removed_bytes < 0))
7155 || (offset == orig_target_offset && action->action == ta_fill
7156 && action->removed_bytes < 0))
7213 const proposed_action *action = &constraint->actions[i];
7214 if (action->do_action)
7215 removed += action->removed_bytes;
7233 proposed_action *action = &ebb_table->actions[i];
7235 if (!action->do_action)
7237 switch (action->action)
7246 text_action_add (l, action->action, sec, action->offset,
7247 action->removed_bytes);
8042 text_action *action =
8045 if (action && (action->action == ta_convert_longcall
8046 || action->action == ta_remove_longcall))
8060 /* Update the action so that the code that moves
8062 if (action->action == ta_remove_longcall)
8063 action->action = ta_remove_insn;
8065 action->action = ta_none;
8196 text_action *action = relax_info->action_list.head;
8199 for (action = relax_info->action_list.head; action;
8200 action = action->next)
8202 final_size -= action->removed_bytes;
8213 for (action = relax_info->action_list.head; action;
8214 action = action->next)
8217 if (action->offset > orig_dot)
8225 if (action->offset > orig_dot)
8227 copy_size = action->offset - orig_dot;
8231 BFD_ASSERT (action->offset == orig_dot);
8233 else if (action->offset < orig_dot)
8235 if (action->action == ta_fill
8236 && action->offset - action->removed_bytes == orig_dot)
8240 else if (action->action == ta_add_literal)
8245 if (action->offset == orig_dot)
8247 if (action->virtual_offset > orig_dot_vo)
8252 copy_size = action->virtual_offset - orig_dot_vo;
8261 BFD_ASSERT (action->virtual_offset <= orig_dot_vo);
8263 switch (action->action)
8267 BFD_ASSERT (action->removed_bytes >= 0);
8268 orig_dot += action->removed_bytes;
8275 BFD_ASSERT (action->removed_bytes == 1);
8284 if (action->removed_bytes >= 0)
8285 orig_dot += action->removed_bytes;
8290 dup_dot += (-action->removed_bytes);
8295 BFD_ASSERT (action->removed_bytes == 0);
8308 BFD_ASSERT (action->removed_bytes == -1);
8319 BFD_ASSERT (action->removed_bytes == -4);
8327 relax_info, &internal_relocs, &action->value))
8343 size -= action->removed_bytes;
8344 removed += action->removed_bytes;