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