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