aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorcomex2015-01-12 01:21:43 -0500
committercomex2015-01-12 01:22:20 -0500
commit21277f290a705c6382453f348e4a224cd7695320 (patch)
treeb3eac4e66f7aec0dede880e7405171c413497a68 /Makefile
parentminor improvements (diff)
downloadsubstitute-21277f290a705c6382453f348e4a224cd7695320.tar.gz
these functions are actually pointless, since it's easier to change the *offset* for actual pc-rel loads (and the rest are accounted for, albeit implicitly in the case of add pc)
i might end up using the stack :/
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index aaaa73e..0d26c40 100644
--- a/Makefile
+++ b/Makefile
@@ -42,10 +42,10 @@ out/test-$(1): test/test-$(2).c* $(HEADERS) Makefile out/libsubstitute.dylib
$(3) -o $$@ $$< -Ilib -Isubstrate -Lout -lsubstitute
all: out/test-$(1)
endef
-$(eval $(call define_test,tdarm-simple,td-simple,$(CC) -std=c11 -DPDIS=P_dis_arm -DHDR='"dis-arm.inc.h"'))
-$(eval $(call define_test,tdthumb-simple,td-simple,$(CC) -std=c11 -DPDIS=P_dis_thumb -DHDR='"dis-thumb.inc.h"'))
-$(eval $(call define_test,tdthumb2-simple,td-simple,$(CC) -std=c11 -DPDIS=P_dis_thumb2 -DHDR='"dis-thumb2.inc.h"'))
-$(eval $(call define_test,tdarm64-simple,td-simple,$(CC) -std=c11 -DPDIS=P_dis_arm64 -DHDR='"dis-arm64.inc.h"'))
+$(eval $(call define_test,tdarm-simple,td-simple,$(CC) -std=c11 -DHDR='"dis-arm.inc.h"'))
+$(eval $(call define_test,tdthumb-simple,td-simple,$(CC) -std=c11 -DHDR='"dis-thumb.inc.h"'))
+$(eval $(call define_test,tdthumb2-simple,td-simple,$(CC) -std=c11 -DHDR='"dis-thumb2.inc.h"'))
+$(eval $(call define_test,tdarm64-simple,td-simple,$(CC) -std=c11 -DHDR='"dis-arm64.inc.h"'))
$(eval $(call define_test,dis,dis,$(CC) -std=c11))
$(eval $(call define_test,find-syms,find-syms,$(CC) -std=c89))
$(eval $(call define_test,find-syms-cpp,find-syms,$(CXX) -x c++ -std=c++98))