changeset 93:5ebebbc74622

armdis: buglet in literal pool handling: forgot to add base_vma
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Sun, 30 Mar 2014 01:55:46 +0000
parents 708f2452d1ae
children 915e2ca2813d
files arm7dis/armdis.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/arm7dis/armdis.c	Sun Mar 30 01:47:28 2014 +0000
+++ b/arm7dis/armdis.c	Sun Mar 30 01:55:46 2014 +0000
@@ -250,7 +250,7 @@
 		datum = get_u32(filemap + litoff);
 		break;
 	}
-	printf("=0x%x\t; via 0x%x\n", datum, litoff);
+	printf("=0x%x\t; via 0x%x\n", datum, base_vma + litoff);
 	return(1);
 }