aboutsummaryrefslogtreecommitdiff
path: root/lib/x86/arch-transform-dis.inc.h
diff options
context:
space:
mode:
authorcomex2015-02-09 00:12:19 -0500
committercomex2015-02-09 00:12:19 -0500
commit65650e18a12ab80aa12b57e388fc27046d9c793d (patch)
tree91a9fb33b98a55ecaee09fcd9135420f8c20010b /lib/x86/arch-transform-dis.inc.h
parentFix a broken bit test. (diff)
downloadsubstitute-65650e18a12ab80aa12b57e388fc27046d9c793d.tar.gz
add transform-dis-{i386,x86_64} to makefile - fix a missing UNUSED
Diffstat (limited to 'lib/x86/arch-transform-dis.inc.h')
-rw-r--r--lib/x86/arch-transform-dis.inc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/x86/arch-transform-dis.inc.h b/lib/x86/arch-transform-dis.inc.h
index bb86cf9..ffb9560 100644
--- a/lib/x86/arch-transform-dis.inc.h
+++ b/lib/x86/arch-transform-dis.inc.h
@@ -1,6 +1,7 @@
/* Pretty trivial, but in its own file to match the other architectures. */
#include "x86/jump-patch.h"
+UNUSED
static void transform_dis_pcrel(struct transform_dis_ctx *ctx, uint64_t dpc,
struct arch_pcrel_info info) {
/* push %reg; mov $dpc, %reg; <orig but with reg instead>; pop %reg */