293930b280e8bc8a9e6baeb6068fd7fd0566e98d
[deliverable/binutils-gdb.git] / gas / ChangeLog
1 2017-05-15 Maciej W. Rozycki <macro@imgtec.com>
2
3 * testsuite/gas/mips/mips16-pcrel-1.d: Remove `-mips3' from `as'
4 flags.
5 * testsuite/gas/mips/mips16-pcrel-pic-1.d: Likewise.
6 * testsuite/gas/mips/mips16-pcrel-n32-0.d: Likewise.
7 * testsuite/gas/mips/mips16-pcrel-n32-1.d: Likewise.
8 * testsuite/gas/mips/mips16-pcrel-n64-0.d: Likewise.
9 * testsuite/gas/mips/mips16-pcrel-n64-1.d: Likewise.
10 * testsuite/gas/mips/mips16-pcrel-n64-sym32-0.d: Likewise.
11 * testsuite/gas/mips/mips16-pcrel-n64-sym32-1.d: Likewise.
12 * testsuite/gas/mips/mips16-pcrel-reloc-4.d: Likewise.
13 * testsuite/gas/mips/mips16-pcrel-reloc-5.d: Likewise.
14 * testsuite/gas/mips/mips16-pcrel-reloc-6.d: Likewise.
15 * testsuite/gas/mips/mips16-pcrel-reloc-7.d: Likewise.
16 * testsuite/gas/mips/mips16-pcrel-addend-4.d: Likewise.
17 * testsuite/gas/mips/mips16-pcrel-addend-5.d: Likewise.
18 * testsuite/gas/mips/mips16-pcrel-addend-6.d: Likewise.
19 * testsuite/gas/mips/mips16-pcrel-addend-7.d: Likewise.
20 * testsuite/gas/mips/mips16-pcrel-addend-9.d: Likewise.
21 * testsuite/gas/mips/mips16-pcrel-addend-pic-9.d: Likewise.
22 * testsuite/gas/mips/mips16-pcrel-addend-n32-8.d: Likewise.
23 * testsuite/gas/mips/mips16-pcrel-addend-n32-9.d: Likewise.
24 * testsuite/gas/mips/mips16-pcrel-addend-n64-sym32-8.d:
25 Likewise.
26 * testsuite/gas/mips/mips16-pcrel-addend-n64-sym32-9.d:
27 Likewise.
28 * testsuite/gas/mips/mips16-pcrel-addend-n64-8.d: Likewise.
29 * testsuite/gas/mips/mips16-pcrel-addend-n64-9.d: Likewise.
30 * testsuite/gas/mips/mips16-pcrel-absolute-2.d: Likewise.
31 * testsuite/gas/mips/mips16-pcrel-absolute-3.d: Likewise.
32 * testsuite/gas/mips/mips16-pcrel-absolute-6.d: Likewise.
33 * testsuite/gas/mips/mips16-pcrel-absolute-7.d: Likewise.
34 * testsuite/gas/mips/mips16-pcrel-absolute-pic-6.d: Likewise.
35 * testsuite/gas/mips/mips16-pcrel-absolute-n32-4.d: Likewise.
36 * testsuite/gas/mips/mips16-pcrel-absolute-n32-6.d: Likewise.
37 * testsuite/gas/mips/mips16-pcrel-absolute-n64-4.d: Likewise.
38 * testsuite/gas/mips/mips16-pcrel-absolute-n64-6.d: Likewise.
39 * testsuite/gas/mips/mips16-pcrel-absolute-n64-sym32-4.d:
40 Likewise.
41 * testsuite/gas/mips/mips16-pcrel-absolute-n64-sym32-6.d:
42 Likewise.
43 * testsuite/gas/mips/mips16-pcrel-absolute-pic-n32-4.d:
44 Likewise.
45 * testsuite/gas/mips/mips16-pcrel-absolute-pic-n32-6.d:
46 Likewise.
47 * testsuite/gas/mips/mips16-pcrel-absolute-pic-n64-4.d:
48 Likewise.
49 * testsuite/gas/mips/mips16-pcrel-absolute-pic-n64-6.d:
50 Likewise.
51 * testsuite/gas/mips/mips16-pcrel-absolute-pic-n64-sym32-4.d:
52 Likewise.
53 * testsuite/gas/mips/mips16-pcrel-absolute-pic-n64-sym32-6.d:
54 Likewise.
55 * testsuite/gas/mips/mips16e2@mips16-pcrel-0.d: New test.
56 * testsuite/gas/mips/mips16e2@mips16-pcrel-1.d: New test.
57 * testsuite/gas/mips/mips16e2@mips16-pcrel-2.d: New test.
58 * testsuite/gas/mips/mips16e2@mips16-pcrel-n32-0.d: New test.
59 * testsuite/gas/mips/mips16e2@mips16-pcrel-n32-1.d: New test.
60 * testsuite/gas/mips/mips16e2@mips16-pcrel-n64-sym32-0.d: New
61 test.
62 * testsuite/gas/mips/mips16e2@mips16-pcrel-n64-sym32-1.d: New
63 test.
64 * testsuite/gas/mips/mips16e2@mips16-pcrel-delay-0.d: New test.
65 * testsuite/gas/mips/mips16e2@mips16-pcrel-delay-1.d: New test.
66 * testsuite/gas/mips/mips16e2@mips16-pcrel-reloc-2.d: New test.
67 * testsuite/gas/mips/mips16e2@mips16-pcrel-reloc-3.d: New test.
68 * testsuite/gas/mips/mips16e2@mips16-pcrel-reloc-6.d: New test.
69 * testsuite/gas/mips/mips16e2@mips16-pcrel-reloc-7.d: New test.
70 * testsuite/gas/mips/mips16e2@mips16-pcrel-addend-2.d: New test.
71 * testsuite/gas/mips/mips16e2@mips16-pcrel-addend-3.d: New test.
72 * testsuite/gas/mips/mips16e2@mips16-pcrel-addend-6.d: New test.
73 * testsuite/gas/mips/mips16e2@mips16-pcrel-addend-7.d: New test.
74 * testsuite/gas/mips/mips16e2@mips16-pcrel-addend-8.d: New test.
75 * testsuite/gas/mips/mips16e2@mips16-pcrel-addend-9.d: New test.
76 * testsuite/gas/mips/mips16e2@mips16-pcrel-addend-n32-8.d: New
77 test.
78 * testsuite/gas/mips/mips16e2@mips16-pcrel-addend-n32-9.d: New
79 test.
80 * testsuite/gas/mips/mips16e2@mips16-pcrel-addend-n64-sym32-8.d:
81 New test.
82 * testsuite/gas/mips/mips16e2@mips16-pcrel-addend-n64-sym32-9.d:
83 New test.
84 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute.d: New test.
85 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-1.d: New
86 test.
87 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-2.d: New
88 test.
89 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-3.d: New
90 test.
91 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-4.d: New
92 test.
93 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-5.d: New
94 test.
95 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-6.d: New
96 test.
97 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-7.d: New
98 test.
99 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-pic-4.d: New
100 test.
101 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-pic-6.d: New
102 test.
103 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-n32-4.d: New
104 test.
105 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-n32-6.d: New
106 test.
107 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-n64-sym32-4.d:
108 New test.
109 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-n64-sym32-6.d:
110 New test.
111 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-pic-n32-4.d:
112 New test.
113 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-pic-n32-6.d:
114 New test.
115 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-pic-n64-sym32-4.d:
116 New test.
117 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-pic-n64-sym32-6.d:
118 New test.
119 * testsuite/gas/mips/mips16-pcrel-1.l: Adjust line numbers.
120 * testsuite/gas/mips/mips16-pcrel-1.s: Adjust for alignment
121 preservation between MIPS16 and MIPS16e2 code.
122 * testsuite/gas/mips/mips.exp: Run MIPS16 relaxation tests over
123 all MIPS16 architectures.
124
125 2017-05-15 Maciej W. Rozycki <macro@imgtec.com>
126
127 * testsuite/gas/mips/mips16e2.d: New test.
128 * testsuite/gas/mips/mips16e2-mt.d: New test.
129 * testsuite/gas/mips/mips16e2-sub.d: New test.
130 * testsuite/gas/mips/mips16e2@mips16e2-sub.d: New test.
131 * testsuite/gas/mips/mips16e2-mt-sub.d: New test.
132 * testsuite/gas/mips/mips16e2@mips16e2-mt-sub.d: New test.
133 * testsuite/gas/mips/mips16e2-hilo.d: New test.
134 * testsuite/gas/mips/mips16e2-hilo-n32.d: New test.
135 * testsuite/gas/mips/mips16e2-reloc-error.d: New test.
136 * testsuite/gas/mips/mips16e2-imm-error.d: New test.
137 * testsuite/gas/mips/elf_ase_mips16e2.d: New test.
138 * testsuite/gas/mips/elf_ase_mips16e2-2.d: New test.
139 * testsuite/gas/mips/elf-rel9-mips16e2.d: New test.
140 * testsuite/gas/mips/mips16e2-lui.d: New test.
141 * testsuite/gas/mips/mips16e2@mips32r2-sync.d: New test.
142 * testsuite/gas/mips/mips16e2@mips32r2-sync-1.d: New test.
143 * testsuite/gas/mips/mips16e2@lui-2.d: New test.
144 * testsuite/gas/mips/mips16e2-reloc-error.l: New stderr output.
145 * testsuite/gas/mips/mips16e2-imm-error.l: New stderr output.
146 * testsuite/gas/mips/mips16e2@lui-2.l: New stderr output.
147 * testsuite/gas/mips/mips16e2.s: New test source.
148 * testsuite/gas/mips/mips16e2-mt.s: New test source.
149 * testsuite/gas/mips/mips16e2-sub.s: New test source.
150 * testsuite/gas/mips/mips16e2-mt-sub.s: New test source.
151 * testsuite/gas/mips/mips16e2-hilo.s: New test source.
152 * testsuite/gas/mips/mips16e2-reloc-error.s: New test source.
153 * testsuite/gas/mips/mips16e2-imm-error.s: New test source.
154 * testsuite/gas/mips/elf-rel9-mips16e2.s: New test source.
155 * testsuite/gas/mips/mips16e2-lui.s: New test source.
156 * testsuite/gas/mips/mips.exp: Expand `mips32r2-sync',
157 `mips32r2-sync-1', `lui-1' and `lui-2' tests across MIPS16e2
158 architectures. Run the new tests.
159
160 2017-05-15 Maciej W. Rozycki <macro@imgtec.com>
161
162 * testsuite/gas/mips/mips.exp (run_dump_test_arch): Add
163 `mips16e2@' prefix.
164 (run_list_test_arch): Likewise.
165 (mips16e2-32, mips16e2-64): New architectures.
166 * testsuite/gas/mips/mips16e2-32@mips16-macro.d: New test.
167 * testsuite/gas/mips/mips16e2-32@mips16-macro-t.d: New test.
168 * testsuite/gas/mips/mips16e2-32@mips16-macro-e.d: New test.
169 * testsuite/gas/mips/mips16e2-32@mips16-insn-t.d: New test.
170 * testsuite/gas/mips/mips16e2-32@mips16-insn-e.d: New test.
171 * testsuite/gas/mips/mips16e2-32@mips16e-64.d: New test.
172 * testsuite/gas/mips/mips16e2-32@mips16-sub.d: New test.
173 * testsuite/gas/mips/mips16e2-32@mips16e-64-sub.d: New test.
174 * testsuite/gas/mips/mips16e2@relax-swap3.d: New test.
175 * testsuite/gas/mips/mips16-32@mips16-asmacro.d: Remove `source'
176 tag. Add `-I$srcdir/$subdir' to `as' flags.
177 * testsuite/gas/mips/mips16-64@mips16-asmacro.d: Likewise.
178 * testsuite/gas/mips/mips16e2-32@mips16-macro.l: New stderr
179 output.
180 * testsuite/gas/mips/mips16e2-32@mips16-macro-t.l: New stderr
181 output.
182 * testsuite/gas/mips/mips16e2-32@mips16-macro-e.l: New stderr
183 output.
184 * testsuite/gas/mips/mips16e2-32@mips16-insn-t.l: New stderr
185 output.
186 * testsuite/gas/mips/mips16e2-32@mips16-insn-e.l: New stderr
187 output.
188 * testsuite/gas/mips/mips16-sub.s: Add `.set nomips16e2'.
189 * testsuite/gas/mips/mips16e-sub.s: Likewise.
190 * testsuite/gas/mips/mips16e-64-sub.s: Likewise.
191 * testsuite/gas/mips/mips16-asmacro.s: Remove `.set mips32'.
192 * testsuite/gas/mips/mips16-32@mips16-asmacro.s: New test
193 source.
194 * testsuite/gas/mips/mips16-64@mips16-asmacro.s: New test
195 source.
196
197 2017-05-15 Maciej W. Rozycki <macro@imgtec.com>
198 Matthew Fortune <matthew.fortune@imgtec.com>
199 Andrew Bennett <andrew.bennett@imgtec.com>
200
201 * config/tc-mips.c (RELAX_MIPS16_ENCODE): Add `e2' flag.
202 (RELAX_MIPS16_E2): New macro.
203 (RELAX_MIPS16_PIC, RELAX_MIPS16_SYM32, RELAX_MIPS16_NOMACRO)
204 (RELAX_MIPS16_USER_SMALL, RELAX_MIPS16_USER_EXT)
205 (RELAX_MIPS16_DSLOT, RELAX_MIPS16_JAL_DSLOT)
206 (RELAX_MIPS16_EXTENDED, RELAX_MIPS16_MARK_EXTENDED)
207 (RELAX_MIPS16_CLEAR_EXTENDED, RELAX_MIPS16_ALWAYS_EXTENDED)
208 (RELAX_MIPS16_MARK_ALWAYS_EXTENDED)
209 (RELAX_MIPS16_CLEAR_ALWAYS_EXTENDED, RELAX_MIPS16_MACRO)
210 (RELAX_MIPS16_MARK_MACRO, RELAX_MIPS16_CLEAR_MACRO): Shift bits.
211 (mips16_immed_extend): New prototype.
212 (options): Add OPTION_MIPS16E2 and OPTION_NO_MIPS16E2 enum
213 values.
214 (md_longopts): Add "mmips16e2" and "mno-mips16e2" options.
215 (mips_ases): Add "mips16e2" entry.
216 (mips_set_ase): Handle MIPS16e2 ASE.
217 (insn_insert_operand): Explicitly handle immediates with MIPS16
218 instructions that require 32-bit encoding.
219 (is_opcode_valid_16): Pass enabled ASE bitmask on to
220 `opcode_is_member'.
221 (validate_mips_insn): Explicitly handle immediates with MIPS16
222 instructions that require 32-bit encoding.
223 (operand_reg_mask) <OP_REG28>: Add handler.
224 (match_reg28_operand): New function.
225 (match_operand) <OP_REG28>: Add handler.
226 (append_insn): Pass ASE_MIPS16E2 setting to RELAX_MIPS16_ENCODE.
227 (match_mips16_insn): Handle MIPS16 instructions that require
228 32-bit encoding and `V' and `u' operand codes.
229 (mips16_ip): Allow any characters except from `.' in opcodes.
230 (mips16_immed_extend): Handle 9-bit immediates. Do not shuffle
231 immediates whose width is not one of these listed.
232 (md_estimate_size_before_relax): Handle MIPS16e2 relaxation.
233 (mips_relax_frag): Likewise.
234 (md_convert_frag): Likewise.
235 (mips_convert_ase_flags): Handle MIPS16e2 ASE.
236
237 * doc/as.texinfo (Target MIPS options): Add `-mmips16e2' and
238 `-mno-mips16e2' options.
239 (-mmips16e2, -mno-mips16e2): New options.
240 * doc/c-mips.texi (MIPS Options): Add `-mmips16e2' and
241 `-mno-mips16e2' options.
242 (MIPS ASE Instruction Generation Overrides): Add `.set mips16e2'
243 and `.set nomips16e2'.
244
245 2017-05-15 Maciej W. Rozycki <macro@imgtec.com>
246
247 * config/tc-mips.c (match_int_operand): Call
248 `match_out_of_range' before returning failure for 0x8000-0xffff
249 values conditionally allowed.
250
251 2017-05-15 Maciej W. Rozycki <macro@imgtec.com>
252
253 * config/tc-mips.c (match_int_operand): Call
254 `match_not_constant' before returning failure for a non-constant
255 16-bit immediate conditionally allowed.
256
257 2017-05-15 Maciej W. Rozycki <macro@imgtec.com>
258
259 * config/tc-mips.c (match_const_int): Call `match_out_of_range'
260 rather than `match_not_constant' for unrelocated operands
261 retrieved as an `O_big' expression.
262 (match_int_operand): Call `match_out_of_range' for relocatable
263 operands retrieved as an `O_big' expression.
264 (match_mips16_insn): Call `match_out_of_range' for relaxable
265 operands retrieved as an `O_big' expression.
266 * testsuite/gas/mips/addiu-error.d: New test.
267 * testsuite/gas/mips/mips16@addiu-error.d: New test.
268 * testsuite/gas/mips/micromips@addiu-error.d: New test.
269 * testsuite/gas/mips/break-error.d: New test.
270 * testsuite/gas/mips/lui-1.l: Adjust error message.
271 * testsuite/gas/mips/addiu-error.l: New stderr output.
272 * testsuite/gas/mips/mips16@addiu-error.l: New stderr output.
273 * testsuite/gas/mips/micromips@addiu-error.l: New stderr output.
274 * testsuite/gas/mips/break-error.l: New stderr output.
275 * testsuite/gas/mips/addiu-error.s: New test source.
276 * testsuite/gas/mips/break-error.s: New test source.
277 * testsuite/gas/mips/mips.exp: Run the new tests.
278
279 2017-05-15 Maciej W. Rozycki <macro@imgtec.com>
280
281 * config/tc-mips.c (match_mips16_insn): Remove the explicit
282 OT_INTEGER check before the `match_expression' call.
283 * testsuite/gas/mips/mips16-insn-e.l: Adjust messages.
284 * testsuite/gas/mips/mips16-32@mips16-insn-e.l: Likewise.
285 * testsuite/gas/mips/mips16-64@mips16-insn-e.l: Likewise.
286 * testsuite/gas/mips/mips16e-32@mips16-insn-e.l: Likewise.
287 * testsuite/gas/mips/mips16-reg-error.d: New test.
288 * testsuite/gas/mips/mips16-reg-error.l: New stderr output.
289 * testsuite/gas/mips/mips16-reg-error.s: New test source.
290 * testsuite/gas/mips/mips.exp: Run the new test.
291
292 2017-05-15 Maciej W. Rozycki <macro@imgtec.com>
293
294 * config/tc-mips.c (match_mips16_insn): Call
295 `match_not_constant' for a disallowed relocation operation.
296 * testsuite/gas/mips/mips16-reloc-error.d: New test.
297 * testsuite/gas/mips/mips16-reloc-error.l: New stderr output.
298 * testsuite/gas/mips/mips16-reloc-error.s: New test source.
299 * testsuite/gas/mips/mips.exp: Run the new test.
300
301 2017-05-15 Maciej W. Rozycki <macro@imgtec.com>
302
303 * testsuite/gas/mips/lui-1.d: New test.
304 * testsuite/gas/mips/lui-2.d: New test.
305 * gas/testsuite/gas/mips/mips.exp: Fold corresponding list tests
306 into the new tests.
307
308 2017-05-15 Maciej W. Rozycki <macro@imgtec.com>
309
310 * config/tc-mips.c (match_const_int): Update description.
311
312 2017-05-15 Maciej W. Rozycki <macro@imgtec.com>
313
314 * doc/as.texinfo (-mips16, -no-mips16): Refer to `.module
315 mips16' rather than `.set mips16'.
316 (-mmicromips, -mno-micromips): Refer to `.module micromips' and
317 `.module nomicromips' rather than `.set micromips' and `.set
318 nomicromips'.
319 (-msmartmips, -mno-smartmips): Refer to `.module smartmips'
320 rather than `.set smartmips'.
321 * doc/c-mips.texi (MIPS Options): Refer to `.module mips16',
322 `.module micromips', `.module nomicromips' and `.module
323 smartmips' rather than `.set mips16', `.set micromips', `.set
324 nomicromips' and `.set smartmips' respectively.
325
326 2017-05-12 Maciej W. Rozycki <macro@imgtec.com>
327 Matthew Fortune <matthew.fortune@imgtec.com>
328
329 * config/tc-mips.c (mips_percent_op): Add "%gprel".
330 (mips16_percent_op): Add "%gp_rel".
331 * testsuite/gas/mips/elf-rel8.s:: Add `%gprel' forms.
332 * testsuite/gas/mips/elf-rel8-mips16.s: Add `%gp_rel' forms.
333 * testsuite/gas/mips/elf-rel8.d: Adjust accordingly.
334 * testsuite/gas/mips/elf-rel8-mips16.d: Likewise.
335
336 2017-05-12 Maciej W. Rozycki <macro@imgtec.com>
337
338 * testsuite/gas/mips/mips16.d: Adjust BREAK disassembly.
339 * testsuite/gas/mips/mips16-64@mips16.d: Likewise.
340 * testsuite/gas/mips/mips16-64.d: Likewise.
341 * testsuite/gas/mips/mips16-64@mips16-64.d: Likewise.
342 * testsuite/gas/mips/mips16-macro.d: Likewise.
343 * testsuite/gas/mips/mips16-64@mips16-macro.d: Likewise.
344 * testsuite/gas/mips/mips16-sub.d: Likewise.
345 * testsuite/gas/mips/mips16-32@mips16-sub.d: Likewise.
346
347 2017-05-11 Maciej W. Rozycki <macro@imgtec.com>
348
349 * testsuite/gas/mips/mips32r2-sync-1.d: New test.
350 * testsuite/gas/mips/micromips@mips32r2-sync-1.d: New test.
351 * testsuite/gas/mips/mips.exp: Run the new tests.
352
353 2017-05-10 Maciej W. Rozycki <macro@imgtec.com>
354
355 * testsuite/gas/mips/isa-override-2.d: New test.
356 * testsuite/gas/mips/mips1@isa-override-2.d: New test.
357 * testsuite/gas/mips/r3000@isa-override-2.d: New test.
358 * testsuite/gas/mips/r3900@isa-override-2.d: New test.
359 * testsuite/gas/mips/mips2@isa-override-2.d: New test.
360 * testsuite/gas/mips/mips32@isa-override-2.d: New test.
361 * testsuite/gas/mips/mips32r2@isa-override-2.d: New test.
362 * testsuite/gas/mips/mips32r3@isa-override-2.d: New test.
363 * testsuite/gas/mips/mips32r5@isa-override-2.d: New test.
364 * testsuite/gas/mips/mips32r6@isa-override-2.d: New test.
365 * testsuite/gas/mips/octeon3@isa-override-2.d: New test.
366 * testsuite/gas/mips/r3000@isa-override-2.l: Remove list test.
367 * testsuite/gas/mips/mips1@isa-override-2.s: Remove test source.
368 * testsuite/gas/mips/r3000@isa-override-2.s: Remove test source.
369 * testsuite/gas/mips/r3900@isa-override-2.s: Remove test source.
370 * testsuite/gas/mips/mips2@isa-override-2.s: Remove test source.
371 * testsuite/gas/mips/mips32@isa-override-2.s: Remove test
372 source.
373 * testsuite/gas/mips/mips32r2@isa-override-2.s: Remove test
374 source.
375 * testsuite/gas/mips/mips32r3@isa-override-2.s: Remove test
376 source.
377 * testsuite/gas/mips/mips32r5@isa-override-2.s: Remove test
378 source.
379 * testsuite/gas/mips/mips32r6@isa-override-2.s: Remove test
380 source.
381 * testsuite/gas/mips/octeon3@isa-override-2.s: Remove test
382 source.
383 * gas/testsuite/gas/mips/mips.exp: Fold corresponding list tests
384 into the new tests.
385
386 2017-05-10 Maciej W. Rozycki <macro@imgtec.com>
387
388 * testsuite/gas/mips/mips16e-sub.d: Correct test name.
389 * testsuite/gas/mips/mips16-32@mips16e-sub.d: Likewise.
390 * testsuite/gas/mips/mips16-64@mips16e-sub.d: Likewise.
391 * testsuite/gas/mips/mips16e-64-sub.d: Likewise.
392 * testsuite/gas/mips/mips16-32@mips16e-64-sub.d: Likewise.
393 * testsuite/gas/mips/mips16-64@mips16e-64-sub.d: Likewise.
394 * testsuite/gas/mips/mips16e-32@mips16e-64-sub.d: Likewise.
395
396 2017-05-10 Maciej W. Rozycki <macro@imgtec.com>
397
398 * testsuite/gas/mips/mips16-macro.l: Remove list test.
399
400 2017-05-10 Maciej W. Rozycki <macro@imgtec.com>
401
402 * testsuite/gas/mips/r3900@ecoff@ld.d: Remove test.
403 * testsuite/gas/mips/mips2@ecoff@ld.d: Remove test.
404 * testsuite/gas/mips/mips32@ecoff@ld.d: Remove test.
405 * testsuite/gas/mips/mips32r2@ecoff@ld.d: Remove test.
406 * testsuite/gas/mips/r3900@ecoff@ld-forward.d: Remove test.
407 * testsuite/gas/mips/mips2@ecoff@ld-forward.d: Remove test.
408 * testsuite/gas/mips/mips32@ecoff@ld-forward.d: Remove test.
409 * testsuite/gas/mips/mips32r2@ecoff@ld-forward.d: Remove test.
410 * testsuite/gas/mips/mips1@ecoff@sd.d: Remove test.
411 * testsuite/gas/mips/r3000@ecoff@sd.d: Remove test.
412 * testsuite/gas/mips/r3900@ecoff@sd.d: Remove test.
413 * testsuite/gas/mips/mips2@ecoff@sd.d: Remove test.
414 * testsuite/gas/mips/mips32@ecoff@sd.d: Remove test.
415 * testsuite/gas/mips/mips32r2@ecoff@sd.d: Remove test.
416 * testsuite/gas/mips/mips1@ecoff@sd-forward.d: Remove test.
417 * testsuite/gas/mips/r3000@ecoff@sd-forward.d: Remove test.
418 * testsuite/gas/mips/r3900@ecoff@sd-forward.d: Remove test.
419 * testsuite/gas/mips/mips2@ecoff@sd-forward.d: Remove test.
420 * testsuite/gas/mips/mips32@ecoff@sd-forward.d: Remove test.
421 * testsuite/gas/mips/mips32r2@ecoff@sd-forward.d: Remove test.
422
423 2017-05-10 Claudiu Zissulescu <claziss@synopsys.com>
424
425 * testsuite/gas/arc/attr-arc600.d: New file.
426 * testsuite/gas/arc/attr-arc600_mul32x16.d: Likewise.
427 * testsuite/gas/arc/attr-arc600_norm.d: Likewise.
428 * testsuite/gas/arc/attr-arc601.d: Likewise.
429 * testsuite/gas/arc/attr-arc601_mul32x16.d: Likewise.
430 * testsuite/gas/arc/attr-arc601_mul64.d: Likewise.
431 * testsuite/gas/arc/attr-arc601_norm.d: Likewise.
432 * testsuite/gas/arc/attr-arc700.d: Likewise.
433 * testsuite/gas/arc/attr-arcem.d: Likewise.
434 * testsuite/gas/arc/attr-archs.d: Likewise.
435 * testsuite/gas/arc/attr-autodetect-1.d: Likewise.
436 * testsuite/gas/arc/attr-autodetect-1.s: Likewise.
437 * testsuite/gas/arc/attr-cpu-a601.d: Likewise.
438 * testsuite/gas/arc/attr-cpu-a601.s: Likewise.
439 * testsuite/gas/arc/attr-cpu-a700.d: Likewise.
440 * testsuite/gas/arc/attr-cpu-a700.s: Likewise.
441 * testsuite/gas/arc/attr-cpu-em.d: Likewise.
442 * testsuite/gas/arc/attr-cpu-em.s: Likewise.
443 * testsuite/gas/arc/attr-cpu-hs.d: Likewise.
444 * testsuite/gas/arc/attr-cpu-hs.s: Likewise.
445 * testsuite/gas/arc/attr-em.d: Likewise.
446 * testsuite/gas/arc/attr-em4.d: Likewise.
447 * testsuite/gas/arc/attr-em4_dmips.d: Likewise.
448 * testsuite/gas/arc/attr-em4_fpuda.d: Likewise.
449 * testsuite/gas/arc/attr-em4_fpus.d: Likewise.
450 * testsuite/gas/arc/attr-hs.d: Likewise.
451 * testsuite/gas/arc/attr-hs34.d: Likewise.
452 * testsuite/gas/arc/attr-hs38.d: Likewise.
453 * testsuite/gas/arc/attr-hs38_linux.d: Likewise.
454 * testsuite/gas/arc/attr-mul64.d: Likewise.
455 * testsuite/gas/arc/attr-name.d: Likewise.
456 * testsuite/gas/arc/attr-name.s: Likewise.
457 * testsuite/gas/arc/attr-nps400.d: Likewise.
458 * testsuite/gas/arc/attr-override-mcpu.d: Likewise.
459 * testsuite/gas/arc/attr-override-mcpu.s
460 * testsuite/gas/arc/attr-quarkse_em.d: Likewise.
461 * testsuite/gas/arc/blank.s: Likewise.
462 * testsuite/gas/elf/section2.e-arc: Likewise.
463 * testsuite/gas/arc/cpu-pseudop-1.d: Update test.
464 * testsuite/gas/arc/cpu-pseudop-2.d: Likewise.
465 * testsuite/gas/arc/nps400-0.d: Likewise.
466 * testsuite/gas/elf/elf.exp: Set target_machine for ARC.
467 * config/tc-arc.c (opcode/arc-attrs.h): Include.
468 (ARC_GET_FLAG, ARC_SET_FLAG, streq): Define.
469 (arc_attribute): Declare new function.
470 (md_pseudo_table): Add arc_attribute.
471 (cpu_types): Rename default cpu features.
472 (selected_cpu): Set the default OSABI flag.
473 (mpy_option): New variable.
474 (pic_option): Likewise.
475 (sda_option): Likewise.
476 (tls_option): Likewise.
477 (feature_type, feature_list): Remove.
478 (arc_initial_eflag): Likewise.
479 (attributes_set_explicitly): New variable.
480 (arc_check_feature): Check also for the conflicting features.
481 (arc_select_cpu): Refactor assignment of selected_cpu.eflags.
482 (arc_option): Remove setting of private flags and architecture.
483 (check_cpu_feature): Refactor feature names.
484 (autodetect_attributes): New function.
485 (assemble_tokens): Use above function.
486 (md_parse_option): Refactor feature names.
487 (arc_attribute): New function.
488 (arc_set_attribute_int): Likewise.
489 (arc_set_attribute_string): Likewise.
490 (arc_stralloc): Likewise.
491 (arc_set_public_attributes): Likewise.
492 (arc_md_end): Likewise.
493 (arc_copy_symbol_attributes): Likewise.
494 (rc_convert_symbolic_attribute): Likewise.
495 * config/tc-arc.h (md_end): Define.
496 (CONVERT_SYMBOLIC_ATTRIBUTE): Likewise.
497 (TC_COPY_SYMBOL_ATTRIBUTES): Likewise.
498 * doc/c-arc.texi: Document ARC object attributes.
499
500 2017-05-03 Maciej W. Rozycki <macro@imgtec.com>
501
502 * config/tc-mips.c (RELAX_MIPS16_ENCODE): Add `pic', `sym32' and
503 `nomacro' flags.
504 (RELAX_MIPS16_PIC, RELAX_MIPS16_SYM32, RELAX_MIPS16_NOMACRO):
505 New macros.
506 (RELAX_MIPS16_USER_SMALL, RELAX_MIPS16_USER_EXT)
507 (RELAX_MIPS16_DSLOT, RELAX_MIPS16_JAL_DSLOT)
508 (RELAX_MIPS16_EXTENDED, RELAX_MIPS16_MARK_EXTENDED)
509 (RELAX_MIPS16_CLEAR_EXTENDED, RELAX_MIPS16_ALWAYS_EXTENDED)
510 (RELAX_MIPS16_MARK_ALWAYS_EXTENDED)
511 (RELAX_MIPS16_CLEAR_ALWAYS_EXTENDED): Shift bits.
512 (RELAX_MIPS16_MACRO, RELAX_MIPS16_MARK_MACRO)
513 (RELAX_MIPS16_CLEAR_MACRO): New macros.
514 (append_insn): Pass `mips_pic', HAVE_32BIT_SYMBOLS and
515 `mips_opts.warn_about_macros' settings to RELAX_MIPS16_ENCODE.
516 (mips16_macro_frag): New function.
517 (md_estimate_size_before_relax): Handle HI16/LO16 relaxation.
518 (mips_relax_frag): Likewise.
519 (md_convert_frag): Likewise.
520
521 * testsuite/gas/mips/mips16@relax-swap3.d: Remove error output,
522 add dump patterns.
523 * testsuite/gas/mips/mips16e@relax-swap3.d: New test
524 subarchitecture.
525 * testsuite/gas/mips/micromips@relax-swap3.d: Remove trailing
526 NOP padding.
527 * testsuite/gas/mips/mips16-pcrel-reloc-2.d: Remove error
528 output, add dump patterns.
529 * testsuite/gas/mips/mips16-pcrel-reloc-3.d: Remove error
530 output, add dump patterns.
531 * testsuite/gas/mips/mips16-pcrel-reloc-6.d: Remove error
532 output, add dump patterns.
533 * testsuite/gas/mips/mips16-pcrel-reloc-7.d: Remove error
534 output, add dump patterns.
535 * testsuite/gas/mips/mips16-pcrel-addend-2.d: Remove error
536 output, add dump patterns.
537 * testsuite/gas/mips/mips16-pcrel-addend-3.d: Remove error
538 output, add dump patterns.
539 * testsuite/gas/mips/mips16-pcrel-absolute.d: Remove error
540 output, add dump patterns.
541 * testsuite/gas/mips/mips16-pcrel-absolute-1.d: Remove error
542 output, add dump patterns.
543 * testsuite/gas/mips/mips16@relax-swap3.l: Remove file.
544 * testsuite/gas/mips/mips16-pcrel-reloc-2.l: Remove file.
545 * testsuite/gas/mips/mips16-pcrel-reloc-3.l: Remove file.
546 * testsuite/gas/mips/mips16-pcrel-reloc-6.l: Remove file.
547 * testsuite/gas/mips/mips16-pcrel-reloc-7.l: Remove file.
548 * testsuite/gas/mips/mips16-pcrel-addend-2.l: Remove file.
549 * testsuite/gas/mips/mips16-pcrel-addend-3.l: Remove file.
550 * testsuite/gas/mips/mips16-pcrel-absolute.l: Remove file.
551 * testsuite/gas/mips/mips16-pcrel-absolute-1.l: Remove file.
552 * testsuite/gas/mips/relax-swap3.s: Adjust trailing padding.
553
554 * testsuite/gas/mips/mips16-pcrel-0.d: New test.
555 * testsuite/gas/mips/mips16-pcrel-1.d: New test.
556 * testsuite/gas/mips/mips16-pcrel-2.d: New test.
557 * testsuite/gas/mips/mips16-pcrel-3.d: New test.
558 * testsuite/gas/mips/mips16-pcrel-4.d: New test.
559 * testsuite/gas/mips/mips16-pcrel-5.d: New test.
560 * testsuite/gas/mips/mips16-pcrel-pic-0.d: New test.
561 * testsuite/gas/mips/mips16-pcrel-pic-1.d: New test.
562 * testsuite/gas/mips/mips16-pcrel-n32-0.d: New test.
563 * testsuite/gas/mips/mips16-pcrel-n32-1.d: New test.
564 * testsuite/gas/mips/mips16-pcrel-n64-sym32-0.d: New test.
565 * testsuite/gas/mips/mips16-pcrel-n64-sym32-1.d: New test.
566 * testsuite/gas/mips/mips16-pcrel-n64-0.d: New test.
567 * testsuite/gas/mips/mips16-pcrel-n64-1.d: New test.
568 * testsuite/gas/mips/mips16-pcrel-delay-0.d: New test.
569 * testsuite/gas/mips/mips16-pcrel-delay-1.d: New test.
570 * testsuite/gas/mips/mips16-pcrel-addend-4.d: New test.
571 * testsuite/gas/mips/mips16-pcrel-addend-5.d: New test.
572 * testsuite/gas/mips/mips16-pcrel-addend-6.d: New test.
573 * testsuite/gas/mips/mips16-pcrel-addend-7.d: New test.
574 * testsuite/gas/mips/mips16-pcrel-addend-8.d: New test.
575 * testsuite/gas/mips/mips16-pcrel-addend-9.d: New test.
576 * testsuite/gas/mips/mips16-pcrel-addend-pic-8.d: New test.
577 * testsuite/gas/mips/mips16-pcrel-addend-pic-9.d: New test.
578 * testsuite/gas/mips/mips16-pcrel-addend-n32-8.d: New test.
579 * testsuite/gas/mips/mips16-pcrel-addend-n32-9.d: New test.
580 * testsuite/gas/mips/mips16-pcrel-addend-n64-sym32-8.d: New test.
581 * testsuite/gas/mips/mips16-pcrel-addend-n64-sym32-9.d: New test.
582 * testsuite/gas/mips/mips16-pcrel-addend-n64-8.d: New test.
583 * testsuite/gas/mips/mips16-pcrel-addend-n64-9.d: New test.
584 * testsuite/gas/mips/mips16-pcrel-absolute-2.d: New test.
585 * testsuite/gas/mips/mips16-pcrel-absolute-3.d: New test.
586 * testsuite/gas/mips/mips16-pcrel-absolute-4.d: New test.
587 * testsuite/gas/mips/mips16-pcrel-absolute-5.d: New test.
588 * testsuite/gas/mips/mips16-pcrel-absolute-6.d: New test.
589 * testsuite/gas/mips/mips16-pcrel-absolute-7.d: New test.
590 * testsuite/gas/mips/mips16-pcrel-absolute-pic-4.d: New test.
591 * testsuite/gas/mips/mips16-pcrel-absolute-pic-6.d: New test.
592 * testsuite/gas/mips/mips16-pcrel-absolute-n32-4.d: New test.
593 * testsuite/gas/mips/mips16-pcrel-absolute-n32-6.d: New test.
594 * testsuite/gas/mips/mips16-pcrel-absolute-n64-4.d: New test.
595 * testsuite/gas/mips/mips16-pcrel-absolute-n64-6.d: New test.
596 * testsuite/gas/mips/mips16-pcrel-absolute-n64-sym32-4.d: New
597 test.
598 * testsuite/gas/mips/mips16-pcrel-absolute-n64-sym32-6.d: New
599 test.
600 * testsuite/gas/mips/mips16-pcrel-absolute-pic-n32-4.d: New
601 test.
602 * testsuite/gas/mips/mips16-pcrel-absolute-pic-n32-6.d: New
603 test.
604 * testsuite/gas/mips/mips16-pcrel-absolute-pic-n64-4.d: New
605 test.
606 * testsuite/gas/mips/mips16-pcrel-absolute-pic-n64-6.d: New
607 test.
608 * testsuite/gas/mips/mips16-pcrel-absolute-pic-n64-sym32-4.d:
609 New test.
610 * testsuite/gas/mips/mips16-pcrel-absolute-pic-n64-sym32-6.d:
611 New test.
612 * testsuite/gas/mips/mips16-pcrel-0.l: New stderr output.
613 * testsuite/gas/mips/mips16-pcrel-1.l: New stderr output.
614 * testsuite/gas/mips/mips16-pcrel-2.l: New stderr output.
615 * testsuite/gas/mips/mips16-pcrel-3.l: New stderr output.
616 * testsuite/gas/mips/mips16-pcrel-4.l: New stderr output.
617 * testsuite/gas/mips/mips16-pcrel-5.l: New stderr output.
618 * testsuite/gas/mips/mips16-pcrel-delay-0.l: New stderr output.
619 * testsuite/gas/mips/mips16-pcrel-delay-1.l: New stderr output.
620 * testsuite/gas/mips/mips16-pcrel-addend-8.l: New stderr output.
621 * testsuite/gas/mips/mips16-pcrel-addend-9.l: New stderr output.
622 * testsuite/gas/mips/mips16-pcrel-absolute-4.l: New stderr
623 output.
624 * testsuite/gas/mips/mips16-pcrel-absolute-6.l: New stderr
625 output.
626 * testsuite/gas/mips/mips16-pcrel-0.s: New test source.
627 * testsuite/gas/mips/mips16-pcrel-1.s: New test source.
628 * testsuite/gas/mips/mips16-pcrel-2.s: New test source.
629 * testsuite/gas/mips/mips16-pcrel-3.s: New test source.
630 * testsuite/gas/mips/mips16-pcrel-4.s: New test source.
631 * testsuite/gas/mips/mips16-pcrel-5.s: New test source.
632 * testsuite/gas/mips/mips16-pcrel-delay-0.s: New test source.
633 * testsuite/gas/mips/mips16-pcrel-delay-1.s: New test source.
634 * testsuite/gas/mips/mips16-pcrel-addend-4.s: New test source.
635 * testsuite/gas/mips/mips16-pcrel-addend-5.s: New test source.
636 * testsuite/gas/mips/mips16-pcrel-addend-6.s: New test source.
637 * testsuite/gas/mips/mips16-pcrel-addend-7.s: New test source.
638 * testsuite/gas/mips/mips16-pcrel-addend-8.s: New test source.
639 * testsuite/gas/mips/mips16-pcrel-addend-9.s: New test source.
640 * testsuite/gas/mips/mips16-pcrel-absolute-2.s: New test.
641 * testsuite/gas/mips/mips16-pcrel-absolute-3.s: New test.
642 * testsuite/gas/mips/mips16-pcrel-absolute-4.s: New test.
643 * testsuite/gas/mips/mips16-pcrel-absolute-5.s: New test.
644 * testsuite/gas/mips/mips16-pcrel-absolute-6.s: New test.
645 * testsuite/gas/mips/mips16-pcrel-absolute-7.s: New test.
646 * testsuite/gas/mips/mips.exp: Run the new tests.
647
648 2017-05-03 Nick Clifton <nickc@redhat.com>
649
650 PR gas/20941
651 * symbols.c (snapshot_symbol): Handle the case where
652 resolve_expression returns a local symbol.
653
654 2017-05-02 Maciej W. Rozycki <macro@imgtec.com>
655
656 * config/tc-mips.c (append_insn): Call `symbol_append' for any
657 expression symbol created for MIPS16 relaxation.
658 (match_mips16_insn): Don't encode a constant value as an
659 immediate with a PC-relative operand.
660
661 * testsuite/gas/mips/mips16-pcrel-absolute-1.d: New test.
662 * testsuite/gas/mips/mips16-branch-absolute-1.d: New test.
663 * testsuite/gas/mips/mips16-branch-absolute-2.d: New test.
664 * testsuite/gas/mips/mips16-branch-absolute-addend-1.d: New
665 test.
666 * testsuite/gas/mips/mips16-branch-absolute-n32-1.d: New test.
667 * testsuite/gas/mips/mips16-branch-absolute-n32-2.d: New test.
668 * testsuite/gas/mips/mips16-branch-absolute-addend-n32-1.d: New
669 test.
670 * testsuite/gas/mips/mips16-branch-absolute-n64-1.d: New test.
671 * testsuite/gas/mips/mips16-branch-absolute-n64-2.d: New test.
672 * testsuite/gas/mips/mips16-branch-absolute-addend-n64-1.d: New
673 test.
674 * testsuite/gas/mips/mips16-pcrel-absolute-1.l: New stderr
675 output.
676 * testsuite/gas/mips/mips16-pcrel-absolute-1.s: New test source.
677 * testsuite/gas/mips/mips16-branch-absolute-1.s: New test
678 source.
679 * testsuite/gas/mips/mips16-branch-absolute-2.s: New test
680 source.
681 * testsuite/gas/mips/mips16-branch-absolute-addend-1.s: New test
682 source.
683 * testsuite/gas/mips/mips.exp: Run the new tests.
684
685 2017-04-27 Maciej W. Rozycki <macro@imgtec.com>
686
687 * config/tc-mips.c (mips16_pcrel_val): New function, factored
688 out from...
689 (mips16_extended_frag): ... here.
690 (md_convert_frag): Use `mips16_pcrel_val' rather than repeated
691 code in MIPS16 relaxation, with `stretch' hardcoded to 0.
692
693 2017-04-27 Maciej W. Rozycki <macro@imgtec.com>
694
695 * config/tc-mips.c (RELAX_MIPS16_LONG_BRANCH): Rename to...
696 (RELAX_MIPS16_ALWAYS_EXTENDED): ... this.
697 (RELAX_MIPS16_MARK_LONG_BRANCH): Rename to...
698 (RELAX_MIPS16_MARK_ALWAYS_EXTENDED): ... this.
699 (RELAX_MIPS16_CLEAR_LONG_BRANCH): Rename to...
700 (RELAX_MIPS16_CLEAR_ALWAYS_EXTENDED): ... this.
701 (mips16_extended_frag): Adjust accordingly.
702
703 2017-04-27 Alan Modra <amodra@gmail.com>
704
705 * symbols.c (S_FORCE_RELOC): Separate section and symbol tests.
706
707 2017-04-26 Maciej W. Rozycki <macro@imgtec.com>
708
709 * config/tc-mips.c (RELAX_ENCODE): Add `PIC' flag.
710 (RELAX_PIC): New macro.
711 (RELAX_USE_SECOND, RELAX_SECOND_LONGER, RELAX_NOMACRO)
712 (RELAX_DELAY_SLOT, RELAX_DELAY_SLOT_16BIT)
713 (RELAX_DELAY_SLOT_SIZE_FIRST, RELAX_DELAY_SLOT_SIZE_SECOND):
714 Shift bits.
715 (RELAX_BRANCH_ENCODE): Add `pic' flag.
716 (RELAX_BRANCH_UNCOND, RELAX_BRANCH_LIKELY, RELAX_BRANCH_LINK)
717 (RELAX_BRANCH_TOOFAR): Shift bits.
718 (RELAX_BRANCH_PIC): New macro.
719 (RELAX_MICROMIPS_ENCODE): Add `pic' flag.
720 (RELAX_MICROMIPS_PIC): New macro.
721 (RELAX_MICROMIPS_UNCOND, RELAX_MICROMIPS_COMPACT)
722 (RELAX_MICROMIPS_LINK, RELAX_MICROMIPS_NODS)
723 (RELAX_MICROMIPS_RELAX32): Shift bits.
724 (relax_close_frag): Pass `mips_pic' setting to RELAX_ENCODE.
725 (append_insn): Pass `mips_pic' setting to RELAX_BRANCH_ENCODE
726 and RELAX_MICROMIPS_ENCODE, and record it in `fx_tcbit2' of the
727 first fixup created.
728 (md_apply_fix) <BFD_RELOC_16_PCREL_S2>: Use `fx_tcbit2' of the
729 fixup processed rather than `mips_pic' in choosing to relax an
730 out of range branch to a jump.
731 (relaxed_branch_length): Use the `pic' flag of the relaxed frag
732 rather than `mips_pic'.
733 (relaxed_micromips_32bit_branch_length): Likewise.
734 (md_estimate_size_before_relax): Likewise.
735 (md_convert_frag): Likewise.
736
737 * testsuite/gas/mips/option-pic-relax-0.d: New test.
738 * testsuite/gas/mips/option-pic-relax-1.d: New test.
739 * testsuite/gas/mips/option-pic-relax-2.d: New test.
740 * testsuite/gas/mips/option-pic-relax-3.d: New test.
741 * testsuite/gas/mips/option-pic-relax-3a.d: New test.
742 * testsuite/gas/mips/option-pic-relax-4.d: New test.
743 * testsuite/gas/mips/option-pic-relax-5.d: New test.
744 * testsuite/gas/mips/option-pic-relax-2.l: New stderr output.
745 * testsuite/gas/mips/option-pic-relax-3.l: New stderr output.
746 * testsuite/gas/mips/option-pic-relax-4.l: New stderr output.
747 * testsuite/gas/mips/option-pic-relax-5.l: New stderr output.
748 * testsuite/gas/mips/option-pic-relax-0.s: New test source.
749 * testsuite/gas/mips/option-pic-relax-1.s: New test source.
750 * testsuite/gas/mips/option-pic-relax-2.s: New test source.
751 * testsuite/gas/mips/option-pic-relax-3.s: New test source.
752 * testsuite/gas/mips/option-pic-relax-4.s: New test source.
753 * testsuite/gas/mips/option-pic-relax-5.s: New test source.
754 * testsuite/gas/mips/mips.exp: Run the new tests.
755
756 2017-04-25 Claudiu Zissulescu <claziss@synopsys.com>
757
758 * testsuite/gas/arc/leave_enter.d: Update test.
759 * testsuite/gas/arc/leave_enter.s: Likewise.
760
761 2017-04-25 Claudiu Zissulescu <claziss@synopsys.com>
762
763 * testsuite/gas/arc/b.d: Update test.
764 * testsuite/gas/arc/noargs_hs.d: Likewise.
765
766 2017-04-25 Maciej W. Rozycki <macro@imgtec.com>
767
768 * config/tc-mips.c (md_convert_frag): Correct
769 BFD_RELOC_MIPS16_16_PCREL_S1 fixup size.
770 * testsuite/gas/mips/mips16-branch-addend-4.d: New test.
771 * testsuite/gas/mips/mips16-branch-addend-5.d: New test.
772 * testsuite/gas/mips/mips16-branch-addend-5.l: New stderr
773 output.
774 * testsuite/gas/mips/mips16-branch-addend-4.s: New test source.
775 * testsuite/gas/mips/mips16-branch-addend-5.s: New test source.
776 * testsuite/gas/mips/mips.exp: Run the new tests.
777
778 2017-04-25 Jose E. Marchesi <jose.marchesi@oracle.com>
779
780 PR gas/21407
781 * config/tc-sparc.c (md_apply_fix): Do not transform `call'
782 instructions into branch instructions in fixups generating
783 additional relocations.
784 * testsuite/gas/sparc/call-relax.s: New file.
785 * testsuite/gas/sparc/call-relax.d: Likewise.
786 * testsuite/gas/sparc/call-relax-aout.d: Likewise.
787 * testsuite/gas/sparc/sparc.exp: Test call-relax and call-relax-aout.
788
789 2017-04-24 Thomas Preud'homme <thomas.preudhomme@arm.com>
790
791 * config/tc-arm.c (move_or_literal_pool): Remove code generating MOVS.
792 Forbid MOV.W and MOVW if destination is SP or PC.
793 * testsuite/gas/arm/thumb2_ldr_immediate_highregs_armv6t2.s: Explain
794 expectation of LDR not generating a MOVS for low registers and small
795 constants. Add tests of MOVW generation.
796 * testsuite/gas/arm/thumb2_ldr_immediate_highregs_armv6t2.d: Update
797 expected disassembly.
798
799 2017-04-22 Alan Modra <amodra@gmail.com>
800
801 * testsuite/gas/ppc/vle.s: Format. Add se_rfgi and e_sc.
802 * testsuite/gas/ppc/vle.d: Update.
803
804 2017-04-21 Nick Clifton <nickc@redhat.com>
805
806 PR binutils/21380
807 * testsuite/gas/aarch64/illegal-3.s: New file.
808 * testsuite/gas/aarch64/illegal-3.d: New file.
809
810 2017-04-11 Alan Modra <amodra@gmail.com>
811
812 * config/tc-ppc.c (md_show_usage): Delete mention of -mhtm.
813 * testsuite/gas/ppc/htm.d: Pass -mpower8 and -Mpower8.
814
815 2017-04-10 Max Filippov <jcmvbkbc@gmail.com>
816
817 * config/tc-xtensa.c (xtensa_maybe_create_literal_pool_frag):
818 Initialize lps->frag_count with auto_litpool_limit.
819 (xg_promote_candidate_litpool): New function.
820 (xtensa_move_literals): Extract candidate litpool promotion code
821 into separate function. Call it for all possible found
822 candidates.
823 (xtensa_switch_to_literal_fragment): Drop 'recursive' flag and
824 call to xtensa_mark_literal_pool_location that it guards.
825 Replace it with call to xtensa_maybe_create_literal_pool_frag.
826 Initialize pool_location with created literal pool candidate.
827 * testsuite/gas/xtensa/all.exp: Add new tests.
828 * testsuite/gas/xtensa/auto-litpools-first1.d: New test results.
829 * testsuite/gas/xtensa/auto-litpools-first1.s: New test.
830 * testsuite/gas/xtensa/auto-litpools-first2.d: New test results.
831 * testsuite/gas/xtensa/auto-litpools-first2.s: New test.
832 * testsuite/gas/xtensa/auto-litpools.d: Fix offsets changed due
833 to additional jump instruction.
834
835 2017-04-07 Alan Modra <amodra@gmail.com>
836
837 * testsuite/gas/ppc/altivec2.s: Delete E6500 vector insns.
838 * testsuite/gas/ppc/altivec2.d: Adjust to suit.
839
840 2017-04-07 Alan Modra <amodra@gmail.com>
841
842 * testsuite/gas/elf/section12a.d: Don't expect alignment of 1
843 for .mbind.text.
844
845 2017-04-06 Pip Cet <pipcet@gmail.com>
846
847 * testsuite/gas/wasm32/allinsn.d: Adjust test for disassembler
848 changes.
849 * testsuite/gas/wasm32/disass.d: New test.
850 * testsuite/gas/wasm32/disass.s: New test.
851 * testsuite/gas/wasm32/disass-2.d: New test.
852 * testsuite/gas/wasm32/disass-2.s: New test.
853 * testsuite/gas/wasm32/reloc.d: Adjust test for changed reloc
854 names.
855 * testsuite/gas/wasm32/reloc.s: Update test for changed assembler
856 syntax.
857 * testsuite/gas/wasm32/wasm32.exp: Run new tests. Expect allinsn
858 test to succeed.
859
860 2017-04-04 H.J. Lu <hongjiu.lu@intel.com>
861
862 * NEWS: Mention support for ELF SHF_GNU_MBIND.
863 * config/obj-elf.c (section_match): New.
864 (get_section): Match both sh_info and group name.
865 (obj_elf_change_section): Add argument for sh_info. Pass both
866 sh_info and group name to get_section. Issue an error for
867 SHF_GNU_MBIND section without SHF_ALLOC. Set sh_info.
868 (obj_elf_parse_section_letters): Set SHF_GNU_MBIND for 'd'.
869 (obj_elf_section): Support SHF_GNU_MBIND section info.
870 * config/obj-elf.h (obj_elf_change_section): Add argument for
871 sh_info.
872 * config/tc-arm.c (start_unwind_section): Pass 0 as sh_info to
873 obj_elf_change_section.
874 * config/tc-ia64.c (obj_elf_vms_common): Likewise.
875 * config/tc-microblaze.c (microblaze_s_data): Likewise.
876 (microblaze_s_sdata): Likewise.
877 (microblaze_s_rdata): Likewise.
878 (microblaze_s_bss): Likewise.
879 * config/tc-mips.c (s_change_section): Likewise.
880 * config/tc-msp430.c (msp430_profiler): Likewise.
881 * config/tc-rx.c (parse_rx_section): Likewise.
882 * config/tc-tic6x.c (tic6x_start_unwind_section): Likewise.
883 * doc/as.texinfo: Document 'd' for SHF_GNU_MBIND.
884 * testsuite/gas/elf/elf.exp: Run section12a, section12b and
885 section13.
886 * testsuite/gas/elf/section10.d: Updated.
887 * testsuite/gas/elf/section10.s: Likewise.
888 * testsuite/gas/elf/section12.s: New file.
889 * testsuite/gas/elf/section12a.d: Likewise.
890 * testsuite/gas/elf/section12b.d: Likewise.
891 * testsuite/gas/elf/section13.l: Likewise.
892 * testsuite/gas/elf/section13.d: Likewise.
893 * testsuite/gas/elf/section13.s: Likewise.
894
895 2017-04-03 Palmer Dabbelt <palmer@dabbelt.com>
896
897 * config/tc-riscv.c (riscv_clear_subsets): Cast argument to free to
898 avoid const warnings.
899
900 2017-03-30 Palmer Dabbelt <palmer@dabbelt.com>
901
902 * config/tc-riscv.c (riscv_clear_subsets): New function.
903 (riscv_add_subset): Call riscv_clear_subsets and riscv_set_rvc to
904 clear RVC when it's been previously set.
905
906 2017-03-31 Nick Clifton <nickc@redhat.com>
907
908 PR gas/21333
909 * config/tc-s390.c (tc_s390_fix_adjustable): Allow non pc-relative
910 fixups in mergeable sections to be adjusted.
911
912 2017-03-30 Pip Cet <pipcet@gmail.com>
913
914 * config/tc-wasm32.h: New file: Add WebAssembly assembler target.
915 * config/tc-wasm32.c: New file: Add WebAssembly assembler target.
916 * Makefile.am: Add WebAssembly assembler target.
917 * configure.tgt: Add WebAssembly assembler target.
918 * doc/c-wasm32.texi: New file: Start documenting WebAssembly
919 assembler.
920 * doc/all.texi: Define WASM32.
921 * doc/as.texinfo: Add WebAssembly entries.
922 * NEWS: Mention the new support.
923 * Makefile.in: Regenerate.
924 * po/gas.pot: Regenerate.
925 * po/POTFILES.in: Regenerate.
926 * testsuite/gas/wasm32: New directory.
927 * testsuite/gas/wasm32/allinsn.d: New file.
928 * testsuite/gas/wasm32/allinsn.s: New file.
929 * testsuite/gas/wasm32/illegal.l: New file.
930 * testsuite/gas/wasm32/illegal.s: New file.
931 * testsuite/gas/wasm32/illegal-2.l: New file.
932 * testsuite/gas/wasm32/illegal-2.s: New file.
933 * testsuite/gas/wasm32/illegal-3.l: New file.
934 * testsuite/gas/wasm32/illegal-3.s: New file.
935 * testsuite/gas/wasm32/illegal-4.l: New file.
936 * testsuite/gas/wasm32/illegal-4.s: New file.
937 * testsuite/gas/wasm32/illegal-5.l: New file.
938 * testsuite/gas/wasm32/illegal-5.s: New file.
939 * testsuite/gas/wasm32/illegal-6.l: New file.
940 * testsuite/gas/wasm32/illegal-6.s: New file.
941 * testsuite/gas/wasm32/illegal-7.l: New file.
942 * testsuite/gas/wasm32/illegal-7.s: New file.
943 * testsuite/gas/wasm32/illegal-8.l: New file.
944 * testsuite/gas/wasm32/illegal-8.s: New file.
945 * testsuite/gas/wasm32/illegal-9.l: New file.
946 * testsuite/gas/wasm32/illegal-9.s: New file.
947 * testsuite/gas/wasm32/illegal-10.l: New file.
948 * testsuite/gas/wasm32/illegal-10.s: New file.
949 * testsuite/gas/wasm32/illegal-11.l: New file.
950 * testsuite/gas/wasm32/illegal-11.s: New file.
951 * testsuite/gas/wasm32/illegal-12.l: New file.
952 * testsuite/gas/wasm32/illegal-12.s: New file.
953 * testsuite/gas/wasm32/illegal-13.l: New file.
954 * testsuite/gas/wasm32/illegal-13.s: New file.
955 * testsuite/gas/wasm32/illegal-14.l: New file.
956 * testsuite/gas/wasm32/illegal-14.s: New file.
957 * testsuite/gas/wasm32/illegal-15.l: New file.
958 * testsuite/gas/wasm32/illegal-15.s: New file.
959 * testsuite/gas/wasm32/illegal-16.l: New file.
960 * testsuite/gas/wasm32/illegal-16.s: New file.
961 * testsuite/gas/wasm32/illegal-17.l: New file.
962 * testsuite/gas/wasm32/illegal-17.s: New file.
963 * testsuite/gas/wasm32/illegal-18.l: New file.
964 * testsuite/gas/wasm32/illegal-18.s: New file.
965 * testsuite/gas/wasm32/illegal-19.l: New file.
966 * testsuite/gas/wasm32/illegal-19.s: New file.
967 * testsuite/gas/wasm32/illegal-20.l: New file.
968 * testsuite/gas/wasm32/illegal-20.s: New file.
969 * testsuite/gas/wasm32/illegal-21.l: New file.
970 * testsuite/gas/wasm32/illegal-21.s: New file.
971 * testsuite/gas/wasm32/illegal-22.l: New file.
972 * testsuite/gas/wasm32/illegal-22.s: New file.
973 * testsuite/gas/wasm32/illegal-24.l: New file.
974 * testsuite/gas/wasm32/illegal-24.s: New file.
975 * testsuite/gas/wasm32/illegal-25.l: New file.
976 * testsuite/gas/wasm32/illegal-25.s: New file.
977 * testsuite/gas/wasm32/reloc.d: New file.
978 * testsuite/gas/wasm32/reloc.s: New file.
979 * testsuite/gas/wasm32/wasm32.exp: New tests for WebAssembly
980 architecture.
981
982 2017-03-29 Alan Modra <amodra@gmail.com>
983
984 * config/tc-ppc.c (md_parse_option): Reject -mraw.
985
986 2017-03-27 Alan Modra <amodra@gmail.com>
987
988 PR 21303
989 * testsuite/gas/ppc/pr21303.d,
990 * testsuite/gas/ppc/pr21303.s: New test
991 * testsuite/gas/ppc/ppc.exp: Run it.
992
993 2017-03-27 Rinat Zelig <rinat@mellanox.com>
994
995 * testsuite/gas/arc/nps400-12.s: New file.
996 * testsuite/gas/arc/nps400-12.d: New file.
997
998 2017-03-24 Thomas preud'homme <thomas.preudhomme@arm.com>
999
1000 * config/tc-arm.: (md_begin): Set selected_cpu from *mcpu_cpu_opt when
1001 CPU_DEFAULT is defined.
1002
1003 2017-03-21 Palmer Dabbbelt <palmer@dabbelt.com>
1004
1005 * config/tc-riscv.c (md_show_usage): Remode defuct -m32, -m64,
1006 -msoft-float, -mhard-float, -mno-rvc, and -mrvc options; and don't
1007 print an invalid default ISA string.
1008 * doc/c-riscv.texi (OPTIONS): Add -fpic and -fno-pic options.
1009
1010 2017-03-22 Max Filippov <jcmvbkbc@gmail.com>
1011
1012 * config/tc-xtensa.c (xtensa_relax_frag): Change fx_size of the
1013 reassigned fixup to size of jump instruction (3) and fx_r_type
1014 to BFD_RELOC_XTENSA_SLOT0_OP, as there's only one slot.
1015 (add_jump_to_trampoline): Search
1016 origfrag->tc_frag_data.slot_symbols for the slot with non-NULL
1017 symbol and use that slot instead of slot 0.
1018
1019 2017-03-21 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
1020
1021 * config/tc-s390.c (s390_parse_cpu): Remove S390_INSTR_FLAG_VX2
1022 from cpu_table. Remove vx2, and novx2 from cpu_flags.
1023
1024 2017-03-21 Rinat Zelig <rinat@mellanox.com>
1025
1026 * testsuite/gas/arc/nps400-11.s: New file.
1027 * testsuite/gas/arc/nps400-11.d: New file.
1028
1029 2017-03-20 Nick Clifton <nickc@redhat.com>
1030
1031 * doc/as.texinfo (2byte): Note that if no expressions are present
1032 the directive does nothing. Emphasize that the output is
1033 unaligned, and that this can have an effect on the relocations
1034 generated.
1035 (4byte): Simplify description. Refer back to the 2byte
1036 description.
1037 (8byte): Likewise.
1038
1039 2017-03-20 Richard Earnshaw <rearnsha@arm.com>
1040
1041 * config/tc-arm.c (arm_fpus): Note entires that should not be
1042 documented.
1043 * doc/c-arm.texi (-mfpu): Add missing FPU entries for neon-vfpv3 and
1044 neon-fp16. Fix spelling error.
1045
1046 2017-03-20 Richard Earnshaw <rearnsha@arm.com>
1047
1048 * config/tc-arm.c (arm_fpus): Add neon-vfpv3 as an alias for neon.
1049
1050 2017-03-16 Rinat Zelig <rinat@mellanox.com>
1051
1052 * config/tc-arc.c (assemble_insn): Only handle ".t" and ".nt"
1053 specially for ARCv2.
1054
1055 2017-03-14 Kito Cheng <kito.cheng@gmail.com>
1056
1057 * config/tc-riscv.c (validate_riscv_insn): Add 'o' RVC immediate
1058 encoding format, which can accept 0-valued immediates.
1059 (riscv_ip): Likewise.
1060
1061 2017-03-15 Nick Clifton <nickc@redhat.com>
1062
1063 * config/tc-riscv.c (riscv_pre_output_hook): Fix compile time
1064 warning about discarding a const qualifier.
1065
1066 2017-03-02 Kuan-Lin Chen <rufus@andestech.com>
1067
1068 * config/tc-riscv.h (HWARD2_USE_FIXED_ADVANCE_PC): New define.
1069
1070 2017-03-02 Kuan-Lin Chen <rufus@andestech.com>
1071
1072 * config/tc-riscv.c (md_apply_fix): Set fx_frag and
1073 fx_next->fx_frag for CFA_advance_loc relocations.
1074
1075 2017-03-02 Kuan-Lin Chen <rufus@andestech.com>
1076
1077 * config/tc-riscv.c (md_apply_fix): Compute the correct offsets
1078 for CFA relocations.
1079
1080 2017-03-13 Nick Clifton <nickc@redhat.com>
1081
1082 PR binutils/21202
1083 * config/tc-aarch64.c (reloc_table): Rename
1084 BFD_RELOC_AARCH64_TLSDESC_LD64_LO12_NC to
1085 BFD_RELOC_AARCH64_TLSDESC_LD64_LO12. Rname
1086 BFD_RELOC_AARCH64_TLSDESC_ADD_LO12_NC to
1087 BFD_RELOC_AARCH64_TLSDESC_ADD_LO12.
1088 (md_apply_fix): Likewise.
1089 (aarch64_force_relocation): Likewise.
1090 * testsuite/gas/aarch64/tls.d: Update regexp.
1091
1092 2017-03-10 Tobin C. Harding <me@tobin.cc>
1093 Nick Clifton <nickc@redhat.com>
1094
1095 * doc/as.texinfo (2byte): Tidy up wording. Add note that
1096 overlarge values will produce a warning message and be trunacted.
1097 (4byte): Likewise.
1098
1099 2017-03-09 H.J. Lu <hongjiu.lu@intel.com>
1100
1101 * config/tc-i386.c (_i386_insn): Add dir_encoding and
1102 vec_encoding. Remove swap_operand and need_vrex.
1103 (extra_symbol_chars): Add '}'.
1104 (md_begin): Mark '}' with LEX_BEGIN_NAME. Allow '}' in
1105 mnemonic.
1106 (build_vex_prefix): Don't use 2-byte VEX encoding with
1107 {vex3}. Check dir_encoding and load.
1108 (parse_insn): Check pseudo prefixes. Set dir_encoding.
1109 (VEX_check_operands): Likewise.
1110 (match_template): Check dir_encoding and load.
1111 (parse_real_register): Set vec_encoding instead of need_vrex.
1112 (parse_register): Likewise.
1113 * doc/c-i386.texi: Document {disp8}, {disp32}, {load}, {store},
1114 {vex2}, {vex3} and {evex}. Remove ".s", ".d8" and ".d32"
1115 * testsuite/gas/i386/i386.exp: Run pseudos and x86-64-pseudos.
1116 * testsuite/gas/i386/pseudos.d: New file.
1117 * testsuite/gas/i386/pseudos.s: Likewise.
1118 * testsuite/gas/i386/x86-64-pseudos.d: Likewise.
1119 * testsuite/gas/i386/x86-64-pseudos.s: Likewise.
1120
1121 2017-03-08 Peter Bergner <bergner@vnet.ibm.com>
1122
1123 * testsuite/gas/ppc/altivec2.d (as): Use the -mpower8 option.
1124 (objdump): Use the -Mpower8 option.
1125
1126 2017-03-08 Peter Bergner <bergner@vnet.ibm.com>
1127
1128 * testsuite/gas/ppc/power9.d <lnia> New test.
1129 * testsuite/gas/ppc/power9.s: Likewise.
1130
1131 2017-03-07 Alan Modra <amodra@gmail.com>
1132
1133 * doc/as.texinfo (2byte, 4byte, 8byte): Correct @section placement.
1134
1135 2017-03-07 Tobin C. Harding <me@tobin.cc>
1136 Alan Modra <amodra@gmail.com>
1137
1138 * doc/as.texinfo (2byte, 4byte, 8byte): Document.
1139 * doc/c-arm.texi (2byte, 4byte, 8byte): Omit if ELF.
1140
1141 2017-03-06 H.J. Lu <hongjiu.lu@intel.com>
1142
1143 * config/tc-i386.c (cpu_arch): Add .cet.
1144 * doc/c-i386.texi: Document cet.
1145 * testsuite/gas/i386/cet-intel.d: New file.
1146 * testsuite/gas/i386/cet.d: Likewise.
1147 * testsuite/gas/i386/cet.s: Likewise.
1148 * testsuite/gas/i386/x86-64-cet-intel.d: Likewise.
1149 * testsuite/gas/i386/x86-64-cet.d: Likewise.
1150 * testsuite/gas/i386/x86-64-cet.s: Likewise.
1151 * testsuite/gas/i386/i386.exp: Run Intel CET tests.
1152
1153 2017-03-06 H.J. Lu <hongjiu.lu@intel.com>
1154
1155 * testsuite/gas/i386/x86-64-mpx-inval-2.s: Force a good alignment.
1156 * testsuite/gas/i386/x86-64-mpx-inval-2.l: Expect [0-9A-F]+.
1157
1158 2017-03-06 Alan Modra <amodra@gmail.com>
1159
1160 * dw2gencfi.c (encoding_size): Return unsigned int.
1161 (emit_expr_encoded): Assert size matches reloc bitsize.
1162 (output_fde): Use unsigned for offset_size and addr_size. Set
1163 addr_size earlier and use in place of constant 4 and uses of
1164 DWARF2_FDE_RELOC_SIZE. Assert it matches reloc bitsize.
1165
1166 2017-03-06 Alan Modra <amodra@gmail.com>
1167
1168 * dw2gencfi.c: Wrap overlong lines. Add parens for emacs
1169 auto reformat. Formatting and whitespace fixes.
1170
1171 2017-03-05 Mark Wielaard <mark@klomp.org>
1172
1173 * dwarf2dbg.c (out_debug_abbrev): Use DW_FORM_strp instead of
1174 DW_FORM_string for DW_AT_name, DW_AT_comp_dir and DW_AT_producer.
1175 (out_debug_info): Accept symbols to name, comp_dir and producer in
1176 the .debug_str section and emit those offsets not full strings.
1177 (out_debug_str): New function that outputs the strings for name,
1178 comp_dir and producer in .debug_str and generates symbols to those
1179 strings.
1180 (out_debug_line): Create a .debug_str section if necessary and call
1181 out_debug_str before calling out_debug_info.
1182 * testsuite/gas/aarch64/dwarf.d: Add extra section symbol to expected
1183 output.
1184
1185 2017-03-02 Maciej W. Rozycki <macro@imgtec.com>
1186
1187 * write.c (relax_segment) <rs_org>: Only bail out if the fixed
1188 part of the frag has overrun the location requested.
1189
1190 * testsuite/gas/all/org-1.d: New test.
1191 * testsuite/gas/all/org-2.d: New test.
1192 * testsuite/gas/all/org-3.d: New test.
1193 * testsuite/gas/all/org-4.d: New test.
1194 * testsuite/gas/all/org-5.d: New test.
1195 * testsuite/gas/all/org-6.d: New test.
1196 * testsuite/gas/all/org-1.l: New stderr output.
1197 * testsuite/gas/all/org-2.l: New stderr output.
1198 * testsuite/gas/all/org-3.l: New stderr output.
1199 * testsuite/gas/all/org-1.s: New test source.
1200 * testsuite/gas/all/org-2.s: New test source.
1201 * testsuite/gas/all/org-3.s: New test source.
1202 * testsuite/gas/all/org-4.s: New test source.
1203 * testsuite/gas/all/org-5.s: New test source.
1204 * testsuite/gas/all/org-6.s: New test source.
1205 * testsuite/gas/all/gas.exp: Run the new tests.
1206
1207 * testsuite/gas/mips/org-1.d: New test.
1208 * testsuite/gas/mips/org-2.d: New test.
1209 * testsuite/gas/mips/org-3.d: New test.
1210 * testsuite/gas/mips/org-4.d: New test.
1211 * testsuite/gas/mips/org-5.d: New test.
1212 * testsuite/gas/mips/org-6.d: New test.
1213 * testsuite/gas/mips/org-7.d: New test.
1214 * testsuite/gas/mips/org-8.d: New test.
1215 * testsuite/gas/mips/org-9.d: New test.
1216 * testsuite/gas/mips/org-10.d: New test.
1217 * testsuite/gas/mips/org-11.d: New test.
1218 * testsuite/gas/mips/org-12.d: New test.
1219 * testsuite/gas/mips/org-1.l: New stderr output.
1220 * testsuite/gas/mips/org-4.l: New stderr output.
1221 * testsuite/gas/mips/org-5.l: New stderr output.
1222 * testsuite/gas/mips/org-6.l: New stderr output.
1223 * testsuite/gas/mips/org-10.l: New stderr output.
1224 * testsuite/gas/mips/org-1.s: New test source.
1225 * testsuite/gas/mips/org-2.s: New test source.
1226 * testsuite/gas/mips/org-3.s: New test source.
1227 * testsuite/gas/mips/org-4.s: New test source.
1228 * testsuite/gas/mips/org-5.s: New test source.
1229 * testsuite/gas/mips/org-6.s: New test source.
1230 * testsuite/gas/mips/org-7.s: New test source.
1231 * testsuite/gas/mips/org-8.s: New test source.
1232 * testsuite/gas/mips/org-9.s: New test source.
1233 * testsuite/gas/mips/org-10.s: New test source.
1234 * testsuite/gas/mips/org-11.s: New test source.
1235 * testsuite/gas/mips/org-12.s: New test source.
1236 * testsuite/gas/mips/mips.exp: Run the new tests.
1237
1238 2017-03-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
1239
1240 * doc/c-aarch64.texi (AArch64 Extensions): Document rcpc.
1241
1242 2017-02-28 Jan Beulich <jbeulich@suse.com>
1243
1244 * testsuite/gas/i386/x86-64-avx.s: Add suffixed variants of
1245 VPCMPESTR{I,M}.
1246 * testsuite/gas/i386/x86-64-sse2avx.s: Likewise.
1247 * testsuite/gas/i386/x86-64-sse4_2.s: Add suffixed variants
1248 of PCMPESTR{I,M}.
1249 * testsuite/gas/i386/ilp32/x86-64-avx-intel.d: Likewise.
1250 * testsuite/gas/i386/ilp32/x86-64-avx.d: Likewise.
1251 * testsuite/gas/i386/ilp32/x86-64-sse2avx.d: Likewise.
1252 * testsuite/gas/i386/ilp32/x86-64-sse4_2-intel.d: Likewise.
1253 * testsuite/gas/i386/ilp32/x86-64-sse4_2.d: Likewise.
1254 * testsuite/gas/i386/x86-64-avx-intel.d: Likewise.
1255 * testsuite/gas/i386/x86-64-avx.d: Likewise.
1256 * testsuite/gas/i386/x86-64-sse2avx.d: Likewise.
1257 * testsuite/gas/i386/x86-64-sse4_2-intel.d: Likewise.
1258 * testsuite/gas/i386/x86-64-sse4_2.d: Likewise.
1259
1260 2017-02-28 Alan Modra <amodra@gmail.com>
1261
1262 * config/tc-nios2.h (TC_FORCE_RELOCATION_SUB_LOCAL): Define.
1263
1264 2017-02-28 Alan Modra <amodra@gmail.com>
1265
1266 * config/tc-ppc.c (md_assemble): Use BFD_RELOC_PPC_16DX_HA for addpcis.
1267 (md_apply_fix): Remove fx_subsy check. Move code converting to
1268 pcrel reloc earlier and handle BFD_RELOC_PPC_16DX_HA. Remove code
1269 emiiting errors on seeing fx_pcrel set on unexpected relocs, as
1270 that is done now by the generic code via..
1271 * config/tc-ppc.h (TC_FORCE_RELOCATION_SUB_LOCAL): ..this. Define.
1272 (TC_VALIDATE_FIX_SUB): Define.
1273
1274 2017-02-28 Maciej W. Rozycki <macro@imgtec.com>
1275
1276 * testsuite/gas/mips/jalr4.s: Add `jalr $0, $25' instructions.
1277 * testsuite/gas/mips/jalr4.d: Adjust accordingly. Remove MIPSr6
1278 encoding patterns.
1279 * testsuite/gas/mips/jalr4-n64.d: Likewise.
1280 * testsuite/gas/mips/mipsr6@jalr4.d: New test.
1281 * testsuite/gas/mips/mipsr6@jalr4-n32.d: New test.
1282 * testsuite/gas/mips/mipsr6@jalr4-n64.d: New test.
1283
1284 2017-02-25 Alan Modra <amodra@gmail.com>
1285
1286 * testsuite/gas/elf/strtab.s: Don't put directives on first
1287 column or continuation with labels not in first column.
1288
1289 2017-02-24 Richard Sandiford <richard.sandiford@arm.com>
1290
1291 * doc/c-aarch64.texi: Document that sve implies fp16, simd and compnum.
1292 * config/tc-aarch64.c (parse_vector_type_for_operand): Allow .q
1293 to be used with SVE registers.
1294 (parse_operands): Handle new SVE operands.
1295 (aarch64_features): Make "sve" require F16 rather than FP. Also
1296 require COMPNUM.
1297 * testsuite/gas/aarch64/sve.s: Add tests for new instructions.
1298 Include compnum tests.
1299 * testsuite/gas/aarch64/sve.d: Update accordingly.
1300 * testsuite/gas/aarch64/sve-invalid.s: Add tests for new instructions.
1301 * testsuite/gas/aarch64/sve-invalid.l: Update accordingly. Also
1302 update expected output for new FMOV and MOV alternatives.
1303
1304 2017-02-24 Richard Sandiford <richard.sandiford@arm.com>
1305
1306 * doc/c-aarch64.texi: Add a "compnum" entry.
1307 * config/tc-aarch64.c (aarch64_features): Likewise,
1308 * testsuite/gas/aarch64/advsimd-compnum.s: New test.
1309 * testsuite/gas/aarch64/advsimd-compnum.d: Likewise.
1310
1311 2017-02-24 Jan Beulich <jbeulich@suse.com>
1312
1313 * testsuite/gas/i386/opcode.s: Add alternative TEST forms.
1314 * testsuite/gas/i386/x86-64-opcode.s: Likewise.
1315 * testsuite/gas/i386/opcode.d: Adjust accordingly.
1316 * testsuite/gas/i386/opcode-intel.d: Likewise.
1317 * testsuite/gas/i386/x86-64-opcode.d: Likewise.
1318 * testsuite/gas/i386/ilp32/x86-64-opcode.d: Likewise.
1319
1320 2017-02-24 Sheldon Lobo <sheldon.lobo@oracle.com>
1321
1322 Test cases for the architecture level aware SPARC ASI work.
1323 * gas/testsuite/gas/sparc/sparc.exp: 2 new tests
1324 * gas/testsuite/gas/sparc/asi-bump-warn.s: New test
1325 * gas/testsuite/gas/sparc/asi-bump-warn.l: Likewise
1326 * gas/testsuite/gas/sparc/asi-arch-error.s: Likewise
1327 * gas/testsuite/gas/sparc/asi-arch-error.l: Likewise
1328
1329 2017-02-23 Maciej W. Rozycki <macro@imgtec.com>
1330
1331 * testsuite/gas/mips/jalr4.d: New test.
1332 * testsuite/gas/mips/jalr4-n32.d: New test.
1333 * testsuite/gas/mips/jalr4-n64.d: New test.
1334 * testsuite/gas/mips/jalr4.s: New test source.
1335 * testsuite/gas/mips/mips.exp: Run the new tests.
1336
1337 2017-02-23 Sheldon Lobo <sheldon.lobo@oracle.com>
1338
1339 Add support for associating SPARC ASIs with an architecture level.
1340 * config/tc-sparc.c (parse_sparc_asi): New encode SPARC ASIs.
1341
1342 2017-02-23 Jan Beulich <jbeulich@suse.com>
1343
1344 * testsuite/gas/all/err-sizeof.s: Don't use sums or differences
1345 of symbols as expression.
1346
1347 2017-02-23 Jan Beulich <jbeulich@suse.com>
1348
1349 * gas/testsuite/gas/i386/x86-64-mpx-inval-2.d: Add 32- and 16-
1350 bit GPR forms of BNDCL, BNDCU, and BNDCN. Add RSP-as-index
1351 Intel syntax forms of BNDMK, BNDSTX, and BNDLDX.
1352 * gas/testsuite/gas/i386/x86-64-mpx-inval-2.l: Adjust.
1353
1354 2017-02-22 Maciej W. Rozycki <macro@imgtec.com>
1355
1356 * ecoff.c (ecoff_directive_end) [md_flush_pending_output]: Call
1357 `md_flush_pending_output'.
1358 * config/tc-mips.c (s_mips_end) [md_flush_pending_output]: Call
1359 `md_flush_pending_output' unconditionally.
1360 * testsuite/gas/mips/debug-label-end-1.d: New test.
1361 * testsuite/gas/mips/debug-label-end-2.d: New test.
1362 * testsuite/gas/mips/debug-label-end-3.d: New test.
1363 * testsuite/gas/mips/debug-label-end.s: New test source.
1364 * testsuite/gas/mips/mips.exp: Run the new tests.
1365
1366 2017-02-22 Hans-Peter Nilsson <hp@axis.com>
1367
1368 * testsuite/gas/all/err-sizeof.s: Include cris*-*-* in the list of
1369 targets yielding an error message matching "too complex".
1370
1371 2017-02-22 Nick Clifton <nickc@redhat.com>
1372
1373 * testsuite/gas/arm/vcmp-noprefix-imm.d: Skip for non-ELF targets.
1374
1375 2017-02-21 Jan Beulich <jbeulich@suse.com>
1376
1377 * expr.c (operand): Handle missing operand to .startof.() and
1378 .sizeof.().
1379 * testsuite/gas/all/err-sizeof.s: New.
1380
1381 2017-02-20 Alan Modra <amodra@gmail.com>
1382
1383 PR 21118
1384 * NEWS: Revise powerpc register check.
1385 * config/tc-ppc.c (ppc_optimize_expr, md_assemble): Make "invalid
1386 register expression" a warning.
1387
1388 2017-02-17 Maciej W. Rozycki <macro@imgtec.com>
1389
1390 * ecoff.c (ecoff_directive_ent, add_procedure): Handle `.aent'.
1391 * config/obj-ecoff.c (obj_pseudo_table): Add "aent" entry.
1392 * config/obj-elf.c (ecoff_debug_pseudo_table): Likewise.
1393 * testsuite/gas/mips/aent-2.d: New test.
1394 * testsuite/gas/mips/aent-mdebug.d: New test.
1395 * testsuite/gas/mips/aent-mdebug-2.d: New test.
1396 * testsuite/gas/mips/mips.exp: Run the new tests.
1397
1398 2017-02-15 Richard Sandiford <richard.sandiford@arm.com>
1399
1400 * testsuite/gas/aarch64/sve-sysreg.s,
1401 testsuite/gas/aarch64/sve-sysreg.d,
1402 testsuite/gas/aarch64/sve-sysreg-invalid.d,
1403 testsuite/gas/aarch64/sve-sysreg-invalid.l: New tests.
1404
1405 2017-02-15 Richard Sandiford <richard.sandiford@arm.com>
1406
1407 * doc/c-aarch64.texi: Fix sve entry.
1408
1409 2017-02-15 Claudiu Zissulescu <claziss@synopsys.com>
1410
1411 * config/tc-arc.c (md_convert_frag): Remove @pcl relocation
1412 information from input expression.
1413 (assemble_insn): Make sure pcrel is correctly set.
1414 (arc_pcrel_adjust): Compensate for PCL rounding.
1415 * testsuite/gas/arc/relax-add01.d: New file.
1416 * testsuite/gas/arc/relax-add01.s: Likewise.
1417 * testsuite/gas/arc/relax-add02.d: Likewise.
1418 * testsuite/gas/arc/relax-add02.s: Likewise.
1419 * testsuite/gas/arc/relax-add03.d: Likewise.
1420 * testsuite/gas/arc/relax-add03.s: Likewise.
1421 * testsuite/gas/arc/relax-add04.d: Likewise.
1422 * testsuite/gas/arc/relax-add04.s: Likewise.
1423 * testsuite/gas/arc/relax-ld01.d: Likewise.
1424 * testsuite/gas/arc/relax-ld01.s: Likewise.
1425 * testsuite/gas/arc/relax-ld02.d: Likewise.
1426 * testsuite/gas/arc/relax-ld02.s: Likewise.
1427 * testsuite/gas/arc/relax-mov01.d: Likewise.
1428 * testsuite/gas/arc/relax-mov01.s: Likewise.
1429 * testsuite/gas/arc/relax-mov02.d: Likewise.
1430 * testsuite/gas/arc/relax-mov02.s: Likewise.
1431 * testsuite/gas/arc/relax-mpy01.d: Likewise.
1432 * testsuite/gas/arc/relax-mpy01.s: Likewise.
1433 * testsuite/gas/arc/relax-sub01.d: Likewise.
1434 * testsuite/gas/arc/relax-sub01.s: Likewise.
1435 * testsuite/gas/arc/relax-sub02.d: Likewise.
1436 * testsuite/gas/arc/relax-sub02.s: Likewise.
1437 * testsuite/gas/arc/relax-sub03.d: Likewise.
1438 * testsuite/gas/arc/relax-sub03.s: Likewise.
1439 * testsuite/gas/arc/relax-sub04.d: Likewise.
1440 * testsuite/gas/arc/relax-sub04.s: Likewise.
1441
1442 2017-02-09 Vineet Gupta <vgupta@synopsys.com>
1443
1444 * testsuite/gas/arc/st.d: Update for 0xe having a name now
1445
1446 2017-02-14 Alan Modra <amodra@gmail.com>
1447
1448 PR 21118
1449 * NEWS: Mention powerpc register checks.
1450 * config/tc-ppc.c (struct pd_reg): Make value a short. Add flags.
1451 (pre_defined_registers): Delete fpscr and pmr entries. Set
1452 register type in flags.
1453 (cr_names): Set type in flags.
1454 (reg_name_search): Return pointer to struct pd_reg rather than value.
1455 (register_name): Adjust to suit. Set X_md from flags.
1456 (ppc_parse_name): Likewise.
1457 (ppc_optimize_expr): New function.
1458 (md_assemble): Verify expresion reg flags match operand.
1459 * config/tc-ppc.h (md_optimize_expr): Define.
1460 (ppc_optimize_expr): Declare.
1461
1462 2017-02-14 Alan Modra <amodra@gmail.com>
1463
1464 * testsuite/gas/ppc/cell.s: Correct invalid registers.
1465 * testsuite/gas/ppc/vle-simple-1.s: Likewise.
1466 * testsuite/gas/ppc/vle-simple-2.s: Likewise.
1467
1468 2017-02-13 Thomas Preud'homme <thomas.preudhomme@arm.com>
1469
1470 * config/tc-arm.c (parse_ifimm_zero): Make prefix optional in unified
1471 syntax.
1472 * testsuite/gas/arm/vcmp-noprefix-imm.d: New file.
1473 * testsuite/gas/arm/vcmp-noprefix-imm.s: New file.
1474
1475 2017-02-10 Nicholas Piggin <npiggin@gmail.com>
1476
1477 * testsuite/gas/ppc/power9.d <scv, rfscv>: New tests.
1478
1479 2017-02-02 Maciej W. Rozycki <macro@imgtec.com>
1480
1481 * doc/as.texinfo (Overview): Select MIPS options for man page
1482 inclusion.
1483
1484 2017-01-30 Maciej W. Rozycki <macro@imgtec.com>
1485
1486 * config/tc-mips.c (mips_ignore_branch_isa): New variable.
1487 (options): Add OPTION_IGNORE_BRANCH_ISA and
1488 OPTION_NO_IGNORE_BRANCH_ISA enum values.
1489 (md_longopts): Add "mignore-branch-isa" and
1490 "mno-ignore-branch-isa" options.
1491 (md_parse_option): Handle OPTION_IGNORE_BRANCH_ISA and
1492 OPTION_NO_IGNORE_BRANCH_ISA.
1493 (fix_bad_cross_mode_branch_p): Return FALSE if
1494 `mips_ignore_branch_isa' has been set.
1495 (md_show_usage): Add `-mignore-branch-isa' and
1496 `-mno-ignore-branch-isa'.
1497
1498 * doc/as.texinfo (Target MIPS options): Add
1499 `-mignore-branch-isa' and `-mno-ignore-branch-isa' options.
1500 (-mignore-branch-isa, -mno-ignore-branch-isa): New options.
1501 * doc/c-mips.texi (MIPS Options): Add `-mignore-branch-isa' and
1502 `-mno-ignore-branch-isa' options.
1503
1504 * testsuite/gas/mips/branch-local-ignore-2.d: New test.
1505 * testsuite/gas/mips/branch-local-ignore-3.d: New test.
1506 * testsuite/gas/mips/branch-local-ignore-n32-2.d: New test.
1507 * testsuite/gas/mips/branch-local-ignore-n32-3.d: New test.
1508 * testsuite/gas/mips/branch-local-ignore-n64-2.d: New test.
1509 * testsuite/gas/mips/branch-local-ignore-n64-3.d: New test.
1510 * testsuite/gas/mips/mips.exp: Run the new tests.
1511
1512 2017-01-30 Maciej W. Rozycki <macro@imgtec.com>
1513
1514 * testsuite/gas/mips/branch-local-2.d: New test.
1515 * testsuite/gas/mips/branch-local-3.d: New test.
1516 * testsuite/gas/mips/branch-local-n32-2.d: New test.
1517 * testsuite/gas/mips/branch-local-n32-3.d: New test.
1518 * testsuite/gas/mips/branch-local-n64-2.d: New test.
1519 * testsuite/gas/mips/branch-local-n64-3.d: New test.
1520 * testsuite/gas/mips/mips.exp: Fold corresponding list tests
1521 into the new tests.
1522
1523 2017-01-27 Alexis Deruell <alexis.deruelle@gmail.com>
1524
1525 PR 21056
1526 * testsuite/gas/tic6x/insns16-parallel.s: New test case.
1527 * testsuite/gas/tic6x/insns16-parallel.d: New test driver.
1528
1529 2017-01-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
1530
1531 * configure.tgt (aarch64*-*-rtems*): Remove.
1532 (bfin-*-rtems*): Likewise.
1533 (h8300-*-rtems*): Likewise.
1534 (i386-*-rtems*): Likewise.
1535 (m32c-*-rtems*): Likewise.
1536 (m32r-*-rtems*): Likewise.
1537 (m68k-*-rtems*): Likewise.
1538 (mips-*-rtems*): Likewise.
1539 (nios2-*-rtems*): Likewise.
1540 (ppc-*-rtems*): Likewise.
1541 (sh-*-rtems*): Likewise.
1542 (sparc64-*-rtems*): Likewise.
1543 (sparc-*-rtems*): Likewise.
1544 (*-*-rtems*) Use ELF format.
1545
1546 2017-01-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
1547
1548 * configure.tgt (arm-*-rtems*): Move to (arm-*-eabi*).
1549
1550 2017-01-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
1551
1552 * configure.tgt (sh-*-rtemscoff*): Remove.
1553
1554 2017-01-24 Sebastian Huber <sebastian.huber@embedded-brains.de>
1555
1556 * configure.tgt (riscv*-*-*): Remove em=linux.
1557
1558 2017-01-23 Sebastian Rasmussen <sebras@gmail.com>
1559
1560 PR gas/21072
1561 * asintl.h: Fix spelling mistakes and typos.
1562 * atof-generic.c: Likewise.
1563 * bit_fix.h: Likewise.
1564 * config/atof-ieee.c: Likewise.
1565 * config/bfin-defs.h: Likewise.
1566 * config/bfin-parse.y: Likewise.
1567 * config/obj-coff-seh.h: Likewise.
1568 * config/obj-coff.c: Likewise.
1569 * config/obj-evax.c: Likewise.
1570 * config/obj-macho.c: Likewise.
1571 * config/rx-parse.y: Likewise.
1572 * config/tc-aarch64.c: Likewise.
1573 * config/tc-alpha.c: Likewise.
1574 * config/tc-arc.c: Likewise.
1575 * config/tc-arm.c: Likewise.
1576 * config/tc-avr.c: Likewise.
1577 * config/tc-bfin.c: Likewise.
1578 * config/tc-cr16.c: Likewise.
1579 * config/tc-cris.c: Likewise.
1580 * config/tc-crx.c: Likewise.
1581 * config/tc-d10v.c: Likewise.
1582 * config/tc-d30v.c: Likewise.
1583 * config/tc-dlx.c: Likewise.
1584 * config/tc-epiphany.c: Likewise.
1585 * config/tc-frv.c: Likewise.
1586 * config/tc-hppa.c: Likewise.
1587 * config/tc-i370.c: Likewise.
1588 * config/tc-i386-intel.c: Likewise.
1589 * config/tc-i386.c: Likewise.
1590 * config/tc-i960.c: Likewise.
1591 * config/tc-ia64.c: Likewise.
1592 * config/tc-m32r.c: Likewise.
1593 * config/tc-m68hc11.c: Likewise.
1594 * config/tc-m68k.c: Likewise.
1595 * config/tc-mcore.c: Likewise.
1596 * config/tc-mep.c: Likewise.
1597 * config/tc-mep.h: Likewise.
1598 * config/tc-metag.c: Likewise.
1599 * config/tc-microblaze.c: Likewise.
1600 * config/tc-mips.c: Likewise.
1601 * config/tc-mmix.c: Likewise.
1602 * config/tc-mn10200.c: Likewise.
1603 * config/tc-mn10300.c: Likewise.
1604 * config/tc-msp430.c: Likewise.
1605 * config/tc-msp430.h: Likewise.
1606 * config/tc-nds32.c: Likewise.
1607 * config/tc-nds32.h: Likewise.
1608 * config/tc-nios2.c: Likewise.
1609 * config/tc-nios2.h: Likewise.
1610 * config/tc-ns32k.c: Likewise.
1611 * config/tc-pdp11.c: Likewise.
1612 * config/tc-ppc.c: Likewise.
1613 * config/tc-pru.c: Likewise.
1614 * config/tc-rx.c: Likewise.
1615 * config/tc-s390.c: Likewise.
1616 * config/tc-score.c: Likewise.
1617 * config/tc-score7.c: Likewise.
1618 * config/tc-sh.c: Likewise.
1619 * config/tc-sh64.c: Likewise.
1620 * config/tc-sparc.c: Likewise.
1621 * config/tc-tic4x.c: Likewise.
1622 * config/tc-tic54x.c: Likewise.
1623 * config/tc-v850.c: Likewise.
1624 * config/tc-vax.c: Likewise.
1625 * config/tc-visium.c: Likewise.
1626 * config/tc-xgate.c: Likewise.
1627 * config/tc-xtensa.c: Likewise.
1628 * config/tc-z80.c: Likewise.
1629 * config/tc-z8k.c: Likewise.
1630 * config/te-vms.c: Likewise.
1631 * config/xtensa-relax.c: Likewise.
1632 * doc/as.texinfo: Likewise.
1633 * doc/c-arm.texi: Likewise.
1634 * doc/c-hppa.texi: Likewise.
1635 * doc/c-i370.texi: Likewise.
1636 * doc/c-i386.texi: Likewise.
1637 * doc/c-m32r.texi: Likewise.
1638 * doc/c-m68k.texi: Likewise.
1639 * doc/c-mmix.texi: Likewise.
1640 * doc/c-msp430.texi: Likewise.
1641 * doc/c-nds32.texi: Likewise.
1642 * doc/c-ns32k.texi: Likewise.
1643 * doc/c-riscv.texi: Likewise.
1644 * doc/c-rx.texi: Likewise.
1645 * doc/c-s390.texi: Likewise.
1646 * doc/c-tic6x.texi: Likewise.
1647 * doc/c-tilegx.texi: Likewise.
1648 * doc/c-tilepro.texi: Likewise.
1649 * doc/c-v850.texi: Likewise.
1650 * doc/c-xgate.texi: Likewise.
1651 * doc/c-xtensa.texi: Likewise.
1652 * dwarf2dbg.c: Likewise.
1653 * ecoff.c: Likewise.
1654 * itbl-ops.c: Likewise.
1655 * listing.c: Likewise.
1656 * macro.c: Likewise.
1657 * po/gas.pot: Likewise.
1658 * read.c: Likewise.
1659 * struc-symbol.h: Likewise.
1660 * symbols.h: Likewise.
1661 * testsuite/gas/arc/relocs-errors.err: Likewise.
1662 * write.c: Likewise.
1663
1664 2017-01-23 Nick Clifton <nickc@redhat.com>
1665
1666 * po/sv.po: Updated Swedish translation.
1667
1668 2017-01-20 Nick Clifton <nickc@redhat.com>
1669
1670 * config/tc-i386.c (parse_operands): Check for operand overflow
1671 before setting the unspecified bit.
1672
1673 2017-01-18 Maciej W. Rozycki <macro@imgtec.com>
1674
1675 PR gas/20649
1676 * config/tc-mips.c (pic_need_relax): Don't check for linkonce
1677 symbols, remove the `segtype' parameter.
1678 (mips_frob_file, md_estimate_size_before_relax): Adjust
1679 accordingly.
1680 (s_is_linkonce): Add an explanatory comment.
1681 * testsuite/gas/mips/comdat-reloc.d: New test.
1682 * testsuite/gas/mips/comdat-reloc.s: New test source.
1683 * testsuite/gas/mips/mips.exp: Run the new test.
1684
1685 2017-01-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
1686
1687 * testsuite/gas/arm/armv8_3-a-simd.s: Add vcmla tests.
1688 * testsuite/gas/arm/armv8_3-a-simd.d: Update.
1689
1690 2017-01-18 Bernhard Rosenkranzer <bero@lindev.ch>
1691
1692 PR 21059
1693 * config/bfin-lex.l: Support processing with flex 2.6.3.
1694 * itbl-lex.l: Likewise.
1695
1696 2017-01-18 Nathan Sidwell <nathan@acm.org>
1697
1698 * as.h (gas_assert): Use abort.
1699 (as_assert): Remove.
1700 (signal_init): Declare.
1701 * as.c (main): Call signal_init.
1702 * messages.c: #include <signal.h>
1703 (as_assert): Delete.
1704 (as_abort): Allow NULL FILE.
1705 (signal_crash): New.
1706 (signal_init): Register fatal signal handlers.
1707 * configure.ac: Check for strsignal.
1708 * config.in: Rebuilt.
1709 * configure: Rebuilt.
1710
1711 2017-01-17 Nick Clifton <nickc@redhat.com>
1712
1713 * po/sv.po: Updated Swedish translation.
1714
1715 2017-01-12 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1716
1717 * config/tc-i386.c (cpu_arch): Add .avx512_vpopcntdq.
1718 (cpu_noarch): Add noavx512_vpopcntdq.
1719 * doc/c-i386.texi: Document avx512_vpopcntdq, noavx512_vpopcntdq.
1720 * testsuite/gas/i386/i386.exp: Run AVX512_VPOPCNTDQ tests.
1721 * testsuite/gas/i386/avx512_vpopcntdqd-intel.d: New file.
1722 * testsuite/gas/i386/avx512_vpopcntdqd.d: Ditto.
1723 * testsuite/gas/i386/avx512_vpopcntdqd.s: Ditto.
1724 * testsuite/gas/i386/x86-64-avx512_vpopcntdqd-intel.d: Ditto.
1725 * testsuite/gas/i386/x86-64-avx512_vpopcntdqd.d: Ditto.
1726 * testsuite/gas/i386/x86-64-avx512_vpopcntdqd.s: Ditto.
1727
1728 2017-01-12 Nick Clifton <nickc@redhat.com>
1729
1730 * read.c (temp_ilp): New function. Installs a temporary input
1731 line pointer.
1732 (restore_ilp): New function. Restores the original input line
1733 pointer.
1734 * read.h (temp_ilp): Prototype.
1735 (restore_ilp): Prototype.
1736 * stabs.c (dot_func_p): Use bfd_boolean type.
1737 (generate_asm_file): Use temp_ilp and restore_ilp.
1738 (stabs_generate_asm_lineno): Likewise.
1739 (stabs_generate_asm_endfunc): Likewise.
1740
1741 2017-01-11 Jeremy Soller <jackpot51@gmail.com>
1742
1743 * configure.tgt: Add entry for i386-redox.
1744
1745 2017-01-10 Nick Clifton <nickc@redhat.com>
1746
1747 * po/sv.po: Updated Swedish translation.
1748
1749 2017-01-10 Tristan Gingold <gingold@adacore.com>
1750
1751 * testsuite/gas/all/sleb128-8.d: Adjust test.
1752 * testsuite/gas/all/gas.exp (test_cond): Likewise.
1753
1754 2017-01-10 Tristan Gingold <gingold@adacore.com>
1755
1756 * read.c (emit_leb128_expr): Extended unsigned big number for
1757 sleb128.
1758 * testsuite/gas/all/gas.exp (test_cond): Add sleb128-8 test.
1759 * testsuite/gas/all/sleb128.d: New test.
1760 * testsuite/gas/all/sleb128.s: New test source.
1761
1762 2017-01-09 Andrew Waterman <andrew@sifive.com>
1763
1764 * config/tc-riscv.c (append_insn): Don't eagerly apply relocations
1765 against constants.
1766 (md_apply_fix): Mark relocations against constants as "done."
1767
1768 2017-01-09 Andrew Waterman <andrew@sifive.com>
1769
1770 * config/tc-riscv.c (append_insn): Don't eagerly apply relocations
1771 against constants.
1772 (md_apply_fix): Mark relocations against constants as "done."
1773
1774 2017-01-09 Palmer Dabbelt <palmer@dabbelt.com>
1775 Kito Cheng <kito.cheng@gmail.com>
1776
1777 * emulparams/elf32lriscv-defs.sh (INITIAL_READONLY_SECTIONS):
1778 Removed.
1779 (SDATA_START_SYMBOLS): Likewise.
1780
1781 2017-01-09 Nick Clifton <nickc@redhat.com>
1782
1783 * po/sv.po: New Swedish translation.
1784 * configure.ac (ALL_LINGUAS): Add sv.
1785 * configure: Regenerate.
1786
1787 2017-01-09 Andrew Waterman <andrew@sifive.com>
1788
1789 * config/tc-riscv.c (relaxed_branch_length): Use the long
1790 sequence when the target is a weak symbol.
1791
1792 2017-01-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
1793
1794 * config/tc-aarch64.c (aarch64_features): Add rcpc.
1795 * doc/c-aarch64.texi (AArch64 Extensions): Document rcpc.
1796 * testsuite/gas/aarch64/ldst-exclusive-armv8_3.d: Rename to ...
1797 * testsuite/gas/aarch64/ldst-rcpc.d: This.
1798 * testsuite/gas/aarch64/ldst-exclusive-armv8_3.s: Rename to ...
1799 * testsuite/gas/aarch64/ldst-rcpc.s: This.
1800 * testsuite/gas/aarch64/ldst-rcpc-armv8_2.d: New test.
1801
1802 2017-01-04 Norm Jacobs <norm.jacobs@oracle.com>
1803
1804 PR gas/20992
1805 * configure.tgt: Treat sparcv9 as sparc64.
1806
1807 2017-01-03 Kito Cheng <kito.cheng@gmail.com>
1808
1809 * config/tc-riscv.c (riscv_set_arch): Whitelist the "q" ISA
1810 extension.
1811 (riscv_after_parse_args): Set FLOAT_ABI_QUAD when the Q ISA is
1812 enabled and no other ABI is specified.
1813
1814 2017-01-03 Dimitar Dimitrov <dimitar@dinux.eu>
1815
1816 * config/tc-pru.c (md_number_to_chars): Fix parameter to be
1817 valueT, as declared in tc.h.
1818 (md_apply_fix): Fix to work on 32-bit hosts.
1819
1820 2017-01-02 Alan Modra <amodra@gmail.com>
1821
1822 Update year range in copyright notice of all files.
1823
1824 For older changes see ChangeLog-2016
1825 \f
1826 Copyright (C) 2017 Free Software Foundation, Inc.
1827
1828 Copying and distribution of this file, with or without modification,
1829 are permitted in any medium without royalty provided the copyright
1830 notice and this notice are preserved.
1831
1832 Local Variables:
1833 mode: change-log
1834 left-margin: 8
1835 fill-column: 74
1836 version-control: never
1837 End:
This page took 0.070374 seconds and 4 git commands to generate.