summaryrefslogtreecommitdiff
path: root/src/arch/arm/v7/opdefs
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2015-04-25 21:35:19 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2015-04-25 21:35:19 (GMT)
commitee0ff01247738e847ae3faa44dcb5168d7b758ba (patch)
treee945f95a84a97237debf0b16ee11ed95d6862afb /src/arch/arm/v7/opdefs
parent2a1dd967d3b4e06f504431f9d3d613992095b2c3 (diff)
Registered suitable linkage hooks and defined right links between instructions.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@519 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/arch/arm/v7/opdefs')
-rw-r--r--src/arch/arm/v7/opdefs/bl_A8825.d4
-rw-r--r--src/arch/arm/v7/opdefs/cbnz_A8829.d2
2 files changed, 6 insertions, 0 deletions
diff --git a/src/arch/arm/v7/opdefs/bl_A8825.d b/src/arch/arm/v7/opdefs/bl_A8825.d
index 62ac8f9..ce4870c 100644
--- a/src/arch/arm/v7/opdefs/bl_A8825.d
+++ b/src/arch/arm/v7/opdefs/bl_A8825.d
@@ -40,6 +40,7 @@
@hooks {
fetch = help_fetching_with_instruction_bl_from_thumb
+ link = handle_call_as_link
post = post_process_branch_and_link_instructions
}
@@ -69,6 +70,7 @@
@hooks {
fetch = help_fetching_with_instruction_blx_from_thumb
+ link = handle_call_as_link
post = post_process_branch_and_link_instructions
}
@@ -96,6 +98,7 @@
@hooks {
fetch = help_fetching_with_instruction_bl_from_arm
+ link = handle_call_as_link
post = post_process_branch_and_link_instructions
}
@@ -123,6 +126,7 @@
@hooks {
fetch = help_fetching_with_instruction_blx_from_arm
+ link = handle_call_as_link
post = post_process_branch_and_link_instructions
}
diff --git a/src/arch/arm/v7/opdefs/cbnz_A8829.d b/src/arch/arm/v7/opdefs/cbnz_A8829.d
index d9815c1..f5f9602 100644
--- a/src/arch/arm/v7/opdefs/cbnz_A8829.d
+++ b/src/arch/arm/v7/opdefs/cbnz_A8829.d
@@ -39,6 +39,7 @@
@hooks {
fetch = help_fetching_with_instruction_cb_n_z
+ link = handle_comp_and_branch_if_true_as_link
post = post_process_comp_and_branch_instructions
}
@@ -61,6 +62,7 @@
@hooks {
fetch = help_fetching_with_instruction_cb_n_z
+ link = handle_comp_and_branch_if_true_as_link
post = post_process_comp_and_branch_instructions
}