diff options
author | comex | 2015-02-18 02:57:08 -0500 |
---|---|---|
committer | comex | 2015-02-18 02:57:08 -0500 |
commit | ce8cffd7cba9925779163fa4380f98b2f70f5a7b (patch) | |
tree | d5229e823757b8e836a28fd00ffd7bb1c67e4d7d /lib/x86/arch-dis.h | |
parent | er, don't unnecessarily spam thread start/resume. (diff) | |
download | substitute-ce8cffd7cba9925779163fa4380f98b2f70f5a7b.tar.gz |
various fixes
Diffstat (limited to 'lib/x86/arch-dis.h')
-rw-r--r-- | lib/x86/arch-dis.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/x86/arch-dis.h b/lib/x86/arch-dis.h index a76884f..c52561a 100644 --- a/lib/x86/arch-dis.h +++ b/lib/x86/arch-dis.h @@ -6,6 +6,7 @@ * See transform_dis_* for size figures. Technically unsafe, since we don't * check for overlong x86 instructions. */ #define TD_MAX_REWRITTEN_SIZE 55 +#define ARCH_MAX_CODE_ALIGNMENT 1 struct arch_pcrel_info { int reg; @@ -14,6 +15,3 @@ struct arch_pcrel_info { struct arch_dis_ctx {}; static inline void arch_dis_ctx_init(UNUSED struct arch_dis_ctx *ctx) {} -static inline int arch_code_alignment(UNUSED struct arch_dis_ctx ctx) { - return 4; -} |