From d819360f9e619ddadde2bbae3cc1ec389a43a8e9 Mon Sep 17 00:00:00 2001 From: comex Date: Mon, 9 Feb 2015 00:06:05 -0500 Subject: more --- test/test-td-simple.c | 2 +- test/test-transform-dis.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'test') diff --git a/test/test-td-simple.c b/test/test-td-simple.c index fdcb286..be84ef3 100644 --- a/test/test-td-simple.c +++ b/test/test-td-simple.c @@ -35,7 +35,7 @@ static void P_data(UNUSED struct tc *ctx, unsigned o0, unsigned o1, unsigned o2, NOINLINE UNUSED static void P_pcrel(UNUSED struct tc *ctx, uint32_t dpc, struct arch_pcrel_info info) { - printf("adr => %08x r%u lm:%d\n", dpc, info.reg, info.lm); + printf("adr => %08x r%u lm:%d\n", dpc, info.reg, info.load_mode); } NOINLINE UNUSED static void P_thumb_it(UNUSED struct tc *ctx) { diff --git a/test/test-transform-dis.c b/test/test-transform-dis.c index 1f7dac0..5869fff 100644 --- a/test/test-transform-dis.c +++ b/test/test-transform-dis.c @@ -20,8 +20,8 @@ int main(UNUSED int argc, char **argv) { int offsets[patch_size + 15]; void *rewritten_ptr = out; printf("\n#if 0\n"); - uintptr_t pc_patch_start = 0x10000; - uintptr_t pc_patch_end = pc_patch_start + patch_size; + uint_tptr pc_patch_start = 0x10000; + uint_tptr pc_patch_end = pc_patch_start + patch_size; int ret = transform_dis_main( in, &rewritten_ptr, -- cgit v1.2.3