summaryrefslogtreecommitdiff
path: root/src/arch/post.c
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2017-07-12 13:07:55 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2017-07-12 13:08:42 (GMT)
commita331ff258895865049bf79bc1629dbc744b7faf5 (patch)
treec4f649ba21afcacf974cc6536f03aa97663a9acd /src/arch/post.c
parent9b018cede5af54594c0a20847239233153b04ce1 (diff)
Removed the too complex memory share system.
Diffstat (limited to 'src/arch/post.c')
-rw-r--r--src/arch/post.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/arch/post.c b/src/arch/post.c
index f8864aa..59522bf 100644
--- a/src/arch/post.c
+++ b/src/arch/post.c
@@ -78,7 +78,7 @@ void post_process_target_resolution(GArchInstruction *instr, GArchProcessor *pro
new = G_TARGET_OPERAND(g_target_operand_new(ptr_size, &target));
- if (!g_target_operand_resolve(&new, bfmt, true, NULL))
+ if (!g_target_operand_resolve(new, bfmt, true))
{
init_mrange(&trange, &target, 0);
@@ -111,7 +111,7 @@ void post_process_target_resolution(GArchInstruction *instr, GArchProcessor *pro
g_binary_format_add_symbol(bfmt, symbol);
- g_target_operand_resolve(&new, bfmt, true, NULL);
+ g_target_operand_resolve(new, bfmt, true);
}