diff options
author | comex | 2015-02-09 00:06:05 -0500 |
---|---|---|
committer | comex | 2015-02-09 00:06:05 -0500 |
commit | d819360f9e619ddadde2bbae3cc1ec389a43a8e9 (patch) | |
tree | 00507e57c247abede74efcdde24c1bc7e9f7b1bd /test | |
parent | Fix other architectures compiling - haven't tried *running* anything.. (diff) | |
download | substitute-d819360f9e619ddadde2bbae3cc1ec389a43a8e9.tar.gz |
more
Diffstat (limited to 'test')
-rw-r--r-- | test/test-td-simple.c | 2 | ||||
-rw-r--r-- | test/test-transform-dis.c | 4 |
2 files changed, 3 insertions, 3 deletions
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, |