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