diff options
author | Ulrich Drepper <drepper@redhat.com> | 2008-01-22 06:08:30 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2008-01-22 06:08:30 +0000 |
commit | 06ec9db81eb938c7ece66f1a8667a1e2b346dae3 (patch) | |
tree | d7b4bcc14292dfd968b16919cdb0c23949dbfa92 /libcpu | |
parent | 4d8bc811506292938ab66120e51c9810e1d21c3d (diff) | |
download | android_external_elfutils-06ec9db81eb938c7ece66f1a8667a1e2b346dae3.tar.gz android_external_elfutils-06ec9db81eb938c7ece66f1a8667a1e2b346dae3.tar.bz2 android_external_elfutils-06ec9db81eb938c7ece66f1a8667a1e2b346dae3.zip |
Fix problems in last checkin.
Diffstat (limited to 'libcpu')
-rw-r--r-- | libcpu/i386_disasm.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libcpu/i386_disasm.c b/libcpu/i386_disasm.c index 9024571c..843fd749 100644 --- a/libcpu/i386_disasm.c +++ b/libcpu/i386_disasm.c @@ -589,22 +589,26 @@ i386_disasm (const uint8_t **startp, const uint8_t *end, GElf_Addr addr, #endif case 0x98: +#ifdef X86_64 if (prefixes == (has_rex_w | has_rex)) { str = "cltq"; break; } +#endif if (prefixes & ~has_data16) goto print_prefix; str = prefixes & has_data16 ? "cbtw" : "cwtl"; break; case 0x99: +#ifdef X86_64 if (prefixes == (has_rex_w | has_rex)) { str = "cqto"; break; } +#endif if (prefixes & ~has_data16) goto print_prefix; str = prefixes & has_data16 ? "cwtd" : "cltd"; |