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