[ARC] Fix parsing leave_s and enter_s mnemonics.
[deliverable/binutils-gdb.git] / gas / ChangeLog
1 2016-10-06 Claudiu Zissulescu <claziss@synopsys.com>
2
3 * testsuite/gas/arc/leave_enter.d: New file.
4 * testsuite/gas/arc/leave_enter.s: Likewise.
5 * testsuite/gas/arc/regnames.d: Likewise.
6 * testsuite/gas/arc/regnames.s: Likewise.
7 * config/tc-arc.c (arc_parse_name): Don't match reg names against
8 confirmed symbol names.
9
10 2016-10-06 Alan Modra <amodra@gmail.com>
11
12 * app.c (do_scrub_chars): Move fall through comment.
13 * expr.c (operand): Likewise.
14
15 2016-10-06 Matthew Fortune <matthew.fortune@imgtec.com>
16
17 PR gas/20648
18 * dw2gencfi.c (dot_cfi_sections): Refine the check for
19 inconsistent .cfi_sections to only consider compact vs non
20 compact forms.
21 * testsuite/gas/cfi/cfi-common-9.d: New file.
22 * testsuite/gas/cfi/cfi-common-9.s: New file.
23 * testsuite/gas/cfi/cfi.exp: Run new test.
24
25 2016-10-06 Alan Modra <amodra@gmail.com>
26
27 * app.c: Add missing fall through comments.
28 * dw2gencfi.c: Likewise.
29 * expr.c: Likewise.
30 * config/tc-alpha.c: Likewise.
31 * config/tc-arc.c: Likewise.
32 * config/tc-arm.c: Likewise.
33 * config/tc-cr16.c: Likewise.
34 * config/tc-crx.c: Likewise.
35 * config/tc-dlx.c: Likewise.
36 * config/tc-h8300.c: Likewise.
37 * config/tc-hppa.c: Likewise.
38 * config/tc-i370.c: Likewise.
39 * config/tc-i386.c: Likewise.
40 * config/tc-i960.c: Likewise.
41 * config/tc-ia64.c: Likewise.
42 * config/tc-m68hc11.c: Likewise.
43 * config/tc-m68k.c: Likewise.
44 * config/tc-mep.c: Likewise.
45 * config/tc-metag.c: Likewise.
46 * config/tc-microblaze.c: Likewise.
47 * config/tc-mips.c: Likewise.
48 * config/tc-ns32k.c: Likewise.
49 * config/tc-rx.c: Likewise.
50 * config/tc-score.c: Likewise.
51 * config/tc-score7.c: Likewise.
52 * config/tc-sh.c: Likewise.
53 * config/tc-tic4x.c: Likewise.
54 * config/tc-vax.c: Likewise.
55 * config/tc-xstormy16.c: Likewise.
56 * config/tc-z80.c: Likewise.
57 * config/tc-z8k.c: Likewise.
58 * config/obj-elf.c: Likewise.
59 * config/tc-i386.c: Likewise.
60 * depend.c: Spell fall through comments consistently.
61 * config/tc-arm.c: Likewise.
62 * config/tc-d10v.c: Likewise.
63 * config/tc-i960.c: Likewise.
64 * config/tc-ia64.c: Likewise.
65 * config/tc-m68k.c: Likewise.
66 * config/tc-mcore.c: Likewise.
67 * config/tc-mep.c: Likewise.
68 * config/tc-ns32k.c: Likewise.
69 * config/tc-visium.c: Likewise.
70 * config/tc-xstormy16.c: Likewise.
71 * config/tc-z8k.c: Likewise.
72
73 2016-10-06 Alan Modra <amodra@gmail.com>
74
75 * as.h (as_assert): Add ATTRIBUTE_NORETURN.
76
77 2016-10-06 Alan Modra <amodra@gmail.com>
78
79 * config/tc-arc.c (find_opcode_match): Add missing break.
80 * config/tc-i960.c (get_cdisp): Likewise.
81 * config/tc-metag.c (parse_swap, md_apply_fix): Likewise.
82 * config/tc-mt.c (md_parse_option): Likewise.
83 * config/tc-nds32.c (nds32_apply_fix): Likewise.
84 * config/tc-hppa.c (pa_ip): Assert rather than testing last
85 condition of multiple if statements.
86 * config/tc-s390.c (s390_exp_compare): Return 0 on error.
87 * config/tc-tic4x.c (tic4x_operand_parse): Add as_bad and break
88 out of case rather than falling into next case. Formatting.
89
90 2016-10-06 Alan Modra <amodra@gmail.com>
91
92 * config/rl78-parse.y: Don't use deprecated %name-prefix.
93 * config/rx-parse.y: Likewise.
94
95 2016-09-29 Jiong Wang <jiong.wang@arm.com>
96
97 PR target/20553
98 * testsuite/gas/aarch64/advsimd-fp16.s (indexed_elem): New high index
99 testcases for H and S variants. New low index testcases for D variant.
100 * testsuite/gas/aarch64/advsimd-fp16.d: Update expected results.
101
102 2016-09-29 Alan Modra <amodra@gmail.com>
103
104 * config/tc-ppc.c (md_assemble): Handle PPC_OPERAND_OPTIONAL32.
105 * testsuite/gas/ppc/power8.s: Provide tbegin. operand.
106 * testsuite/gas/ppc/power9.d: Update cmprb disassembly.
107
108 2016-09-26 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
109
110 * config/tc-xtensa.c (xg_reverse_shift_count): Pass cnt_arg instead of
111 cnt_argp to concat.
112
113 2016-09-26 Vlad Zakharov <vzakhar@synopsys.com>
114
115 * Makefile.in: Regenerate.
116 * configure: Likewise.
117 * doc/Makefile.in: Likewise.
118
119 2016-09-26 Alan Modra <amodra@gmail.com>
120
121 * config/tc-ppc.c (ppc_elf_gnu_attribute): New function.
122 (md_pseudo_table <ELF>): Handle "gnu_attribute".
123
124 2016-09-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
125
126 * config/tc-arm.c (v7m_psrs): Remove BASEPRI_MASK MRS/MSR special
127 register and redundant basepri_max.
128
129 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
130
131 * config/tc-aarch64.c (print_operands): Print spaces between
132 operands.
133 * testsuite/gas/aarch64/ilp32-basic.d: Expect spaces after ","
134 in addresses.
135 * testsuite/gas/aarch64/ldst-reg-imm-post-ind.d: Likewise.
136 * testsuite/gas/aarch64/ldst-reg-imm-pre-ind.d: Likewise.
137 * testsuite/gas/aarch64/ldst-reg-pair.d: Likewise.
138 * testsuite/gas/aarch64/ldst-reg-reg-offset.d: Likewise.
139 * testsuite/gas/aarch64/ldst-reg-uns-imm.d: Likewise.
140 * testsuite/gas/aarch64/ldst-reg-unscaled-imm.d: Likewise.
141 * testsuite/gas/aarch64/reloc-insn.d: Likewise.
142 * testsuite/gas/aarch64/sve.d: Likewise.
143 * testsuite/gas/aarch64/symbol.d: Likewise.
144 * testsuite/gas/aarch64/system.d: Likewise.
145 * testsuite/gas/aarch64/tls-desc.d: Likewise.
146 * testsuite/gas/aarch64/sve-invalid.l: Expect spaces after ","
147 in suggested alternatives.
148 * testsuite/gas/aarch64/verbose-error.l: Likewise.
149
150 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
151
152 * config/tc-aarch64.c (output_operand_error_record): Use "must be"
153 rather than "should be" or "expected to be" in error messages.
154 (parse_operands): Likewise.
155 * testsuite/gas/aarch64/diagnostic.l: Likewise.
156 * testsuite/gas/aarch64/legacy_reg_names.l: Likewise.
157 * testsuite/gas/aarch64/sve-invalid.l: Likewise.
158 * testsuite/gas/aarch64/sve-reg-diagnostic.l: Likewise.
159
160 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
161
162 * config/tc-aarch64.c (opcode_lookup): Search for the end of
163 a condition name, rather than assuming that it will have exactly
164 2 characters.
165 (parse_operands): Likewise.
166 * testsuite/gas/aarch64/alias.d: Add new condition-code comments
167 to the expected output.
168 * testsuite/gas/aarch64/beq_1.d: Likewise.
169 * testsuite/gas/aarch64/float-fp16.d: Likewise.
170 * testsuite/gas/aarch64/int-insns.d: Likewise.
171 * testsuite/gas/aarch64/no-aliases.d: Likewise.
172 * testsuite/gas/aarch64/programmer-friendly.d: Likewise.
173 * testsuite/gas/aarch64/reloc-insn.d: Likewise.
174 * testsuite/gas/aarch64/b_c_1.d, testsuite/gas/aarch64/b_c_1.s:
175 New test.
176
177 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
178
179 * testsuite/gas/aarch64/diagnostic.s,
180 testsuite/gas/aarch64/diagnostic.l: Add tests for
181 invalid uses of MUL VL and MUL in base AArch64 instructions.
182 * testsuite/gas/aarch64/sve-add.s, testsuite/gas/aarch64/sve-add.d,
183 testsuite/gas/aarch64/sve-dup.s, testsuite/gas/aarch64/sve-dup.d,
184 testsuite/gas/aarch64/sve-invalid.s,
185 testsuite/gas/aarch64/sve-invalid.d,
186 testsuite/gas/aarch64/sve-invalid.l,
187 testsuite/gas/aarch64/sve-reg-diagnostic.s,
188 testsuite/gas/aarch64/sve-reg-diagnostic.d,
189 testsuite/gas/aarch64/sve-reg-diagnostic.l,
190 testsuite/gas/aarch64/sve.s, testsuite/gas/aarch64/sve.d: New tests.
191
192 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
193
194 * doc/c-aarch64.texi: Document the "sve" feature.
195 * config/tc-aarch64.c (REG_TYPE_R_Z_BHSDQ_VZP): New register type.
196 (get_reg_expected_msg): Handle it.
197 (parse_operands): When parsing operands of an SVE instruction,
198 disallow immediates that match REG_TYPE_R_Z_BHSDQ_VZP.
199 (aarch64_features): Add an entry for SVE.
200
201 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
202
203 * config/tc-aarch64.c (parse_operands): Handle the new SVE core
204 and FP register operands.
205
206 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
207
208 * config/tc-aarch64.c (double_precision_operand_p): New function.
209 (parse_operands): Use it to calculate the dp_p input to
210 parse_aarch64_imm_float. Handle the new SVE FP immediate operands.
211
212 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
213
214 * config/tc-aarch64.c (parse_operands): Handle the new SVE integer
215 immediate operands.
216
217 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
218
219 * config/tc-aarch64.c (SHIFTED_NONE, SHIFTED_MUL_VL): New
220 parse_shift_modes.
221 (parse_shift): Handle SHIFTED_MUL_VL.
222 (parse_address_main): Add an imm_shift_mode parameter.
223 (parse_address, parse_sve_address): Update accordingly.
224 (parse_operands): Handle MUL VL addressing modes.
225
226 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
227
228 * config/tc-aarch64.c (REG_TYPE_SVE_BASE, REG_TYPE_SVE_OFFSET): New
229 register types.
230 (get_reg_expected_msg): Handle them.
231 (aarch64_addr_reg_parse): New function, split out from
232 aarch64_reg_parse_32_64. Handle Z registers too.
233 (aarch64_reg_parse_32_64): Call it.
234 (parse_address_main): Add base_qualifier, offset_qualifier,
235 base_type and offset_type parameters. Handle SVE base and offset
236 registers.
237 (parse_address): Update call to parse_address_main.
238 (parse_sve_address): New function.
239 (parse_operands): Parse the new SVE address operands.
240
241 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
242
243 * config/tc-aarch64.c (SHIFTED_MUL): New parse_shift_mode.
244 (parse_shift): Handle it. Reject AARCH64_MOD_MUL for all other
245 shift modes. Skip range tests for AARCH64_MOD_MUL.
246 (process_omitted_operand): Handle AARCH64_OPND_SVE_PATTERN_SCALED.
247 (parse_operands): Likewise.
248
249 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
250
251 * config/tc-aarch64.c (parse_enum_string): New function.
252 (po_enum_or_fail): New macro.
253 (parse_operands): Handle AARCH64_OPND_SVE_PATTERN and
254 AARCH64_OPND_SVE_PRFOP.
255
256 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
257
258 * config/tc-aarch64.c (vector_el_type): Add NT_zero and NT_merge.
259 (parse_vector_type_for_operand): Assert that the skipped character
260 is a '.'.
261 (parse_predication_for_operand): New function.
262 (parse_typed_reg): Parse /z and /m suffixes for predicate registers.
263 (vectype_to_qualifier): Handle NT_zero and NT_merge.
264
265 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
266
267 * config/tc-aarch64.c (NTA_HASVARWIDTH): New macro.
268 (AARCH64_REG_TYPES): Add ZN and PN.
269 (get_reg_expected_msg): Handle them.
270 (parse_vector_type_for_operand): Add a reg_type parameter.
271 Skip the width for Zn and Pn registers.
272 (parse_typed_reg): Extend vector handling to Zn and Pn. Update the
273 call to parse_vector_type_for_operand. Set HASVARTYPE for Zn and Pn,
274 expecting the width to be 0.
275 (parse_vector_reg_list): Restrict error about [BHSD]nn operands to
276 REG_TYPE_VN.
277 (vectype_to_qualifier): Use S_[BHSD] qualifiers for NTA_HASVARWIDTH.
278 (parse_operands): Handle the new Zn and Pn operands.
279 (REGSET16): New macro, split out from...
280 (REGSET31): ...here.
281 (reg_names): Add Zn and Pn entries.
282
283 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
284
285 * config/tc-aarch64.c (output_operand_error_record): Handle
286 AARCH64_OPDE_UNTIED_OPERAND.
287
288 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
289
290 * config/tc-aarch64.c (find_best_match): Simplify, allowing an
291 instruction with all-NIL qualifiers to fail to match.
292
293 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
294
295 * config/tc-aarch64.c (parse_address_main): Remove reloc and
296 accept_reg_post_index parameters. Parse relocations and register
297 post indexes unconditionally.
298 (parse_address): Remove accept_reg_post_index parameter.
299 Update call to parse_address_main.
300 (parse_address_reloc): Delete.
301 (parse_operands): Call parse_address instead of parse_address_main.
302 Update existing callers of parse_address and make them check
303 inst.reloc.type where appropriate.
304 * testsuite/gas/aarch64/diagnostic.s: Add tests for relocations
305 in ADDR_SIMPLE, SIMD_ADDR_SIMPLE, ADDR_SIMM7 and ADDR_SIMM9 addresses.
306 Also test for invalid uses of post-index register addressing.
307 * testsuite/gas/aarch64/diagnostic.l: Update accordingly.
308
309 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
310
311 * config/tc-aarch64.c (REG_TYPE_R_Z, REG_TYPE_R_SP): New register
312 types.
313 (get_reg_expected_msg): Handle them and REG_TYPE_R64_SP.
314 (aarch64_check_reg_type): Simplify.
315 (aarch64_reg_parse_32_64): Return the reg_entry instead of the
316 register number. Return the type as a qualifier rather than an
317 "isreg32" boolean. Remove reject_sp, reject_rz and isregzero
318 parameters.
319 (parse_shifter_operand): Update call to aarch64_parse_32_64_reg.
320 Use get_reg_expected_msg.
321 (parse_address_main): Likewise. Use aarch64_check_reg_type.
322 (po_int_reg_or_fail): Replace reject_sp and reject_rz parameters
323 with a reg_type parameter. Update call to aarch64_parse_32_64_reg.
324 Use aarch64_check_reg_type to test the result.
325 (parse_operands): Update after the above changes. Parse ADDR_SIMPLE
326 addresses normally before enforcing the syntax restrictions.
327 * testsuite/gas/aarch64/diagnostic.s: Add tests for a post-index
328 zero register and for a stack pointer index.
329 * testsuite/gas/aarch64/diagnostic.l: Update accordingly.
330 Also update existing diagnostic messages after the above changes.
331 * testsuite/gas/aarch64/illegal-lse.l: Update the error message
332 for 32-bit register bases.
333
334 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
335
336 * config/tc-aarch64.c (parse_aarch64_imm_float): Remove range check.
337 (parse_operands): Check the range of 8-bit FP immediates here instead.
338
339 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
340
341 * config/tc-aarch64.c (parse_aarch64_imm_float): Report a specific
342 low-severity error for registers.
343 (parse_operands): Report an invalid floating point constant for
344 if parsing an FPIMM8 fails, and if no better error has been
345 recorded.
346 * testsuite/gas/aarch64/diagnostic.s,
347 testsuite/gas/aarch64/diagnostic.l: Add tests for integer operands
348 to FMOV.
349
350 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
351
352 * config/tc-aarch64.c (aarch64_double_precision_fmovable): Rename
353 to...
354 (can_convert_double_to_float): ...this. Accept any double-precision
355 value that converts to single precision without loss of precision.
356 (parse_aarch64_imm_float): Update accordingly.
357
358 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
359
360 * config/tc-aarch64.c (parse_immediate_expression): Add a
361 reg_type parameter.
362 (parse_constant_immediate): Likewise, and update calls.
363 (parse_aarch64_imm_float): Likewise.
364 (parse_big_immediate): Likewise.
365 (po_imm_nc_or_fail): Update accordingly, passing down a new
366 imm_reg_type variable.
367 (po_imm_of_fail): Likewise.
368 (parse_operands): Likewise.
369
370 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
371
372 * config/tc-aarch64.c (parse_neon_reg_list): Rename to...
373 (parse_vector_reg_list): ...this and take a register type
374 as input.
375 (parse_operands): Update accordingly.
376
377 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
378
379 * config/tc-aarch64.c (parse_neon_type_for_operand): Rename to...
380 (parse_vector_type_for_operand): ...this.
381 (parse_typed_reg): Update accordingly.
382
383 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
384
385 * config/tc-aarch64.c (neon_type_el): Rename to...
386 (vector_type_el): ...this.
387 (parse_neon_type_for_operand): Update accordingly.
388 (parse_typed_reg): Likewise.
389 (aarch64_reg_parse): Likewise.
390 (vectype_to_qualifier): Likewise.
391 (parse_operands): Likewise.
392 (eq_neon_type_el): Likewise. Rename to...
393 (eq_vector_type_el): ...this.
394 (parse_neon_reg_list): Update accordingly.
395
396 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
397
398 * config/tc-aarch64.c (neon_el_type: Rename to...
399 (vector_el_type): ...this.
400 (neon_type_el): Update accordingly.
401 (parse_neon_type_for_operand): Likewise.
402 (vectype_to_qualifier): Likewise.
403
404 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
405
406 * config/tc-aarch64.c (parse_neon_operand_type): Delete.
407 (parse_typed_reg): Call parse_neon_type_for_operand directly.
408
409 2016-09-15 Claudiu Zissulescu <claziss@synopsys.com>
410
411 * testsuite/gas/arc/textinsnxop.d: New file.
412 * testsuite/gas/arc/textinsnxop.s: Likewise.
413
414 2016-09-15 Jose E. Marchesi <jose.marchesi@oracle.com>
415
416 * testsuite/gas/sparc/sparc.exp (gas_64_check): Run
417 dcti-couples-v9 only in ELF targets to avoid spurious failures in
418 sparc-aout and sparc-coff targets.
419
420 2016-09-14 Peter Bergner <bergner@vnet.ibm.com>
421
422 * testsuite/gas/ppc/power9.d <slbiag, cpabort> New tests.
423 <addex., brd, brh, brw, lwzmx, nandxor, rldixor, setbool,
424 xor3, cp_abort, copy_first, paste, paste_last, sync>: Remove tests.
425 <copy, paste.>: Update tests.
426 * testsuite/gas/ppc/power9.s: Likewise.
427
428 2016-09-14 Jose E. Marchesi <jose.marchesi@oracle.com>
429
430 * config/tc-sparc.c (sparc_ip): Print the instruction arguments
431 in "architecture mismatch" error messages.
432
433 2016-09-14 Jose E. Marchesi <jose.marchesi@oracle.com>
434
435 * config/tc-sparc.c (md_assemble): Detect and warning on
436 unpredictable DCTI couples in certain arches.
437 (dcti_couples_detect): New global.
438 (md_longopts): Add command line option -dcti-couples-detect.
439 (md_show_usage): Document -dcti-couples-detect.
440 (md_parse_option): Handle OPTION_DCTI_COUPLES_DETECT.
441 * testsuite/gas/sparc/sparc.exp (gas_64_check): Run
442 dcti-couples-v8, dcti-couples-v9 and dcti-couples-v9c tests.
443 * testsuite/gas/sparc/dcti-couples.s: New file.
444 * testsuite/gas/sparc/dcti-couples-v9c.d: Likewise.
445 * testsuite/gas/sparc/dcti-couples-v8.d: Likewise.
446 * testsuite/gas/sparc/dcti-couples-v9.d: Likewise.
447 * testsuite/gas/sparc/dcti-couples-v9c.l: Likewise.
448 * testsuite/gas/sparc/dcti-couples-v8.l: Likewise.
449 * doc/as.texinfo (Overview): Document --dcti-couples-detect.
450 * doc/c-sparc.texi (Sparc-Opts): Likewise.
451
452 2016-09-14 Claudiu Zissulescu <claziss@synopsys.com>
453
454 * testsuite/gas/arc/tls-relocs2.d: New file.
455 * testsuite/gas/arc/tls-relocs2.s: Likewise.
456 * config/tc-arc.c (tokenize_arguments): Accept offsets when base
457 is used.
458
459 2016-09-12 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
460
461 * config/tc-s390.c (s390_parse_cpu): Support alternate arch
462 strings.
463 * doc/as.texinfo: Document new arch strings.
464 * doc/c-s390.texi: Likewise.
465
466 2016-09-12 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
467
468 * config/tc-s390.c: Set all facitily bits by default
469
470 2016-09-12 Patrick Steuer <steuer@linux.vnet.ibm.com>
471
472 * testsuite/gas/s390/zarch-z196.d: Adjust testcase.
473
474 2016-09-08 H.J. Lu <hongjiu.lu@intel.com>
475
476 * config/tc-i386.c (i386_target_format): Allow PROCESSOR_IAMCU
477 for Intel MCU.
478
479 2016-09-07 H.J. Lu <hongjiu.lu@intel.com>
480
481 * config/tc-i386.c (valid_iamcu_cpu_flags): Removed.
482 (set_cpu_arch): Updated.
483 (md_parse_option): Likewise.
484 * testsuite/gas/i386/i386.exp: Run iamcu-4 and iamcu-5. Remove
485 iamcu-inval-2 and iamcu-inval-3.
486 * testsuite/gas/i386/iamcu-4.d: New file.
487 * testsuite/gas/i386/iamcu-4.s: Likewise.
488 * testsuite/gas/i386/iamcu-5.d: Likewise.
489 * testsuite/gas/i386/iamcu-5.s: Likewise.
490 * testsuite/gas/i386/iamcu-inval-2.l: Removed.
491 * testsuite/gas/i386/iamcu-inval-2.s: Likewise.
492 * testsuite/gas/i386/iamcu-inval-3.l: Likewise.
493 * testsuite/gas/i386/iamcu-inval-3.s: Likewise.
494
495 2016-09-07 Richard Earnshaw <rearnsha@arm.com>
496
497 * config/tc-arm.c ((arm_cpus): Use ARM_ARCH_V8A_CRC for all
498 ARMv8-A CPUs except xgene1.
499
500 2016-08-31 Alan Modra <amodra@gmail.com>
501
502 * config/tc-ppc.c (md_assemble): Set sh_flags for VLE. Test
503 ppc_cpu rather than calling ppc_mach to determine VLE mode.
504 (ppc_frag_check, ppc_handle_align): Likewise use ppc_cpu.
505
506 2016-08-26 Jose E. Marchesi <jose.marchesi@oracle.com>
507
508 * testsuite/gas/sparc/crypto.d: Rename invalid opcode camellia_fi
509 to camellia_fl.
510 * testsuite/gas/sparc/crypto.s: Likewise.
511
512 2016-08-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
513
514 * config/tc-arm.c (v7m_psrs): Add MSPLIM, PSPLIM, MSPLIM_NS,
515 PSPLIM_NS, PRIMASK_NS, BASEPRI_NS, FAULTMASK_NS, CONTROL_NS, SP_NS and
516 their lowecase counterpart special registers. Write register
517 identifier in hex.
518 * testsuite/gas/arm/archv8m-cmse-msr.s: Reorganize tests per
519 operation, special register and then case. Use different register for
520 each operation. Add tests for new special registers.
521 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Adapt expected result
522 accordingly.
523 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
524 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
525
526 2016-08-25 Thomas Preud'homme <thomas.preudhomme@arm.com>
527
528 * config/tc-arm.c (v7m_psrs): Remove msp_s, MSP_S, psp_s and PSP_S
529 special registers.
530 * testsuite/gas/arm/archv8m-cmse-msr.s: Remove test for above special
531 registers.
532 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Likewise.
533 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
534 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
535
536 2016-08-24 H.J. Lu <hongjiu.lu@intel.com>
537
538 * config/tc-i386.c (cpu_arch): Add .ptwrite.
539 * doc/c-i386.texi: Document ptwrite and .ptwrite.
540 * testsuite/gas/i386/i386.exp: Run ptwrite, ptwrite-intel,
541 x86-64-ptwrite and x86-64-ptwrite-intel.
542 * testsuite/gas/i386/ptwrite-intel.d: New file.
543 * testsuite/gas/i386/ptwrite.d: Likewise.
544 * testsuite/gas/i386/ptwrite.s: Likewise.
545 * testsuite/gas/i386/x86-64-ptwrite-intel.d: Likewise.
546 * testsuite/gas/i386/x86-64-ptwrite.d: Likewise.
547 * testsuite/gas/i386/x86-64-ptwrite.s: Likewise.
548
549 2016-08-19 Tamar Christina <tamar.christina@arm.com>
550
551 * config/tc-arm.c (do_co_reg2c): Added constraint.
552 * testsuite/gas/arm/dest-unpredictable.s: New.
553 * testsuite/gas/arm/dest-unpredictable.l: New.
554 * testsuite/gas/arm/dest-unpredictable.d: New.
555
556 2016-08-19 Nick Clifton <nickc@redhat.com>
557
558 * testsuite/gas/i386/ilp32/x86-64-unwind.d: Adjust expected
559 ordering of sections.
560 * testsuite/gas/i386/x86-64-unwind.d: Likewise.
561 * testsuite/gas/ia64/alias-ilp32.d: Likewise.
562 * testsuite/gas/ia64/alias.d: Likewise.
563 * testsuite/gas/ia64/group-1.d: Likewise.
564 * testsuite/gas/ia64/group-2.d: Likewise.
565 * testsuite/gas/ia64/secname-ilp32.d: Likewise.
566 * testsuite/gas/ia64/secname.d: Likewise.
567 * testsuite/gas/ia64/unwind-ilp32.d: Likewise.
568 * testsuite/gas/ia64/unwind.d: Likewise.
569 * testsuite/gas/ia64/xdata-ilp32.d: Likewise.
570 * testsuite/gas/ia64/xdata.d: Likewise.
571 * testsuite/gas/mmix/bspec-1.d: Likewise.
572 * testsuite/gas/mmix/bspec-2.d: Likewise.
573 * testsuite/gas/mmix/byte-1.d: Likewise.
574 * testsuite/gas/mmix/loc-1.d: Likewise.
575 * testsuite/gas/mmix/loc-2.d: Likewise.
576 * testsuite/gas/mmix/loc-3.d: Likewise.
577 * testsuite/gas/mmix/loc-4.d: Likewise.
578 * testsuite/gas/mmix/loc-5.d: Likewise.
579 * testsuite/gas/tic6x/scomm-directive-4.d: Likewise.
580
581 2016-08-11 Richard Sandiford <richard.sandiford@arm.com>
582
583 * config/tc-aarch64.c (parse_aarch64_imm_float): Reject -0.0.
584 * testsuite/gas/aarch64/illegal.s, testsuite/gas/aarch64/illegal.l:
585 Add tests for -0.0. Add an end-of-file comment.
586
587 2016-08-05 Nick Clifton <nickc@redhat.com>
588
589 PR gas/20429
590 * config/tc-arm.c (do_vfp_nsyn_push): Check that no more than 16
591 registers are pushed.
592 (do_vfp_nsyn_pop): Check that no more than 16 registers are
593 popped.
594 * testsuite/gas/arm/pr20429.s: New test.
595 * testsuite/gas/arm/pr20429.d: New test driver.
596 * testsuite/gas/arm/pr20429.1: Expected error output.
597
598 PR gas/20364
599 * config/tc-aarch64.c (s_ltorg): Change the mapping state after
600 aligning the frag.
601 (aarch64_init): Treat rs_align frags in code sections as
602 containing code, not data.
603 * testsuite/gas/aarch64/pr20364.s: New test.
604 * testsuite/gas/aarch64/pr20364.d: New test driver.
605
606 2016-08-04 Stefan Trleman <stefan.teleman@oracle.com>
607
608 PR gas/20427
609 * config/tc-sparc.c (cons_fix_new_sparc): Prevent the generation
610 of 64-bit relocation types when assembling for a 32-bit Solaris
611 target.
612
613 2016-07-27 Jose E. Marchesi <jose.marchesi@oracle.com>
614
615 * testsuite/gas/sparc/sparc.exp: Use is_elf_format to discriminate
616 ELF targets.
617 Run natural, natural-32, pr4587, ticc-imm-reg, v8-movwr-imm,
618 pause, save-args, cbcond, cfr, crypto edge, flush, hpcvis3, ima,
619 ld_st_fsr, ldtw_sttw, ldd_std, ldx_stx, ldx_efsr, mwait, mcdper,
620 sparc5vis4, xcrypto, v9branch1 and imm-plus-rreg only in ELF
621 targets.
622 (sparc_elf_setup): Delete.
623 * testsuite/gas/sparc/save-args.d: Fix a copy-paste typo in the
624 test's #name entry.
625
626 2016-07-27 Maciej W. Rozycki <macro@imgtec.com>
627
628 * config/tc-mips.c (RELAX_MICROMIPS_ENCODE): Add `nods' flag.
629 (RELAX_MICROMIPS_RELAX32, RELAX_MICROMIPS_TOOFAR16)
630 (RELAX_MICROMIPS_MARK_TOOFAR16, RELAX_MICROMIPS_CLEAR_TOOFAR16)
631 (RELAX_MICROMIPS_TOOFAR32, RELAX_MICROMIPS_MARK_TOOFAR32)
632 (RELAX_MICROMIPS_CLEAR_TOOFAR32): Shift bits.
633 (get_append_method): Also return APPEND_ADD_COMPACT for
634 microMIPS instructions.
635 (find_altered_mips16_opcode): Exclude macros from matching.
636 Factor code out...
637 (find_altered_opcode): ... to this new function.
638 (find_altered_micromips_opcode): New function.
639 (frag_branch_delay_slot_size): Likewise.
640 (append_insn): Handle microMIPS branch/jump compaction.
641 (macro_start): Likewise.
642 (relaxed_micromips_32bit_branch_length): Likewise.
643 (md_convert_frag): Likewise.
644 * testsuite/gas/mips/micromips.s: Add conditional explicit NOPs
645 for delay slot filling.
646 * testsuite/gas/mips/micromips-b16.s: Add explicit NOPs for
647 delay slot filling.
648 * testsuite/gas/mips/micromips-size-1.s: Likewise.
649 * testsuite/gas/mips/micromips.l: Adjust line numbers.
650 * testsuite/gas/mips/micromips-warn.l: Likewise.
651 * testsuite/gas/mips/micromips-size-1.l: Likewise.
652 * testsuite/gas/mips/micromips.d: Adjust padding.
653 * testsuite/gas/mips/micromips-trap.d: Likewise.
654 * testsuite/gas/mips/micromips-insn32.d: Likewise.
655 * testsuite/gas/mips/micromips-noinsn32.d: Likewise.
656 * testsuite/gas/mips/micromips@beq.d: Update patterns for
657 branch/jump compaction.
658 * testsuite/gas/mips/micromips@bge.d: Likewise.
659 * testsuite/gas/mips/micromips@bgeu.d: Likewise.
660 * testsuite/gas/mips/micromips@blt.d: Likewise.
661 * testsuite/gas/mips/micromips@bltu.d: Likewise.
662 * testsuite/gas/mips/micromips@branch-misc-4.d: Likewise.
663 * testsuite/gas/mips/micromips@branch-misc-4-64.d: Likewise.
664 * testsuite/gas/mips/micromips@branch-misc-5.d: Likewise.
665 * testsuite/gas/mips/micromips@branch-misc-5pic.d: Likewise.
666 * testsuite/gas/mips/micromips@branch-misc-5-64.d: Likewise.
667 * testsuite/gas/mips/micromips@branch-misc-5pic-64.d: Likewise.
668 * testsuite/gas/mips/micromips@jal-svr4pic-local.d: Likewise.
669 * testsuite/gas/mips/micromips@jal-svr4pic-local-n32.d:
670 Likewise.
671 * testsuite/gas/mips/micromips@jal-svr4pic-local-n64.d:
672 Likewise.
673 * testsuite/gas/mips/micromips@loc-swap.d: Likewise.
674 * testsuite/gas/mips/micromips@loc-swap-dis.d: Likewise.
675 * testsuite/gas/mips/micromips@relax.d: Likewise.
676 * testsuite/gas/mips/micromips@relax-at.d: Likewise.
677 * testsuite/gas/mips/micromips@relax-swap3.d: Likewise.
678 * testsuite/gas/mips/branch-extern-2.d: Likewise.
679 * testsuite/gas/mips/branch-extern-4.d: Likewise.
680 * testsuite/gas/mips/branch-section-2.d: Likewise.
681 * testsuite/gas/mips/branch-section-4.d: Likewise.
682 * testsuite/gas/mips/branch-weak-2.d: Likewise.
683 * testsuite/gas/mips/branch-weak-5.d: Likewise.
684 * testsuite/gas/mips/micromips-branch-absolute.d: Likewise.
685 * testsuite/gas/mips/micromips-branch-absolute-n32.d: Likewise.
686 * testsuite/gas/mips/micromips-branch-absolute-n64.d: Likewise.
687 * testsuite/gas/mips/micromips-branch-absolute-addend.d:
688 Likewise.
689 * testsuite/gas/mips/micromips-branch-absolute-addend-n32.d:
690 Likewise.
691 * testsuite/gas/mips/micromips-branch-absolute-addend-n64.d:
692 Likewise.
693 * testsuite/gas/mips/micromips-compact.d: New test.
694 * testsuite/gas/mips/mips.exp: Run the new test.
695
696 2016-07-27 Graham Markall <graham.markall@embecosm.com>
697
698 * config/tc-arc.c: Add new global arc_addrtype_hash.
699 Define O_colon and O_addrtype.
700 (debug_exp): Add O_colon and O_addrtype.
701 (tokenize_arguments): Handle colon and address type
702 tokens.
703 (declare_addrtype): New function.
704 (md_begin): Initialise arc_addrtype_hash.
705 (arc_parse_name): Add lookup of address types.
706 (assemble_insn): Handle colons and address types by
707 ignoring them.
708 * testsuite/gas/arc/nps400-8.s: New file.
709 * testsuite/gas/arc/nps400-8.d: New file.
710 * testsuite/gas/arc/nps400-8.s: Add PMU instruction tests.
711 * testsuite/gas/arc/nps400-8.d: Add expected PMU
712 instruction output.
713
714 2016-07-26 Maciej W. Rozycki <macro@imgtec.com>
715
716 * config/tc-mips.c (RELAX_MICROMIPS_ENCODE): Add `insn32' flag.
717 (RELAX_MICROMIPS_INSN32): New macro.
718 (RELAX_MICROMIPS_UNCOND, RELAX_MICROMIPS_COMPACT)
719 (RELAX_MICROMIPS_LINK, RELAX_MICROMIPS_RELAX32)
720 (RELAX_MICROMIPS_TOOFAR16, RELAX_MICROMIPS_MARK_TOOFAR16)
721 (RELAX_MICROMIPS_CLEAR_TOOFAR16, RELAX_MICROMIPS_TOOFAR32)
722 (RELAX_MICROMIPS_MARK_TOOFAR32, RELAX_MICROMIPS_CLEAR_TOOFAR32):
723 Shift bits.
724 (append_insn): Record `mips_opts.insn32' with relaxed microMIPS
725 branches.
726 (relaxed_micromips_32bit_branch_length): Handle the `insn32'
727 mode.
728 (md_convert_frag): Likewise.
729 * testsuite/gas/mips/micromips-branch-relax.s: Add `insn32'
730 conditionals.
731 * testsuite/gas/mips/micromips-branch-relax.l: Update line
732 numbers accordingly.
733 * testsuite/gas/mips/micromips-branch-relax-pic.l: Likewise.
734 * testsuite/gas/mips/micromips-branch-relax-insn32.d: New test.
735 * testsuite/gas/mips/micromips-branch-relax-insn32-pic.d: New
736 test.
737 * testsuite/gas/mips/micromips-branch-relax-insn32.l: New
738 stderr output.
739 * testsuite/gas/mips/micromips-branch-relax-insn32-pic.l: New
740 stderr output.
741 * testsuite/gas/mips/mips.exp: Run the new tests.
742
743 2016-07-21 H.J. Lu <hongjiu.lu@intel.com>
744
745 * configure: Regenerated.
746
747 2016-07-20 Claudiu Zissulescu <claziss@synopsys.com>
748
749 * testsuite/gas/arc/dsp.d: New file.
750 * testsuite/gas/arc/dsp.s: Likewise.
751 * testsuite/gas/arc/fpu.d: Likewise.
752 * testsuite/gas/arc/fpu.s: Likewise.
753 * testsuite/gas/arc/ext2op.d: Add specific disassembler option.
754 * testsuite/gas/arc/ext3op.d: Likewise.
755 * testsuite/gas/arc/tdpfp.d: Likewise.
756 * testsuite/gas/arc/tfpuda.d: Likewise.
757
758 2016-07-20 Maciej W. Rozycki <macro@imgtec.com>
759
760 * config/tc-mips.c (mips_force_relocation): Remove
761 R_MIPS_PC26_S2 and R_MIPS_PC21_S2.
762
763 2016-07-19 Maciej W. Rozycki <macro@imgtec.com>
764
765 * config/tc-mips.c (mips_force_relocation, mips_fix_adjustable):
766 Adjust comments for BAL to JALX linker conversion.
767 (fix_bad_cross_mode_branch_p): Accept cross-mode BAL.
768 * testsuite/gas/mips/unaligned-branch-1.l: Update error messages
769 expected.
770 * testsuite/gas/mips/unaligned-branch-micromips-1.l: Likewise.
771 * testsuite/gas/mips/branch-local-4.d: New test.
772 * testsuite/gas/mips/branch-local-n32-4.d: New test.
773 * testsuite/gas/mips/branch-local-n64-4.d: New test.
774 * testsuite/gas/mips/branch-addend.d: New test.
775 * testsuite/gas/mips/branch-addend-n32.d: New test.
776 * testsuite/gas/mips/branch-addend-n64.d: New test.
777 * testsuite/gas/mips/branch-local-4.s: New test source.
778 * testsuite/gas/mips/branch-addend.s: New test source.
779 * testsuite/gas/mips/mips.exp: Run the new tests.
780
781 2016-07-19 Maciej W. Rozycki <macro@imgtec.com>
782
783 * config/tc-mips.c (mips_force_relocation): Also retain branch
784 relocations against MIPS16 and microMIPS symbols.
785 (fix_bad_cross_mode_jump_p): New function.
786 (fix_bad_same_mode_jalx_p): Likewise.
787 (fix_bad_misaligned_jump_p): Likewise.
788 (fix_bad_cross_mode_branch_p): Likewise.
789 (fix_bad_misaligned_branch_p): Likewise.
790 (fix_validate_branch): Likewise.
791 (md_apply_fix) <BFD_RELOC_MIPS_JMP, BFD_RELOC_MIPS16_JMP>
792 <BFD_RELOC_MICROMIPS_JMP>: Separate from BFD_RELOC_MIPS_SHIFT5,
793 etc. Verify the ISA mode and alignment of the jump target.
794 <BFD_RELOC_MIPS_21_PCREL_S2>: Replace the inline alignment check
795 with a call to `fix_validate_branch'.
796 <BFD_RELOC_MIPS_26_PCREL_S2>: Likewise.
797 <BFD_RELOC_16_PCREL_S2>: Likewise.
798 <BFD_RELOC_MICROMIPS_7_PCREL_S1, BFD_RELOC_MICROMIPS_10_PCREL_S1>
799 <BFD_RELOC_MICROMIPS_16_PCREL_S1>: Retain the original addend.
800 Verify the ISA mode and alignment of the branch target.
801 (md_convert_frag): Verify the ISA mode and alignment of resolved
802 MIPS16 branch targets.
803 * testsuite/gas/mips/branch-misc-1.s: Annotate non-instruction
804 branch targets with `.insn'.
805 * testsuite/gas/mips/branch-misc-5.s: Likewise.
806 * testsuite/gas/mips/micromips@branch-misc-5-64.d: Update
807 accordingly.
808 * testsuite/gas/mips/micromips@branch-misc-5pic-64.d: Likewise.
809 * testsuite/gas/mips/micromips-branch-relax.s: Annotate
810 non-instruction branch target with `.insn'.
811 * testsuite/gas/mips/micromips.s: Replace microMIPS JALX targets
812 with external symbols.
813 * testsuite/gas/mips/micromips-insn32.d: Update accordingly.
814 * testsuite/gas/mips/micromips-noinsn32.d: Likewise.
815 * testsuite/gas/mips/micromips-trap.d: Likewise.
816 * testsuite/gas/mips/micromips.d: Likewise.
817 * testsuite/gas/mips/mips16.s: Annotate non-instruction branch
818 targets with `.insn'.
819 * testsuite/gas/mips/mips16.d: Update accordingly.
820 * testsuite/gas/mips/mips16-64.d: Likewise.
821 * testsuite/gas/mips/mips16-dwarf2.s: Annotate non-instruction
822 branch target with `.insn'.
823 * testsuite/gas/mips/relax-swap3.s: Likewise.
824 * testsuite/gas/mips/branch-local-2.l: New list test.
825 * testsuite/gas/mips/branch-local-3.l: New list test.
826 * testsuite/gas/mips/branch-local-n32-2.l: New list test.
827 * testsuite/gas/mips/branch-local-n32-3.l: New list test.
828 * testsuite/gas/mips/branch-local-n64-2.l: New list test.
829 * testsuite/gas/mips/branch-local-n64-3.l: New list test.
830 * testsuite/gas/mips/unaligned-jump-1.l: New list test.
831 * testsuite/gas/mips/unaligned-jump-2.l: New list test.
832 * testsuite/gas/mips/unaligned-jump-3.d: New test.
833 * testsuite/gas/mips/unaligned-jump-mips16-1.l: New list test.
834 * testsuite/gas/mips/unaligned-jump-mips16-2.l: New list test.
835 * testsuite/gas/mips/unaligned-jump-mips16-3.d: New test.
836 * testsuite/gas/mips/unaligned-jump-micromips-1.l: New list
837 test.
838 * testsuite/gas/mips/unaligned-jump-micromips-2.l: New list
839 test.
840 * testsuite/gas/mips/unaligned-jump-micromips-3.d: New test.
841 * testsuite/gas/mips/unaligned-branch-1.l: New list test.
842 * testsuite/gas/mips/unaligned-branch-2.l: New list test.
843 * testsuite/gas/mips/unaligned-branch-3.d: New test.
844 * testsuite/gas/mips/unaligned-branch-r6-1.l: New list test.
845 * testsuite/gas/mips/unaligned-branch-r6-2.l: New list test.
846 * testsuite/gas/mips/unaligned-branch-r6-3.l: New list test.
847 * testsuite/gas/mips/unaligned-branch-r6-4.l: New list test.
848 * testsuite/gas/mips/unaligned-branch-r6-5.d: New test.
849 * testsuite/gas/mips/unaligned-branch-r6-6.d: New test.
850 * testsuite/gas/mips/unaligned-branch-mips16-1.l: New list test.
851 * testsuite/gas/mips/unaligned-branch-mips16-2.l: New list test.
852 * testsuite/gas/mips/unaligned-branch-mips16-3.d: New test.
853 * testsuite/gas/mips/unaligned-branch-micromips-1.l: New list
854 test.
855 * testsuite/gas/mips/unaligned-branch-micromips-2.l: New list
856 test.
857 * testsuite/gas/mips/unaligned-branch-micromips-3.d: New test.
858 * testsuite/gas/mips/branch-local-2.s: New test source.
859 * testsuite/gas/mips/branch-local-3.s: New test source.
860 * testsuite/gas/mips/branch-local-n32-2.s: New test source.
861 * testsuite/gas/mips/branch-local-n32-3.s: New test source.
862 * testsuite/gas/mips/branch-local-n64-2.s: New test source.
863 * testsuite/gas/mips/branch-local-n64-3.s: New test source.
864 * testsuite/gas/mips/unaligned-jump-1.s: New test source.
865 * testsuite/gas/mips/unaligned-jump-2.s: New test source.
866 * testsuite/gas/mips/unaligned-jump-mips16-1.s: New test source.
867 * testsuite/gas/mips/unaligned-jump-mips16-2.s: New test source.
868 * testsuite/gas/mips/unaligned-jump-micromips-1.s: New test
869 source.
870 * testsuite/gas/mips/unaligned-jump-micromips-2.s: New test
871 source.
872 * testsuite/gas/mips/unaligned-branch-1.s: New test source.
873 * testsuite/gas/mips/unaligned-branch-2.s: New test source.
874 * testsuite/gas/mips/unaligned-branch-r6-1.s: New test source.
875 * testsuite/gas/mips/unaligned-branch-r6-2.s: New test source.
876 * testsuite/gas/mips/unaligned-branch-r6-3.s: New test source.
877 * testsuite/gas/mips/unaligned-branch-r6-4.s: New test source.
878 * testsuite/gas/mips/unaligned-branch-mips16-1.s: New test
879 source.
880 * testsuite/gas/mips/unaligned-branch-mips16-2.s: New test
881 source.
882 * testsuite/gas/mips/unaligned-branch-micromips-1.s: New test
883 source.
884 * testsuite/gas/mips/unaligned-branch-micromips-2.s: New test
885 source.
886 * testsuite/gas/mips/mips.exp: Run the new tests.
887
888 2016-07-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
889
890 * config/tc-nds32.c (struct nds32_pseudo_opcode): Make pseudo_val
891 unsigned int.
892 (do_pseudo_b): Adjust.
893 (do_pseudo_bal): Likewise.
894 (do_pseudo_bge): Likewise.
895 (do_pseudo_bges): Likewise.
896 (do_pseudo_bgt): Likewise.
897 (do_pseudo_bgts): Likewise.
898 (do_pseudo_ble): Likewise.
899 (do_pseudo_bles): Likewise.
900 (do_pseudo_blt): Likewise.
901 (do_pseudo_blts): Likewise.
902 (do_pseudo_br): Likewise.
903 (do_pseudo_bral): Likewise.
904 (do_pseudo_la): Likewise.
905 (do_pseudo_li): Likewise.
906 (do_pseudo_ls_bhw): Likewise.
907 (do_pseudo_ls_bhwp): Likewise.
908 (do_pseudo_ls_bhwpc): Likewise.
909 (do_pseudo_ls_bhwi): Likewise.
910 (do_pseudo_move): Likewise.
911 (do_pseudo_neg): Likewise.
912 (do_pseudo_not): Likewise.
913 (do_pseudo_pushpopm): Likewise.
914 (do_pseudo_pushpop): Likewise.
915 (do_pseudo_v3push): Likewise.
916 (do_pseudo_v3pop): Likewise.
917 (do_pseudo_pushpop_stack): Likewise.
918 (do_pseudo_push_bhwd): Likewise.
919 (do_pseudo_pop_bhwd): Likewise.
920 (do_pseudo_pusha): Likewise.
921 (do_pseudo_pushi): Likewise.
922
923 2016-07-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
924
925 * config/tc-sparc.c (struct pop_entry): Make the type of reloc
926 bfd_reloc_code_real_type.
927
928 2016-07-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
929
930 * config/tc-sparc.c (pop_table): Remove sentinel.
931 (NUM_PERC_ENTRIES): Use ARRAY_SIZE on pop_table.
932 (md_begin): Adjust.
933
934 2016-07-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
935
936 * config/tc-z8k.c (newfix): Make type of type argument
937 bfd_reloc_code_real_type.
938 (apply_fix): Likewise.
939
940 2016-07-16 Alan Modra <amodra@gmail.com>
941
942 * config/tc-epiphany.c: Don't include libbfd.h.
943 * config/tc-frv.c: Likewise.
944 * config/tc-ip2k.c: Likewise.
945 * config/tc-iq2000.c: Likewise.
946 * config/tc-m32c.c: Likewise.
947 * config/tc-mep.c: Likewise.
948 * config/tc-mt.c: Likewise.
949 * config/tc-nios2.c: Likewise.
950
951 2016-07-16 Alan Modra <amodra@gmail.com>
952
953 * config/bfin-parse.y: Don't include libbfd.h.
954 * config/tc-bfin.c: Likewise.
955 * config/tc-rl78.c: Likewise.
956 * config/tc-rx.c: Likewise.
957 * config/tc-metag.c: Likewise.
958 (create_dspreg_htabs, create_scond_htab): Use gas_assert not BFD_ASSERT.
959 * Makefile.am: Update dependencies.
960 * Makefile.in: Regenerate.
961
962 2016-07-14 Maciej W. Rozycki <macro@imgtec.com>
963
964 * config/tc-mips.h (TC_FORCE_RELOCATION_ABS): New macro.
965 (mips_force_relocation_abs): New prototype.
966 * config/tc-mips.c (mips_force_relocation_abs): New function.
967 * testsuite/gas/mips/branch-absolute.d: Adjust dump patterns.
968 * testsuite/gas/mips/mips16-branch-absolute.d: Likewise.
969 * testsuite/gas/mips/micromips-branch-absolute-n32.d: Likewise.
970 * testsuite/gas/mips/micromips-branch-absolute-n64.d: Likewise.
971 * testsuite/gas/mips/micromips-branch-absolute-addend-n32.d:
972 Likewise.
973 * testsuite/gas/mips/micromips-branch-absolute-addend-n64.d:
974 Likewise.
975 * testsuite/gas/mips/branch-absolute-addend.d: New test.
976 * testsuite/gas/mips/mips16-branch-absolute-addend.d: New test.
977 * testsuite/gas/mips/micromips-branch-absolute-addend.d: New
978 test.
979 * testsuite/gas/mips/mips.exp: Run the new tests.
980
981 2016-07-14 Maciej W. Rozycki <macro@imgtec.com>
982
983 * config/tc-mips.c (md_apply_fix) <BFD_RELOC_MIPS16_16_PCREL_S1>
984 <BFD_RELOC_MICROMIPS_7_PCREL_S1, BFD_RELOC_MICROMIPS_10_PCREL_S1>
985 <BFD_RELOC_MICROMIPS_16_PCREL_S1>: Keep the ISA bit in the
986 addend calculated.
987 * testsuite/gas/mips/mips16-branch-absolute.s: Set the ISA bit
988 in `bar', export `foo'.
989 * testsuite/gas/mips/mips16-branch-absolute.d: Adjust
990 accordingly.
991 * testsuite/gas/mips/mips16-branch-absolute-n32.d: Likewise.
992 * testsuite/gas/mips/mips16-branch-absolute-n64.d: Likewise.
993 * testsuite/gas/mips/mips16-branch-absolute-addend-n32.d:
994 Likewise.
995 * testsuite/gas/mips/mips16-branch-absolute-addend-n64.d:
996 Likewise.
997
998 2016-07-14 Maciej W. Rozycki <macro@imgtec.com>
999
1000 * testsuite/gas/mips/mips16-branch-absolute.d: Update patterns.
1001 * testsuite/gas/mips/branch-absolute.d: New test.
1002 * testsuite/gas/mips/branch-absolute-n32.d: New test.
1003 * testsuite/gas/mips/branch-absolute-n64.d: New test.
1004 * testsuite/gas/mips/branch-absolute-addend-n32.d: New test.
1005 * testsuite/gas/mips/branch-absolute-addend-n64.d: New test.
1006 * testsuite/gas/mips/mips16-branch-absolute-n32.d: New test.
1007 * testsuite/gas/mips/mips16-branch-absolute-n64.d: New test.
1008 * testsuite/gas/mips/mips16-branch-absolute-addend-n32.d: New
1009 test.
1010 * testsuite/gas/mips/mips16-branch-absolute-addend-n64.d: New
1011 test.
1012 * testsuite/gas/mips/micromips-branch-absolute.d: New test.
1013 * testsuite/gas/mips/micromips-branch-absolute-n32.d: New test.
1014 * testsuite/gas/mips/micromips-branch-absolute-n64.d: New test.
1015 * testsuite/gas/mips/micromips-branch-absolute-addend-n32.d: New
1016 test.
1017 * testsuite/gas/mips/micromips-branch-absolute-addend-n64.d: New
1018 test.
1019 * testsuite/gas/mips/branch-absolute.s: New test source.
1020 * testsuite/gas/mips/branch-absolute-addend.s: New test source.
1021 * testsuite/gas/mips/mips16-branch-absolute-addend.s: New test
1022 source.
1023 * testsuite/gas/mips/micromips-branch-absolute.s: New test
1024 source.
1025 * testsuite/gas/mips/micromips-branch-absolute-addend.s: New
1026 test source.
1027 * testsuite/gas/mips/mips.exp: Run the new tests.
1028
1029 2016-07-13 Maciej W. Rozycki <macro@imgtec.com>
1030
1031 * testsuite/gas/mips/nal-1.d: New test.
1032 * testsuite/gas/mips/mipsr6@nal-1.d: New test.
1033 * testsuite/gas/mips/nal-2.d: New test.
1034 * testsuite/gas/mips/mipsr6@nal-2.d: New test.
1035 * testsuite/gas/mips/nal.s: New test source.
1036 * testsuite/gas/mips/mips.exp: Run the new tests.
1037
1038 2016-07-12 Jose E. Marchesi <jose.marchesi@oracle.com>
1039
1040 * testsuite/gas/sparc/ldtxa.s: New file.
1041 * testsuite/gas/sparc/ldtxa.d: Likewise.
1042 * testsuite/gas/sparc/sparc.exp: Execute the ldtxa test.
1043
1044 2016-07-11 Claudiu Zissulescu <claziss@synopsys.com>
1045
1046 * config/tc-arc.c (arc_reloc_op_tag): Allow complex ops for dtpoff.
1047 (tc_gen_reloc): Remove passing DTPOFF base info into reloc addendum
1048 as it is no longer needed.
1049
1050 2016-07-08 Maciej W. Rozycki <macro@imgtec.com>
1051
1052 * config/tc-mips.c (append_insn): Remove extraneous
1053 `install_insn' call.
1054
1055 2016-07-04 Jan Beulich <jbeulich@suse.com>
1056
1057 * config/tc-i386.c (check_qword_reg): Correct register kind
1058 checked.
1059 * testsuite/gas/i386/x86-64-suffix-bad.s: Add q-suffix with
1060 16-bit register cases.
1061 * testsuite/gas/i386/x86-64-suffix-bad.l: Adjust expectations.
1062
1063
1064 2016-07-02 Maciej W. Rozycki <macro@imgtec.com>
1065
1066 * testsuite/gas/mips/ecoff@ld.d: Remove test.
1067 * testsuite/gas/mips/ecoff@ld-forward.d: Remove test.
1068 * testsuite/gas/mips/ecoff@ld-zero-3.d: Remove test.
1069 * testsuite/gas/mips/ecoff@sd.d: Remove test.
1070 * testsuite/gas/mips/ecoff@sd-forward.d: Remove test.
1071 * testsuite/gas/mips/beq.d: Remove a.out and ECOFF support from
1072 reloc patterns.
1073 * testsuite/gas/mips/mipsr6@beq.d: Likewise.
1074 * testsuite/gas/mips/bge.d: Likewise.
1075 * testsuite/gas/mips/mipsr6@bge.d: Likewise.
1076 * testsuite/gas/mips/bgeu.d: Likewise.
1077 * testsuite/gas/mips/mipsr6@bgeu.d: Likewise.
1078 * testsuite/gas/mips/blt.d: Likewise.
1079 * testsuite/gas/mips/mipsr6@blt.d: Likewise.
1080 * testsuite/gas/mips/bltu.d: Likewise.
1081 * testsuite/gas/mips/mipsr6@bltu.d: Likewise.
1082 * testsuite/gas/mips/branch-likely.d: Likewise.
1083 * testsuite/gas/mips/la.d: Likewise.
1084 * testsuite/gas/mips/lb.d: Likewise.
1085 * testsuite/gas/mips/lifloat.d: Likewise.
1086 * testsuite/gas/mips/sb.d: Likewise.
1087 * testsuite/gas/mips/uld.d: Likewise.
1088 * testsuite/gas/mips/ulh.d: Likewise.
1089 * testsuite/gas/mips/ulw.d: Likewise.
1090 * testsuite/gas/mips/usd.d: Likewise.
1091 * testsuite/gas/mips/ush.d: Likewise.
1092 * testsuite/gas/mips/usw.d: Likewise.
1093
1094 2016-07-02 Maciej W. Rozycki <macro@imgtec.com>
1095
1096 * testsuite/gas/mips/branch-misc-2.s: Move non
1097 locally-defined-global symbol tests...
1098 * testsuite/gas/mips/branch-misc-5.s: ... to this new test.
1099 * testsuite/gas/mips/branch-misc-2.d: Update accordingly.
1100 * testsuite/gas/mips/branch-misc-2-64.d: Likewise.
1101 * testsuite/gas/mips/branch-misc-2pic.d: Likewise.
1102 * testsuite/gas/mips/branch-misc-2pic-64.d: Likewise.
1103 * testsuite/gas/mips/mipsr6@branch-misc-2-64.d: Likewise.
1104 * testsuite/gas/mips/mipsr6@branch-misc-2pic-64.d: Likewise.
1105 * testsuite/gas/mips/micromips@branch-misc-2.d: Likewise.
1106 * testsuite/gas/mips/micromips@branch-misc-2-64.d: Likewise.
1107 * testsuite/gas/mips/micromips@branch-misc-2pic.d: Likewise.
1108 * testsuite/gas/mips/micromips@branch-misc-2pic-64.d: Likewise.
1109 * testsuite/gas/mips/branch-misc-5.d: New test.
1110 * testsuite/gas/mips/branch-misc-5pic.d: New test.
1111 * testsuite/gas/mips/branch-misc-5-64.d: New test.
1112 * testsuite/gas/mips/branch-misc-5pic-64.d: New test.
1113 * testsuite/gas/mips/mipsr6@branch-misc-5-64.d: New test.
1114 * testsuite/gas/mips/mipsr6@branch-misc-5pic-64.d: New test.
1115 * testsuite/gas/mips/micromips@branch-misc-5.d: New test.
1116 * testsuite/gas/mips/micromips@branch-misc-5pic.d: New test.
1117 * testsuite/gas/mips/micromips@branch-misc-5-64.d: New test.
1118 * testsuite/gas/mips/micromips@branch-misc-5pic-64.d: New test.
1119 * testsuite/gas/mips/mips.exp: Run the new tests.
1120
1121 2016-07-02 Maciej W. Rozycki <macro@imgtec.com>
1122
1123 * testsuite/gas/mips/beq.s: Uncomment branches to undefined
1124 symbols.
1125 * testsuite/gas/mips/beq.d: Update accordingly.
1126 * testsuite/gas/mips/mipsr6@beq.d: Likewise.
1127 * testsuite/gas/mips/micromips@beq.d: Likewise.
1128
1129 2016-07-02 Maciej W. Rozycki <macro@imgtec.com>
1130
1131 * testsuite/gas/mips/mips.exp: Restrict 64-bit `branch-mips'
1132 tests to NewABI targets.
1133
1134 2016-07-02 Maciej W. Rozycki <macro@imgtec.com>
1135
1136 * testsuite/gas/mips/mips.exp: Group `branch-misc' tests
1137 together.
1138
1139 2016-07-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
1140
1141 * config/tc-aarch64.c (struct aarch64_option_cpu_value_table): Add
1142 require field.
1143 (aarch64_features): Initialize require fields.
1144 (aarch64_parse_features): Handle dependencies.
1145 (aarch64_feature_enable_set, aarch64_feature_disable_set): New.
1146 (md_assemble): Use AARCH64_CPU_HAS_ALL_FEATURES.
1147 * testsuite/gas/aarch64/illegal-nofp16.s: New.
1148 * testsuite/gas/aarch64/illegal-nofp16.l: New.
1149 * testsuite/gas/aarch64/illegal-nofp16.d: New.
1150
1151 2016-07-01 Nick Clifton <nickc@redhat.com>
1152
1153 * macro.c (macro_expand_body): Use a buffer big enough to hold an
1154 extremely large integer.
1155
1156 2016-07-01 Jan Beulich <jbeulich@suse.com>
1157
1158 * testsuite/gas/i386/mpx-inval-2.l: Relax for COFF targets.
1159
1160 2016-07-01 Tristan Gingold <gingold@adacore.com>
1161
1162 * NEWS: Add marker for 2.27.
1163
1164 2016-07-01 Jan Beulich <jbeulich@suse.com>
1165
1166 * tc-i386.c (i386_index_check): Add special checks for bndmk,
1167 bndldx, and bndstx.
1168 * testsuite/gas/i386/mpx-inval-2.s: Add %rip and %eip relative
1169 as well as scaling by other than 1 tests.
1170 * testsuite/gas/i386/mpx-inval-2.l: Adjust accordingly.
1171
1172 2016-07-01 Jan Beulich <jbeulich@suse.com>
1173
1174 * tc-i386.c (md_assemble): Alter address size checking for MPX
1175 instructions.
1176 * testsuite/gas/i386/mpx-inval-2.s: New.
1177 * testsuite/gas/i386/mpx-inval-2.l: New.
1178 * testsuite/gas/i386/i386.exp: Run new test.
1179
1180 2016-07-01 Jan Beulich <jbeulich@suse.com>
1181
1182 PR gas/20318
1183 * config/tc-i386.c (match_template): Add char parameter,
1184 consumed in Intel mode for an extra suffix check.
1185 (md_assemble): New local variable mnem_suffix.
1186 * testsuite/gas/i386/suffix-bad.s: New.
1187 * testsuite/gas/i386/suffix-bad.l: New.
1188 * testsuite/gas/i386/i386.exp: Run new test (twice).
1189
1190 2016-07-01 Jan Beulich <jbeulich@suse.com>
1191
1192 * testsuite/gas/i386/movz.s: New.
1193 * testsuite/gas/i386/movz32.d: New.
1194 * testsuite/gas/i386/movz64.d: New.
1195 * testsuite/gas/i386/i386.exp: Run new tests.
1196
1197 2016-07-01 Jan Beulich <jbeulich@suse.com>
1198
1199 * config/tc-i386.c (struct _i386_insn): New field memop1_string.
1200 (md_assemble): Free first memory operand string.
1201 (i386_index_check): Use repprefixok to distingush xlat from
1202 other (real) string ops.
1203 (maybe_adjust_templates): New.
1204 (i386_att_operand). Call it. Store first memory operand string.
1205 * config/tc-i386-intel.c (i386_intel_operand): Likewise.
1206 * testsuite/gas/i386/intel-movs.s: New.
1207 * testsuite/gas/i386/intel-movs32.d: New.
1208 * testsuite/gas/i386/intel-movs64.d: New.
1209 * testsuite/gas/i386/i386.exp: Run new tests. Invoke as for
1210 64-bits tests with "--defsym x86_64=1 --strip-local-absolute".
1211
1212 2016-06-30 Maciej W. Rozycki <macro@imgtec.com>
1213
1214 * config/tc-mips.c (get_append_method): Fix a comment typo.
1215
1216 2016-06-30 Matthew Fortune <Matthew.Fortune@imgtec.com>
1217 Maciej W. Rozycki <macro@imgtec.com>
1218
1219 * config/tc-mips.c (append_insn) <APPEND_SWAP>: Do not special
1220 case MIPS16 handling.
1221 * testsuite/gas/mips/branch-swap-3.d: New test.
1222 * testsuite/gas/mips/branch-swap-4.d: New test.
1223 * testsuite/gas/mips/mips16@branch-swap-3.d: New test.
1224 * testsuite/gas/mips/mips16@branch-swap-4.d: New test.
1225 * testsuite/gas/mips/micromips@branch-swap-3.d: New test.
1226 * testsuite/gas/mips/micromips@branch-swap-4.d: New test.
1227 * testsuite/gas/mips/branch-swap-3.s: New test source.
1228 * testsuite/gas/mips/mips.exp: Run the new tests.
1229
1230 2016-06-30 Maciej W. Rozycki <macro@imgtec.com>
1231
1232 * config/tc-mips.c (append_insn): Simplify non-MIPS16 branch
1233 swapping sequence.
1234
1235 2016-06-30 Maciej W. Rozycki <macro@imgtec.com>
1236
1237 PR gas/20312
1238 * write.c (subsegs_finish_section): Force no section padding to
1239 alignment on failed assembly, always set last frag's alignment
1240 from section.
1241 * testsuite/gas/all/pr20312.l: New list test.
1242 * testsuite/gas/all/pr20312.s: New test source.
1243 * testsuite/gas/all/gas.exp: Run the new test
1244
1245 2016-06-30 Andrew Burgess <andrew.burgess@embecosm.com>
1246
1247 * config.in (TARGET_WITH_CPU): Undefine.
1248 * configure.ac: Add --with-cpu support, and define in config.h.
1249 * configure: Regenerate.
1250 * config/tc-arc.c: Use TARGET_WITH_CPU to select default CPU.
1251 * NEWS: Mention new configure option.
1252
1253 2016-06-30 Matthew Wahab <matthew.wahab@arm.com>
1254
1255 * testsuite/gas/arm/armv8_2+rdma.d: New.
1256
1257 2016-06-29 H.J. Lu <hongjiu.lu@intel.com>
1258
1259 * NEWS: Mention --enable-compressed-debug-sections=gas is the
1260 default for Linux/x86 targets.
1261 * configure.tgt (ac_default_compressed_debug_sections): Default
1262 to yes for Linux/x86 targets.
1263
1264 2016-06-29 Maciej W. Rozycki <macro@imgtec.com>
1265
1266 * write.c: Remove "libbfd.h" inclusion.
1267
1268 2016-06-28 Maciej W. Rozycki <macro@imgtec.com>
1269
1270 * testsuite/gas/elf/elf.exp: Use `supports_gnu_unique' with the
1271 `type' test.
1272
1273 2016-06-28 Alan Modra <amodra@gmail.com>
1274
1275 PR gas/20247
1276 * testsuite/gas/elf/section11.s: Don't start directives in first column.
1277
1278 2016-06-28 Richard Sandiford <richard.sandiford@arm.com>
1279
1280 * testsuite/gas/aarch64/diagnostic.s,
1281 testsuite/gas/aarch64/diagnostic.l: Add tests for out-of-range indices.
1282
1283 2016-06-28 Maciej W. Rozycki <macro@imgtec.com>
1284
1285 * config/tc-mips.c (mips16_reloc_p): Handle
1286 BFD_RELOC_MIPS16_16_PCREL_S1.
1287 (b_reloc_p): Likewise.
1288 (limited_pcrel_reloc_p): Likewise.
1289 (md_pcrel_from): Likewise.
1290 (md_apply_fix): Likewise.
1291 (tc_gen_reloc): Likewise.
1292 (md_convert_frag): Likewise.
1293 (mips_fix_adjustable): Update comment.
1294 * testsuite/gas/mips/mips16-branch-reloc-2.d: Remove error
1295 output, add dump patterns.
1296 * testsuite/gas/mips/mips16-branch-reloc-3.d: Remove error
1297 output, add dump patterns.
1298 * testsuite/gas/mips/mips16-branch-addend-2.d: Remove error
1299 output, add dump patterns.
1300 * testsuite/gas/mips/mips16-branch-addend-3.d: Remove error
1301 output, add dump patterns.
1302 * testsuite/gas/mips/mips16-branch-absolute.d: Remove error
1303 output, add dump patterns.
1304 * testsuite/gas/mips/mips16-branch-reloc-2.l: Remove file.
1305 * testsuite/gas/mips/mips16-branch-reloc-3.l: Remove file.
1306 * testsuite/gas/mips/mips16-branch-addend-2.l: Remove file.
1307 * testsuite/gas/mips/mips16-branch-addend-3.l: Remove file.
1308 * testsuite/gas/mips/mips16-branch-absolute.l: Remove file.
1309 * testsuite/gas/mips/mips16-branch-addend-2.s: Add padding.
1310 * testsuite/gas/mips/branch-weak.s: Adjust alignment, avoid
1311 implicit instruction padding, avoid MIPS16 JR->JRC conversion.
1312 * testsuite/gas/mips/branch-weak-6.d: New test.
1313 * testsuite/gas/mips/branch-weak-7.d: New test.
1314 * testsuite/gas/mips/mips.exp: Run the new tests.
1315
1316 2016-06-27 Vineet Gupta <vgupta@synopsys.com>
1317
1318 * config//tc-arc.c (tc_arc_frame_initial_instructions): Use
1319 cfi_add_CFA_def_cfa to generate default CFA with offset
1320 * testsuite/gas/cfi/cfi-arc-1.d: Update expected output.
1321
1322 2016-06-27 Nick Clifton <nickc@redhat.com>
1323
1324 PR gas/20247
1325 * as.h (do_not_pad_sections_to_alignment): New global variable.
1326 * as.c (show_usage): Add --no-pad-sections.
1327 (parse_args): Likewise.
1328 * write.c (size_seg): Skip padding the end of the section if
1329 requested from the command line.
1330 (SUB_SEGMENT_ALIGN): Likewise.
1331 * doc/as.texinfo: Document the new option.
1332 * NEWS: Mention the new feature.
1333 * testsuite/gas/elf/section11.s: New test.
1334 * testsuite/gas/elf/section11.d: New test driver.
1335 * testsuite/gas/elf/elf.exp: Run the new test.
1336
1337 2016-06-27 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1338
1339 * config/tc-dlx.c: Include bfd/elf32-dlx.h.
1340 * config/tc-dlx.h: Remove prototype of dlx_set_skip_hi16.
1341
1342 2016-06-27 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1343
1344 * config/tc-xtensa.c (xtensa_elf_suffix): Use ARRAY_SIZE instead of a
1345 sentinal element.
1346 (map_suffix_reloc_to_operator): Likewise.
1347 (map_operator_to_reloc): Likewise.
1348
1349 2016-06-27 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1350
1351 * config/tc-nds32.c (md_begin): Use ARRAY_SIZE instead of a sentinal
1352 element in relax_table.
1353
1354 2016-06-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1355
1356 * config/tc-aarch64.c: Make the type of reg_entry::type
1357 aarch_reg_type.
1358
1359 2016-06-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1360
1361 * config/tc-bfin.c (bfin_cpus): Remove sentinal.
1362 (md_parse_option): Adjust.
1363 * config/tc-aarch64.c (aarch64_parse_abi): Replace use of a sentinal
1364 with iteration from 0 to ARRAY_SIZE.
1365 * config/tc-mcore.c (md_begin): Likewise.
1366 * config/tc-visium.c (visium_parse_arch): Likewise.
1367
1368 2016-06-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1369
1370 * config/tc-tic54x.c (tic54x_set_default_include): remove argument
1371 and simplify accordingly.
1372 (tic54x_include): Adjust.
1373 (tic54x_mlib): Likewise.
1374
1375 2016-06-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1376
1377 * config/tc-xtensa.c (xtensa_make_property_section): Remove prototype.
1378
1379 2016-06-24 Maciej W. Rozycki <macro@imgtec.com>
1380
1381 * config/tc-mips.c (append_insn): Use any `O_symbol' expression
1382 unchanged with relaxed MIPS16 instructions.
1383 (mips16_extended_frag): Adjust accordingly. Return 1 right
1384 away if a relocation will be required for the symbol requested.
1385 Remove dead first relaxation pass code.
1386 (mips_relax_frag): Pass `sec' down to `mips16_extended_frag'.
1387 (md_convert_frag): Adjust symbol value calculation. Raise an
1388 error if a relocation is required for the symbol requested.
1389 * testsuite/gas/mips/mips16@relax-swap3.d: Remove dump patterns,
1390 add error output.
1391 * testsuite/gas/mips/mips16@relax-swap3.l: New error output.
1392 * testsuite/gas/mips/mips16-pcrel-relax-0.d: New test.
1393 * testsuite/gas/mips/mips16-pcrel-relax-1.d: New test.
1394 * testsuite/gas/mips/mips16-pcrel-relax-2.d: New test.
1395 * testsuite/gas/mips/mips16-pcrel-relax-3.d: New test.
1396 * testsuite/gas/mips/mips16-pcrel-reloc-0.d: New test.
1397 * testsuite/gas/mips/mips16-pcrel-reloc-1.d: New test.
1398 * testsuite/gas/mips/mips16-pcrel-reloc-2.d: New test.
1399 * testsuite/gas/mips/mips16-pcrel-reloc-3.d: New test.
1400 * testsuite/gas/mips/mips16-pcrel-reloc-4.d: New test.
1401 * testsuite/gas/mips/mips16-pcrel-reloc-5.d: New test.
1402 * testsuite/gas/mips/mips16-pcrel-reloc-6.d: New test.
1403 * testsuite/gas/mips/mips16-pcrel-reloc-7.d: New test.
1404 * testsuite/gas/mips/mips16-pcrel-addend-0.d: New test.
1405 * testsuite/gas/mips/mips16-pcrel-addend-1.d: New test.
1406 * testsuite/gas/mips/mips16-pcrel-addend-2.d: New test.
1407 * testsuite/gas/mips/mips16-pcrel-addend-3.d: New test.
1408 * testsuite/gas/mips/mips16-pcrel-absolute.d: New test.
1409 * testsuite/gas/mips/mips16-branch-reloc-0.d: New test.
1410 * testsuite/gas/mips/mips16-branch-reloc-1.d: New test.
1411 * testsuite/gas/mips/mips16-branch-reloc-2.d: New test.
1412 * testsuite/gas/mips/mips16-branch-reloc-3.d: New test.
1413 * testsuite/gas/mips/mips16-branch-addend-0.d: New test.
1414 * testsuite/gas/mips/mips16-branch-addend-1.d: New test.
1415 * testsuite/gas/mips/mips16-branch-addend-2.d: New test.
1416 * testsuite/gas/mips/mips16-branch-addend-3.d: New test.
1417 * testsuite/gas/mips/mips16-branch-absolute.d: New test.
1418 * testsuite/gas/mips/mips16-absolute-reloc-0.d: New test.
1419 * testsuite/gas/mips/mips16-absolute-reloc-1.d: New test.
1420 * testsuite/gas/mips/mips16-absolute-reloc-2.d: New test.
1421 * testsuite/gas/mips/mips16-absolute-reloc-3.d: New test.
1422 * testsuite/gas/mips/mips16-pcrel-reloc-2.l: New error output.
1423 * testsuite/gas/mips/mips16-pcrel-reloc-3.l: New error output.
1424 * testsuite/gas/mips/mips16-pcrel-reloc-6.l: New error output.
1425 * testsuite/gas/mips/mips16-pcrel-reloc-7.l: New error output.
1426 * testsuite/gas/mips/mips16-pcrel-addend-2.l: New error output.
1427 * testsuite/gas/mips/mips16-pcrel-addend-3.l: New error output.
1428 * testsuite/gas/mips/mips16-pcrel-absolute.l: New error output.
1429 * testsuite/gas/mips/mips16-branch-reloc-2.l: New error output.
1430 * testsuite/gas/mips/mips16-branch-reloc-3.l: New error output.
1431 * testsuite/gas/mips/mips16-branch-addend-2.l: New error output.
1432 * testsuite/gas/mips/mips16-branch-addend-3.l: New error output.
1433 * testsuite/gas/mips/mips16-branch-absolute.l: New error output.
1434 * testsuite/gas/mips/mips16-absolute-reloc-2.l: New error output.
1435 * testsuite/gas/mips/mips16-absolute-reloc-3.l: New error output.
1436 * testsuite/gas/mips/mips16-pcrel-relax-0.s: New test source.
1437 * testsuite/gas/mips/mips16-pcrel-relax-2.s: New test source.
1438 * testsuite/gas/mips/mips16-pcrel-reloc-0.s: New test source.
1439 * testsuite/gas/mips/mips16-pcrel-reloc-1.s: New test source.
1440 * testsuite/gas/mips/mips16-pcrel-reloc-2.s: New test source.
1441 * testsuite/gas/mips/mips16-pcrel-reloc-3.s: New test source.
1442 * testsuite/gas/mips/mips16-pcrel-reloc-4.s: New test source.
1443 * testsuite/gas/mips/mips16-pcrel-reloc-5.s: New test source.
1444 * testsuite/gas/mips/mips16-pcrel-reloc-6.s: New test source.
1445 * testsuite/gas/mips/mips16-pcrel-reloc-7.s: New test source.
1446 * testsuite/gas/mips/mips16-pcrel-addend-0.s: New test source.
1447 * testsuite/gas/mips/mips16-pcrel-addend-1.s: New test source.
1448 * testsuite/gas/mips/mips16-pcrel-addend-2.s: New test source.
1449 * testsuite/gas/mips/mips16-pcrel-addend-3.s: New test source.
1450 * testsuite/gas/mips/mips16-pcrel-absolute.s: New test source.
1451 * testsuite/gas/mips/mips16-branch-reloc-0.s: New test source.
1452 * testsuite/gas/mips/mips16-branch-reloc-1.s: New test source.
1453 * testsuite/gas/mips/mips16-branch-reloc-2.s: New test source.
1454 * testsuite/gas/mips/mips16-branch-reloc-3.s: New test source.
1455 * testsuite/gas/mips/mips16-branch-addend-0.s: New test source.
1456 * testsuite/gas/mips/mips16-branch-addend-1.s: New test source.
1457 * testsuite/gas/mips/mips16-branch-addend-2.s: New test source.
1458 * testsuite/gas/mips/mips16-branch-addend-3.s: New test source.
1459 * testsuite/gas/mips/mips16-branch-absolute.s: New test source.
1460 * testsuite/gas/mips/mips16-absolute-reloc-0.s: New test source.
1461 * testsuite/gas/mips/mips16-absolute-reloc-1.s: New test source.
1462 * testsuite/gas/mips/mips16-absolute-reloc-2.s: New test source.
1463 * testsuite/gas/mips/mips16-absolute-reloc-3.s: New test source.
1464 * testsuite/gas/mips/mips.exp: Run the new tests.
1465
1466 2016-06-24 Alan Modra <amodra@gmail.com>
1467
1468 * configure.tgt (alpha-*-openbsd*): Use em=nbsd.
1469
1470 2016-06-23 Maciej W. Rozycki <macro@imgtec.com>
1471
1472 * config/tc-mips.c (b_reloc_p): New function.
1473 (mips_fix_adjustable): Also keep the original microMIPS symbol
1474 referred from branch relocations.
1475 * testsuite/gas/mips/branch-local-1.d: New test.
1476 * testsuite/gas/mips/branch-local-n32-1.d: New test.
1477 * testsuite/gas/mips/branch-local-n64-1.d: New test.
1478 * testsuite/gas/mips/micromips@branch-misc-4-64.d: Update
1479 relocations.
1480 * testsuite/gas/mips/branch-local-1.s: New test source.
1481 * testsuite/gas/mips/mips.exp: Run the new cases.
1482
1483 2016-06-23 Graham Markall <graham.markall@embecosm.com>
1484
1485 * config/tc-arc.c (options, md_longopts, md_parse_option): Move
1486 -mspfp, -mdpfp and -mfpuda out of the sections for dummy
1487 options. Correct erroneous enabling of SPFP instructions when
1488 using -mnps400.
1489
1490 2016-06-22 Peter Bergner <bergner@vnet.ibm.com>
1491
1492 * testsuite/gas/ppc/power9.d <brd, brh, brw, mffs, mffs., mffsce,
1493 mffscdrn, mffscdrni, mffscrn, mffscrni, mffsl, nandxor, rldixor,
1494 setbool, xor3>: New tests.
1495 * testsuite/gas/ppc/power9.s: Likewise.
1496
1497 2016-06-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1498
1499 * config/tc-xtensa.c: Include elf/xtensa.h.
1500
1501 2016-06-21 Maciej W. Rozycki <macro@imgtec.com>
1502
1503 * config/tc-mips.c (calculate_reloc) <BFD_RELOC_HI16_S_PCREL>
1504 <BFD_RELOC_LO16_PCREL>: New switch cases.
1505 (md_apply_fix) <BFD_RELOC_HI16_S_PCREL, BFD_RELOC_LO16_PCREL>:
1506 Move switch cases along `BFD_RELOC_MIPS_JMP'.
1507 <BFD_RELOC_MIPS_21_PCREL_S2, BFD_RELOC_MIPS_26_PCREL_S2>
1508 <BFD_RELOC_MIPS_18_PCREL_S3, BFD_RELOC_MIPS_19_PCREL_S2>: Handle
1509 the resolved case.
1510 * testsuite/gas/mips/pcrel-reloc-4.d: New test.
1511 * testsuite/gas/mips/pcrel-reloc-4-r6.d: New test.
1512 * testsuite/gas/mips/pcrel-reloc-5.d: New test.
1513 * testsuite/gas/mips/pcrel-reloc-5-r6.d: New test.
1514 * testsuite/gas/mips/pcrel-reloc-6.d: New test.
1515 * testsuite/gas/mips/pcrel-reloc-6.l: New list test.
1516 * testsuite/gas/mips/pcrel-reloc-4.s: New test source.
1517 * testsuite/gas/mips/pcrel-reloc-6.s: New test source.
1518 * testsuite/gas/mips/mips.exp: Run the new tests.
1519
1520 2016-06-21 Maciej W. Rozycki <macro@imgtec.com>
1521
1522 * config/tc-mips.c (md_apply_fix) <BFD_RELOC_MIPS_18_PCREL_S3>
1523 <BFD_RELOC_MIPS_19_PCREL_S2>: Avoid null pointer dereferences
1524 via `fixP->fx_addsy'.
1525
1526 2016-06-21 Maciej W. Rozycki <macro@imgtec.com>
1527
1528 * config/tc-mips.c (md_pcrel_from) <BFD_RELOC_MIPS_18_PCREL_S3>:
1529 Calculate relocation from the containing aligned doubleword.
1530 (tc_gen_reloc) <BFD_RELOC_MIPS_18_PCREL_S3>: Calculate the
1531 addend from the containing aligned doubleword.
1532
1533 2016-06-21 Maciej W. Rozycki <macro@imgtec.com>
1534
1535 * config/tc-mips.c (mips_force_relocation): Use `file_mips_opts'
1536 rather than `mips_opts' for the R6 ISA check.
1537 (mips_fix_adjustable): Likewise.
1538 * testsuite/gas/mips/pcrel-reloc-1.d: New test.
1539 * testsuite/gas/mips/pcrel-reloc-1-r6.d: New test.
1540 * testsuite/gas/mips/pcrel-reloc-2.d: New test.
1541 * testsuite/gas/mips/pcrel-reloc-2-r6.d: New test.
1542 * testsuite/gas/mips/pcrel-reloc-3.d: New test.
1543 * testsuite/gas/mips/pcrel-reloc-3-r6.d: New test.
1544 * testsuite/gas/mips/pcrel-reloc-1.s: New test source.
1545 * testsuite/gas/mips/mips.exp: Run the new tests.
1546
1547 2016-06-21 Graham Markall <graham.markall@embecosm.com>
1548
1549 * config/tc-arc.c (check_cpu_feature, md_parse_option):
1550 Add nps400 option and feature. Add check for nps400
1551 feature. Refactor existing checks to check subclass before
1552 feature enablement.
1553 (md_show_usage): Document flags for NPS-400 and add some other
1554 undocumented flags.
1555 (cpu_type): Remove nps400 CPU type entry
1556 (check_zol): Remove bfd_mach_arc_nps400 case.
1557 (md_show_usage): Add help on -mcpu=nps400.
1558 (cpu_types): Add entry for nps400 as arc700 plus nps400 extension
1559 set.
1560 * doc/c-arc.texi: Document the -mnps400, -mspfp, -mdpfp, and
1561 -fpuda flags. Document -mcpu=nps400.
1562 * testsuite/gas/arc/nps-400-0.d: Use -mcpu=arc700 -mnps400. Change
1563 expected flags to match ARC700 instead of NPS400.
1564 * testsuite/gas/arc/nps-400-1.d: Use -mcpu=arc700 -mnps400.
1565 * testsuite/gas/arc/nps-400-2.d: Likewise.
1566 * testsuite/gas/arc/nps-400-3.d: Likewise.
1567 * testsuite/gas/arc/nps-400-4.d: Likewise.
1568 * testsuite/gas/arc/nps-400-5.d: Likewise.
1569 * testsuite/gas/arc/nps-400-6.d: Likewise.
1570 * testsuite/gas/arc/nps-400-7.d: Likewise.
1571 * testsuite/gas/arc/textinsn2op01.s: Change opcode of myinsn to
1572 avoid clash with cbba instruction.
1573 * testsuite/gas/arc/textinsn2op01.d: Likewise.
1574 * testsuite/gas/arc/textinsn3op.d: Likewise.
1575 * testsuite/gas/arc/textinsn3op.s: Likewise.
1576 * testsuite/gas/arc/nps-400-0.d: Test using NPS-400 using
1577 -mcpu=nps400 as an alternative to -mcpu=arc700 -mnps400 flags.
1578
1579 2016-06-20 Maciej W. Rozycki <macro@imgtec.com>
1580
1581 * testsuite/gas/mips/r6-64-n32.d: Change the `name' tag.
1582 * testsuite/gas/mips/r6-64-n64.d: Likewise.
1583
1584 2016-06-20 Maciej W. Rozycki <macro@imgtec.com>
1585
1586 * config/tc-mips.c (mips_fix_adjustable): Update comment on jump
1587 reloc conversion.
1588
1589 2016-06-20 Virendra Pathak <virendra.pathak@broadcom.com>
1590
1591 * config/tc-aarch64.c (aarch64_cpus): Update vulcan feature set.
1592
1593 2016-06-17 Jose E. Marchesi <jose.marchesi@oracle.com>
1594
1595 * config/tc-sparc.c (hpriv_reg_table): Add registers %hmcdper,
1596 %hmcddfr and %hva_mask_nz.
1597 (sparc_ip): New handling of asr/privileged/hyperprivileged
1598 registers, adapted to the new form of the sparc opcodes table.
1599 * testsuite/gas/sparc/rdasr.s: New file.
1600 * testsuite/gas/sparc/rdasr.d: Likewise.
1601 * testsuite/gas/sparc/wrasr.s: Likewise.
1602 * testsuite/gas/sparc/wrasr.d: Likewise.
1603 * testsuite/gas/sparc/sparc.exp (sparc_elf_setup): Add rdasr and
1604 wrasr tests.
1605 * testsuite/gas/sparc/rdpr.d: Use -Av9m, as some privileged
1606 registers require it.
1607 * testsuite/gas/sparc/wrpr.s: Complete to cover all privileged
1608 registers and write instruction modalities.
1609 * testsuite/gas/sparc/wrpr.d: Likewise.
1610 * testsuite/gas/sparc/rdhpr.s: Likewise for hyperprivileged
1611 registers.
1612 * testsuite/gas/sparc/rdhpr.d: Likewise.
1613 * testsuite/gas/sparc/wrhpr.s: Likewise.
1614 * testsuite/gas/sparc/wrhpr.d: Likewise.
1615
1616 2016-06-17 Jose E. Marchesi <jose.marchesi@oracle.com>
1617
1618 * config/tc-sparc.c (sparc_arch_table): adjust the GAS
1619 architectures to use the right opcode architecture.
1620 (sparc_md_end): Handle v9{c,d,e,v,m}.
1621 (sparc_ip): Fix some comments.
1622 * testsuite/gas/sparc/ldx_efsr.d: Fix the architecture of this
1623 instruction, which is v9d.
1624 * testsuite/gas/sparc/mwait.s: Remove the `rd %mwait,%g1'
1625 instruction from the test, as %mwait is not readable.
1626 * testsuite/gas/sparc/mwait.d: Likewise.
1627 * testsuite/gas/sparc/mism-1.s: Expand to check v9b and v9e
1628 mismatch architecture errors.
1629 * testsuite/gas/sparc/mism-2.s: New file.
1630
1631 2016-06-17 Jose E. Marchesi <jose.marchesi@oracle.com>
1632
1633 * config/tc-sparc.c (priv_reg_table): Use NULL instead of the
1634 empty string to mark the end of the array.
1635 (hpriv_reg_table): Likewise.
1636 (v9a_asr_table): Likewise.
1637 (cmp_reg_entry): Handle entries with NULL names.
1638 (F_POP_V9): Define.
1639 (F_POP_PCREL): Likewise.
1640 (F_POP_TLS_CALL): Likewise.
1641 (F_POP_POSTFIX): Likewise.
1642 (struct pop_entry): New type.
1643 (pop_table): New variable.
1644 (enum pop_entry_type): New type.
1645 (struct perc_entry): Likewise.
1646 (NUM_PERC_ENTRIES): Define.
1647 (perc_table): New variable.
1648 (cmp_perc_entry): New function.
1649 (md_begin): Sort hpriv_reg_table and v9a_asr_table, and initialize
1650 perc_table.
1651 (sparc_ip): Handle entries with NULL names in priv_reg_table,
1652 hpriv_reg_table and v9a_asr_table. Use perc_table to handle
1653 %-pseudo-ops.
1654
1655 2016-06-15 Nick Clifton <nickc@redhat.com>
1656
1657 * config/tc-ft32.c (md_assemble): Call dwarf2_emit_insn with the
1658 instruction size.
1659 * config/tc-mcore.c (md_assemble): Likewise.
1660 * config/tc-mn10200.c (md_assemble): Likewise.
1661 * config/tc-moxie.c (md_assemble): Likewise.
1662 * config/tc-pj.c (md_apply_fix): Handle BFD_RELOC_PJ_CODE_REL32.
1663 * testsuite/gas/all/gas.exp (diff1 test): Alpha sort list of
1664 exception targets. Add alpha, hppa, microblaze and rl78 to list
1665 of exceptions.
1666 (forward): Add microblaze to list of exceptions.
1667 (fwdexp): Add alpha to list of exceptions.
1668 (redef2): Add arm-epoc-pe and rl78 to list of exceptions.
1669 (redef3): Add rl78 and x86_64 cygwin to list of exceptions.
1670 (do_930509a): Alpha sort list of exception targets. Add h8300 and
1671 mn10200 to list of exceptions.
1672 (align2): Expect to fail for nds32.
1673 (cond): Add alpha and rl78 to list of exceptions.
1674 * testsuite/gas/all/none.d: Skip for ft32 and hppa.
1675 * testsuite/gas/all/string.d: Skip for tic4x.
1676 * testsuite/gas/alpha/alpha.exp: Note that the alpha-linuxecoff
1677 target does not support ELF.
1678 * testsuite/gas/arm/blx-bl-convert.dL Skip for the nto target.
1679 * testsuite/gas/cfi/cfi-alpha-2.d: All extended format names.
1680 * testsuite/gas/cfi/cfi.exp: Alpha sort list of targets. Skip SH
1681 tests for sh-pe and sh-rtemscoff targets.
1682 * testsuite/gas/elf/elf.exp (redef): Add rl78, xgate and vax to
1683 list of exceptions.
1684 (type): Run the noifunc version for alpha-freebsd and visium.
1685 * testsuite/gas/elf/warn-2.s: Do not expect to fail on the mcore,
1686 mn10200 or moxie targets.
1687 * testsuite/gas/ft32/insn.d: Update expected disassembly.
1688 * testsuite/gas/i386/i386.exp (x86-64-pcrel): Skip for cygwin
1689 targets.
1690 * testsuite/gas/lns/lns.exp (lns-common-1): No longer skip for
1691 mcore and rx targets.
1692 * testsuite/gas/macros/macros.exp (dot): Add exceptions for ns32k,
1693 rl78 and vax.
1694 (purge): Expect to fail on the ns32k and vax.
1695 * testsuite/gas/nds32/alu-2.d: Update expected disassembly.
1696 * testsuite/gas/nds32/ls.d: Likewise.
1697 * testsuite/gas/nds32/sys-reg.d: Likewise.
1698 * testsuite/gas/nds32/usr-spe-reg.d: Likewise.
1699 * testsuite/gas/pe/aligncomm-d.d: Skip for the sh.
1700 * testsuite/gas/pe/section-align-3.d: Likewise.
1701 * testsuite/gas/pe/section-exclude.d: Likewise.
1702 * testsuite/gas/ppc/test2xcoff32.d: Pass once all the required
1703 data has been seen.
1704 * testsuite/gas/ppc/textalign-xcoff-001.d: Fix up regexp to allow
1705 for variations in whitespace.
1706 * testsuite/gas/tilepro/t_constants.d: Pass once all the required
1707 data has been seen.
1708 * testsuite/gas/tilepro/t_constants.s (.safe_word): New macro.
1709 Installs a 32-bit value without generating warnings on 64-bit
1710 hosts.
1711 Use the new macro to replace the .word directives.
1712
1713 2016-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
1714
1715 * testsuite/gas/arc/add_s.d: New file.
1716 * testsuite/gas/arc/add_s.s: New file.
1717
1718 2016-06-14 Graham Markall <graham.markall@embecosm.com>
1719
1720 * testsuite/gas/arc/nps400-6.s: Add tests of ldbit.
1721 * testsuite/gas/arc/nps400-6.d: Likewise.
1722
1723 2016-06-14 Graham Markall <graham.markall@embecosm.com>
1724
1725 * testsuite/gas/arc/nps400-6.s: Add tests of hash, tr, utf8, e4by, and
1726 addf.
1727 * testsuite/gas/arc/nps400-6.d: Likewise.
1728
1729 2016-06-14 Graham Markall <graham.markall@embecosm.com>
1730
1731 * testsuite/gas/arc/nps400-6.s: Add tests of calcbsd, calcbxd,
1732 calckey, calcxkey, mxb, imxb, addl, subl, andl, orl, xorl, andab, orab,
1733 lbdsize, bdlen, csms, csma, cbba, zncv, and hofs.
1734 * testsuite/gas/arc/nps400-6.d: Likewise.
1735
1736 2016-06-14 Nick Clifton <nickc@redhat.com>
1737
1738 * config/tc-nds32.c (nds32_get_align): Avoid left shifting a
1739 signed constant.
1740
1741 2016-06-13 Maciej W. Rozycki <macro@imgtec.com>
1742
1743 * config/tc-mips.c (mips_fix_adjustable): Don't convert RELA
1744 JALR relocations on R6.
1745 * testsuite/gas/mips/jal-svr4pic-local.d: New test.
1746 * testsuite/gas/mips/mips1@jal-svr4pic-local.d: New test.
1747 * testsuite/gas/mips/r3000@jal-svr4pic-local.d: New test.
1748 * testsuite/gas/mips/micromips@jal-svr4pic-local.d: New test.
1749 * testsuite/gas/mips/jal-svr4pic-local-n32.d: New test.
1750 * testsuite/gas/mips/micromips@jal-svr4pic-local-n32.d: New
1751 test.
1752 * testsuite/gas/mips/jal-svr4pic-local-n64.d: New test.
1753 * testsuite/gas/mips/micromips@jal-svr4pic-local-n64.d: New
1754 test.
1755 * testsuite/gas/mips/jal-svr4pic-local.s: New test source.
1756 * testsuite/gas/mips/jal-svr4pic-local-newabi.s: New test
1757 source.
1758 * testsuite/gas/mips/mips.exp: Run the new tests.
1759
1760 2016-06-13 Virendra Pathak <virendra.pathak@broadcom.com>
1761
1762 * config/tc-aarch64.c (aarch64_cpus): Add Broadcom Vulcan.
1763 * doc/c-aarch64.texi: Document that vulcan is a valid processor
1764 name.
1765
1766 2016-06-13 Nick Clifton <nickc@redhat.com>
1767
1768 * config/tc-arm.c: For non-ELF based targets skip ARM feature sets
1769 that are not supported.
1770
1771 * config/tc-arc.c (md_apply_fix): Avoid left shifting a signed
1772 constant.
1773 * config/tc-cr16.c (check_range): Likewise.
1774 * config/tc-nios2.c (nios2_check_overflow): Likewise.
1775
1776 2016-06-08 Renlin Li <renlin.li@arm.com>
1777
1778 * config/tc-aarch64.c (print_operands): Substitute size.
1779 (output_operand_error_record): Likewise.
1780
1781 2016-06-07 Alan Modra <amodra@gmail.com>
1782
1783 * config/tc-ppc.c (PPC_APUINFO_ISEL, PPC_APUINFO_PMR,
1784 PPC_APUINFO_RFMCI, PPC_APUINFO_CACHELCK, PPC_APUINFO_SPE,
1785 PPC_APUINFO_EFS, PPC_APUINFO_BRLOCK, PPC_APUINFO_VLE): Don't define.
1786 (ppc_setup_opcodes): Check vle disables powerpc_opcodes overridden
1787 by vle_opcodes, and that vle flag doesn't enable opcodes. Don't
1788 add vle_opcodes twice.
1789 (ppc_cleanup): Use APUINFO_SECTION_NAME and APUINFO_LABEL.
1790
1791 2016-06-07 Matthew Wahab <matthew.wahab@arm.com>
1792
1793 * config/tc-arm.c (arm_ext_v8_2): Rename to arm_ext_ras.
1794 (arm_ext_ras): Renamed from arm_ext_v8_2.
1795 (insns): Update for arm_ext_v8_2 renaming.
1796 (arm_extensions): Add "ras".
1797 * doc/c-arm.texi (ARM Options): Add an entry for "ras".
1798 * testsuite/gas/arm/armv8-a+ras.d: New.
1799 * testsuite/gas/arm/armv8_2-a.d: Add explicit command line
1800 options.
1801
1802 2016-06-05 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1803
1804 * itbl-parse.y (yyerror): Use modern argument declaration style.
1805
1806 2016-06-05 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1807
1808 * config/tc-sh.c (parse_reg): Change type of mode argument to
1809 sh_arg_type.
1810 (get_operand): Adjust.
1811 (insert): Change type of how to bfd_reloc_code_real_type.
1812 (insert4): Likewise.
1813 * config/tc-sh64.c (shmedia_get_operand): Adjust.
1814 (shmedia_parse_reg): Change type of mode to shmedia_arg_type.
1815
1816 2016-06-05 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1817
1818 * config/tc-nds32.c (nds32_parse_option): Make the type of ptr_arg
1819 const char *.
1820
1821 2016-06-03 Peter Bergner <bergner@vnet.ibm.com>
1822
1823 PR binutils/20196
1824 * gas/testsuite/gas/ppc/e6500.s <lbarx, lharx, lwarx, ldarx,
1825 stbcx., sthcx., stwcx., stdcx.>: Add tests.
1826 * gas/testsuite/gas/ppc/e6500.d: Likewise.
1827 * gas/testsuite/gas/ppc/power8.s: Likewise.
1828 * gas/testsuite/gas/ppc/power8.d: Likewise.
1829 * gas/testsuite/gas/ppc/power4.s <lwarx, ldarx, stwcx.,
1830 stdcx.>: Add tests.
1831 * gas/testsuite/gas/ppc/power4.d: Likewise.
1832
1833 2016-06-03 H.J. Lu <hongjiu.lu@intel.com>
1834
1835 PR binutis/18386
1836 * testsuite/gas/i386/i386.exp: Run x86-64-branch-4.
1837 * testsuite/gas/i386/x86-64-branch.d: Updated.
1838 * testsuite/gas/i386/ilp32/x86-64-branch.d: Likewise.
1839 * testsuite/gas/i386/x86-64-branch-4.l: New file.
1840 * testsuite/gas/i386/x86-64-branch-4.s: Likewise.
1841
1842 2016-06-03 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1843
1844 * config/tc-aarch64.c (aarch64_cpus): Add cortex-a73 entry.
1845 * doc/c-aarch64.texi (-mcpu): Document cortex-a73 value.
1846
1847 2016-06-03 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1848
1849 * config/tc-arm.c (arm_cpus): Add cortex-a73 entry.
1850 * doc/c-arm.texi (-mcpu=): Document cortex-a73 value.
1851
1852 2016-06-02 Vineet Gupta <Vineet.Gupta1@synopsys.com>
1853
1854 * configure.tgt: Replace -uclibc with *.
1855
1856 2016-06-02 Andrew Burgess <andrew.burgess@embecosm.com>
1857
1858 * config/tc-arc.c (parse_opcode_flags): New function.
1859 (find_opcode_match): Move flag parsing code out to new function.
1860 Ignore operands marked IGNORE.
1861 (build_fake_opcode_hash_entry): New function.
1862 (find_special_case_long_opcode): New function.
1863 (find_special_case): Lookup long opcodes.
1864 * testsuite/gas/arc/nps400-7.d: New file.
1865 * testsuite/gas/arc/nps400-7.s: New file.
1866
1867 2016-06-01 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1868
1869 * config/tc-ns32k.c: Remove definition of input_line_pointer.
1870
1871 2016-06-01 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1872
1873 * config/tc-avr.c (avr_parse_cons_expression): Replace iteration to
1874 sentinal with iteration to array size.
1875
1876 2016-06-01 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1877
1878 * config/xtensa-relax.h: Move typedefs of enums to the enums
1879 definition.
1880
1881 2016-06-01 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1882
1883 * config/tc-ns32k.c (bit_fix_new): Replace obstack-alloc with XOBNEW
1884 macro.
1885
1886 2016-06-01 Graham Markall <graham.markall@embecosm.com>
1887
1888 * testsuite/gas/arc/nps-400-1.s: Add rflt variants with
1889 operands of types a,b,u6, 0,b,u6, and 0,b,limm.
1890 * testsuite/gas/arc/nps-400-1.d: Likewise.
1891
1892 2016-05-29 H.J. Lu <hongjiu.lu@intel.com>
1893
1894 PR gas/20145
1895 * config/tc-i386.c (cpu_noarch): Add noavx512f, noavx512cd,
1896 noavx512er, noavx512pf, noavx512dq, noavx512bw, noavx512vl,
1897 noavx512ifma and noavx512vbmi.
1898 * doc/c-i386.texi: Mention noavx512f, noavx512cd, noavx512er,
1899 noavx512pf, noavx512dq, noavx512bw, noavx512vl, noavx512ifma
1900 and noavx512vbmi.
1901 * testsuite/gas/i386/i386.exp: Run noavx512-1 and noavx512-2.
1902 * testsuite/gas/i386/noavx512-1.l: New file.
1903 * testsuite/gas/i386/noavx512-1.s: Likewise.
1904 * testsuite/gas/i386/noavx512-2.l: Likewise.
1905 * testsuite/gas/i386/noavx512-2.s: Likewise.
1906
1907 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
1908
1909 PR gas/20145
1910 * config/tc-i386.c (cpu_arch): Add 687.
1911 (cpu_noarch): Add no287, no387, no687, nosse2, nosse3, nossse3,
1912 nosse4.1, nosse4.2, nosse4 and noavx2.
1913 (parse_real_register): Check cpuregmmx instead of cpummx for MMX
1914 register. Check cpuregxmm instead of cpusse for XMM register.
1915 Check cpuregymm instead of cpuavx for YMM register. Check
1916 cpuregzmm/cpuregmask instead of cpuavx512f for ZMMM/mask register.
1917 * doc/c-i386.texi: Mention 687, no287, no387, no687, nosse2,
1918 nosse3, nossse3, nosse4.1, nosse4.2, nosse4 and noavx2.
1919 * testsuite/gas/i386/arch-10-prefetchw.d (as): Add mmx.
1920 * testsuite/gas/i386/arch-10.d (as): Likewise.
1921 * testsuite/gas/i386/arch-11.s: Add ".arch .mmx".
1922 * testsuite/gas/i386/i386.exp: Pass mmx to assembler for
1923 arch-10-3 and arch-10-4. Run no87-3, nosse-4, nosse-5, noavx-3
1924 and noavx-4.
1925 * testsuite/gas/i386/no87-3.l: New file.
1926 * testsuite/gas/i386/no87-3.s: Likewise.
1927 * testsuite/gas/i386/noavx-3.l: Likewise.
1928 * testsuite/gas/i386/noavx-3.s: Likewise.
1929 * testsuite/gas/i386/noavx-4.d: Likewise.
1930 * testsuite/gas/i386/noavx-4.s: Likewise.
1931 * testsuite/gas/i386/nosse-4.l: Likewise.
1932 * testsuite/gas/i386/nosse-4.s: Likewise.
1933 * testsuite/gas/i386/nosse-5.d: Likewise.
1934 * testsuite/gas/i386/nosse-5.s: Likewise.
1935
1936 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
1937
1938 PR gas/20154
1939 * config/tc-i386.c (cpu_flags_match): Don't set cpuamd64 nor
1940 cpuintel64.
1941 (match_template): Check Intel64/AMD64 ISA.
1942
1943 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
1944
1945 PR gas/20154
1946 * config/tc-i386.c (intel64): New.
1947 (cpu_flags_match): Set cpuamd64 and cpuintel64.
1948 (md_parse_option): Set intel64 instead of cpuamd64 and
1949 cpuintel64.
1950
1951 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
1952
1953 * config/tc-i386.c (cpu_flags_match): Don't clear cpu64 nor
1954 cpuno64.
1955
1956 2016-05-26 Peter Bergner <bergner@vnet.ibm.com>
1957
1958 * testsuite/gas/ppc/altivec3.d <vmsumudm>: Add test.
1959 * testsuite/gas/ppc/altivec3.s: Likewise.
1960 * testsuite/gas/ppc/power9.d <addex[.], lwzmx, vmsumudm>: Add tests.
1961 * testsuite/gas/ppc/power9.s: Likewise.
1962
1963 2016-05-26 H.J. Lu <hongjiu.lu@intel.com>
1964
1965 * testsuite/gas/i386/avx512vl-2.l: Append "#pass".
1966 * testsuite/gas/i386/noavx-1.l: Likewise.
1967 * testsuite/gas/i386/nommx-1.l: Likewise.
1968 * testsuite/gas/i386/nosse-1.l: Likewise.
1969 * testsuite/gas/i386/x86-64-avx512vl-2.l: Likewise.
1970 * testsuite/gas/i386/avx512vl-2.s: Append ".p2align 4".
1971 * testsuite/gas/i386/noavx-1.s: Likewise.
1972 * testsuite/gas/i386/nommx-1.s: Likewise.
1973 * testsuite/gas/i386/nosse-1.s: Likewise.
1974 * testsuite/gas/i386/x86-64-avx512vl-2.s: Likewise.
1975
1976 2016-05-26 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1977
1978 * config/tc-metag.c (metag_handle_align): Make the type of noop
1979 unsigned char.
1980
1981 2016-05-26 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1982
1983 * config/tc-rx.c (md_convert_frag): Make the type of reloc_type
1984 bfd_reloc_code_real_type.
1985
1986 2016-05-25 H.J. Lu <hongjiu.lu@intel.com>
1987
1988 PR gas/20140
1989 * config/tc-i386.c (cpu_flags_match): Require another match
1990 for AVX512VL.
1991 * testsuite/gas/i386/i386.exp: Run avx512vl-1, avx512vl-2,
1992 x86-64-avx512vl-1 and x86-64-avx512vl-2.
1993 * testsuite/gas/i386/avx512vl-1.l: New file.
1994 * testsuite/gas/i386/avx512vl-1.s: Likewise.
1995 * testsuite/gas/i386/avx512vl-2.l: Likewise.
1996 * testsuite/gas/i386/avx512vl-2.s: Likewise.
1997 * testsuite/gas/i386/x86-64-avx512vl-1.l: Likewise.
1998 * testsuite/gas/i386/x86-64-avx512vl-1.s: Likewise.
1999 * testsuite/gas/i386/x86-64-avx512vl-2.l: Likewise.
2000 * testsuite/gas/i386/x86-64-avx512vl-2.s: Likewise.
2001
2002 2016-05-25 H.J. Lu <hongjiu.lu@intel.com>
2003
2004 PR gas/20141
2005 * testsuite/gas/i386/i386.exp: Run x86-64-pr20141.
2006 * testsuite/gas/i386/x86-64-pr20141.d: New file.
2007 * testsuite/gas/i386/x86-64-pr20141.s: Likewise.
2008
2009 2016-05-25 H.J. Lu <hongjiu.lu@intel.com>
2010
2011 * config/tc-i386.c (arch_entry): Remove negated.
2012 (noarch_entry): New struct.
2013 (cpu_arch): Updated. Remove .no87, .nommx, .nosse and .noavx.
2014 (cpu_noarch): New.
2015 (set_cpu_arch): Check cpu_noarch after cpu_arch.
2016 (md_parse_option): Allow -march=+nosse. Check cpu_noarch after
2017 cpu_arch.
2018 (output_message): New function.
2019 (show_arch): Use it. Handle cpu_noarch.
2020 * testsuite/gas/i386/i386.exp: Run nommx-1, nommx-2, nommx-3,
2021 nosse-1, nosse-2, nosse-3, noavx-1 and noavx-2.
2022 * testsuite/gas/i386/noavx-1.l: New file.
2023 * testsuite/gas/i386/noavx-1.s: Likewise.
2024 * testsuite/gas/i386/noavx-2.s: Likewise.
2025 * testsuite/gas/i386/noavx-2.l: Likewise.
2026 * testsuite/gas/i386/nommx-1.s: Likewise.
2027 * testsuite/gas/i386/nommx-1.l: Likewise.
2028 * testsuite/gas/i386/nommx-2.s: Likewise.
2029 * testsuite/gas/i386/nommx-2.l: Likewise.
2030 * testsuite/gas/i386/nommx-3.s: Likewise.
2031 * testsuite/gas/i386/nommx-3.l: Likewise.
2032 * testsuite/gas/i386/nosse-1.s: Likewise.
2033 * testsuite/gas/i386/nosse-1.l: Likewise.
2034 * testsuite/gas/i386/nosse-2.s: Likewise.
2035 * testsuite/gas/i386/nosse-2.l: Likewise.
2036 * testsuite/gas/i386/nosse-3.s: Likewise.
2037 * testsuite/gas/i386/nosse-3.l: Likewise.
2038
2039 2016-05-25 Chua Zheng Leong <chuazl@comp.nus.edu.sg>
2040
2041 PR target/20067
2042 * config/tc-arm.c (move_or_literal_pool): Only generate a VMOV.I64
2043 instruction if supported by the currently selected fpu variant.
2044 * testsuite/gas/arm/vfpv3-ldr_immediate.s: Add test of this PR.
2045 * testsuite/gas/arm/vfpv3-ldr_immediate.d: Update expected disassembly.
2046
2047 2016-05-24 Maciej W. Rozycki <macro@imgtec.com>
2048
2049 * config/tc-mips.c (mips_fix_adjustable): Also return 0 for
2050 jump relocations against MIPS16 or microMIPS symbols on RELA
2051 targets.
2052 * testsuite/gas/mips/jalx-local.d: New test.
2053 * testsuite/gas/mips/jalx-local-n32.d: New test.
2054 * testsuite/gas/mips/jalx-local-n64.d: New test.
2055 * testsuite/gas/mips/jalx-local.s: New test source.
2056 * testsuite/gas/mips/mips.exp: Run the new tests.
2057
2058 2016-05-24 Maciej W. Rozycki <macro@imgtec.com>
2059
2060 * config/tc-mips.c (md_apply_fix)
2061 <BFD_RELOC_MIPS16_TLS_TPREL_LO16>: Remove fall-through, adjust
2062 code accordingly.
2063
2064 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2065
2066 * config/tc-xtensa.c (struct suffix_reloc_map): Change type of field
2067 operator to operatorT.
2068 (map_suffix_reloc_to_operator): Change return type to operatorT.
2069
2070 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2071
2072 * config/tc-d30v.c (find_format): Change type of X_op to operatorT.
2073
2074 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2075
2076 * config/tc-mmix.c (mmix_parse_predefined_name): Change type of
2077 handler_charp to const char *.
2078
2079 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2080
2081 * config/tc-ft32.h (DEFAULT_TARGET_FORMAT): Remove.
2082 (ft32_target_format): Likewise.
2083 (TARGET_FORMAT): Adjust.
2084
2085 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2086
2087 * config/tc-ia64.c (dot_rot): simplify allocations from obstacks.
2088 (ia64_frob_label): Likewise.
2089
2090 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2091
2092 * config/tc-cr16.c (check_range): Make type of retval op_err.
2093 * config/tc-crx.c: Likewise.
2094
2095 2016-05-23 Claudiu Zissulescu <claziss@synopsys.com>
2096
2097 * config/tc-arc.c (md_begin): Add XY registers.
2098 (cpu_types): Code density is default off for ARC EM.
2099
2100 2016-05-23 Cupertino Miranda <cmiranda@synopsys.com>
2101
2102 * config/tc-arc.c (attributes_t): Renamed attribute class to
2103 attr_class.
2104 (find_opcode_match, assemble_insn, tokenize_extinsn): Changed.
2105
2106 2016-05-23 Kuba Sejdak <jakub.sejdak@phoesys.com>
2107
2108 * configuse.tgt: Add entry for arm-phoenix.
2109
2110 2016-05-23 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2111
2112 * config/tc-tic54x.c (tic54x_sect): simplify string creation.
2113
2114 2016-05-23 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2115
2116 * config/tc-spu.c (APUOP): Use OPCODE as an unsigned constant.
2117
2118 2016-05-23 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2119
2120 * config/tc-tic54x.c (tic54x_mmregs): Adjust.
2121 (md_begin): Likewise.
2122 (encode_condition): Likewise.
2123 (encode_cc3): Likewise.
2124 (encode_cc2): Likewise.
2125 (encode_operand): Likewise.
2126 (tic54x_undefined_symbol): Likewise.
2127
2128 2016-05-20 Matthew Fortune <matthew.fortune@imgtec.com>
2129
2130 * config/tc-mips.c (mips_cpu_info_table): Update comment. Add
2131 p6600 entry.
2132 * doc/c-mips.texi: Document p6600 -march option.
2133
2134 2016-05-20 H.J. Lu <hongjiu.lu@intel.com>
2135
2136 PR gas/19600
2137 * config/tc-i386.c (md_apply_fix): Preserve addend for
2138 BFD_RELOC_386_GOT32 and BFD_RELOC_X86_64_GOT32.
2139 * testsuite/gas/i386/addend.d: New file.
2140 * testsuite/gas/i386/addend.s: Likewise.
2141 * testsuite/gas/i386/x86-64-addend.d: Likewise.
2142 * testsuite/gas/i386/x86-64-addend.s: Likewise.
2143 * testsuite/gas/i386/i386.exp: Run addend and x86-64-addend.
2144 * testsuite/gas/i386/reloc32.d: Updated.
2145
2146 2016-05-20 Maciej W. Rozycki <macro@imgtec.com>
2147
2148 * config/tc-mips.c (append_insn): Correct the encoding of a
2149 constant argument for microMIPS JALX.
2150 (tc_gen_reloc): Correct the encoding of an in-place addend for
2151 microMIPS JALX.
2152 * testsuite/gas/mips/jalx-addend.d: New test.
2153 * testsuite/gas/mips/jalx-addend-n32.d: New test.
2154 * testsuite/gas/mips/jalx-addend-n64.d: New test.
2155 * testsuite/gas/mips/jalx-imm.d: New test.
2156 * testsuite/gas/mips/jalx-imm-n32.d: New test.
2157 * testsuite/gas/mips/jalx-imm-n64.d: New test.
2158 * testsuite/gas/mips/jalx-addend.s: New test source.
2159 * testsuite/gas/mips/jalx-imm.s: New test source.
2160 * testsuite/gas/mips/mips.exp: Run the new tests.
2161
2162 2016-05-20 Maciej W. Rozycki <macro@imgtec.com>
2163
2164 * config/tc-mips.c: Correct tab-after-space formatting mistakes
2165 throughout.
2166
2167 2016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
2168
2169 * config/tc-arc.c (find_opcode_match): Remove casting away of
2170 const.
2171 * config/tc-arc.h (struct arc_flags): Make flgp field const.
2172
2173 2016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
2174
2175 * config/tc-arc.c (md_pcrel_from_section): Use BFD_VMA_FMT where
2176 appropriate.
2177 (md_convert_frag): Likewise.
2178
2179 2016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
2180
2181 * config/tc-arc.c (arc_opcode_hash_entry_iterator_next): Set
2182 cached opcode to NULL when we reach a non-matching opcode.
2183 * testsuite/gas/arc/asm-errors-2.d: New file.
2184 * testsuite/gas/arc/asm-errors-2.err: New file.
2185 * testsuite/gas/arc/asm-errors-2.s: New file.
2186
2187 2016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
2188
2189 * config/tc-arc.c (tokenize_arguments): Add checks for array
2190 overflow.
2191 * testsuite/gas/arc/asm-errors.s: Addition test line added.
2192 * testsuite/gas/arc/asm-errors.err: Update expected results.
2193
2194 2016-05-18 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2195
2196 * config/tc-rx.c (struct cpu_type): Change the type of a field from
2197 int to enum rx_cpu_types.
2198
2199 2016-05-18 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2200
2201 * config/tc-dlx.c (struct machine_it): change the type of a field from
2202 int to bfd_reloc_code_real_type.
2203 * config/tc-tic4x.c: Likewise.
2204
2205 2016-05-18 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2206
2207 * config/tc-v850.c (v850_target_arch): change type to enum
2208 bfd_architecture.
2209 * config/tc-v850.h (v850_target_arch): Likewise.
2210
2211 2016-05-18 Alan Modra <amodra@gmail.com>
2212
2213 * config/tc-ppc.c (ppc_insert_operand): Trim PPC_OPERAND_SIGNOPT
2214 allowed negative range.
2215 * testsuite/gas/ppc/power9.s: Test xxspltib of -128, not -256.
2216 * testsuite/gas/ppc/power9.d: Update.
2217
2218 2016-05-17 Thomas Preud'homme <thomas.preudhomme@arm.com>
2219
2220 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Force Thumb when
2221 disassembling and stop skipping targets.
2222 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
2223 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
2224 * testsuite/gas/arm/archv8m-base.d: Also allow nops after the last
2225 instruction for targets that have stronger alignment requirement.
2226 * testsuite/gas/arm/archv8m-cmse-base.d: Likewise.
2227 * testsuite/gas/arm/archv8m-cmse-main-1.d: Likewise.
2228 * testsuite/gas/arm/archv8m-cmse-main-2.d: Likewise.
2229 * testsuite/gas/arm/archv8m-main-dsp-1.d: Likewise.
2230 * testsuite/gas/arm/archv8m-main-dsp-2.d: Likewise.
2231 * testsuite/gas/arm/archv8m-main-dsp-3.d: Likewise.
2232 * testsuite/gas/arm/archv8m-main.d: Likewise.
2233 * testsuite/gas/arm/archv8m.s: Add label.
2234 * testsuite/gas/arm/archv8m-cmse.s: Likewise.
2235 * testsuite/gas/arm/archv8m-cmse-msr.s: Likewise.
2236 * testsuite/gas/arm/archv8m-cmse-main.s: Likewise.
2237
2238 2016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2239
2240 * config/tc-m32r.c (mach_table): Make static and const.
2241
2242 2016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2243
2244 * config/tc-vax.c (flonum_gen2vax): Adjust prototype to match
2245 definition.
2246
2247 2016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2248
2249 * config/tc-mn10300.c (md_begin): set linkrelax here instead of
2250 defining it.
2251 * config/tc-msp430.c (md_begin): Likewise.
2252
2253 2016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2254
2255 * config/tc-m68hc11.c (fixup8): Change variables type from int to
2256 bfd_reloc_code_real_type where appropriate.
2257 (fixup16): Likewise.
2258 (fixup8_xg): Likewise.
2259
2260 2016-05-15 Maciej W. Rozycki <macro@imgtec.com>
2261
2262 * config/tc-sh64.c (shmedia_check_limits): Constify `msg'.
2263
2264 2016-05-13 Peter Bergner <bergner@vnet.ibm.com>
2265
2266 * testsuite/gas/ppc/power9.d <xxspltib>: Add additional operand tests.
2267 * testsuite/gas/ppc/power9.s: Likewise.
2268
2269 2016-05-13 Alan Modra <amodra@gmail.com>
2270
2271 * config/obj-coff.c (weak_uniquify): Delete unused var.
2272
2273 2016-05-13 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2274
2275 * app.c (app_push): Use XNEW and related macros.
2276 * as.c (parse_args): Likewise.
2277 * cgen.c (make_right_shifted_expr): Likewise.
2278 (gas_cgen_tc_gen_reloc): Likewise.
2279 * config/bfin-defs.h: Likewise.
2280 * config/bfin-parse.y: Likewise.
2281 * config/obj-coff.c (stack_init): Likewise.
2282 (stack_push): Likewise.
2283 (coff_obj_symbol_new_hook): Likewise.
2284 (coff_obj_symbol_clone_hook): Likewise.
2285 (add_lineno): Likewise.
2286 (coff_frob_symbol): Likewise.
2287 * config/obj-elf.c (obj_elf_section_name): Likewise.
2288 (build_group_lists): Likewise.
2289 * config/obj-evax.c (evax_symbol_new_hook): Likewise.
2290 * config/obj-macho.c (obj_mach_o_indirect_symbol): Likewise.
2291 * config/tc-aarch64.c (insert_reg_alias): Likewise.
2292 (find_or_make_literal_pool): Likewise.
2293 (add_to_lit_pool): Likewise.
2294 (fill_instruction_hash_table): Likewise.
2295 * config/tc-alpha.c (load_expression): Likewise.
2296 (emit_jsrjmp): Likewise.
2297 (s_alpha_ent): Likewise.
2298 (s_alpha_end): Likewise.
2299 (s_alpha_linkage): Likewise.
2300 (md_begin): Likewise.
2301 (tc_gen_reloc): Likewise.
2302 * config/tc-arc.c (arc_insert_opcode): Likewise.
2303 (arc_extcorereg): Likewise.
2304 * config/tc-bfin.c: Likewise.
2305 * config/tc-cr16.c: Likewise.
2306 * config/tc-cris.c: Likewise.
2307 * config/tc-crx.c (preprocess_reglist): Likewise.
2308 * config/tc-d10v.c: Likewise.
2309 * config/tc-frv.c (frv_insert_vliw_insn): Likewise.
2310 (frv_tomcat_shuffle): Likewise.
2311 * config/tc-h8300.c: Likewise.
2312 * config/tc-i370.c (i370_macro): Likewise.
2313 * config/tc-i386.c (lex_got): Likewise.
2314 (md_parse_option): Likewise.
2315 * config/tc-ia64.c (alloc_record): Likewise.
2316 (set_imask): Likewise.
2317 (save_prologue_count): Likewise.
2318 (dot_proc): Likewise.
2319 (dot_endp): Likewise.
2320 (ia64_frob_label): Likewise.
2321 (add_qp_imply): Likewise.
2322 (add_qp_mutex): Likewise.
2323 (mark_resource): Likewise.
2324 (dot_alias): Likewise.
2325 * config/tc-m68hc11.c: Likewise.
2326 * config/tc-m68k.c (m68k_frob_label): Likewise.
2327 (s_save): Likewise.
2328 (mri_control_label): Likewise.
2329 (push_mri_control): Likewise.
2330 (build_mri_control_operand): Likewise.
2331 (s_mri_else): Likewise.
2332 (s_mri_break): Likewise.
2333 (s_mri_next): Likewise.
2334 (s_mri_for): Likewise.
2335 (s_mri_endw): Likewise.
2336 * config/tc-metag.c (create_mnemonic_htab): Likewise.
2337 * config/tc-microblaze.c: Likewise.
2338 * config/tc-mmix.c (s_loc): Likewise.
2339 * config/tc-nds32.c (nds32_relax_hint): Likewise.
2340 * config/tc-nios2.c (nios2_insn_reloc_new): Likewise.
2341 * config/tc-rl78.c: Likewise.
2342 * config/tc-rx.c (rx_include): Likewise.
2343 * config/tc-sh.c: Likewise.
2344 * config/tc-sh64.c (shmedia_frob_section_type): Likewise.
2345 * config/tc-sparc.c: Likewise.
2346 * config/tc-spu.c: Likewise.
2347 * config/tc-tic6x.c (static tic6x_unwind_info *tic6x_get_unwind): Likewise.
2348 (tic6x_start_unwind_section): Likewise.
2349 * config/tc-tilegx.c: Likewise.
2350 * config/tc-tilepro.c: Likewise.
2351 * config/tc-v850.c: Likewise.
2352 * config/tc-visium.c: Likewise.
2353 * config/tc-xgate.c: Likewise.
2354 * config/tc-xtensa.c (xtensa_translate_old_userreg_ops): Likewise.
2355 (new_resource_table): Likewise.
2356 (resize_resource_table): Likewise.
2357 (xtensa_create_trampoline_frag): Likewise.
2358 (xtensa_maybe_create_literal_pool_frag): Likewise.
2359 (cache_literal_section): Likewise.
2360 * config/xtensa-relax.c (append_transition): Likewise.
2361 (append_condition): Likewise.
2362 (append_value_condition): Likewise.
2363 (append_constant_value_condition): Likewise.
2364 (append_literal_op): Likewise.
2365 (append_label_op): Likewise.
2366 (append_constant_op): Likewise.
2367 (append_field_op): Likewise.
2368 (append_user_fn_field_op): Likewise.
2369 (enter_opname_n): Likewise.
2370 (enter_opname): Likewise.
2371 (split_string): Likewise.
2372 (parse_insn_templ): Likewise.
2373 (clone_req_or_option_list): Likewise.
2374 (clone_req_option_list): Likewise.
2375 (parse_option_cond): Likewise.
2376 (parse_insn_pattern): Likewise.
2377 (parse_insn_repl): Likewise.
2378 (build_transition): Likewise.
2379 (build_transition_table): Likewise.
2380 * dw2gencfi.c (alloc_fde_entry): Likewise.
2381 (alloc_cfi_insn_data): Likewise.
2382 (cfi_add_CFA_remember_state): Likewise.
2383 (dot_cfi_escape): Likewise.
2384 (dot_cfi_fde_data): Likewise.
2385 (select_cie_for_fde): Likewise.
2386 * dwarf2dbg.c (dwarf2_directive_loc): Likewise.
2387 * ecoff.c (ecoff_add_bytes): Likewise.
2388 (ecoff_build_debug): Likewise.
2389 * input-scrub.c (input_scrub_push): Likewise.
2390 (input_scrub_begin): Likewise.
2391 (input_scrub_next_buffer): Likewise.
2392 * itbl-ops.c (append_insns_as_macros): Likewise.
2393 (alloc_entry): Likewise.
2394 (alloc_field): Likewise.
2395 * listing.c (listing_newline): Likewise.
2396 (listing_listing): Likewise.
2397 * macro.c (get_any_string): Likewise.
2398 (delete_macro): Likewise.
2399 * stabs.c (generate_asm_file): Likewise.
2400 (stabs_generate_asm_lineno): Likewise.
2401 * subsegs.c (subseg_change): Likewise.
2402 (subseg_get): Likewise.
2403 * symbols.c (define_dollar_label): Likewise.
2404 (symbol_relc_make_sym): Likewise.
2405 * write.c (write_relocs): Likewise.
2406
2407 2016-05-13 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2408
2409 * config/obj-coff.c (obj_coff_def): Simplify string copying.
2410 (weak_name2altname): Likewise.
2411 (weak_uniquify): Likewise.
2412 (obj_coff_section): Likewise.
2413 (obj_coff_init_stab_section): Likewise.
2414 * config/obj-elf.c (obj_elf_section_name): Likewise.
2415 (obj_elf_init_stab_section): Likewise.
2416 * config/obj-evax.c (evax_shorten_name): Likewise.
2417 * config/obj-macho.c (obj_mach_o_make_or_get_sect): Likewise.
2418 * config/tc-aarch64.c (create_register_alias): Likewise.
2419 * config/tc-alpha.c (load_expression): Likewise.
2420 (s_alpha_file): Likewise.
2421 (s_alpha_section_name): Likewise.
2422 (tc_gen_reloc): Likewise.
2423 * config/tc-arc.c (md_assemble): Likewise.
2424 * config/tc-arm.c (create_neon_reg_alias): Likewise.
2425 (start_unwind_section): Likewise.
2426 * config/tc-hppa.c (pa_build_unwind_subspace): Likewise.
2427 (hppa_elf_mark_end_of_function): Likewise.
2428 * config/tc-nios2.c (nios2_modify_arg): Likewise.
2429 (nios2_negate_arg): Likewise.
2430 * config/tc-rx.c (rx_section): Likewise.
2431 * config/tc-sh64.c (sh64_consume_datalabel): Likewise.
2432 * config/tc-tic30.c (tic30_find_parallel_insn): Likewise.
2433 * config/tc-tic54x.c (tic54x_include): Likewise.
2434 (tic54x_macro_info): Likewise.
2435 (subsym_get_arg): Likewise.
2436 (subsym_substitute): Likewise.
2437 (tic54x_start_line_hook): Likewise.
2438 * config/tc-xtensa.c (xtensa_literal_prefix): Likewise.
2439 (xg_reverse_shift_count): Likewise.
2440 * config/xtensa-relax.c (enter_opname_n): Likewise.
2441 (split_string): Likewise.
2442 * dwarf2dbg.c (get_filenum): Likewise.
2443 (process_entries): Likewise.
2444 * expr.c (operand): Likewise.
2445 * itbl-ops.c (alloc_entry): Likewise.
2446 * listing.c (listing_message): Likewise.
2447 (listing_title): Likewise.
2448 * macro.c (check_macro): Likewise.
2449 * stabs.c (s_xstab): Likewise.
2450 * symbols.c (symbol_relc_make_expr): Likewise.
2451 * write.c (compress_debug): Likewise.
2452
2453 2016-05-12 Nick Clifton <nickc@redhat.com>
2454
2455 PR target/20068
2456 * testsuite/gas/arm/pr20068.d: Use correct regexp syntax.
2457
2458 2016-05-11 Nick Clifton <nickc@redhat.com>
2459
2460 PR target/20068
2461 * testsuite/gas/arm/pr20068.d: Adjust expected output to allow for
2462 big endian ARM configurations.
2463
2464 2016-05-11 Andrew Bennett <andrew.bennett@imgtec.com>
2465 Matthew Fortune <matthew.fortune@imgtec.com>
2466
2467 * config/tc-mips.c (options): Add OPTION_DSPR3 and
2468 OPTION_NO_DSPR3.
2469 (md_longopts): Likewise.
2470 (md_show_usage): Add help for -mdspr3 and -mno-dspr3.
2471 (mips_ases): Define availability for DSPr3.
2472 (mips_ase_groups): Add ASE_DSPR3 to the DSP group.
2473 (mips_convert_ase_flags): Map ASE_DSPR3 to AFL_ASE_DSPR3.
2474 * doc/as.texinfo: Document -mdspr3, -mno-dspr3. Fix -mdspr2
2475 formatting.
2476 * doc/c-mips.texi: Document -mdspr3, -mno-dspr3, .set dspr3 and
2477 .set nodspr3. Fix -mdspr2 formatting.
2478 * testsuite/gas/mips/mips32-dspr3.d: New file.
2479 * testsuite/gas/mips/mips32-dspr3.s: Likewise.
2480 * testsuite/gas/mips/mips.exp: Run mips32-dspr3 test.
2481
2482 2016-05-11 Nick Clifton <nickc@redhat.com>
2483
2484 PR target/20068
2485 * config/tc-arm.c (add_to_lit_pool): Ensure that the padding added
2486 to the pool uses O_constant.
2487 * testsuite/gas/arm/pr20068.s: New test.
2488 * testsuite/gas/arm/pr20068.d: Test driver.
2489
2490 2016-05-11 Nick Clifton <nickc@redhat.com>
2491
2492 * testsuite/gas/arm/archv8m-cmse-base.d: Skip for non-ELF ARM targets.
2493 * testsuite/gas/arm/archv8m-cmse-main-1.d: Likewise.
2494 * testsuite/gas/arm/archv8m-cmse-main-2.d: Likewise.
2495 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Likewise.
2496 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
2497 * testsuite/gas/arm/archv8m-main-dsp-1.d: Likewise.
2498 * testsuite/gas/arm/archv8m-main-dsp-2.d: Likewise.
2499 * testsuite/gas/arm/archv8m-main-dsp-3.d: Likewise.
2500 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
2501
2502 2016-05-10 Alexander Fomin <alexander.fomin@intel.com>
2503
2504 * testsuite/gas/i386/i386.exp: Run RDPID tests.
2505 * testsuite/gas/i386/prefix.d: Adjust.
2506 * testsuite/gas/i386/rdpid.s: New test.
2507 * testsuite/gas/i386/rdpid.d: Ditto.
2508 * testsuite/gas/i386/rdpid-intel.d: Ditto.
2509 * testsuite/gas/i386/x86-64-rdpid.s: Ditto.
2510 * testsuite/gas/i386/x86-64-rdpid.d: Ditto.
2511 * testsuite/gas/i386/x86-64-rdpid-intel.d: Ditto.
2512
2513 2016-05-10 Alexander Fomin <alexander.fomin@intel.com>
2514
2515 * config/tc-i386.c (cpu_arch): Add RDPID.
2516 * doc/c-i386.texi: Document RDPID.
2517
2518 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
2519
2520 * config/tc-arm.c (arm_adjust_symtab): Use ARM_SET_SYM_BRANCH_TYPE to
2521 set branch type of a symbol.
2522
2523 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
2524
2525 * NEWS: Document ARMv8-M and ARMv8-M Security and DSP Extensions.
2526 * config/tc-arm.c (arm_ext_dsp): New feature for Thumb DSP
2527 instructions.
2528 (arm_extensions): Add dsp extension for ARMv8-M Mainline.
2529 (aeabi_set_public_attributes): Memorize the feature bits of the
2530 architecture selected for Tag_CPU_arch. Use it to set
2531 Tag_DSP_extension to 1 for ARMv8-M Mainline with DSP extension.
2532 (arm_convert_symbolic_attribute): Define Tag_DSP_extension.
2533 * testsuite/gas/arm/arch7em-bad.d: Rename to ...
2534 * testsuite/gas/arm/arch7em-bad-1.d: This.
2535 * testsuite/gas/arm/arch7em-bad-2.d: New file.
2536 * testsuite/gas/arm/arch7em-bad-3.d: Likewise.
2537 * testsuite/gas/arm/archv8m-main-dsp-1.d: Likewise.
2538 * testsuite/gas/arm/archv8m-main-dsp-2.d: Likewise.
2539 * testsuite/gas/arm/archv8m-main-dsp-3.d: Likewise.
2540 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
2541 * testsuite/gas/arm/archv8m-main-dsp-5.d: Likewise.
2542 * testsuite/gas/arm/attr-march-armv8m.main.dsp.d: Likewise.
2543
2544 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
2545
2546 * config/tc-arm.c (struct arm_option_extension_value_table): Make
2547 allowed_archs an array with 2 entries.
2548 (ARM_EXT_OPT): Adapt to only fill the first entry of allowed_archs.
2549 (ARM_EXT_OPT2): New macro filling the two entries of allowed_archs.
2550 (arm_extensions): Use separate entries in allowed_archs when several
2551 archs are allowed to use an extension and change ARCH_ANY in
2552 ARM_ARCH_NONE in allowed_archs.
2553 (arm_parse_extension): Check that, for each allowed_archs entry, all
2554 bits are set in the current architecture, ignoring ARM_ANY entries.
2555 (s_arm_arch_extension): Likewise.
2556
2557 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
2558
2559 * config/tc-arm.c (arm_ext_m): Add feature bit ARM_EXT2_V8M_MAIN.
2560 (arm_ext_v8m_main): New feature set for bit ARM_EXT2_V8M_MAIN.
2561 (arm_ext_v8m_m_only): New feature set for instructions in ARMv8-M not
2562 shared with a non M profile architecture.
2563 (do_rn): New function.
2564 (known_t32_only_insn): Check opcode against arm_ext_v8m_m_only rather
2565 than arm_ext_v8m.
2566 (v7m_psrs): Add ARMv8-M security extensions new special registers.
2567 (insns): Add ARMv8-M Security Extensions instructions.
2568 (aeabi_set_public_attributes): Use arm_ext_v8m_m_only instead of
2569 arm_ext_v8m_m to decide the profile and the Thumb ISA.
2570 * testsuite/gas/arm/archv8m-cmse.s: New file.
2571 * testsuite/gas/arm/archv8m-cmse-main.s: Likewise..
2572 * testsuite/gas/arm/archv8m-cmse-msr.s: Likewise.
2573 * testsuite/gas/arm/any-cmse.d: Likewise.
2574 * testsuite/gas/arm/any-cmse-main.d: Likewise.
2575 * testsuite/gas/arm/archv8m-cmse-base.d: Likewise.
2576 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Likewise.
2577 * testsuite/gas/arm/archv8m-cmse-main-1.d: Likewise.
2578 * testsuite/gas/arm/archv8m-cmse-main-2.d: Likewise.
2579 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
2580
2581 2016-05-09 Jose E. Marchesi <jose.marchesi@oracle.com>
2582
2583 * testsuite/gas/sparc/sparc5vis4.s: Fix mnemonic of faligndatai.
2584 * testsuite/gas/sparc/sparc5vis4.d: Likewise.
2585
2586 2016-05-04 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
2587
2588 * config/tc-arm.c (fpu_arch_vfp_v1): Mark with ATTRIBUTE_UNUSED.
2589 (fpu_arch_vfp_v3): Likewise.
2590 (fpu_arch_neon_v1): Likewise.
2591 (arm_arch_full): Likewise.
2592 (parse_neon_el_struct_list): Initialize fields of firsttype.
2593
2594 2016-05-03 Claudiu Zissulescu <claziss@synopsys.com>
2595
2596 * config/tc-arc.c (syntaxclass): Add SYNTAX_NOP and SYNTAX_1OP.
2597 (arc_extinsn): Handle new introduced syntax.
2598 * testsuite/gas/arc/textinsn1op.d: New file.
2599 * testsuite/gas/arc/textinsn1op.s: Likewise.
2600 * doc/c-arc.texi: Document SYNTAX_NOP and SYNTAX_1OP.
2601
2602 2016-05-03 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
2603
2604 * testsuite/gas/lns/lns.exp: Add avr to list of targets using
2605 DW_LNS_fixed_advance_pc.
2606
2607 2016-04-27 Alan Modra <amodra@gmail.com>
2608
2609 * as.h (inline, __PTR_TO_INT, __INT_TO_PTR): Don't define.
2610 (xmemdup0): New inline function.
2611
2612 2016-04-22 Maciej W. Rozycki <macro@imgtec.com>
2613
2614 * config/tc-mips.c (code_option_type): New enum.
2615 (parse_code_option): Return status indicating option type.
2616 (s_mipsset): Update `parse_code_option' call site accordingly.
2617 Always set register sizes from the ISA with ISA overrides.
2618 (s_module): Update `parse_code_option' call site.
2619 * testsuite/gas/mips/isa-override-1.d: New test.
2620 * testsuite/gas/mips/micromips@isa-override-1.d: New test.
2621 * testsuite/gas/mips/mips1@isa-override-1.d: New test.
2622 * testsuite/gas/mips/mips2@isa-override-1.d: New test.
2623 * testsuite/gas/mips/mips32@isa-override-1.d: New test.
2624 * testsuite/gas/mips/mips32r2@isa-override-1.d: New test.
2625 * testsuite/gas/mips/mips32r3@isa-override-1.d: New test.
2626 * testsuite/gas/mips/mips32r5@isa-override-1.d: New test.
2627 * testsuite/gas/mips/mips32r6@isa-override-1.d: New test.
2628 * testsuite/gas/mips/mips64r2@isa-override-1.d: New test.
2629 * testsuite/gas/mips/mips64r3@isa-override-1.d: New test.
2630 * testsuite/gas/mips/mips64r5@isa-override-1.d: New test.
2631 * testsuite/gas/mips/mips64r6@isa-override-1.d: New test.
2632 * testsuite/gas/mips/r3000@isa-override-1.d: New test.
2633 * testsuite/gas/mips/r3900@isa-override-1.d: New test.
2634 * testsuite/gas/mips/r5900@isa-override-1.d: New test.
2635 * testsuite/gas/mips/octeon@isa-override-1.d: New test.
2636 * testsuite/gas/mips/octeon3@isa-override-1.d: New test.
2637 * testsuite/gas/mips/isa-override-2.l: New list test.
2638 * testsuite/gas/mips/mips1@isa-override-2.l: New list test.
2639 * testsuite/gas/mips/mips2@isa-override-2.l: New list test.
2640 * testsuite/gas/mips/mips32@isa-override-2.l: New list test.
2641 * testsuite/gas/mips/mips32r2@isa-override-2.l: New list test.
2642 * testsuite/gas/mips/mips32r3@isa-override-2.l: New list test.
2643 * testsuite/gas/mips/mips32r5@isa-override-2.l: New list test.
2644 * testsuite/gas/mips/mips32r6@isa-override-2.l: New list test.
2645 * testsuite/gas/mips/r3000@isa-override-2.l: New list test.
2646 * testsuite/gas/mips/r3900@isa-override-2.l: New list test.
2647 * testsuite/gas/mips/octeon3@isa-override-2.l: New list test.
2648 * testsuite/gas/mips/octeon3@isa-override-1.l: New stderr
2649 output.
2650 * testsuite/gas/mips/isa-override-1.s: New test source.
2651 * testsuite/gas/mips/r5900@isa-override-1.s: New test source.
2652 * testsuite/gas/mips/isa-override-2.s: New test source.
2653 * testsuite/gas/mips/mips1@isa-override-2.s: New test source.
2654 * testsuite/gas/mips/mips2@isa-override-2.s: New test source.
2655 * testsuite/gas/mips/mips32@isa-override-2.s: New test source.
2656 * testsuite/gas/mips/mips32r2@isa-override-2.s: New test source.
2657 * testsuite/gas/mips/mips32r3@isa-override-2.s: New test source.
2658 * testsuite/gas/mips/mips32r5@isa-override-2.s: New test source.
2659 * testsuite/gas/mips/mips32r6@isa-override-2.s: New test source.
2660 * testsuite/gas/mips/r3000@isa-override-2.s: New test source.
2661 * testsuite/gas/mips/r3900@isa-override-2.s: New test source.
2662 * testsuite/gas/mips/octeon3@isa-override-2.s: New test source.
2663 * testsuite/gas/mips/mips.exp: Run the new tests.
2664
2665 2016-04-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2666
2667 * cgen.c: Likewise.
2668 * config/tc-bfin.c: Likewise.
2669 * config/tc-ia64.c: Likewise.
2670 * config/tc-mep.c: Likewise.
2671 * config/tc-metag.c: Likewise.
2672 * config/tc-nios2.c: Likewise.
2673 * config/tc-rl78.c: Likewise.
2674
2675 2016-04-20 Andrew Burgess <andrew.burgess@embecosm.com>
2676
2677 * doc/c-arc.texi (ARC Options): Add nps400 to list of valus for
2678 -mcpu. Add cross reference to .cpu directive from -mcpu option.
2679 (ARC Directives): Add NPS400 to .cpu directive list.
2680
2681 2016-04-20 Matthew Wahab <matthew.wahab@arm.com>
2682
2683 * config/tc-aarch64.c (aarch64_features): Add "ras".
2684 * doc/c-aarch64.texi (AArch64 Extensions): Add "ras".
2685 * testsuite/gas/aarch64/armv8-ras-1.d: New.
2686 * testsuite/gas/aarch64/armv8-ras-1.s: New.
2687 * testsuite/gas/aarch64/illegal-ras-1.d: New.
2688 * testsuite/gas/aarch64/illegal-ras-1.s: New.
2689
2690 2016-04-19 Andrew Burgess <andrew.burgess@embecosm.com>
2691
2692 * testsuite/gas/arc/nps400-6.d: New file.
2693 * testsuite/gas/arc/nps400-6.s: New file.
2694
2695 2016-04-19 Andrew Burgess <andrew.burgess@embecosm.com>
2696
2697 * testsuite/gas/arc/nps400-4.d: New file.
2698 * testsuite/gas/arc/nps400-4.s: New file.
2699 * testsuite/gas/arc/nps400-5.d: New file.
2700 * testsuite/gas/arc/nps400-5.s: New file.
2701
2702 2016-04-19 Martin Galvan <martin.galvan@tallertechnologies.com>
2703
2704 * doc/as.texinfo (.cfi_remember_state, .cfi_restore_state): Improve
2705 documentation.
2706
2707 2016-04-17 Andrew Burgess <andrew.burgess@embecosm.com>
2708
2709 Revert prevous change.
2710 * config/tc-arc.c (arc_option): Make .cpu directive
2711 case-sensitive again.
2712
2713 2016-04-16 Andrew Burgess <andrew.burgess@embecosm.com>
2714
2715 * config/tc-arc.c (arc_option): Make .cpu directive
2716 case-insensitive.
2717
2718 2016-04-16 Andrew Burgess <andrew.burgess@embecosm.com>
2719
2720 * config/tc-arc.c (arc_option): Allow NPS400 in .cpu directive.
2721
2722 2016-04-15 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2723
2724 * config/tc-mips.c (md_begin): Remove useless assignment.
2725
2726 2016-04-15 H.J. Lu <hongjiu.lu@intel.com>
2727
2728 * Makefile.in: Regenerated with automake 1.11.6.
2729 * aclocal.m4: Likewise.
2730 * doc/Makefile.in: Likewise.
2731
2732 2016-04-15 Alan Modra <amodra@gmail.com>
2733
2734 * config/tc-ppc.c (toc_reloc_types): Wrap in #ifdef OBJ_ELF
2735
2736 2016-04-14 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2737
2738 * config/tc-nios2.c (nios2_as_options): Make file static.
2739 * config/tc-ppc.c (toc_reloc_ypes): Likewise.
2740 * config/tc-sparc.c (native_op_table): Likewise.
2741
2742 2016-04-14 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2743
2744 * config/tc-m32c.c (M32C_Macros): Remove.
2745 * config/tc-msp430.c (option_numbers): Likewise.
2746
2747 2016-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
2748
2749 * testsuite/gas/arc/nps400-3.d: New file.
2750 * testsuite/gas/arc/nps400-3.s: New file.
2751
2752 2016-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
2753
2754 * testsuite/gas/arc/add_s-err.s: Update target pattern.
2755 * testsuite/gas/arc/warn.s: Likewise.
2756 * testsuite/gas/elf/elf.exp: Run test for arc.
2757
2758 2016-04-14 Nick Clifton <nickc@redhat.com>
2759
2760 PR target/19938
2761 * testsuite/gas/i386/ilp32/x86-64-unwind.d: Allow for the string
2762 sections possibly having the SHF_STRINGS flag bit set.
2763 * testsuite/gas/i386/x86-64-unwind.d: Likewise.
2764
2765 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
2766
2767 * config/tc-arc.c (mach_type_specified_p): Change type to
2768 bfd_boolean.
2769 (arc_option): Set private flags when parsing cpu pseudo-op.
2770 (md_parse_option): Set mach_type_specified_p to TRUE.
2771
2772 2016-04-13 Nick Clifton <nickc@redhat.com>
2773
2774 PR target/19937
2775 * testsuite/gas/v850/pr19937.s: New test.
2776 * testsuite/gas/v850/pr19937.d: New test control file.
2777 * testsuite/gas/v850/basic.exp: Run the new test.
2778
2779 2016-04-13 Maciej W. Rozycki <macro@imgtec.com>
2780 Andrew Bennett <andrew.bennett@imgtec.com>
2781
2782 * config/tc-mips.c (relaxed_branch_length): Use the long
2783 sequence where the target is a weak symbol.
2784 (relaxed_micromips_32bit_branch_length): Likewise.
2785 (relaxed_micromips_16bit_branch_length): Likewise.
2786 * testsuite/gas/mips/branch-weak-1.d: New test.
2787 * testsuite/gas/mips/branch-weak-2.d: New test.
2788 * testsuite/gas/mips/branch-weak-3.d: New test.
2789 * testsuite/gas/mips/branch-weak-4.d: New test.
2790 * testsuite/gas/mips/branch-weak-5.d: New test.
2791 * testsuite/gas/mips/branch-weak.l: New stderr output.
2792 * testsuite/gas/mips/branch-weak.s: New test source.
2793 * testsuite/gas/mips/mips.exp: Run the new tests.
2794
2795 2016-04-13 Maciej W. Rozycki <macro@imgtec.com>
2796
2797 * config/tc-mips.c (relaxed_branch_length): Use the long
2798 sequence where the distance cannot be determined.
2799 (relaxed_micromips_32bit_branch_length): Likewise.
2800 * testsuite/gas/mips/branch-extern-1.d: New test.
2801 * testsuite/gas/mips/branch-extern-2.d: New test.
2802 * testsuite/gas/mips/branch-extern-3.d: New test.
2803 * testsuite/gas/mips/branch-extern-4.d: New test.
2804 * testsuite/gas/mips/branch-extern.l: New stderr output.
2805 * testsuite/gas/mips/branch-extern.s: New test source.
2806 * testsuite/gas/mips/branch-section-1.d: New test.
2807 * testsuite/gas/mips/branch-section-2.d: New test.
2808 * testsuite/gas/mips/branch-section-3.d: New test.
2809 * testsuite/gas/mips/branch-section-4.d: New test.
2810 * testsuite/gas/mips/branch-section.l: New stderr output.
2811 * testsuite/gas/mips/branch-section.s: New test source.
2812 * testsuite/gas/mips/mips.exp: Run the new tests.
2813
2814 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
2815
2816 * testsuite/gas/arc/textauxregister.d: New file.
2817 * testsuite/gas/arc/textauxregister.s: Likewise.
2818 * testsuite/gas/arc/textcondcode.d: Likewise.
2819 * testsuite/gas/arc/textcondcode.s: Likewise.
2820 * testsuite/gas/arc/textcoreregister.d: Likewise.
2821 * testsuite/gas/arc/textcoreregister.s: Likewise.
2822 * testsuite/gas/arc/textpseudoop.d: Likewise.
2823 * testsuite/gas/arc/textpseudoop.s: Likewise.
2824 * testsuite/gas/arc/ld2.d: Update test.
2825 * testsuite/gas/arc/st.d: Likewise.
2826 * testsuite/gas/arc/taux.d: Likewise.
2827 * doc/c-arc.texi (ARC Directives): Add .extCondCode,
2828 .extCoreRegister and .extAuxRegister documentation.
2829 * config/tc-arc.c (arc_extcorereg): New function.
2830 (md_pseudo_table): Add .extCondCode, .extCoreRegister and
2831 .extAuxRegister pseudo-ops.
2832 (extRegister_t): New type.
2833 (ext_condcode, arc_aux_hash): New global variable.
2834 (find_opcode_match): Check for extensions.
2835 (preprocess_operands): Likewise.
2836 (md_begin): Add aux registers in a hash.
2837 (assemble_insn): Update use arc_flags member.
2838 (tokenize_extregister): New function.
2839 (create_extcore_section): Likewise.
2840 * config/tc-arc.h (arc_flags): Delete code, add flgp.
2841
2842 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
2843
2844 * testsuite/gas/arc/noargs_a7.d: New file.
2845 * testsuite/gas/arc/noargs_a7.s: Likewise.
2846 * testsuite/gas/arc/noargs_hs.d: Likewise.
2847 * testsuite/gas/arc/noargs_hs.s: Likewise.
2848
2849 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
2850
2851 * testsuite/gas/arc/textinsn-errors.d: New File.
2852 * testsuite/gas/arc/textinsn-errors.err: Likewise.
2853 * testsuite/gas/arc/textinsn-errors.s: Likewise.
2854 * testsuite/gas/arc/textinsn2op.d: Likewise.
2855 * testsuite/gas/arc/textinsn2op.s: Likewise.
2856 * testsuite/gas/arc/textinsn2op01.d: Likewise.
2857 * testsuite/gas/arc/textinsn2op01.s: Likewise.
2858 * testsuite/gas/arc/textinsn3op.d: Likewise.
2859 * testsuite/gas/arc/textinsn3op.s: Likewise.
2860 * doc/c-arc.texi (ARC Directives): Add .extInstruction
2861 documentation.
2862 * config/tc-arc.c (arcext_section): New variable.
2863 (arc_extinsn): New function.
2864 (md_pseudo_table): Add .extInstruction pseudo op.
2865 (attributes_t): New type.
2866 (suffixclass, syntaxclass, syntaxclassmod): New constant
2867 structures.
2868 (find_opcode_match): Remove arc_num_opcodes.
2869 (md_begin): Likewise.
2870 (tokenize_extinsn): New function.
2871 (arc_set_ext_seg): Likewise.
2872 (create_extinst_section): Likewise.
2873
2874 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
2875
2876 * config/tc-arc.c (preprocess_operands): Mark AUX symbol.
2877 (arc_adjust_symtab): New function.
2878 * config/tc-arc.h (ARC_FLAG_AUX): Define.
2879 (obj_adjust_symtab): Likewise.
2880 * testsuite/gas/arc/taux.d: New file.
2881 * testsuite/gas/arc/taux.s: Likewise.
2882
2883 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
2884
2885 * config/tc-mips.c (s_option): Sanitize `.option picX'
2886 pseudo-op.
2887 * testsuite/gas/mips/option-pic-1.d: New test.
2888 * testsuite/gas/mips/option-pic-2.l: New list test.
2889 * testsuite/gas/mips/option-pic-1.s: New test source.
2890 * testsuite/gas/mips/option-pic-2.s: New test source.
2891 * testsuite/gas/mips/mips.exp: Run the new tests.
2892
2893 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
2894
2895 * config/tc-mips.c (s_option): Reject `.option picX' if VxWorks
2896 PIC.
2897 * testsuite/gas/mips/option-pic-vxworks-1.l: New list test.
2898 * testsuite/gas/mips/option-pic-vxworks-2.l: New list test.
2899 * testsuite/gas/mips/option-pic-vxworks-1.s: New test source.
2900 * testsuite/gas/mips/option-pic-vxworks-2.s: New test source.
2901 * testsuite/gas/mips/mips.exp: Run the new tests.
2902
2903 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
2904
2905 * config/tc-mips.c (can_swap_branch_p): Correct call formatting.
2906
2907 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
2908
2909 * messages.c (as_bad): Fix a typo in description.
2910
2911 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
2912
2913 * config/tc-mips.c (mips_check_options): Unify messages.
2914
2915 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
2916
2917 * config/tc-mips.c (mips_check_options): Use `opts->isa'
2918 consistently.
2919
2920 2016-04-08 Nick Clifton <nickc@redhat.com>
2921
2922 PR target/19910
2923 * testsuite/gas/sparc/pr19910-1.d: Adjust regexps to work with
2924 COFF and AOUT sparc targets.
2925
2926 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
2927
2928 * config/tc-arc.h (MAX_FLAG_NAME_LENGTH): Increase to 7.
2929 * testsuite/gas/arc/nps400-2.d: New file.
2930 * testsuite/gas/arc/nps400-2.s: New file.
2931
2932 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
2933
2934 * config/tc-arc.c (struct arc_opcode_hash_entry_iterator): New
2935 structure.
2936 (arc_opcode_hash_entry_iterator_init): New function.
2937 (arc_opcode_hash_entry_iterator_next): New function.
2938 (find_opcode_match): Iterate over all arc_opcode entries
2939 referenced by the arc_opcode_hash_entry passed in as a parameter.
2940
2941 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
2942
2943 * config/tc-arc.c (arc_find_opcode): Now returns
2944 arc_opcode_hash_entry pointer.
2945 (find_opcode_match): Update argument type, extract arc_opcode from
2946 incoming arc_opcode_hash_entry.
2947 (find_special_case_pseudo): Update return type.
2948 (find_special_case_flag): Update return type.
2949 (find_special_case): Update return type.
2950 (assemble_tokens): Lookup arc_opcode_hash_entry based on
2951 instruction mnemonic, then use find_opcode_match to identify
2952 specific arc_opcode.
2953
2954 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
2955
2956 * config/tc-arc.c (struct arc_opcode_hash_entry): New structure.
2957 (arc_find_opcode): New function.
2958 (find_special_case_pseudo): Use arc_find_opcode.
2959 (find_special_case_flag): Likewise.
2960 (assemble_tokens): Likewise.
2961 (md_begin): Build hash using struct arc_opcode_hash_entry.
2962
2963 2016-04-07 Claudiu Zissulescu <claziss@synopsys.com>
2964
2965 * config/tc-arc.c (arc_option): Prepare string for automatic
2966 translation.
2967 (declare_register): Likewise.
2968
2969 2016-04-06 James Greenhalgh <james.greenhalgh@arm.com>
2970
2971 * doc/c-aarch64.texi (Architecture Extensions): Add entry for LSE.
2972 Correct entry for RDMA. Alpha sort entries.
2973
2974 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
2975
2976 * config/tc-arc.c (tokenize_flags): Allow greater range of
2977 characters into flag names.
2978
2979 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
2980
2981 * config/tc-arc.c (find_opcode_match): Handle O_symbol case, add
2982 new de_fault label.
2983 (preprocess_operands): Delete.
2984 (assemble_tokens): Remove call to preprocess_operands.
2985
2986 2016-04-07 Nick Clifton <nickc@redhat.com>
2987
2988 PR gas/19910
2989 * config/tc-sparc.c (sparc_ip): Report an error if the expression
2990 inside a %-macro could not be fully parsed.
2991 * expr.c (integer_constant): Accept and ignore U suffixes to
2992 integers.
2993 (operand): When a missing closing parenthesis is encountered,
2994 report the character that was found instead.
2995 * testsuite/gas/mips/tls-ill.l: Update expected error message.
2996 * testsuite/gas/sparc/pr19910-1.d: New test driver.
2997 * testsuite/gas/sparc/pr19910-1.s: New test.
2998 * testsuite/gas/sparc/pr19910-2.l: Expected error output.
2999 * testsuite/gas/sparc/pr19910-2.s: New test.
3000 * testsuite/gas/sparc/sparc.exp: Run the new tests.
3001
3002 2016-04-06 Nick Clifton <nickc@redhat.com>
3003
3004 * config/tc-msp430.c (msp430_operands): Check for a NOP preceding
3005 an EINT instruction. Warn/fix as necessary.
3006 * testsuite/gas/msp430/bad.s: Add test of EINT without preceding NOP.
3007 * testsuite/gas/msp430/bad.l: Update expected messages.
3008
3009 2016-04-05 Andrew Burgess <andrew.burgess@embecosm.com>
3010
3011 * testsuite/gas/arc/nps400-1.d: Update expected results.
3012 * testsuite/gas/arc/nps400-1.s: Additional test cases.
3013
3014 2016-04-05 Claudiu Zissulescu <claziss@synopsys.com>
3015
3016 * config/tc-arc.c (is_code_density_p): Compare directly the
3017 subclass field.
3018 (is_spfp_p, is_dpfp_p, is_spfp_p): Define.
3019 (check_cpu_feature): New function.
3020 (find_opcode_match): Use check_cpu_feature function.
3021 (preprocess_operands): Likewise.
3022 (md_parse_option): Use mfpuda, mdpfp, mspfp options.
3023 * testsuite/gas/arc/tdpfp.d: New file.
3024 * testsuite/gas/arc/tfpuda.d: Likewise.
3025 * testsuite/gas/arc/tfpx.s: Likewise.
3026
3027 2016-04-05 Jiong Wang <jiong.wang@arm.com>
3028
3029 * config/tc-arm.c (do_neon_mac_maybe_scalar): Allow F16.
3030 * testsuite/gas/arm/armv8-2-fp16-simd.s: New tests.
3031 * testsuite/gas/arm/armv8-2-fp16-simd.d: New expected results.
3032 * testsuite/gas/arm/armv8-2-fp16-simd-thum.d: Likewise for Thumb.
3033 * testsuite/gas/arm/armv8-2-fp16-simd-warning.l: New warning results.
3034 * testsuite/gas/arm/simd_by_scalar_low_regbank.s: New test source.
3035 * testsuite/gas/arm/simd_by_scalar_low_regbank.d: New testcase.
3036 * testsuite/gas/arm/simd_by_scalar_low_regbank_thumb.d: Likewise
3037 for Thumb.
3038 * testsuite/gas/arm/simd_by_scalar_low_regbank.l: New warning results.
3039
3040 2016-04-05 Claudiu Zissulescu <claziss@synopsys.com>
3041
3042 * config/tc-arc.c (assemble_insn): Prohibit pc-rel relocations for
3043 JUMP instructions type.
3044 * testsuite/gas/arc/relocs-errors.d: New file.
3045 * testsuite/gas/arc/relocs-errors.err: Likewise.
3046 * testsuite/gas/arc/relocs-errors.s: Likewise.
3047
3048 2016-04-04 H.J. Lu <hongjiu.lu@intel.com>
3049
3050 PR gas/19909
3051 * config/tc-i386.c (check_VecOperands): Try vec_disp8 encoding
3052 only if i.disp_encoding != disp_encoding_32bit.
3053 * gas/testsuite/gas/i386/disp32.s: Add tests for vmovdqu64.d32.
3054 * gas/testsuite/gas/i386/x86-64-disp32.s: Likewise.
3055 * gas/testsuite/gas/i386/disp32.d: Updated.
3056 * gas/testsuite/gas/i386/x86-64-disp32.d: Likewise.
3057
3058 2016-04-04 H.J. Lu <hongjiu.lu@intel.com>
3059
3060 PR gas/19498
3061 * testsuite/gas/i386/i386.exp: Run pr19498.
3062 * testsuite/gas/i386/pr19498.d: New file.
3063 * testsuite/gas/i386/pr19498.s: Likewise.
3064
3065 2016-04-04 Andrew Burgess <andrew.burgess@embecosm.com>
3066
3067 * config/tc-arc.h: Include 'opcode/arc.h'.
3068 (MAX_INSN_ARGS): Delete.
3069 (MAX_INSN_FLGS): Delete.
3070
3071 2016-04-04 Alan Modra <amodra@gmail.com>
3072
3073 PR 19498
3074 * symbols.c (resolve_symbol_value): Clear sy_resolving on exit
3075 from function on all paths that set sy_resolving.
3076
3077 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3078
3079 * app.c (app_push): use XNEW macro.
3080 * as.c: Likewise.
3081 * config/obj-elf.c (obj_elf_change_section): Likewise.
3082 (elf_copy_symbol_attributes): Likewise.
3083 (obj_elf_size): Likewise.
3084 (build_group_lists): Likewise.
3085 * config/tc-aarch64.c (add_operand_error_record): Likewise.
3086 (md_assemble): Likewise.
3087 (tc_gen_reloc): Likewise.
3088 (get_upper_str): Likewise.
3089 (aarch64_parse_features): Likewise.
3090 * config/tc-arm.c (insert_reg_alias): Likewise.
3091 (insert_neon_reg_alias): Likewise.
3092 (find_or_make_literal_pool): Likewise.
3093 (s_arm_elf_cons): Likewise.
3094 (add_unwind_opcode): Likewise.
3095 (arm_parse_extension): Likewise.
3096 * config/tc-avr.c (create_record_for_frag): Likewise.
3097 * config/tc-crx.c: Likewise.
3098 * config/tc-d30v.c: Likewise.
3099 * config/tc-dlx.c (s_proc): Likewise.
3100 * config/tc-ft32.c: Likewise.
3101 * config/tc-h8300.c: Likewise.
3102 * config/tc-hppa.c (pa_proc): Likewise.
3103 (create_new_space): Likewise.
3104 (create_new_subspace): Likewise.
3105 * config/tc-i860.c: Likewise.
3106 * config/tc-i960.c: Likewise.
3107 * config/tc-ia64.c: Likewise.
3108 * config/tc-iq2000.c (iq2000_add_macro): Likewise.
3109 (iq2000_record_hi16): Likewise.
3110 * config/tc-m32c.c (m32c_indirect_operand): Likewise.
3111 * config/tc-m32r.c (debug_sym): Likewise.
3112 (m32r_record_hi16): Likewise.
3113 * config/tc-m68k.c (m68k_ip): Likewise.
3114 (md_begin): Likewise.
3115 * config/tc-mcore.c: Likewise.
3116 * config/tc-microblaze.c (check_got): Likewise.
3117 * config/tc-mips.c (append_insn): Likewise.
3118 (s_mipsset): Likewise.
3119 (mips_record_label): Likewise.
3120 (s_mips_end): Likewise.
3121 * config/tc-mmix.c (mmix_frob_file): Likewise.
3122 * config/tc-mn10200.c: Likewise.
3123 * config/tc-mn10300.c: Likewise.
3124 * config/tc-moxie.c: Likewise.
3125 * config/tc-msp430.c: Likewise.
3126 * config/tc-nds32.c (nds32_elf_save_pseudo_pattern): Likewise.
3127 * config/tc-ns32k.c: Likewise.
3128 * config/tc-or1k.c: Likewise.
3129 * config/tc-pdp11.c: Likewise.
3130 * config/tc-pj.c (fake_opcode): Likewise.
3131 * config/tc-ppc.c (ppc_apuinfo_section_add): Likewise.
3132 (ppc_macro): Likewise.
3133 (ppc_dwsect): Likewise.
3134 (ppc_machine): Likewise.
3135 * config/tc-rl78.c (rl78_frag_init): Likewise.
3136 * config/tc-rx.c (rx_frag_init): Likewise.
3137 * config/tc-s390.c (s390_lit_suffix): Likewise.
3138 (s390_machine): Likewise.
3139 (s390_machinemode): Likewise.
3140 * config/tc-score.c (s3_insert_reg): Likewise.
3141 (s3_gen_reloc): Likewise.
3142 * config/tc-score7.c (s7_insert_reg): Likewise.
3143 (s7_gen_reloc): Likewise.
3144 * config/tc-tic30.c (tic30_operand): Likewise.
3145 * config/tc-tic4x.c (tic4x_inst_make): Likewise.
3146 * config/tc-tic54x.c (stag_add_field): Likewise.
3147 (tic54x_struct): Likewise.
3148 (tic54x_space): Likewise.
3149 (tic54x_field): Likewise.
3150 (tic54x_mlib): Likewise.
3151 (subsym_substitute): Likewise.
3152 * config/tc-tic6x.c (tic6x_frob_label): Likewise.
3153 * config/tc-vax.c: Likewise.
3154 * config/tc-xc16x.c: Likewise.
3155 * config/tc-xtensa.c (xtensa_add_insn_label): Likewise.
3156 (directive_push): Likewise.
3157 (xtensa_begin_directive): Likewise.
3158 (tokenize_arguments): Likewise.
3159 (xtensa_add_literal_sym): Likewise.
3160 (new_resource_table): Likewise.
3161 (resize_resource_table): Likewise.
3162 (emit_single_op): Likewise.
3163 (xtensa_create_trampoline_frag): Likewise.
3164 (xtensa_maybe_create_literal_pool_frag): Likewise.
3165 (xtensa_add_config_info): Likewise.
3166 (xtensa_realloc_fixup_cache): Likewise.
3167 (add_subseg_info): Likewise.
3168 (cache_literal_section): Likewise.
3169 (add_xt_block_frags): Likewise.
3170 (add_xt_prop_frags): Likewise.
3171 (init_op_placement_info_table): Likewise.
3172 (build_section_rename): Likewise.
3173 * config/tc-z80.c: Likewise.
3174 * config/tc-z8k.c: Likewise.
3175 * depend.c (register_dependency): Likewise.
3176 * dwarf2dbg.c (get_line_subseg): Likewise.
3177 (dwarf2_gen_line_info_1): Likewise.
3178 (get_filenum): Likewise.
3179 * ecoff.c (allocate_scope): Likewise.
3180 (allocate_vlinks): Likewise.
3181 (allocate_shash): Likewise.
3182 (allocate_thash): Likewise.
3183 (allocate_tag): Likewise.
3184 (allocate_forward): Likewise.
3185 (allocate_thead): Likewise.
3186 (allocate_lineno_list): Likewise.
3187 * expr.c (make_expr_symbol): Likewise.
3188 * hash.c (hash_new_sized): Likewise.
3189 * input-file.c (input_file_push): Likewise.
3190 * listing.c (file_info): Likewise.
3191 (listing_newline): Likewise.
3192 * macro.c (new_formal): Likewise.
3193 (define_macro): Likewise.
3194 * remap.c (add_debug_prefix_map): Likewise.
3195 * symbols.c (symbol_find_noref): Likewise.
3196 (define_dollar_label): Likewise.
3197 (fb_label_instance_inc): Likewise.
3198 (symbol_relc_make_value): Likewise.
3199
3200 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3201
3202 * config/obj-elf.c (obj_elf_vendor_attribute): Use xstrdup.
3203 * config/tc-ppc.c (ppc_frob_file_before_adjust): Likewise.
3204 (ppc_znop): Likewise.
3205 (ppc_pe_section): Likewise.
3206 (ppc_frob_symbol): Likewise.
3207 * config/tc-tic30.c (tic30_operand): Likewise.
3208 * config/tc-tic4x.c (tic4x_sect): Likewise.
3209 (tic4x_usect): Likewise.
3210
3211 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3212
3213 * config/tc-alpha.c: Const qualify FLT_CHARS.
3214 * config/atof-ieee.c: Remove declarations of FLT_CHARS and EXP_CHARS.
3215 * config/tc-cris.h: Likewise.
3216 * expr.c: Likewise.
3217 * config/tc-mmix.c (md_atof): Adjust comment.
3218 * config/tc-mmix.h: Stop defining FLT_CHARS and EXP_CHARS as macros.
3219 * tc.h: Declare FLT_CHARS and EXP_CHARS.
3220
3221 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3222
3223 * config/tc-score.c (s3_gen_reloc): Add const qualifiers.
3224 * config/tc-score7.c (s7_gen_reloc): Likewise.
3225
3226 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3227
3228 * config/tc-arm.c (do_t_branch): Change the type of reloc to
3229 bfd_reloc_code_real_type.
3230
3231 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3232
3233 * config/bfin-parse.y (current_inputline): Remove definition.
3234 * config/tc-bfin.c (md_assemble): Simplify use of current_inputline.
3235
3236 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3237
3238 * config/tc-avr.c (md_parse_option): Use strcasecmp () to compare
3239 strings.
3240
3241 2016-04-02 Alan Modra <amodra@gmail.com>
3242
3243 PR 19896
3244 * read.c (assign_symbol): Consume rest of line after an error
3245 rather than continuing to process the line.
3246
3247 2016-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
3248
3249 * config/tc-arc.h (MAX_FLAG_NAME_LENGHT): Rename to...
3250 (MAX_FLAG_NAME_LENGTH): ...this.
3251 (struct arc_flags): Update to use MAX_FLAG_NAME_LENGTH.
3252 * config/tc-arc.c (tokenize_flags): Likewise.
3253
3254 2016-04-01 Alan Modra <amodra@gmail.com>
3255
3256 * cgen.c (weak_operand_overflow_check): Return const char*.
3257 * messages.c (as_internal_value_out_of_range): Formatting.
3258 (as_warn_value_out_of_range): Consify prefix param.
3259 (as_bad_value_out_of_range): Likewise.
3260 * read.c (s_errwarn): Constify msg..
3261 (s_float_space, float_cons): ..and err.
3262 * as.h (as_warn_value_out_of_range, as_bad_value_out_of_range,
3263 ieee_md_atof, vax_md_atof): Update prototypes.
3264 * tc.h (md_atof): Update prototype.
3265 * config/atof-ieee.c (ieee_md_atof): Return const char*.
3266 * config/atof-vax.c (vax_md_atof): Likewise.
3267 * config/obj-elf.c (obj_elf_parse_section_letters): Constify bad_msg.
3268 * config/tc-aarch64.c (md_atof): Return const char*.
3269 * config/tc-alpha.c (s_alpha_section_name): Likewise.
3270 (s_alpha_comm): Constify sec_name.
3271 (section_name): Constify.
3272 (s_alpha_section): Consify name..
3273 (alpha_elf_section_letter): ..and ptr_msg param..
3274 (md_atof): ..and return.
3275 * config/tc-alpha.h (alpha_elf_section_letter): Update prototype.
3276 * config/tc-arc.c (md_atof): Return const char*.
3277 * config/tc-arm.c (md_atof): Likewise.
3278 * config/tc-avr.c (md_atof): Likewise.
3279 * config/tc-bfin.c (md_atof): Likewise.
3280 * config/tc-cr16.c (md_atof): Likewise.
3281 * config/tc-cris.c (md_atof): Likewise.
3282 * config/tc-crx.c (md_atof): Likewise.
3283 * config/tc-d10v.c (md_atof): Likewise.
3284 * config/tc-d30v.c (md_atof): Likewise.
3285 * config/tc-dlx.c (md_atof): Likewise.
3286 * config/tc-epiphany.c (md_atof): Likewise.
3287 * config/tc-fr30.c (md_atof): Likewise.
3288 * config/tc-frv.c (md_atof): Likewise.
3289 * config/tc-ft32.c (md_atof): Likewise.
3290 * config/tc-h8300.c (md_atof): Likewise.
3291 * config/tc-hppa.c (struct default_subspace_dict): Constify name.
3292 (struct default_space_dict): Likewise.
3293 (create_new_space): Constify name param.
3294 (create_new_subspace): Likewise.
3295 (is_defined_space, is_defined_subspace): Likewise.
3296 (pa_parse_space_stmt): Constify space_name param.
3297 (md_atof): Return const char*.
3298 (pa_spaces_begin): Constify name.
3299 * config/tc-i370.c (md_atof): Return const char*.
3300 * config/tc-i386.c (md_atof): Likewise.
3301 (x86_64_section_letter): Constify ptr_msg param.
3302 * config/tc-i386.h (x86_64_section_letter): Update prototype.
3303 * config/tc-i860.c (struct i860_it): Constify error.
3304 (md_atof): Return const char*.
3305 * config/tc-i960.c (md_atof): Likewise.
3306 * config/tc-ia64.c (md_atof): Likewise.
3307 (ia64_elf_section_letter): Constify ptr_msg param.
3308 * config/tc-ia64.h (ia64_elf_section_letter): Update prototype.
3309 * config/tc-ip2k.c (md_atof): Return const char*.
3310 * config/tc-iq2000.c (md_atof): Likewise.
3311 * config/tc-lm32.c (md_atof): Likewise.
3312 * config/tc-m32c.c (md_atof): Likewise.
3313 * config/tc-m32r.c (md_atof): Likewise.
3314 * config/tc-m68hc11.c (md_atof): Likewise.
3315 * config/tc-m68k.c (md_atof): Likewise.
3316 * config/tc-mcore.c (md_atof): Likewise.
3317 * config/tc-mep.c (md_atof): Likewise.
3318 (mep_elf_section_letter): Constify ptr_msg param.
3319 * config/tc-mep.h (mep_elf_section_letter): Update prototype.
3320 * config/tc-metag.c (md_atof): Return const char*.
3321 * config/tc-microblaze.c (md_atof): Likewise.
3322 * config/tc-microblaze.h (md_atof): Delete prototype.
3323 * config/tc-mips.c (mips_parse_argument_token): Constify err.
3324 (md_atof): Return const char*.
3325 * config/tc-mmix.c (md_atof): Likewise.
3326 * config/tc-mn10200.c (md_atof): Likewise.
3327 * config/tc-mn10300.c (md_atof): Likewise.
3328 * config/tc-moxie.c (md_atof): Likewise.
3329 * config/tc-msp430.c (md_atof): Likewise.
3330 * config/tc-mt.c (md_atof): Likewise.
3331 * config/tc-nds32.c (md_atof): Likewise.
3332 * config/tc-nios2.c (md_atof): Likewise.
3333 (nios2_elf_section_letter): Constify ptr_msg param.
3334 * config/tc-nios2.h (nios2_elf_section_letter): Update prototype.
3335 * config/tc-ns32k.c (md_atof): Return const char*.
3336 * config/tc-or1k.c (md_atof): Likewise.
3337 * config/tc-pdp11.c (struct pdp11_code): Constify error.
3338 (md_atof): Return const char*.
3339 * config/tc-pj.c (md_atof): Likewise.
3340 * config/tc-ppc.c (md_atof): Likewise.
3341 * config/tc-rl78.c (md_atof): Likewise.
3342 * config/tc-rx.c (md_atof): Likewise.
3343 * config/tc-s390.c (md_atof): Likewise.
3344 * config/tc-score.c (s3_atof, md_atof): Likewise.
3345 * config/tc-sh.c (md_atof): Likewise.
3346 * config/tc-sparc.c (struct sparc_it): Constify error.
3347 (md_atof): Return const char*.
3348 * config/tc-spu.c (md_atof): Likewise.
3349 * config/tc-tic30.c (md_atof): Likewise.
3350 * config/tc-tic4x.c (md_atof): Likewise.
3351 * config/tc-tic54x.c (md_atof): Likewise.
3352 * config/tc-tic6x.c (md_atof): Likewise.
3353 * config/tc-tilegx.c (md_atof): Likewise.
3354 * config/tc-tilepro.c (md_atof): Likewise.
3355 * config/tc-v850.c (parse_register_list, md_atof): Likewise.
3356 * config/tc-vax.c (md_atof): Likewise.
3357 * config/tc-visium.c (md_atof): Likewise.
3358 * config/tc-xc16x.c (md_atof): Likewise.
3359 * config/tc-xgate.c (md_atof): Likewise.
3360 * config/tc-xstormy16.c (md_atof): Likewise.
3361 * config/tc-xtensa.c (md_atof): Likewise.
3362 * config/tc-z80.c (md_atof): Likewise.
3363 * config/tc-z8k.c (md_atof): Likewise.
3364
3365 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3366
3367 * config/tc-xtensa.c (struct rename_section_struct): Make old_name
3368 const.
3369 (xtensa_section_rename): Make argument type const char *.
3370 * config/tc-xtensa.h (xtensa_section_rename): Adjust.
3371
3372 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3373
3374 * config/tc-i960.c (parse_ldconst): Cast to char * when assigning to
3375 args[0].
3376
3377 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3378
3379 * config/tc-m32c.c (m32c_md_end): cast the argument to md_assemble to
3380 char *.
3381 (m32c_indirect_operand): Likewise.
3382 * config/tc-nds32.c (do_pseudo_b): Likewise.
3383 (do_pseudo_bal): Likewise.
3384 (do_pseudo_ls_bhw): Likewise.
3385
3386 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3387
3388 * as.c (parse_args): Cast literal to char * when assigning to optarg.
3389
3390 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3391
3392 * config/tc-ia64.c (md_assemble): Add temporary variable to pass to
3393 get_symbol_name ().
3394 * config/tc-sparc.c (s_register): Cast a literal to char * in
3395 assignment.
3396
3397 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3398
3399 * config/tc-i960.c (parse_expr): Cast to char * when assigning to
3400 input_line_pointer.
3401 * config/tc-m32r.c (expand_debug_syms): Likewise.
3402 * config/tc-msp430.c (msp430_dstoperand): Likewise.
3403 * config/tc-z80.c (md_begin): Likewise.
3404 * stabs.c (stabs_generate_asm_func): Likewise.
3405
3406 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3407
3408 * cgen.c: Modernize the way functions declare arguments.
3409 * config/tc-bfin.c: Likewise.
3410 * config/tc-pdp11.c: Likewise.
3411 * literal.c: Likewise.
3412 * read.c: Likewise.
3413 * stabs.c: Likewise.
3414
3415 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3416
3417 * config/tc-aarch64.c (aarch64_handle_align): Make the type of some
3418 variables unsigned char[].
3419 * config/tc-alpha.c (alpha_handle_align): Likewise.
3420 * config/tc-arm.c (arm_handle_align): Likewise.
3421 * config/tc-z80.c: Likewise.
3422
3423 2016-03-30 Nick Clifton <nickc@redhat.com>
3424
3425 PR target/19880
3426 * config/tc-arm.c (do_t_push_pop): Cast bitmask to unsigned before
3427 shifting.
3428
3429 2016-03-30 Claudiu Zissulescu <claziss@synopsys.com>
3430
3431 * testsuite/gas/all/gas.exp: Don't xfail on ARC.
3432 * testsuite/gas/elf/elf.exp: Likewise.
3433 * testsuite/gas/all/redef3.d: Allow execution for ARC.
3434
3435 2016-03-30 Claudiu Zissulescu <claziss@synopsys.com>
3436
3437 * testsuite/gas/arc/warn.exp: Fix matching pattern.
3438
3439 2016-03-29 Claudiu Zissulescu <claziss@synopsys.com>
3440
3441 * testsuite/gas/arc/ext2op.d: New file.
3442 * testsuite/gas/arc/ext2op.s: Likewise.
3443 * testsuite/gas/arc/ext3op.d: Likewise.
3444 * testsuite/gas/arc/ext3op.s: Likewise.
3445
3446 2016-03-29 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3447
3448 * config/tc-aarch64.c (struct aarch64_long_option_table): Ad const
3449 qualifier.
3450 * config/tc-alpha.c (md_parse_option): Likewise.
3451 * config/tc-arc.c (md_parse_option): Likewise.
3452 * config/tc-arm.c (struct arm_long_option_table): Likewise.
3453 (md_parse_option): Likewise.
3454 * config/tc-avr.c (md_parse_option): Likewise.
3455 * config/tc-bfin.c (md_parse_option): Likewise.
3456 * config/tc-cr16.c (md_parse_option): Likewise.
3457 * config/tc-cris.c (s_cris_arch): Likewise.
3458 (md_parse_option): Likewise.
3459 * config/tc-crx.c (md_parse_option): Likewise.
3460 * config/tc-d10v.c (md_parse_option): Likewise.
3461 * config/tc-d30v.c (md_parse_option): Likewise.
3462 * config/tc-dlx.c (md_parse_option): Likewise.
3463 * config/tc-epiphany.c (md_parse_option): Likewise.
3464 * config/tc-fr30.c (md_parse_option): Likewise.
3465 * config/tc-frv.c (md_parse_option): Likewise.
3466 * config/tc-ft32.c (md_parse_option): Likewise.
3467 * config/tc-h8300.c (md_parse_option): Likewise.
3468 * config/tc-hppa.c (md_parse_option): Likewise.
3469 * config/tc-i370.c (md_parse_option): Likewise.
3470 * config/tc-i386.c (md_parse_option): Likewise.
3471 * config/tc-i860.c (md_parse_option): Likewise.
3472 * config/tc-i960.c (md_parse_option): Likewise.
3473 * config/tc-ia64.c (md_parse_option): Likewise.
3474 * config/tc-ip2k.c (md_parse_option): Likewise.
3475 * config/tc-iq2000.c (md_parse_option): Likewise.
3476 * config/tc-lm32.c (md_parse_option): Likewise.
3477 * config/tc-m32c.c (md_parse_option): Likewise.
3478 * config/tc-m32r.c (md_parse_option): Likewise.
3479 * config/tc-m68hc11.c (md_parse_option): Likewise.
3480 * config/tc-m68k.c (md_parse_option): Likewise.
3481 * config/tc-mcore.c (md_parse_option): Likewise.
3482 * config/tc-mep.c (md_parse_option): Likewise.
3483 * config/tc-metag.c (struct metag_long_option): Likewise.
3484 (md_parse_option): Likewise.
3485 * config/tc-microblaze.c (md_parse_option): Likewise.
3486 * config/tc-microblaze.h (md_parse_option): Remove prototype.
3487 * config/tc-mips.c (md_parse_option): Adjust.
3488 * config/tc-mmix.c (md_parse_option): Likewise.
3489 * config/tc-mn10200.c (md_parse_option): Likewise.
3490 * config/tc-mn10300.c (md_parse_option): Likewise.
3491 * config/tc-moxie.c (md_parse_option): Likewise.
3492 * config/tc-msp430.c (md_parse_option): Likewise.
3493 * config/tc-mt.c (md_parse_option): Likewise.
3494 * config/tc-nds32.c (md_parse_option): Likewise.
3495 * config/tc-nds32.h (nds32_parse_option): Likewise.
3496 * config/tc-nios2.c (md_parse_option): Likewise.
3497 * config/tc-ns32k.c (md_parse_option): Likewise.
3498 * config/tc-or1k.c (md_parse_option): Likewise.
3499 * config/tc-pdp11.c (md_parse_option): Likewise.
3500 * config/tc-pj.c (md_parse_option): Likewise.
3501 * config/tc-ppc.c (md_parse_option): Likewise.
3502 * config/tc-rl78.c (md_parse_option): Likewise.
3503 * config/tc-rx.c (md_parse_option): Likewise.
3504 * config/tc-s390.c (s390_parse_cpu): Likewise.
3505 * config/tc-score.c (md_parse_option): Likewise.
3506 * config/tc-sh.c (md_parse_option): Likewise.
3507 * config/tc-sparc.c (md_parse_option): Likewise.
3508 * config/tc-spu.c (md_parse_option): Likewise.
3509 * config/tc-tic30.c (md_parse_option): Likewise.
3510 * config/tc-tic4x.c (md_parse_option): Likewise.
3511 * config/tc-tic54x.c (md_parse_option): Likewise.
3512 * config/tc-tic6x.c (md_parse_option): Likewise.
3513 * config/tc-tilegx.c (md_parse_option): Likewise.
3514 * config/tc-tilepro.c (md_parse_option): Likewise.
3515 * config/tc-v850.c (md_parse_option): Likewise.
3516 * config/tc-vax.c (md_parse_option): Likewise.
3517 * config/tc-visium.c (struct visium_long_option_table): Likewise.
3518 * config/tc-xc16x.c (md_parse_option): Likewise.
3519 * config/tc-xgate.c (md_parse_option): Likewise.
3520 * config/tc-xstormy16.c (md_parse_option): Likewise.
3521 * config/tc-xtensa.c (md_parse_option): Likewise.
3522 * config/tc-z80.c (md_parse_option): Likewise.
3523 * config/tc-z8k.c (md_parse_option): Likewise.
3524 * tc.h (md_parse_option): Likewise.
3525
3526 2016-03-29 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3527
3528 * config/tc-bfin.c (gencode): Use XOBNEW obstack_alloc () wrapper.
3529 * config/tc-hppa.c (fix_new_hppa): Likewise.
3530 (pa_vtable_entry): Likewise.
3531 (pa_vtable_inherit): Likewise.
3532 * config/tc-m68k.c (md_begin): Likewise.
3533
3534 2016-03-28 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3535
3536 * config/obj-elf.c (obj_elf_section_name): Return const char *.
3537 * config/obj-elf.h (obj_elf_section_name): Adjust.
3538 * config/tc-aarch64.c (aarch64_parse_features): Likewise.
3539 (aarch64_parse_cpu): Likewise.
3540 (aarch64_parse_arch): Likewise.
3541 * config/tc-arm.c (arm_parse_extension): Likewise.
3542 (arm_parse_cpu): Likewise.
3543 (arm_parse_arch): Likewise.
3544 * config/tc-nds32.c: Likewise.
3545 * config/xtensa-relax.c (parse_special_fn): Likewise.
3546 * stabs.c (generate_asm_file): Likewise.
3547
3548 2016-03-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3549
3550 * config/tc-cr16.c (cr16_assemble): New function.
3551 (md_assemble): Call cr16_assemble.
3552
3553 2016-03-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3554
3555 * as.c (parse_args): Adjust.
3556 * as.h (flag_size_check): Rename to flag_allow_nonconst_size.
3557 * config/obj-elf.c (elf_frob_symbol): Adjust.
3558
3559 2016-03-24 Jose E. Marchesi <jose.marchesi@oracle.com>
3560
3561 * config/tc-sparc.c (sparc_ip): Remove the V9 restriction on ASR
3562 registers to be in the 16..31 range.
3563
3564 2016-03-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3565
3566 * config/tc-microblaze.c (md_assemble): Cast opc to char * when calling
3567 frag_var ().
3568
3569 2016-03-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3570
3571 * config/tc-visium.c (md_atof): Localize the string returned on
3572 failure.
3573
3574 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3575
3576 * config/tc-h8300.c (h8300_elf_section): Add const qualifiers.
3577 * config/tc-ia64.c (obj_elf_vms_common): Likewise.
3578 * config/tc-m68hc11.c (md_begin): Likewise.
3579 (print_opcode_list): Likewise.
3580 * config/tc-msp430.c (msp430_section): Likewise.
3581 * config/tc-score.c (struct s3_insn_to_dependency): Likewise.
3582 (s3_build_dependency_insn_hsh): Likewise.
3583 * config/tc-score7.c (struct s7_insn_to_dependency): Likewise.
3584 (s7_build_dependency_insn_hsh): Likewise.
3585 * config/tc-tic4x.c: Likewise.
3586 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
3587 (subsym_get_arg): Likewise.
3588 * config/tc-xtensa.c (struct suffix_reloc_map): Likewise.
3589 (get_directive): Likewise.
3590 (cache_literal_section): Likewise.
3591 * config/xtensa-relax.c: Likewise.
3592 * symbols.c (symbol_create): Likewise.
3593 (local_symbol_make): Likewise.
3594 (symbol_relc_make_expr): Likewise.
3595
3596 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3597
3598 * config/tc-pdp11.c (md_assemble): Remove useless if and assignment to
3599 str.
3600
3601 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3602
3603 * config/tc-sparc.c (sparc_regname_to_dw2regnum): Replace strchr ()
3604 call with a switch.
3605
3606 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3607
3608 * config/tc-ia64.c (ia64_do_align): Remove.
3609 (ia64_cons_align): Call do_align () directly.
3610 (dot_proc): Likewise.
3611 (stmt_float_cons): Likewise.
3612
3613 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3614
3615 * listing.c (listing_message): Use XNEW style allocation macros.
3616 * read.c (read_a_source_file): Likewise.
3617 (read_symbol_name): Likewise.
3618 (s_mri_common): Likewise.
3619 (assign_symbol): Likewise.
3620 (s_reloc): Likewise.
3621 (emit_expr_with_reloc): Likewise.
3622 (s_incbin): Likewise.
3623 (s_include): Likewise.
3624 * sb.c (sb_build): Likewise.
3625 (sb_check): Likewise.
3626
3627 2016-03-22 Alan Modra <amodra@gmail.com>
3628
3629 * write.c (record_alignment): Revert 2016-02-18 change.
3630
3631 2016-03-22 Alan Modra <amodra@gmail.com>
3632
3633 * config/tc-alpha.c (load_expression): Replace alloca with xmalloc.
3634 (emit_jsrjmp, tc_gen_reloc): Likewise.
3635 * config/tc-i370.c (i370_macro): Likewise.
3636
3637 2016-03-22 Nick Clifton <nickc@redhat.com>
3638
3639 * configure: Regenerate.
3640
3641 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
3642
3643 * testsuite/gas/arc/nps400-0.d: New file.
3644 * testsuite/gas/arc/nps400-0.s: New file.
3645 * testsuite/gas/arc/nps400-1.d: New file.
3646 * testsuite/gas/arc/nps400-1.s: New file.
3647
3648 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
3649
3650 * config/tc-arc.c (find_opcode_match): Move lnflg, and i
3651 declarations to start of block. Reset code on all flags before
3652 attempting to match them. Handle multiple hits on the same flag.
3653 Handle flag class.
3654 * testsuite/gas/arc/asm-errors.d: New file.
3655 * testsuite/gas/arc/asm-errors.err: New file.
3656 * testsuite/gas/arc/asm-errors.s: New file.
3657
3658 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
3659
3660 * config/tc-arc.c (cpu_types): Add nps400 entry.
3661 (check_zol): Handle nps400.
3662
3663 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
3664
3665 * config/tc-arc.c (arc_select_cpu): Remove use of
3666 EF_ARC_CPU_GENERIC.
3667
3668 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
3669
3670 * config/tc-arc.c (arc_target): Delay initialisation until
3671 arc_select_cpu.
3672 (arc_target_name): Likewise.
3673 (arc_features): Likewise.
3674 (arc_mach_type): Likewise.
3675 (cpu_types): Remove "all" entry.
3676 (arc_select_cpu): New function, most of the content is from...
3677 (md_parse_option): ... here. Call new arc_select_cpu.
3678 (md_begin): Call arc_select_cpu if needed, default is now arc700.
3679
3680 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
3681
3682 * testsuite/gas/arc/inline-data-1.d: Add target restriction.
3683 * testsuite/gas/arc/inline-data-2.d: New file.
3684
3685 2016-03-21 Nick Clifton <nickc@redhat.com>
3686
3687 * atof-generic.c: Replace use of alloca with call to xmalloc.
3688 * cgen.c: Likewise.
3689 * dwarf2dbg.c: Likewise.
3690 * macro.c: Likewise.
3691 * remap.c: Likewise.
3692 * stabs.c: Likewise.
3693 * symbols.c: Likewise.
3694 * config/obj-elf.c: Likewise.
3695 * config/tc-aarch64.c: Likewise.
3696 * config/tc-arc.c: Likewise.
3697 * config/tc-arm.c: Likewise.
3698 * config/tc-avr.c: Likewise.
3699 * config/tc-ia64.c: Likewise.
3700 * config/tc-mips.c: Likewise.
3701 * config/tc-msp430.c: Likewise.
3702 * config/tc-nds32.c: Likewise.
3703 * config/tc-ppc.c: Likewise.
3704 * config/tc-sh.c: Likewise.
3705 * config/tc-tic30.c: Likewise.
3706 * config/tc-tic54x.c: Likewise.
3707 * config/tc-xstormy16.c: Likewise.
3708 * config/te-vms.c: Likewise.
3709 * configure: Regenerate.
3710
3711 2016-03-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3712
3713 * tc-i386.c (f32_1): Change type to unsigned char[].
3714 (f32_2): Likewise.
3715 (f32_3): Likewise.
3716 (f32_4): Likewise.
3717 (f32_5): Likewise.
3718 (f32_6): Likewise.
3719 (f32_7): Likewise.
3720 (f32_8): Likewise.
3721 (f32_9): Likewise.
3722 (f32_10): Likewise.
3723 (f32_11): Likewise.
3724 (f32_12): Likewise.
3725 (f32_13): Likewise.
3726 (f32_14): Likewise.
3727 (f16_3): Likewise.
3728 (f16_4): Likewise.
3729 (f16_5): Likewise.
3730 (f16_6): Likewise.
3731 (f16_7): Likewise.
3732 (f16_8): Likewise.
3733 (jump_31): Likewise.
3734 (f32_patt): Likewise.
3735 (f16_patt): Likewise.
3736 (alt_3): Likewise.
3737 (alt_4): Likewise.
3738 (alt_5): Likewise.
3739 (alt_6): Likewise.
3740 (alt_7): Likewise.
3741 (alt_8): Likewise.
3742 (alt_9): Likewise.
3743 (alt_10): Likewise.
3744 (alt_patt): Likewise.
3745
3746 2016-03-18 Nick Clifton <nickc@redhat.com>
3747
3748 * doc/c-aarch64.texi (AArch64 Directives): Add descriptions of
3749 .cpu, .dword, .even, .inst. .tlsdescadd, .tlsdesccall,
3750 .tlsdescldr and .xword directives.
3751
3752 PR target/19721
3753 * testsuite/gas/aarch64/pr19721.s: New test source file.
3754 * testsuite/gas/aarch64/pr19721.d: New test driver file.
3755
3756 * doc/as.texinfo: Place the target specific command line options
3757 into their own man page section.
3758
3759 2016-03-16 Jiong Wang <jiong.wang@arm.com>
3760
3761 * config/tc-arm.c (N_S_32): New.
3762 (N_F_16_32): Likewise.
3763 (N_SUF_32): Support N_F16.
3764 (N_IF_32): Likewise.
3765 (neon_dyadic_misc): Likewise.
3766 (do_neon_cmp): Likewise.
3767 (do_neon_cmp_inv): Likewise.
3768 (do_neon_mul): Likewise.
3769 (do_neon_fcmp_absolute): Likewise.
3770 (do_neon_step): Likewise.
3771 (do_neon_abs_neg): Likewise.
3772 (CVT_FLAVOR_VAR): Likewise.
3773 (do_neon_cvt_1): Likewise.
3774 (do_neon_recip_est): Likewise.
3775 (do_vmaxnm): Likewise.
3776 (do_vrint_1): Likewise.
3777 (neon_check_type): Check architecture support for FP16 extension.
3778 (insns): Update comments.
3779 * testsuite/gas/arm/armv8-2-fp16-simd.s: New test source.
3780 * testsuite/gas/arm/armv8-2-fp16-simd.d: New testcase for arm mode.
3781 * testsuite/gas/arm/armv8-2-fp16-simd-thumb.d: Likewise for thumb mode.
3782 * testsuite/gas/arm/armv8-2-fp16-simd-warning.d: New rejection test for
3783 arm mode.
3784 * testsuite/gas/arm/armv8-2-fp16-simd-warning-thumb.d: Likewise for
3785 thumb mode.
3786 * testsuite/gas/arm/armv8-2-fp16-simd-warning.l: New expected rejection
3787 error file.
3788
3789 2016-03-16 Nick Clifton <nickc@redhat.com>
3790
3791 * read.c (emit_expr_with_reloc): Add code check a bignum with
3792 nbytes == 1.
3793 * config/rx/rx-parse.y (rx_intop): Accept bignum values for sizes
3794 other than 32-bits.
3795 * testsuite/gas/elf/bignum.s: New test source file.
3796 * testsuite/gas/elf/bignum.d: New test driver file.
3797 * testsuite/gas/elf/elf.exp: Run the new test.
3798
3799 2016-03-15 Ulrich Drepper <drepper@gmail.com>
3800
3801 * doc/c-i386.texi (Register Naming): Update to details of the
3802 latest architecture version.
3803
3804 2016-03-10 Mickael Guene <mickael.guene@st.com>
3805
3806 PR gas/19744
3807 * config/tc-arm.c (do_arit): Protect against bad relocations usage.
3808 (do_mov): Likewise.
3809 (do_t_add_sub): Allow pcrop relocations for Thumb-2 targets.
3810 (do_t_mov_cmp): Likewise.
3811 (do_t_add_sub): Protect against bad relocations usage.
3812 (do_t_mov_cmp): Likewise.
3813 * testsuite/gas/arm/adds-thumb1-reloc-local-armv7-m.s: New.
3814 * testsuite/gas/arm/adds-thumb1-reloc-local-armv7-m.d: New.
3815 * testsuite/gas/arm/movs-thumb1-reloc-local-armv7-m.s: New.
3816 * testsuite/gas/arm/movs-thumb1-reloc-local-armv7-m.d: New.
3817
3818 2016-03-09 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3819
3820 * config/tc-arm.c (neon_alignment_bit): Rename do_align to
3821 do_alignment.
3822 (do_neon_ld_st_lane): Likewise.
3823 (do_neon_ld_dup): Likewise.
3824
3825 2016-03-08 Andrew Burgess <andrew.burgess@embecosm.com>
3826
3827 * testsuite/gas/arc/inline-data-1.d: New file.
3828 * testsuite/gas/arc/inline-data-1.s: New file.
3829
3830 2016-03-07 Andre Vieira <andre.simoesdiasvieira@arm.com>
3831
3832 * config/tc-arm.c (arm_cpus): Add cortex-r8.
3833 * doc/c-arm.texi: Add cortex-r8.
3834
3835 2016-03-07 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3836
3837 * config/tc-arc.c: Add const qualifiers.
3838 * config/tc-h8300.c (md_begin): Likewise.
3839 * config/tc-ia64.c (print_prmask): Likewise.
3840 * config/tc-msp430.c (msp430_operands): Likewise.
3841 * config/tc-nds32.c (struct suffix_name): Likewise.
3842 (struct nds32_parse_option_table): Likewise.
3843 (struct nds32_set_option_table): Likewise.
3844 (do_pseudo_pushpopm): Likewise.
3845 (do_pseudo_pushpop_stack): Likewise.
3846 (nds32_relax_relocs): Likewise.
3847 (nds32_flag): Likewise.
3848 (struct nds32_hint_map): Likewise.
3849 (nds32_find_reloc_table): Likewise.
3850 (nds32_match_hint_insn): Likewise.
3851 * config/tc-s390.c: Likewise.
3852 * config/tc-sh.c (get_specific): Likewise.
3853 * config/tc-tic30.c: Likewise.
3854 * config/tc-tic4x.c (tic4x_inst_add): Likewise.
3855 (tic4x_indirect_parse): Likewise.
3856 * config/tc-vax.c (vax_cons): Likewise.
3857 * config/tc-z80.c (struct reg_entry): Likewise.
3858 * config/tc-epiphany.c (md_assemble): Adjust.
3859 (epiphany_assemble): New function.
3860 (epiphany_elf_section_rtn): Call do_align directly.
3861 (epiphany_elf_section_text): Likewise.
3862 * config/tc-ip2k.c (ip2k_elf_section_rtn): Likewise.
3863 (ip2k_elf_section_text): Likewise.
3864 * read.c (do_align): Make it not static.
3865 * read.h (do_align): New prototype.
3866
3867 2016-03-04 Matthew Wahab <matthew.wahab@arm.com>
3868
3869 * config/tc-arm.c (aeabi_set_public_attributes): Emit attribute
3870 for ARMv8.1 AdvSIMD use.
3871 * testsuite/gas/arm/attr-march-armv8-a+rdma.d: New.
3872 * testsuite/gas/arm/attr-march-armv8_1-a+simd.d: New.
3873
3874 2016-03-04 Matthew Wahab <matthew.wahab@arm.com>
3875
3876 * config/gas/tc-arm.c (fpu_neon_ext_v8_1): Restrict to the ARMv8.1 RDMA
3877 feature.
3878 (record_feature_use): New.
3879 (mark_feature_used): Use record_feature_use.
3880 (do_neon_qrdmlah): New.
3881 (insns): Use do_neon_qrdmlah for vqrdmlah and vqrdmlsh and
3882 variants.
3883 (arm_extensions): Put into alphabetical order. Re-indent "simd"
3884 and "rdma" entries. Fix the incorrect merge value for "+rdma".
3885 * testsuite/gas/arm/armv8-a+rdma-warning.d: New.
3886 * testsuite/gas/arm/armv8-a+rdma.d: Add assembler command line options.
3887 Make source file explicit.
3888 * testsuite/gas/arm/armv8-a+rdma.l: New.
3889 * testsuite/gas/arm/armv8-a+rdma.s: Remove .arch and .arch_extension
3890 directives. Fix white-space.
3891 * testsuite/gas/arm/armv8_1-a+simd.d: New.
3892
3893 2016-03-02 H.J. Lu <hongjiu.lu@intel.com>
3894
3895 * testsuite/gas/i386/x86_64-intel.d: Adjusted for COFF.
3896
3897 2016-02-29 Cupertino Miranda <cmiranda@synopsys.com>
3898 Claudiu Zissulescu <Claudiu.Zissulescu@synopsys.com>
3899
3900 * config/tc-arc.c (arc_extra_reloc): Change size to 0.
3901 (tc_arc_fix_adjustable): Changed default return value to 1.
3902 * testsuite/gas/arc/j.d: Updated expected symbol
3903 * testsuite/gas/arc/jl.d: Likewise
3904 * testsuite/gas/arc/relax-avoid1.d: Likewise
3905 * testsuite/gas/arc/st.d: Likewise
3906
3907 2016-02-29 Claudiu Zissulescu <Claudiu.Zissulescu@synopsys.com>
3908
3909 * config/tc-arc.c: Enable code density instructions for ARC EM.
3910
3911 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
3912
3913 PR ld/19645
3914 * NEWS: Mention --enable-elf-stt-common and --elf-stt-common=
3915 for ELF assemblers.
3916 * as.c (flag_use_elf_stt_common): New.
3917 (show_usage): Add --elf-stt-common=.
3918 (option_values): Add OPTION_ELF_STT_COMMON.
3919 (std_longopts): Add --elf-stt-common=.
3920 (parse_args): Handle --elf-stt-common=.
3921 * as.h (flag_use_elf_stt_common): New.
3922 * config.in: Regenerated.
3923 * configure: Likewise.
3924 * configure.ac: Add --enable-elf-stt-common and define
3925 DEFAULT_GENERATE_ELF_STT_COMMON.
3926 * gas/write.c (write_object_file): Set BFD_CONVERT_ELF_COMMON
3927 and BFD_USE_ELF_STT_COMMON if flag_use_elf_stt_common is set.
3928 * doc/as.texinfo: Document --elf-stt-common=.
3929 * testsuite/gas/elf/common3.s: New file.
3930 * testsuite/gas/elf/common3a.d: Likewise.
3931 * testsuite/gas/elf/common3b.d: Likewise.
3932 * testsuite/gas/elf/common4.s: Likewise.
3933 * testsuite/gas/elf/common4a.d: Likewise.
3934 * testsuite/gas/elf/common4b.d: Likewise.
3935 * testsuite/gas/i386/dw2-compress-3b.d: Likewise.
3936 * testsuite/gas/i386/dw2-compressed-3b.d: Likewise.
3937 * testsuite/gas/elf/elf.exp: Run common3a, common3b, common4a
3938 and common4b.
3939 * testsuite/gas/i386/dw2-compress-3.d: Renamed to ...
3940 * testsuite/gas/i386/dw2-compress-3a.d: This. Pass
3941 --elf-stt-common=no to as.
3942 * testsuite/gas/i386/dw2-compressed-3.d: Renamed to ...
3943 * testsuite/gas/i386/dw2-compressed-3a.d: This. Pass
3944 --elf-stt-common=no to as.
3945 * testsuite/gas/i386/i386.exp: Run dw2-compress-3a,
3946 dw2-compress-3b, dw2-compressed-3a and dw2-compressed-3b instead
3947 of dw2-compress-3 and dw2-compressed-3.
3948
3949 2016-02-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3950
3951 * as.c (select_emulation_mode): Add const qualifiers.
3952 * as.h: Likewise.
3953 * config/bfin-defs.h: Likewise.
3954 * config/bfin-parse.y: Likewise.
3955 * config/rx-parse.y: Likewise.
3956 * config/tc-aarch64.c (struct aarch64_option_table): Likewise.
3957 (struct aarch64_cpu_option_table): Likewise.
3958 (struct aarch64_arch_option_table): Likewise.
3959 (struct aarch64_option_cpu_value_table): Likewise.
3960 (struct aarch64_long_option_table): Likewise.
3961 (struct aarch64_option_abi_value_table): Likewise.
3962 * config/tc-arm.c (struct reloc_entry): Likewise.
3963 (tc_gen_reloc): Likewise.
3964 (struct arm_option_table): Likewise.
3965 (struct arm_legacy_option_table): Likewise.
3966 (struct arm_cpu_option_table): Likewise.
3967 (struct arm_arch_option_table): Likewise.
3968 (struct arm_option_extension_value_table): Likewise.
3969 (struct arm_option_fpu_value_table): Likewise.
3970 (struct arm_option_value_table): Likewise.
3971 (struct arm_long_option_table): Likewise.
3972 * config/tc-avr.c (struct avr_opcodes_s): Likewise.
3973 (struct mcu_type_s): Likewise.
3974 (struct exp_mod_s): Likewise.
3975 (avr_operand): Likewise.
3976 (avr_operands): Likewise.
3977 * config/tc-d10v.c (md_begin): Likewise.
3978 * config/tc-dlx.c: Likewise.
3979 * config/tc-fr30.c (fr30_is_colon_insn): Likewise.
3980 * config/tc-ft32.c (parse_condition): Likewise.
3981 * config/tc-h8300.c (do_a_fix_imm): Likewise.
3982 * config/tc-hppa.c (pa_ip): Likewise.
3983 (hppa_regname_to_dw2regnum): Likewise.
3984 * config/tc-i370.c (i370_elf_suffix): Likewise.
3985 * config/tc-i960.c (struct tabentry): Likewise.
3986 * config/tc-m32r.c: Likewise.
3987 * config/tc-m68k.c: Likewise.
3988 * config/tc-m68k.h: Likewise.
3989 * config/tc-mcore.c (parse_psrmod): Likewise.
3990 * config/tc-metag.c (struct metag_core_option): Likewise.
3991 (struct metag_long_option): Likewise.
3992 * config/tc-microblaze.c: Likewise.
3993 * config/tc-mips.c (macro): Likewise.
3994 * config/tc-mn10200.c: Likewise.
3995 * config/tc-mn10300.c: Likewise.
3996 * config/tc-msp430.c (struct rcodes_s): Likewise.
3997 (struct hcodes_s): Likewise.
3998 (md_parse_option): Likewise.
3999 * config/tc-ns32k.c (struct ns32k_option): Likewise.
4000 (optlist): Likewise.
4001 * config/tc-ppc.c (ppc_elf_suffix): Likewise.
4002 (tc_ppc_regname_to_dw2regnum): Likewise.
4003 * config/tc-ppc.h: Likewise.
4004 * config/tc-rl78.c: Likewise.
4005 * config/tc-rx.c (struct cpu_type): Likewise.
4006 * config/tc-sh.c (sh_regname_to_dw2regnum): Likewise.
4007 * config/tc-sparc.c (struct priv_reg_entry): Likewise.
4008 (sparc_ip): Likewise.
4009 * config/tc-spu.c (insn_fmt_string): Likewise.
4010 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
4011 * config/tc-v850.c: Likewise.
4012 * config/tc-visium.c (struct visium_arch_option_table): Likewise.
4013 (struct visium_long_option_table): Likewise.
4014 * config/tc-xgate.c: Likewise.
4015 * config/tc-z8k.c: Likewise.
4016 * read.c (add_include_dir): Likewise.
4017 * read.h: Likewise.
4018
4019 2016-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
4020
4021 * testsuite/gas/all/gas.exp: Change target pattern to cover
4022 arceb-*.
4023 * testsuite/gas/all/redef3.d: Likewise.
4024 * testsuite/gas/elf/elf.exp: Likewise.
4025
4026 2016-02-24 Renlin Li <renlin.li@arm.com>
4027
4028 * config/tc-arm.c (BAD_FP16): New error message macro.
4029 (do_scalar_fp16_v82_encode): Change the coproc field to 9 for armv8.2
4030 fp16 scalar instructions.
4031 (neon_check_type): Allow different size from key.
4032 (do_vfp_nsyn_add_sub): Add support SE_H shape support.
4033 (try_vfp_nsyn): Likewise.
4034 (do_vfp_nsyn_mla_mls): Likewise.
4035 (do_vfp_nsyn_fma_fms): Likewise.
4036 (do_vfp_nsyn_ldm_stm): Likewise
4037 (do_vfp_nsyn_sqrt): Likewise
4038 (do_vfp_nsyn_div): Likewise
4039 (do_vfp_nsyn_nmul): Likewise.
4040 (do_vfp_nsyn_cmp): Likewise.
4041 (do_neon_shll): Likewise.
4042 (do_vfp_nsyn_cvt_fpv8): Likewise.
4043 (do_neon_cvttb_2): Likewise.
4044 (do_neon_mov): Likewise.
4045 (do_neon_rshift_round_imm): Likewise.
4046 (do_neon_ldr_str): Likewise.
4047 (do_vfp_nsyn_fpv8): Likewise.
4048 (do_vmaxnm): Likewise.
4049 (do_vrint_1): Likewise.
4050 (insns): New entry for vins, vmovx.
4051 (md_apply_fix): Left shift 1 bit for fp16 vldr/vstr.
4052 * testsuite/gas/arm/armv8-2-fp16-scalar-thumb.d: New.
4053 * testsuite/gas/arm/armv8-2-fp16-scalar.d: New.
4054 * testsuite/gas/arm/armv8-2-fp16-scalar.s: New.
4055 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.s: New
4056 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.d: New
4057 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.l: New
4058
4059 2016-02-24 Renlin Li <renlin.li@arm.com>
4060
4061 * config/tc-arm.c (NEON_ENC_TAB): Add fp16 instruction shape.
4062 (neon_shape_class): New SC_HALF.
4063 (neon_shape_el): New SE_H.
4064 (neon_shape_el_size): New size for SE_H.
4065 (N_F_ALL): New macro to aggregate N_F16, N_F32, N_64.
4066 (neon_select_shape): Add SE_H support code.
4067 (el_type_of_type_chk): Use N_F_ALL.
4068 (do_vfp_nsyn_cvt): Add SE_H shape support.
4069 (do_neon_cvtz): Likewise.
4070 (do_neon_cvt_1): Likewise.
4071 (do_neon_cvttb_1): Likewise.
4072
4073 2016-02-24 Renlin Li <renlin.li@arm.com>
4074
4075 * testsuite/gas/arm/copro.d: Adjust output.
4076 * testsuite/gas/arm/copro.s: Adjust co-processor num.
4077
4078 2016-02-24 Renlin Li <renlin.li@arm.com>
4079
4080 * testsuite/gas/arm/mask_1.d: New.
4081 * testsuite/gas/arm/mask_1.s: New.
4082
4083 2016-02-24 Renlin Li <renlin.li@arm.com>
4084
4085 * testsuite/gas/arm/copro.s: Use coprocessor other than 10, 11.
4086 * testsuite/gas/arm/copro.d: Update.
4087
4088 2016-02-24 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
4089
4090 * config/tc-arm.c (arm_cpus): Add entry for cortex-a32.
4091 * doc/c-arm.texi (ARM Options): Document cortex-a32.
4092
4093 2016-02-24 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
4094
4095 * doc/c-arm.texi (ARM Options): Document cortex-a17.
4096
4097 2016-02-23 H.J. Lu <hongjiu.lu@intel.com>
4098
4099 * testsuite/gas/elf/elf.exp: Skip tests for common directive on
4100 hpux.
4101
4102 2016-02-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4103
4104 * output-file.c (output_file_create): Make file name argument const.
4105 (output_file_close): Likewise.
4106 * output-file.h (output_file_create): Adjust.
4107 (output_file_close): Likewise.
4108 * depend.c (quote_string_for_make): Make src argument const char *.
4109 (register_dependency): Likewise.
4110 (wrap_output): Likewise.
4111 * as.h (register_dependency): Adjust.
4112 * config/tc-xtensa.c (finish_vinsn): Remove unnecessary calls to
4113 as_where ();
4114 * symbols.c (S_SET_EXTERNAL): Likewise.
4115 * input-scrub.c (as_where): Return the file name.
4116 * as.h (as_where): Adjust prototype.
4117 * app.c (do_scrub_chars): Adjust.
4118 * cond.c (s_elseif): Likewise.
4119 (s_else): Likewise.
4120 (initialize_cframe): Likewise.
4121 * config/obj-coff.c (obj_coff_init_stab_section): Likewise.
4122 * config/obj-elf.c (obj_elf_init_stab_section): Likewise.
4123 * config/obj-som.c (obj_som_init_stab_section): Likewise.
4124 * config/tc-aarch64.c (output_info): Likewise.
4125 * config/tc-ia64.c (md_assemble): Likewise.
4126 (dot_alias): Likewise.
4127 * config/tc-m68k.c (m68k_frob_label): Likewise.
4128 * config/tc-mmix.c (s_bspec): Likewise.
4129 (mmix_handle_mmixal): Likewise.
4130 * config/tc-rx.c (rx_include): Likewise.
4131 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
4132 (tic54x_adjust_symtab): Likewise.
4133 * config/tc-xtensa.c (directive_push): Likewise.
4134 (xtensa_sanity_check): Likewise.
4135 (xtensa_relax_frag): Likewise.
4136 (md_convert_frag): Likewise.
4137 (tinsn_to_slotbuf): Likewise.
4138 * dwarf2dbg.c (dwarf2_where): Likewise.
4139 * ecoff.c (add_file): Likewise.
4140 (ecoff_generate_asm_lineno): Likewise.
4141 * expr.c (make_expr_symbol): Likewise.
4142 * frags.c (frag_new): Likewise.
4143 (frag_var_init): Likewise.
4144 * listing.c (listing_newline): Likewise.
4145 * messages.c (identify): Likewise.
4146 (as_show_where): Likewise.
4147 (as_warn_internal): Likewise.
4148 (as_bad_internal): Likewise.
4149 * read.c (s_irp): Likewise.
4150 (s_macro): Likewise.
4151 (s_reloc): Likewise.
4152 * stabs.c (stabs_generate_asm_file): Likewise.
4153 (stabs_generate_asm_lineno): Likewise.
4154 (stabs_generate_asm_func): Likewise.
4155 * write.c (fix_new_internal): Likewise.
4156 * as.h (PRINTF_WHERE_LIKE): Make file name argument const.
4157 (as_warn_value_out_of_range): Adjust prototype.
4158 (as_bad_value_out_of_range): Adjust prototype.
4159 * messages.c (identify): Make file name argument const char *.
4160 (as_warn_internal): Likewise.
4161 (as_warn_where): Likewise.
4162 (as_bad_internal): Likewise.
4163 (as_bad_where): Likewise.
4164 (as_internal_value_out_of_range): Likewise.
4165 (as_warn_value_out_of_range): Likewise.
4166 (as_bad_value_out_of_range): Likewise.
4167 * as.h (found_comment_file): Change type to const char *.
4168 * cond.c (file_line::file): Likewise.
4169 * config/obj-coff.c (obj_coff_init_stab_section): Make variable const.
4170 * config/obj-elf.c (obj_elf_init_stab_section): Likewise.
4171 * config/obj-som.c (obj_som_init_stab_section): Likewise.
4172 * config/tc-aarch64.c (output_info): Likewise.
4173 * config/tc-alpha.c (insert_operand): Likewise.
4174 * config/tc-arc.c (insert_operand): Likewise.
4175 * config/tc-d30v.c (check_size): Likewise.
4176 * config/tc-ia64.c (struct alias): Likewise.
4177 * config/tc-m68k.c (struct label_line): Likewise.
4178 * config/tc-mcore.c (md_apply_fix): Likewise.
4179 * config/tc-microblaze.c (md_estimate_size_before_relax): Likewise.
4180 * config/tc-mips.c (mips16_immed): Likewise.
4181 * config/tc-mmix.c (mmix_handle_mmixal): Likewise.
4182 * config/tc-ppc.c (ppc_insert_operand): Likewise.
4183 * config/tc-rx.c (rx_include): Likewise.
4184 * config/tc-s390.c (s390_insert_operand): Likewise.
4185 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
4186 (tic54x_adjust_symtab): Likewise.
4187 * config/tc-tilegx.c (insert_operand): Likewise.
4188 (apply_special_operator): Likewise.
4189 * config/tc-tilepro.c (insert_operand): Likewise.
4190 * config/tc-xtensa.c (directive_push): Likewise.
4191 * ecoff.c (add_file): Likewise.
4192 (ecoff_generate_asm_lineno): Likewise.
4193 * listing.c (listing_newline): Likewise.
4194 * read.c (s_irp): Likewise.
4195 * write.c (install_reloc): Likewise.
4196 * write.h (struct fix): Likewise.
4197 * input-file.c (file_name): Change type to const char *.
4198 (saved_file::file_name): Likewise.
4199 (input_file_open): Change type of argument to const char *.
4200 * input-file.h (input_file_open): Adjust.
4201 * input-scrub.c (logical_input_file): change type to const char *.
4202 (physical_input_file): Likewise.
4203 (struct input_save): Adjust.
4204 (input_scrub_push): Adjust.
4205 (input_scrub_begin): Adjust.
4206 (as_where): Adjust.
4207 * input-scrub.c (input_scrub_new_file): Make file name argument const.
4208 (input_scrub_include_file): Likewise.
4209 (new_logical_line_flags): Likewise.
4210 (new_logical_line): Likewise.
4211 * as.h: Adjust.
4212 * frags.h (struct frag): Change type of fr_file to const char *.
4213 * expr.c (expr_symbol_where): Change type of file argument to
4214 const char **.
4215 * expr.h (expr_symbol_where): Likewise.
4216 * config/tc-i370.c (md_apply_fix): adjust.
4217 * config/tc-mmix.c (mmix_md_end): Likewise.
4218 * config/tc-ppc.c (md_apply_fix): Likewise.
4219 * config/tc-s390.c (md_apply_fix): Likewise.
4220 * symbols.c (report_op_error): Likewise.
4221 (resolve_symbol_value): Likewise.
4222 * config/tc-ia64.c (slot::src_file): Change type to const char *.
4223 (rsrc::file): Likewise.
4224 * config/tc-xtensa.c (xtensa_sanity_check): Change type of variable to
4225 const char *.
4226 (xtensa_relax_frag): Likewise.
4227 (md_convert_frag): Likewise.
4228 (tinsn_to_slotbuf): Likewise.
4229 * expr.c (expr_symbol_line): Likewise.
4230 * macro.c (define_macro): Likewise.
4231 * macro.h (macro_struct): Likewise.
4232 * messages.c (as_show_where): Likewise.
4233 * read.c (s_macro): Likewise.
4234 * stabs.c (stabs_generate_asm_file): Likewise.
4235 (generate_asm_file): Likewise.
4236 (stabs_generate_asm_lineno): Likewise.
4237 * write.h (struct reloc_list): Likewise.
4238 * input-scrub.c (as_where): Change return type to const char *.
4239 * as.h (as_wheree): Adjust.
4240
4241 2016-02-21 H.J. Lu <hongjiu.lu@intel.com>
4242
4243 * write.c (compress_debug): Move BFD compression bits setting
4244 to ...
4245 (write_object_file): Here.
4246
4247 2016-02-20 H.J. Lu <hongjiu.lu@intel.com>
4248
4249 * config/tc-i386.c (register_number): Check RegVRex.
4250 * testsuite/gas/i386/x86-64-avx512f.s: Add a test for vgatherqpd
4251 with %zmm19 and %zmm3.
4252 * testsuite/gas/i386/x86-64-avx512f-intel.d: Updated.
4253 * testsuite/gas/i386/x86-64-avx512f.d: Likewise.
4254
4255 2016-02-19 Matthew Wahab <matthew.wahab@arm.com>
4256 Jiong Wang <jiong.wang@arm.com>
4257
4258 * config/tc-arm.c (arm_ext_fp16): New.
4259 (arm_extensions): New entry for "fp16".
4260
4261 2016-02-19 Nick Clifton <nickc@redhat.com>
4262
4263 PR 19630
4264 * read.c (read_a_source_file): Check for assemble_one returning
4265 with input_line_pointer set to NULL.
4266
4267 2016-02-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4268
4269 * listing.c (rebuffer_line): Change return type to void.
4270
4271 * symbols.c (decode_local_label_name): Make type a const char *.
4272 * listing.c (print_source): Make type of p const char *.
4273 (print_line): Make type of string const char *.
4274 (buffer_line): Return const char *.
4275 (title): Make type const char *.
4276 (subtitle): Likewise.
4277 (listing_listing): Make type of p const char *.
4278 * messages.c (as_internal_value_out_of_range): Make type of prefix
4279 const char *.
4280 * stabs.c (s_stab_generic): make type of stab_secname, stabstr_secname
4281 and string const char *.
4282 * read.c (_bfd_rel): Make type of name const char *.
4283 * app.c (out_string): Change type to const char *.
4284 (struct app_save::out_string): Likewise.
4285
4286 2016-02-18 Dan Gisselquist <dgisselq@verizon.net>
4287 Nick Clifton <nickc@redhat.com>
4288
4289 * read.c (finish_bundle): Avoid recording a negative alignment.
4290 (do_align): Use unsigned values for n, len and max. Only create
4291 a frag if the alignment requirement is greater than the minimum
4292 byte alignment. Avoid recording a negative alignment.
4293 (s_align): Use unsigned values where appropriate.
4294 (bss_alloc): Use an unsigned value for the alignment.
4295 (sizeof_sleb128): Add a comment noting that we encode one octet
4296 per byte, regardless of the value of OCTETS_PER_BYTE_POWER.
4297 (emit_leb129_expr): Abort if the emitted encoding was longer than
4298 expected.
4299 * read.h (output_leb128): Update prototype.
4300 (sizeof_leb128): Update prototype.
4301 (bss_alloc): Update prototype.
4302 * write.c (record_alignment): Use an unsigned value for the
4303 alignment. Do not record alignments less than the minimum
4304 alignment for a byte.
4305 * write.h (record_alignment): Update prototype.
4306
4307 2016-02-17 Max Filippov <jcmvbkbc@gmail.com>
4308
4309 * config/tc-xtensa.c (xtensa_move_literals): Fix check for
4310 .init.literal/.fini.literal section name.
4311 * testsuite/gas/xtensa/all.exp: Add init-fini-literals to the
4312 list of xtensa tests.
4313 * testsuite/gas/xtensa/init-fini-literals.d: New file:
4314 init-fini-literals test result patterns.
4315 * testsuite/gas/xtensa/init-fini-literals.s: New file:
4316 init-fini-literals test.
4317
4318 2016-02-17 Nick Clifton <nickc@redhat.com>
4319
4320 * config/tc-msp430.c (msp430_mcu_data): Sync with data from TI's
4321 devices.csv file as of March 2016.
4322
4323 2016-02-16 Claudiu Zissulescu <claziss@synopsys.com>
4324
4325 * config/tc-arc.c (tc_arc_frame_initial_instructions): New
4326 function.
4327 (tc_arc_regname_to_dw2regnum): Likewise.
4328 * config/tc-arc.h (TARGET_USE_CFIPOP): Define
4329 (tc_cfi_frame_initial_instructions): Likewise.
4330 (tc_regname_to_dw2regnum): Likewise.
4331 * testsuite/gas/cfi/cfi-arc-1.d: New file.
4332 * testsuite/gas/cfi/cfi-arc-1.s: Likewise.
4333 * testsuite/gas/cfi/cfi.exp: Allow running tests for arc.
4334
4335 2016-02-16 Trevor Saunders <tbsaunde@tbsaunde.org>
4336
4337 * doc/internals.texi (S_IS_EXTERN): Remove.
4338
4339 2016-02-16 Nick Clifton <nickc@redhat.com>
4340
4341 * doc/as.texinfo (Section): Fix up texinfo snafus in previous
4342 update.
4343
4344 2016-02-16 Renlin Li <renlin.li@arm.com>
4345
4346 PR gas/19620
4347 * config/tc-aarch64.c (parse_half): Remove restrictions on symbol name.
4348 * testsuite/gas/aarch64/movw_label.d: New.
4349 * testsuite/gas/aarch64/movw_label.s: New.
4350
4351 2016-02-15 Vinay Kumar G. <Vinay.G@kpit.com>
4352
4353 PR gas/19556
4354 * config/rx-parse.y (MOV): Opcode generation for index
4355 register addressing mode.
4356 * testsuite/gas/rx/rx.exp: Updated for new testcase.
4357 * testsuite/gas/rx/pr19665.s: New file.
4358 * testsuite/gas/rx/pr19665.s: New file.
4359 * testsuite/gas/rx/mov.d: Update expected output.
4360
4361 2016-02-15 Nick Clifton <nickc@redhat.com>
4362
4363 * doc/as.texinfo (.section): Document that numeric values can now
4364 be used for the flags and type fields of the ELF target's .section
4365 directive. Add notes about the restrictions on setting flags and
4366 types.
4367 * config/obj-elf.c (obj_elf_change_section): Allow known sections
4368 to be given processor specific section types. Allow processor and
4369 application specific flags of a section to be set after
4370 definition.
4371 (obj_elf_parse_section_letters): Handle parsing numeric values.
4372 (obj_elf_section_type): Handle parsing numeric values.
4373 (obj_elf_section): Allow numeric type values.
4374 * config/obj-elf.h (obj_elf_change_section): Update prototype.
4375 * testsuite/gas/elf/section10.d: New test.
4376 * testsuite/gas/elf/section10.s: Source file for new test.
4377 * testsuite/gas/elf/elf.exp: Run the new test.
4378 * testsuite/gas/i386/ilp32/x86-64-unwind.d: Remove dependency upon
4379 the description of the flags produced by readelf.
4380 * testsuite/gas/tic6x/scomm-directive-4.d: Likewise.
4381 * NEWS: Mention the new feature.
4382
4383 2016-02-11 Nick Clifton <nickc@redhat.com>
4384
4385 PR gas/19614
4386 * dw2gencfi.c (cfi_sections_set): Delay setting this variable
4387 until it is actually used.
4388 (cfi_set_sections): Set cfi_sections_set to true.
4389 (dot_cfi_startproc): Likewise.
4390 (dot_cfi_endproc): Likewise.
4391 (dot_cfi_fde_data): Likewise.
4392 (cfi_finish): Likewise.
4393 (dot_cfi_sections): Do not set cfi_sections_set.
4394 * doc/as.texinfo (.cfi_sections): Note that targets can provide
4395 their own cfi section name. Also note that the directive can be
4396 reissued provided that CFI generation has not started.
4397 * testsuite/gas/mips/compact-eh-err2.s: Add .cfi_startproc and
4398 .cfi_endproc directives so that the redefinition of .cfi_sections
4399 will trigger the generation of the error message.
4400 * testsuite/gas/mips/compact-eh-err2.l: Update expected line
4401 number of error message.
4402
4403 2016-02-10 Claudiu Zissulescu <claziss@synopsys.com>
4404 Janek van Oirschot <jvanoirs@synopsys.com>
4405
4406 * config/tc-arc.h (TC_FRAG_TYPE, TC_PCREL_ADJUST, MAX_INSN_ARGS)
4407 (MAX_INSN_FLGS, MAX_FLAG_NAME_LENGHT, TC_GENERIC_RELAX_TABLE):
4408 Define.
4409 (arc_flags, arc_relax_type): New structure.
4410 * config/tc-arc.c (FRAG_MAX_GROWTH, RELAX_TABLE_ENTRY)
4411 (RELAX_TABLE_ENTRY_MAX): New define.
4412 (relaxation_state, md_relax_table, arc_relaxable_insns)
4413 (arc_num_relaxable_ins): New variable.
4414 (rlx_operand_type, arc_rlx_types): New enums.
4415 (arc_relaxable_ins): New structure.
4416 (OPTION_RELAX): New option.
4417 (arc_insn): New relax member.
4418 (arc_flags): Remove.
4419 (relax_insn_p): New function.
4420 (apply_fixups): Likewise.
4421 (relaxable_operand): Likewise.
4422 (may_relax_expr): Likewise.
4423 (relaxable_flag): Likewise.
4424 (arc_pcrel_adjust): Likewise.
4425 (md_estimate_size_before_relax): Implement.
4426 (md_convert_frag): Likewise.
4427 (md_parse_option): Handle new mrelax option.
4428 (md_show_usage): Likewise.
4429 (assemble_insn): Set relax member.
4430 (emit_insn0): New function.
4431 (emit_insn1): Likewise.
4432 (emit_insn): Handle relaxation case.
4433 * NEWS: Mention the new relaxation option.
4434 * doc/c-arc.texi (ARC Options): Document new mrelax option.
4435 * doc/as.texinfo (Target ARC Options): Likewise.
4436 * testsuite/gas/arc/relax-avoid1.d: New file.
4437 * testsuite/gas/arc/relax-avoid1.s: Likewise.
4438 * testsuite/gas/arc/relax-avoid2.d: Likewise.
4439 * testsuite/gas/arc/relax-avoid2.s: Likewise.
4440 * testsuite/gas/arc/relax-avoid3.d: Likewise.
4441 * testsuite/gas/arc/relax-avoid3.s: Likewise.
4442 * testsuite/gas/arc/relax-b.d: Likewise.
4443 * testsuite/gas/arc/relax-b.s: Likewise.
4444
4445 2016-02-08 Nick Clifton <nickc@redhat.com>
4446
4447 * config/tc-ia64.c (dot_prologue): Fix formatting.
4448
4449 2016-02-04 Nick Clifton <nickc@redhat.com>
4450
4451 * config/obj-elf.c (obj_elf_change_section): Remove support for
4452 ARM NOREAD sections.
4453 * config/tc-arm.c (arm_elf_section_letter): Delete.
4454 * config/tc-arm.h (md_elf_section_letter): Delete.
4455 * doc/c-arm.texi (ARM Section Attribute): Delete section.
4456 * testsuite/gas/arm/section-execute-only.d: Delete.
4457 * testsuite/gas/arm/section-execute-only.s: Delete.
4458
4459 2016-02-04 Nick Clifton <nickc@redhat.com>
4460
4461 PR target/19561
4462 * config/tc-msp430.c (msp430_operands): Remove case 7. Use case 2
4463 to handle encoding of RRUX instruction.
4464 * testsuite/gas/msp430/msp430x.s: Add more tests of the extended
4465 shift instructions.
4466 * testsuite/gas/msp430/msp430x.d: Update expected disassembly.
4467
4468 2016-02-03 Max Filippov <jcmvbkbc@gmail.com>
4469
4470 * config/tc-xtensa.c (md_apply_fix): Mark BFD_RELOC_XTENSA_DIFF*
4471 substitutions for BFD_RELOC_* as unsigned.
4472 * testsuite/gas/xtensa/all.exp: Add loc to list of xtensa tests.
4473 * testsuite/gas/xtensa/loc.d: New file: loc test result patterns.
4474 * testsuite/gas/xtensa/loc.s: New file: loc test.
4475
4476 2016-02-03 Kevin Buettner <kevinb@redhat.com>
4477
4478 * config/tc-msp430.h (DWARF2_ADDR_SIZE): Set to 4.
4479
4480 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
4481
4482 PR gas/19520
4483 * NEWS: Mention new command line option -mrelax-relocations and
4484 new configure option --enable-x86-relax-relocations for x86
4485 target.
4486 * config.in: Regenerated.
4487 * configure.ac: Add --enable-x86-relax-relocations.
4488 (ac_default_x86_relax_relocations): New. Default to 1 except
4489 for x86 Solaris targets older than Solaris 12.
4490 (DEFAULT_GENERATE_X86_RELAX_RELOCATIONS): Define.
4491 * configure: Likewise.
4492 * config/tc-i386.c (generate_relax_relocations): New.
4493 (OPTION_MRELAX_RELOCATIONS): Likewise.
4494 (output_disp): Don't generate relax relocations if
4495 generate_relax_relocations is 0.
4496 (md_longopts): Add -mrelax-relocations.
4497 (md_show_usage): Likewise.
4498 (md_parse_option): Handle OPTION_MRELAX_RELOCATIONS.
4499 * doc/c-i386.texi: Document -mrelax-relocations=.
4500 * testsuite/gas/i386/got-no-relax.d: New file.
4501 * testsuite/gas/i386/x86-64-gotpcrel-no-relax.d: Likewise.
4502 * testsuite/gas/i386/got.d: Pass -mrelax-relocations=yes to as.
4503 * testsuite/gas/i386/localpic.d: Likewise.
4504 * testsuite/gas/i386/mixed-mode-reloc32.d: Likewise.
4505 * testsuite/gas/i386/reloc32.d: Likewise.
4506 * testsuite/gas/i386/x86-64-gotpcrel.d: Likewise.
4507 * testsuite/gas/i386/x86-64-localpic.d: Likewise.
4508 * testsuite/gas/i386/ilp32/x86-64-gotpcrel.d: Likewise.
4509 * testsuite/gas/i386/ilp32/x86-64-localpic.d: Likewise.
4510 * testsuite/gas/i386/i386.exp: Run got-no-relax and
4511 x86-64-gotpcrel-no-relax.
4512
4513 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
4514
4515 * NEWS: Mention new command line option -mfence-as-lock-add=yes
4516 for x86 target.
4517
4518 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
4519
4520 * NEWS: Remove duplicated marker for 2.26.
4521
4522 2016-02-02 Renlin Li <renlin.li@arm.com>
4523
4524 * testsuite/gas/arm/thumb2_it_search.d: Skip non-elf targets.
4525
4526 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
4527
4528 * testsuite/gas/ip2k/allinsn.d: New file.
4529 * testsuite/gas/ip2k/allinsn.s: New file.
4530 * testsuite/gas/ip2k/ip2k-allinsn.exp: New file.
4531
4532 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
4533
4534 * testsuite/gas/epiphany/addr-syntax.d: Add explicit 0 offset to
4535 some load instructions.
4536 * testsuite/gas/epiphany/allinsn.d: Likewise.
4537 * testsuite/gas/epiphany/regression.d: Likewise.
4538
4539 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
4540
4541 * testsuite/gas/epiphany/addr-syntax.d: Remove unneeded '.l'
4542 suffixes from instruction mnemonics in expected output.
4543 * testsuite/gas/epiphany/allinsn.d: Likewise.
4544 * testsuite/gas/epiphany/regression.d: Likewise.
4545 * testsuite/gas/epiphany/sample.d: Likewise.
4546
4547 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
4548
4549 * testsuite/gas/epiphany/addr-syntax.d: Update expected register
4550 names.
4551 * testsuite/gas/epiphany/allinsn.d: Likewise.
4552 * testsuite/gas/epiphany/sample.d: Likewise.
4553
4554 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
4555
4556 * testsuite/gas/epiphany/sample.d: Update expected output.
4557
4558 2016-01-26 Claudiu Zissulescu <claziss@synopsys.com>
4559
4560 * config/tc-arc.c (md_apply_fix): Allow addendum.
4561 (arc_reloc_op): Allow complex expressions for tpoff.
4562 (md_apply_fix): Handle resolved TLS local symbol.
4563 * testsuite/gas/arc/tls-relocs1.d: New file.
4564 * testsuite/gas/arc/tls-relocs1.s: Likewise.
4565
4566 2016-02-01 Loria <Loria@phantasia.org>
4567
4568 PR target/19311
4569 * config/tc-arm.c (encode_arm_immediate): Recode to improve
4570 efficiency and avoid an LLVM loop optimization bug.
4571
4572 2016-02-01 Nick Clifton <nickc@redhat.com>
4573
4574 * config/tc-microblaze.c (parse_imm): Fix compile time warning
4575 message extending a negative 32-bit value into a larger signed
4576 value on a 32-bit host.
4577
4578 2016-01-29 H.J. Lu <hongjiu.lu@intel.com>
4579
4580 PR gas/19532
4581 * configure.ac (compressed_debug_sections): Replace == with =.
4582 * configure: Regenerated.
4583
4584 2016-01-29 Andrew Senkevich <andrew.senkevich@intel.com>
4585 H.J. Lu <hongjiu.lu@intel.com>
4586
4587 * config/tc-i386.c (avoid_fence): New.
4588 (output_insn): Encode as lock addl $0x0, (%{r,e}sp) if avoid_fence
4589 is true.
4590 (OPTION_FENCE_AS_LOCK_ADD): New.
4591 (md_longopts): Add -mfence-as-lock-add.
4592 (md_parse_option): Handle -mfence-as-lock-add.
4593 (md_show_usage): Add -mfence-as-lock-add=[no|yes].
4594 * doc/c-i386.texi (-mfence-as-lock-add): Document.
4595 * testsuite/gas/i386/i386.exp: Run new tests.
4596 * testsuite/gas/i386/fence-as-lock-add.s: New.
4597 * testsuite/gas/i386/fence-as-lock-add-yes.d: Likewise.
4598 * testsuite/gas/i386/fence-as-lock-add-no.d: Likewise.
4599 * testsuite/gas/i386/x86-64-fence-as-lock-add-yes.d: Likewise.
4600 * testsuite/gas/i386/x86-64-fence-as-lock-add-no.d: Likewise.
4601
4602 2016-01-27 H.J. Lu <hongjiu.lu@intel.com>
4603
4604 * configure.ac (compressed_debug_sections): Remove trailing `]'.
4605 * configure: Regenerated.
4606
4607 2016-01-25 H.J. Lu <hongjiu.lu@intel.com>
4608
4609 * config/tc-i386.c (OPTION_OMIT_LOCK_PREFIX): Renamed to ...
4610 (OPTION_MOMIT_LOCK_PREFIX): This.
4611 (md_longopts): Updated.
4612 (md_parse_option): Likewise.
4613
4614 2016-01-25 Catherine Moore <clm@codesourcery.com>
4615
4616 * config/mips/tc-mips.c (md_begin): Avoid gp-relative addressing
4617 if abicalls are in effect.
4618 * testsuite/gas/mips/sdata-gp.s: New test.
4619 * testsuite/gas/mips/sdata-gp.d: New expected output
4620 * testsuite/gas/mips/mips.exp: Run new test.
4621
4622 2016-01-25 Renlin Li <renlin.li@arm.com>
4623
4624 * testsuite/gas/arm/thumb2_it_search.d: New.
4625 * testsuite/gas/arm/thumb2_it_search.s: New.
4626
4627 2016-01-21 Nick Clifton <nickc@redhat.com>
4628
4629 PR gas/19454
4630 * testsuite/gas/arm/mapshort-elf.d: Fix expected output to cope
4631 with arm-netbsdelf target.
4632 * testsuite/gas/arm/blx-bl-convert.d: Skip for netbsdelf.
4633
4634 2016-01-20 Nick Clifton <nickc@redhat.com>
4635
4636 PR 19456
4637 * testsuite/gas/arm/weakdef-1.d: Skip for VxWorks.
4638 * testsuite/gas/arm/blx-bl-convert.d
4639 * testsuite/gas/arm/plt-1.d: Likewise.
4640 * testsuite/gas/arm/reloc-bad.d: Likewise.
4641 * testsuite/gas/arm/thumb-w-good.d: Likewise.
4642 * testsuite/gas/arm/thumb2_pool.d: Likewise.
4643 * testsuite/gas/arm/ldconst.d: Adjust so that it works with VxWorks
4644 * testsuite/gas/arm/tls_vxworks.d: Update expected output.
4645
4646 PR 19499
4647 * doc/as.texinfo (Errors): Correct documentation describing the
4648 interaction of .file and .line with warning and error messages.
4649
4650 PR 19458
4651 * testsuite/gas/arm/armv8_2-a.d: Skip for COFF based targets.
4652 * testsuite/gas/arm/archv8m-main.d: Likewise.
4653 * testsuite/gas/arm/archv8m-base.d: Likewise.
4654
4655 2016-01-20 Matthew Wahab <matthew.wahab@arm.com>
4656
4657 * testsuite/gas/aarch64/armv8_2-a-illegal.d: New.
4658 * testsuite/gas/aarch64/armv8_2-a-illegal.l: New.
4659 * testsuite/gas/aarch64/armv8_2-a-illegal.s: New.
4660
4661 2016-01-20 Mickael Guene <mickael.guene@st.com>
4662 Terry Guo <terry.guo@arm.com>
4663
4664 * config/obj-elf.c (obj_elf_change_section) : Allow arm section with
4665 SHF_ARM_NOREAD section flag.
4666 * config/tc-arm.h (md_elf_section_letter) : Implement this hook to
4667 handle letter 'y'.
4668 (arm_elf_section_letter) : Declare it.
4669 * config/tc-arm.c (arm_elf_section_letter): Handle letter 'y' to set
4670 SHF_ARM_NOREAD section flag.
4671 * doc/c-arm.texi (ARM section attribute): Document the 'y' attribute.
4672
4673 * testsuite/gas/arm/section-execute-only.s: New test case.
4674 * testsuite/gas/arm/section-execute-only.d: Expected output.
4675
4676 2016-01-18 Maciej W. Rozycki <macro@imgtec.com>
4677
4678 * config/tc-mips.c (micromips_insn_length): Remove the mention
4679 of 48-bit microMIPS instructions.
4680
4681 2016-01-18 Alan Modra <amodra@gmail.com>
4682
4683 * configure: Regenerate.
4684
4685 2016-01-17 Alan Modra <amodra@gmail.com>
4686
4687 * configure: Regenerate.
4688
4689 2016-01-17 Alan Modra <amodra@gmail.com>
4690
4691 * testsuite/gas/cfi/cfi.exp: Exclude m68hc11/12 from m68k test.
4692
4693 2016-01-14 Nick Clifton <nickc@redhat.com>
4694
4695 * testsuite/gas/rl78/sp-relative-movw.s: New test.
4696 * testsuite/gas/rl78/sp-relative-movw.d: Expected disassembly.
4697 * testsuite/gas/rl78/rl78.exp: Run the new test.
4698
4699 2016-01-14 Matthew Wahab <matthew.wahab@arm.com>
4700
4701 * testsuite/gas/aarch64/illegal-sysreg-2.l: New.
4702 * testsuite/gas/aarch64/illegal-sysreg-2.d: New.
4703
4704 2016-01-13 Maciej W. Rozycki <macro@imgtec.com>
4705
4706 * config/tc-nios2.c (output_movia): Preset `code' to 0.
4707
4708 2016-01-13 Yoshinori Sato <ysato@users.sourceforge.jp>
4709
4710 * config/tc-h8300.c (get_operand): Remove spurious condition in
4711 test for closing parenthesis.
4712
4713 2016-01-12 Matthew Wahab <matthew.wahab@arm.com>
4714
4715 * config/tc-arm.c (arm_ext_v8_2): New.
4716 (insns): Add "esb".
4717 * testsuite/gas/arm/armv8_2-a.d: New.
4718 * testsuite/gas/arm/armv8_2-a.s: New.
4719
4720 2016-01-12 Alan Modra <amodra@gmail.com>
4721
4722 * testsuite/gas/ppc/vsx3.d: Accept nop padding.
4723
4724 2016-01-11 Peter Bergner <bergner@vnet.ibm.com>
4725
4726 * testsuite/gas/ppc/power9.d <xscmpnedp, xvcmpnedp, xvcmpnedp.,
4727 xvcmpnesp, xvcmpnesp.>: Delete tests.
4728 * testsuite/gas/ppc/power9.s: Likewise.
4729 * testsuite/gas/ppc/vsx3.d: Likewise.
4730 * testsuite/gas/ppc/vsx3.s: Likewise.
4731
4732 2016-01-08 Andreas Schwab <schwab@linux-m68k.org>
4733
4734 PR gas/13050
4735 * testsuite/gas/m68k/all.exp: Add tests p13050-1 and p13050-2.
4736 * testsuite/gas/m68k/p13050-1.s: New file.
4737 * testsuite/gas/m68k/p13050-2.d: New file.
4738 * testsuite/gas/m68k/p13050-2.s: New file.
4739
4740 2016-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
4741
4742 * testsuite/gas/arc/adc.d: Add 'R_' prefix to relocation names.
4743 * testsuite/gas/arc/add.d: Likewise.
4744 * testsuite/gas/arc/and.d: Likewise.
4745 * testsuite/gas/arc/asl.d: Likewise.
4746 * testsuite/gas/arc/asr.d: Likewise.
4747 * testsuite/gas/arc/bic.d: Likewise.
4748 * testsuite/gas/arc/extb.d: Likewise.
4749 * testsuite/gas/arc/extw.d: Likewise.
4750 * testsuite/gas/arc/j.d: Likewise.
4751 * testsuite/gas/arc/jl.d: Likewise.
4752 * testsuite/gas/arc/ld2.d: Likewise.
4753 * testsuite/gas/arc/lsr.d: Likewise.
4754 * testsuite/gas/arc/mov.d: Likewise.
4755 * testsuite/gas/arc/or.d: Likewise.
4756 * testsuite/gas/arc/pcl-relocs.d: Likewise.
4757 * testsuite/gas/arc/pcrel-relocs.d: Likewise.
4758 * testsuite/gas/arc/pic-relocs.d: Likewise.
4759 * testsuite/gas/arc/plt-relocs.d: Likewise.
4760 * testsuite/gas/arc/rlc.d: Likewise.
4761 * testsuite/gas/arc/ror.d: Likewise.
4762 * testsuite/gas/arc/rrc.d: Likewise.
4763 * testsuite/gas/arc/sbc.d: Likewise.
4764 * testsuite/gas/arc/sda-relocs.d: Likewise.
4765 * testsuite/gas/arc/sda-relocs2.d: Likewise.
4766 * testsuite/gas/arc/sexb.d: Likewise.
4767 * testsuite/gas/arc/sexw.d: Likewise.
4768 * testsuite/gas/arc/st.d: Likewise.
4769 * testsuite/gas/arc/sub.d: Likewise.
4770 * testsuite/gas/arc/tls-relocs.d: Likewise.
4771 * testsuite/gas/arc/xor.d: Likewise.
4772
4773 2016-01-01 Alan Modra <amodra@gmail.com>
4774
4775 Update year range in copyright notice of all files.
4776
4777 For older changes see ChangeLog-2015 and testsuite/ChangeLog-2015
4778 \f
4779 Copyright (C) 2016 Free Software Foundation, Inc.
4780
4781 Copying and distribution of this file, with or without modification,
4782 are permitted in any medium without royalty provided the copyright
4783 notice and this notice are preserved.
4784
4785 Local Variables:
4786 mode: change-log
4787 left-margin: 8
4788 fill-column: 74
4789 version-control: never
4790 End:
This page took 0.124782 seconds and 5 git commands to generate.