This program works:
main() { return 42; }
The disassembler was borrowed from codeflinger, and just modified enough to compile
under C++ without warnings.
Implemented gsym
Implemented a hack verison of li, only works for -256..255
Implemented gjmp
12 lines
188 B
Makefile
12 lines
188 B
Makefile
LOCAL_PATH:= $(call my-dir)
|
|
include $(CLEAR_VARS)
|
|
|
|
#
|
|
# Shared library
|
|
#
|
|
|
|
LOCAL_MODULE:= acc
|
|
LOCAL_SRC_FILES := acc.cpp disassem.cpp
|
|
LOCAL_MODULE_TAGS := tests
|
|
|
|
include $(BUILD_EXECUTABLE)
|