changeset 209:a5f126973f0e

leo-obj: analysis of l1_async.obj with disassembly hints
author Mychaela Falconia <falcon@ivan.Harhan.ORG>
date Sat, 05 Mar 2016 01:28:06 +0000
parents f7943bdbb3ea
children 24c710b0d6a6
files leo-obj/Makefile leo-obj/l1_ext/Makefile leo-obj/l1_ext/l1_async.hints leo-obj/l1_ext/l1_async.obj
diffstat 4 files changed, 28 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/leo-obj/Makefile	Fri Mar 04 23:36:16 2016 +0000
+++ b/leo-obj/Makefile	Sat Mar 05 01:28:06 2016 +0000
@@ -1,5 +1,5 @@
 OBJDIRS=bootloader frame_na7_db_fl frame_na7_db_ir l1_custom_int l1_dyn_dwl \
-	l1_int l1_pei main osx_na7_db tpudrv
+	l1_ext l1_int l1_pei main osx_na7_db tpudrv
 SUBDIR=	${OBJDIRS} tool
 
 all:	${SUBDIR}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/leo-obj/l1_ext/Makefile	Sat Mar 05 01:28:06 2016 +0000
@@ -0,0 +1,19 @@
+OBJS=	l1_async.obj
+TARGETS=$(patsubst %.obj,%.disasm,${OBJS}) $(patsubst %.obj,%.ctypes,${OBJS})
+TOOL=	../tool/tiobjd
+
+all:	${TARGETS}
+
+%.disasm:	%.obj %.hints
+	${TOOL} $*.obj disasm -gl -h $*.hints > $@
+
+%.disasm:	%.obj
+	${TOOL} $*.obj disasm -gl > $@
+
+%.ctypes:	%.obj
+	${TOOL} $*.obj ctypes -o > $@
+
+${TARGETS}:	${TOOL} Makefile
+
+clean:
+	rm -f *.disasm *.ctypes
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/leo-obj/l1_ext/l1_async.hints	Sat Mar 05 01:28:06 2016 +0000
@@ -0,0 +1,8 @@
+[.text]
+
+358 asciz
+2b4c asciz
+
+[.l1s_global]
+
+mode bss
Binary file leo-obj/l1_ext/l1_async.obj has changed