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