Line 0
Link Here
|
|
|
1 |
--- opcodes/i386-dis.c.orig 2012-07-16 14:58:29.000000000 +0200 |
2 |
+++ opcodes/i386-dis.c 2012-12-18 15:22:10.000000000 +0100 |
3 |
@@ -11991,7 +11991,7 @@ |
4 |
static void |
5 |
OP_ST (int bytemode ATTRIBUTE_UNUSED, int sizeflag ATTRIBUTE_UNUSED) |
6 |
{ |
7 |
- oappend ("%st" + intel_syntax); |
8 |
+ oappend (&"%st"[(short)intel_syntax]); |
9 |
} |
10 |
|
11 |
static void |
12 |
@@ -12520,32 +12520,32 @@ |
13 |
if (prefixes & PREFIX_CS) |
14 |
{ |
15 |
used_prefixes |= PREFIX_CS; |
16 |
- oappend ("%cs:" + intel_syntax); |
17 |
+ oappend (&"%cs:"[(short)intel_syntax]); |
18 |
} |
19 |
if (prefixes & PREFIX_DS) |
20 |
{ |
21 |
used_prefixes |= PREFIX_DS; |
22 |
- oappend ("%ds:" + intel_syntax); |
23 |
+ oappend (&"%ds:"[(short)intel_syntax]); |
24 |
} |
25 |
if (prefixes & PREFIX_SS) |
26 |
{ |
27 |
used_prefixes |= PREFIX_SS; |
28 |
- oappend ("%ss:" + intel_syntax); |
29 |
+ oappend (&"%ss:"[(short)intel_syntax]); |
30 |
} |
31 |
if (prefixes & PREFIX_ES) |
32 |
{ |
33 |
used_prefixes |= PREFIX_ES; |
34 |
- oappend ("%es:" + intel_syntax); |
35 |
+ oappend (&"%es:"[(short)intel_syntax]); |
36 |
} |
37 |
if (prefixes & PREFIX_FS) |
38 |
{ |
39 |
used_prefixes |= PREFIX_FS; |
40 |
- oappend ("%fs:" + intel_syntax); |
41 |
+ oappend (&"%fs:"[(short)intel_syntax]); |
42 |
} |
43 |
if (prefixes & PREFIX_GS) |
44 |
{ |
45 |
used_prefixes |= PREFIX_GS; |
46 |
- oappend ("%gs:" + intel_syntax); |
47 |
+ oappend (&"%gs:"[(short)intel_syntax]); |
48 |
} |
49 |
} |
50 |
|
51 |
@@ -13876,7 +13876,7 @@ |
52 |
intel_operand_size (b_mode, sizeflag); |
53 |
} |
54 |
} |
55 |
- oappend ("%es:" + intel_syntax); |
56 |
+ oappend (&"%es:"[(short)intel_syntax]); |
57 |
ptr_reg (code, sizeflag); |
58 |
} |
59 |
|