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