diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2015-07-12 22:26:49 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2015-07-12 22:26:49 (GMT) |
commit | 7e1c5ac72a317d39952843239023c0fa506f2322 (patch) | |
tree | 206b4f7ca4165c22b796d90e3343f677296b0857 /src/arch/arm/v7 | |
parent | 254254db8c09eb4b4f8523e73551c13ec281d194 (diff) |
Cleaned the code handling binary symbols.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@548 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/arch/arm/v7')
-rw-r--r-- | src/arch/arm/v7/post.c | 8 |
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); |