diff options
Diffstat (limited to 'meta/recipes-devtools/binutils/binutils-2.23.1/backport/0014-Fix-opcode-for-64-bit-jecxz.patch')
-rw-r--r-- | meta/recipes-devtools/binutils/binutils-2.23.1/backport/0014-Fix-opcode-for-64-bit-jecxz.patch | 112 |
1 files changed, 0 insertions, 112 deletions
diff --git a/meta/recipes-devtools/binutils/binutils-2.23.1/backport/0014-Fix-opcode-for-64-bit-jecxz.patch b/meta/recipes-devtools/binutils/binutils-2.23.1/backport/0014-Fix-opcode-for-64-bit-jecxz.patch deleted file mode 100644 index b230e330c5..0000000000 --- a/meta/recipes-devtools/binutils/binutils-2.23.1/backport/0014-Fix-opcode-for-64-bit-jecxz.patch +++ /dev/null | |||
@@ -1,112 +0,0 @@ | |||
1 | From adef1e82d241e22139c5edbba1efe9734cfdcace Mon Sep 17 00:00:00 2001 | ||
2 | From: "H.J. Lu" <hjl.tools@gmail.com> | ||
3 | Date: Tue, 20 Nov 2012 14:30:48 +0000 | ||
4 | Subject: [PATCH 14/27] Fix opcode for 64-bit jecxz | ||
5 | |||
6 | gas/testsuite/ | ||
7 | |||
8 | PR gas/14859 | ||
9 | * gas/i386/x86-64-opcode.s: Add jecxz. | ||
10 | * gas/i386/x86-64-opcode.d: Updated. | ||
11 | |||
12 | opcodes/ | ||
13 | |||
14 | PR gas/14859 | ||
15 | * i386-opc.tbl: Fix opcode for 64-bit jecxz. | ||
16 | * i386-tbl.h: Regenerated. | ||
17 | --- | ||
18 | gas/ChangeLog | 6 ++++++ | ||
19 | gas/testsuite/gas/i386/x86-64-opcode.d | 1 + | ||
20 | gas/testsuite/gas/i386/x86-64-opcode.s | 2 ++ | ||
21 | opcodes/ChangeLog | 9 ++++++++- | ||
22 | opcodes/i386-opc.tbl | 2 +- | ||
23 | opcodes/i386-tbl.h | 2 +- | ||
24 | 6 files changed, 19 insertions(+), 3 deletions(-) | ||
25 | |||
26 | diff --git a/gas/ChangeLog b/gas/ChangeLog | ||
27 | index bb9ef1c..8a950ec 100644 | ||
28 | --- a/gas/ChangeLog | ||
29 | +++ b/gas/ChangeLog | ||
30 | @@ -1,3 +1,9 @@ | ||
31 | +2012-11-20 H.J. Lu <hongjiu.lu@intel.com> | ||
32 | + | ||
33 | + PR gas/14859 | ||
34 | + * gas/i386/x86-64-opcode.s: Add jecxz. | ||
35 | + * gas/i386/x86-64-opcode.d: Updated. | ||
36 | + | ||
37 | 2012-11-20 Yufeng Zhang <yufeng.zhang@arm.com> | ||
38 | |||
39 | * config/tc-aarch64.c (first_error_fmt): Add ATTRIBUTE_UNUSED to the | ||
40 | diff --git a/gas/testsuite/gas/i386/x86-64-opcode.d b/gas/testsuite/gas/i386/x86-64-opcode.d | ||
41 | index 7c6dd03..4b3003a 100644 | ||
42 | --- a/gas/testsuite/gas/i386/x86-64-opcode.d | ||
43 | +++ b/gas/testsuite/gas/i386/x86-64-opcode.d | ||
44 | @@ -296,4 +296,5 @@ Disassembly of section .text: | ||
45 | [ ]*[a-f0-9]+: 0f 07 sysret | ||
46 | [ ]*[a-f0-9]+: 0f 01 f8 swapgs | ||
47 | [ ]*[a-f0-9]+: 66 68 22 22 pushw \$0x2222 | ||
48 | +[ ]*[a-f0-9]+: 67 e3 ff jecxz 0x49d | ||
49 | #pass | ||
50 | diff --git a/gas/testsuite/gas/i386/x86-64-opcode.s b/gas/testsuite/gas/i386/x86-64-opcode.s | ||
51 | index cb9bbc1..96f624d 100644 | ||
52 | --- a/gas/testsuite/gas/i386/x86-64-opcode.s | ||
53 | +++ b/gas/testsuite/gas/i386/x86-64-opcode.s | ||
54 | @@ -424,3 +424,5 @@ | ||
55 | swapgs # -- -- -- -- 0F 01 f8 | ||
56 | |||
57 | pushw $0x2222 | ||
58 | + | ||
59 | + jecxz .+2 | ||
60 | diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog | ||
61 | index ca0f49b..98450f9 100644 | ||
62 | --- a/opcodes/ChangeLog | ||
63 | +++ b/opcodes/ChangeLog | ||
64 | @@ -1,3 +1,10 @@ | ||
65 | +2012-11-20 Kirill Yukhin <kirill.yukhin@intel.com> | ||
66 | + H.J. Lu <hongjiu.lu@intel.com> | ||
67 | + | ||
68 | + PR gas/14859 | ||
69 | + * i386-opc.tbl: Fix opcode for 64-bit jecxz. | ||
70 | + * i386-tbl.h: Regenerated. | ||
71 | + | ||
72 | 2012-10-09 Nagajyothi Eggone <nagajyothi.eggone@amd.com> | ||
73 | |||
74 | * i386-gen.c (cpu_flag_init): Add CPU_BDVER3_FLAGS. | ||
75 | @@ -9,7 +16,7 @@ | ||
76 | |||
77 | 2012-09-18 Kyrylo Tkachov <kyrylo.tkachov@arm.com> | ||
78 | |||
79 | - * arm-dis.c: Changed ldra and strl-form mnemonics | ||
80 | + * arm-dis.c: Changed ldra and strl-form mnemonics | ||
81 | to lda and stl-form. | ||
82 | |||
83 | 2012-09-18 Chao-ying Fu <fu@mips.com> | ||
84 | diff --git a/opcodes/i386-opc.tbl b/opcodes/i386-opc.tbl | ||
85 | index 8b08edc..482bd7b 100644 | ||
86 | --- a/opcodes/i386-opc.tbl | ||
87 | +++ b/opcodes/i386-opc.tbl | ||
88 | @@ -390,7 +390,7 @@ jg, 1, 0x7f, None, 1, 0, Jump|No_bSuf|No_wSuf|No_lSuf|No_sSuf|No_qSuf|No_ldSuf, | ||
89 | // jcxz vs. jecxz is chosen on the basis of the address size prefix. | ||
90 | jcxz, 1, 0xe3, None, 1, CpuNo64, JumpByte|Size16|No_bSuf|No_wSuf|No_lSuf|No_sSuf|No_qSuf|No_ldSuf, { Disp8|Disp16|Disp32 } | ||
91 | jecxz, 1, 0xe3, None, 1, CpuNo64, JumpByte|Size32|No_bSuf|No_wSuf|No_lSuf|No_sSuf|No_qSuf|No_ldSuf, { Disp8|Disp16|Disp32 } | ||
92 | -jecxz, 1, 0x67e3, None, 2, Cpu64, JumpByte|Size32|No_bSuf|No_wSuf|No_lSuf|No_sSuf|No_qSuf|No_ldSuf, { Disp8|Disp32|Disp32S } | ||
93 | +jecxz, 1, 0xe3, None, 1, Cpu64, JumpByte|Size32|No_bSuf|No_wSuf|No_lSuf|No_sSuf|No_qSuf|No_ldSuf, { Disp8|Disp32|Disp32S } | ||
94 | jrcxz, 1, 0xe3, None, 1, Cpu64, JumpByte|Size64|No_bSuf|No_wSuf|No_lSuf|No_sSuf|No_qSuf|No_ldSuf|NoRex64, { Disp8|Disp32|Disp32S } | ||
95 | |||
96 | // The loop instructions also use the address size prefix to select | ||
97 | diff --git a/opcodes/i386-tbl.h b/opcodes/i386-tbl.h | ||
98 | index 001a966..a3a3e64 100644 | ||
99 | --- a/opcodes/i386-tbl.h | ||
100 | +++ b/opcodes/i386-tbl.h | ||
101 | @@ -3417,7 +3417,7 @@ const insn_template i386_optab[] = | ||
102 | { { { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, | ||
103 | 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, | ||
104 | 0, 0, 0, 0, 0, 0 } } } }, | ||
105 | - { "jecxz", 1, 0x67e3, None, 2, | ||
106 | + { "jecxz", 1, 0xe3, None, 1, | ||
107 | { { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, | ||
108 | 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, | ||
109 | 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, | ||
110 | -- | ||
111 | 1.7.9.5 | ||
112 | |||