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