summaryrefslogtreecommitdiff
path: root/src/arch
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch')
-rw-r--r--src/arch/arm/v7/post.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/arch/arm/v7/post.c b/src/arch/arm/v7/post.c
index dce9c86..e95bd66 100644
--- a/src/arch/arm/v7/post.c
+++ b/src/arch/arm/v7/post.c
@@ -78,7 +78,7 @@ void post_process_branch_instructions(GArchInstruction *instr, GArchProcessor *p
g_binary_routine_set_range(routine, &trange);
- symbol = g_binary_symbol_new(STP_CODE_LABEL, NULL, ~0);
+ symbol = g_binary_symbol_new(STP_CODE_LABEL);
g_binary_symbol_attach_routine(symbol, routine);
g_binary_format_add_symbol(G_BIN_FORMAT(format), symbol);
@@ -142,7 +142,7 @@ void post_process_branch_and_link_instructions(GArchInstruction *instr, GArchPro
g_binary_routine_set_range(routine, &trange);
- symbol = g_binary_symbol_new(STP_ROUTINE, NULL, ~0);
+ symbol = g_binary_symbol_new(STP_ROUTINE);
g_binary_symbol_attach_routine(symbol, routine);
g_binary_format_add_symbol(G_BIN_FORMAT(format), symbol);
@@ -206,7 +206,7 @@ void post_process_comp_and_branch_instructions(GArchInstruction *instr, GArchPro
g_binary_routine_set_range(routine, &trange);
- symbol = g_binary_symbol_new(STP_CODE_LABEL, NULL, ~0);
+ symbol = g_binary_symbol_new(STP_CODE_LABEL);
g_binary_symbol_attach_routine(symbol, routine);
g_binary_format_add_symbol(G_BIN_FORMAT(format), symbol);
@@ -289,7 +289,7 @@ void post_process_ldr_instructions(GArchInstruction *instr, GArchProcessor *proc
g_binary_routine_set_range(routine, &trange);
- symbol = g_binary_symbol_new(STP_CODE_LABEL, NULL, ~0);
+ symbol = g_binary_symbol_new(STP_CODE_LABEL);
g_binary_symbol_attach_routine(symbol, routine);
g_binary_format_add_symbol(G_BIN_FORMAT(format), symbol);