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