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