# HG changeset patch # User Michael Spacefalcon # Date 1404149699 0 # Node ID 006d6de4ec6b3e26b0a11c246819dd46a1ab29b1 # Parent f80bd142971dc4f3abfe91bacafe0db14822a417 leo-obj: starting to look at OSX diff -r f80bd142971d -r 006d6de4ec6b leo-obj/Makefile --- a/leo-obj/Makefile Sun Jun 15 01:43:55 2014 +0000 +++ b/leo-obj/Makefile Mon Jun 30 17:34:59 2014 +0000 @@ -1,4 +1,4 @@ -OBJDIRS=frame_na7_db_fl frame_na7_db_ir main +OBJDIRS=frame_na7_db_fl frame_na7_db_ir main osx_na7_db SUBDIR= ${OBJDIRS} tool all: ${SUBDIR} diff -r f80bd142971d -r 006d6de4ec6b leo-obj/README --- a/leo-obj/README Sun Jun 15 01:43:55 2014 +0000 +++ b/leo-obj/README Mon Jun 30 17:34:59 2014 +0000 @@ -18,5 +18,5 @@ g23m/__out__/gsm_/lib have just the minimal amount of symbolic info needed in order for these objects to be relocatable and linkable, whereas the objects in the GPF libraries under gpf/LIB exhibit much richer "-g"-style -symbolic information. Our current tiobjd tool does not really take advantage -of the richer symbolic info yet, but more work is planned in that area. +symbolic information. Our tiobjd tool makes use of whatever symbolic info is +present. diff -r f80bd142971d -r 006d6de4ec6b leo-obj/osx_na7_db/Makefile --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/leo-obj/osx_na7_db/Makefile Mon Jun 30 17:34:59 2014 +0000 @@ -0,0 +1,19 @@ +OBJS= osx.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 diff -r f80bd142971d -r 006d6de4ec6b leo-obj/osx_na7_db/osx.obj Binary file leo-obj/osx_na7_db/osx.obj has changed