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