aboutsummaryrefslogtreecommitdiff
path: root/lib/transform-dis.c
diff options
context:
space:
mode:
authorcomex2015-01-19 19:08:48 -0500
committercomex2015-01-19 19:08:48 -0500
commit066a1fa86407c80c3b7ef2c3e8c86f1ffbd2929d (patch)
tree6f5a4abebbcb4cf034ab009a49c167ac95da418e /lib/transform-dis.c
parentadd the required copy of the GPL; clarify license text (diff)
downloadsubstitute-066a1fa86407c80c3b7ef2c3e8c86f1ffbd2929d.tar.gz
some reorganization
Diffstat (limited to 'lib/transform-dis.c')
-rw-r--r--lib/transform-dis.c10
1 files changed, 3 insertions, 7 deletions
diff --git a/lib/transform-dis.c b/lib/transform-dis.c
index 6d5fc66..6067ea0 100644
--- a/lib/transform-dis.c
+++ b/lib/transform-dis.c
@@ -1,5 +1,5 @@
#include "substitute-internal.h"
-#ifdef TARGET_SUPPORTED
+#ifdef TARGET_DIS_SUPPORTED
#include "substitute.h"
#include "dis.h"
@@ -123,11 +123,7 @@ static inline void op32(struct transform_dis_ctx *ctx, uint32_t op) {
*rpp += 4;
}
-#ifdef TARGET_arm
- #include "transform-dis-arm-multi.inc.h"
-#else
- #include "transform-dis-arm64.inc.h"
-#endif
+#include TARGET_TRANSFORM_DIS_HEADER
#include TARGET_DIS_HEADER
-#endif /* TARGET_SUPPORTED */
+#endif /* TARGET_DIS_SUPPORTED */