af4e9c9eeaccdc5a3d0687e726bf3c239da59e69
[external/binutils.git] / gas / ChangeLog
1 2016-06-13  Graham Markall <graham.markall@embecosm.com>
2
3         * testsuite/gas/arc/nps400-6.s: Add tests of calcbsd, calcbxd,
4         calckey, calcxkey, mxb, imxb, addl, subl, andl, orl, xorl, andab, orab,
5         lbdsize, bdlen, csms, csma, cbba, zncv, and hofs.
6         * testsuite/gas/arc/nps400-6.d: Likewise.
7
8 2016-06-14  Nick Clifton  <nickc@redhat.com>
9
10         * config/tc-nds32.c (nds32_get_align): Avoid left shifting a
11         signed constant.
12
13 2016-06-13  Maciej W. Rozycki  <macro@imgtec.com>
14
15         * config/tc-mips.c (mips_fix_adjustable): Don't convert RELA
16         JALR relocations on R6.
17         * testsuite/gas/mips/jal-svr4pic-local.d: New test.
18         * testsuite/gas/mips/mips1@jal-svr4pic-local.d: New test.
19         * testsuite/gas/mips/r3000@jal-svr4pic-local.d: New test.
20         * testsuite/gas/mips/micromips@jal-svr4pic-local.d: New test.
21         * testsuite/gas/mips/jal-svr4pic-local-n32.d: New test.
22         * testsuite/gas/mips/micromips@jal-svr4pic-local-n32.d: New
23         test.
24         * testsuite/gas/mips/jal-svr4pic-local-n64.d: New test.
25         * testsuite/gas/mips/micromips@jal-svr4pic-local-n64.d: New
26         test.
27         * testsuite/gas/mips/jal-svr4pic-local.s: New test source.
28         * testsuite/gas/mips/jal-svr4pic-local-newabi.s: New test
29         source.
30         * testsuite/gas/mips/mips.exp: Run the new tests.
31
32 2016-06-13  Virendra Pathak  <virendra.pathak@broadcom.com>
33
34         * config/tc-aarch64.c (aarch64_cpus): Add Broadcom Vulcan.
35         * doc/c-aarch64.texi: Document that vulcan is a valid processor
36         name.
37
38 2016-06-13  Nick Clifton  <nickc@redhat.com>
39
40         * config/tc-arm.c: For non-ELF based targets skip ARM feature sets
41         that are not supported.
42
43         * config/tc-arc.c (md_apply_fix): Avoid left shifting a signed
44         constant.
45         * config/tc-cr16.c (check_range): Likewise.
46         * config/tc-nios2.c (nios2_check_overflow): Likewise.
47
48 2016-06-08  Renlin Li  <renlin.li@arm.com>
49
50         * config/tc-aarch64.c (print_operands): Substitute size.
51         (output_operand_error_record): Likewise.
52
53 2016-06-07  Alan Modra  <amodra@gmail.com>
54
55         * config/tc-ppc.c (PPC_APUINFO_ISEL, PPC_APUINFO_PMR,
56         PPC_APUINFO_RFMCI, PPC_APUINFO_CACHELCK, PPC_APUINFO_SPE,
57         PPC_APUINFO_EFS, PPC_APUINFO_BRLOCK, PPC_APUINFO_VLE): Don't define.
58         (ppc_setup_opcodes): Check vle disables powerpc_opcodes overridden
59         by vle_opcodes, and that vle flag doesn't enable opcodes.  Don't
60         add vle_opcodes twice.
61         (ppc_cleanup): Use APUINFO_SECTION_NAME and APUINFO_LABEL.
62
63 2016-06-07  Matthew Wahab  <matthew.wahab@arm.com>
64
65         * config/tc-arm.c (arm_ext_v8_2): Rename to arm_ext_ras.
66         (arm_ext_ras): Renamed from arm_ext_v8_2.
67         (insns): Update for arm_ext_v8_2 renaming.
68         (arm_extensions): Add "ras".
69         * doc/c-arm.texi (ARM Options): Add an entry for "ras".
70         * testsuite/gas/arm/armv8-a+ras.d: New.
71         * testsuite/gas/arm/armv8_2-a.d: Add explicit command line
72         options.
73
74 2016-06-05  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>
75
76         * itbl-parse.y (yyerror): Use modern argument declaration style.
77
78 2016-06-05  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>
79
80         * config/tc-sh.c (parse_reg): Change type of mode argument to
81         sh_arg_type.
82         (get_operand): Adjust.
83         (insert): Change type of how to bfd_reloc_code_real_type.
84         (insert4): Likewise.
85         * config/tc-sh64.c (shmedia_get_operand): Adjust.
86         (shmedia_parse_reg): Change type of mode to shmedia_arg_type.
87
88 2016-06-05  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>
89
90         * config/tc-nds32.c (nds32_parse_option): Make the type of ptr_arg
91         const char *.
92
93 2016-06-03  Peter Bergner <bergner@vnet.ibm.com>
94
95         PR binutils/20196
96         * gas/testsuite/gas/ppc/e6500.s <lbarx, lharx, lwarx, ldarx,
97         stbcx., sthcx., stwcx., stdcx.>: Add tests.
98         * gas/testsuite/gas/ppc/e6500.d: Likewise.
99         * gas/testsuite/gas/ppc/power8.s: Likewise.
100         * gas/testsuite/gas/ppc/power8.d: Likewise.
101         * gas/testsuite/gas/ppc/power4.s <lwarx, ldarx, stwcx.,
102         stdcx.>: Add tests.
103         * gas/testsuite/gas/ppc/power4.d: Likewise.
104
105 2016-06-03  H.J. Lu  <hongjiu.lu@intel.com>
106
107         PR binutis/18386
108         * testsuite/gas/i386/i386.exp: Run x86-64-branch-4.
109         * testsuite/gas/i386/x86-64-branch.d: Updated.
110         * testsuite/gas/i386/ilp32/x86-64-branch.d: Likewise.
111         * testsuite/gas/i386/x86-64-branch-4.l: New file.
112         * testsuite/gas/i386/x86-64-branch-4.s: Likewise.
113
114 2016-06-03  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
115
116         * config/tc-aarch64.c (aarch64_cpus): Add cortex-a73 entry.
117         * doc/c-aarch64.texi (-mcpu): Document cortex-a73 value.
118
119 2016-06-03  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
120
121         * config/tc-arm.c (arm_cpus): Add cortex-a73 entry.
122         * doc/c-arm.texi (-mcpu=): Document cortex-a73 value.
123
124 2016-06-02  Vineet Gupta  <Vineet.Gupta1@synopsys.com>
125
126         * configure.tgt: Replace -uclibc with *.
127
128 2016-06-02  Andrew Burgess  <andrew.burgess@embecosm.com>
129
130         * config/tc-arc.c (parse_opcode_flags): New function.
131         (find_opcode_match): Move flag parsing code out to new function.
132         Ignore operands marked IGNORE.
133         (build_fake_opcode_hash_entry): New function.
134         (find_special_case_long_opcode): New function.
135         (find_special_case): Lookup long opcodes.
136         * testsuite/gas/arc/nps400-7.d: New file.
137         * testsuite/gas/arc/nps400-7.s: New file.
138
139 2016-06-01  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>
140
141         * config/tc-ns32k.c: Remove definition of input_line_pointer.
142
143 2016-06-01  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>
144
145         * config/tc-avr.c (avr_parse_cons_expression): Replace iteration to
146         sentinal with iteration to array size.
147
148 2016-06-01  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>
149
150         * config/xtensa-relax.h: Move typedefs of enums to the enums
151         definition.
152
153 2016-06-01  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>
154
155         * config/tc-ns32k.c (bit_fix_new): Replace obstack-alloc with XOBNEW
156         macro.
157
158 2016-06-01  Graham Markall  <graham.markall@embecosm.com>
159
160         * testsuite/gas/arc/nps-400-1.s: Add rflt variants with
161         operands of types a,b,u6, 0,b,u6, and 0,b,limm.
162         * testsuite/gas/arc/nps-400-1.d: Likewise.
163
164 2016-05-29  H.J. Lu  <hongjiu.lu@intel.com>
165
166         PR gas/20145
167         * config/tc-i386.c (cpu_noarch): Add noavx512f, noavx512cd,
168         noavx512er, noavx512pf, noavx512dq, noavx512bw, noavx512vl,
169         noavx512ifma and noavx512vbmi.
170         * doc/c-i386.texi: Mention noavx512f, noavx512cd, noavx512er,
171         noavx512pf, noavx512dq, noavx512bw, noavx512vl, noavx512ifma
172         and noavx512vbmi.
173         * testsuite/gas/i386/i386.exp: Run noavx512-1 and noavx512-2.
174         * testsuite/gas/i386/noavx512-1.l: New file.
175         * testsuite/gas/i386/noavx512-1.s: Likewise.
176         * testsuite/gas/i386/noavx512-2.l: Likewise.
177         * testsuite/gas/i386/noavx512-2.s: Likewise.
178
179 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
180
181         PR gas/20145
182         * config/tc-i386.c (cpu_arch): Add 687.
183         (cpu_noarch): Add no287, no387, no687, nosse2, nosse3, nossse3,
184         nosse4.1, nosse4.2, nosse4 and noavx2.
185         (parse_real_register): Check cpuregmmx instead of cpummx for MMX
186         register.  Check cpuregxmm instead of cpusse for XMM register.
187         Check cpuregymm instead of cpuavx for YMM register.  Check
188         cpuregzmm/cpuregmask instead of cpuavx512f for ZMMM/mask register.
189         * doc/c-i386.texi: Mention 687, no287, no387, no687, nosse2,
190         nosse3, nossse3, nosse4.1, nosse4.2, nosse4 and noavx2.
191         * testsuite/gas/i386/arch-10-prefetchw.d (as): Add mmx.
192         * testsuite/gas/i386/arch-10.d (as): Likewise.
193         * testsuite/gas/i386/arch-11.s: Add ".arch .mmx".
194         * testsuite/gas/i386/i386.exp: Pass mmx to assembler for
195         arch-10-3 and arch-10-4.  Run no87-3, nosse-4, nosse-5, noavx-3
196         and noavx-4.
197         * testsuite/gas/i386/no87-3.l: New file.
198         * testsuite/gas/i386/no87-3.s: Likewise.
199         * testsuite/gas/i386/noavx-3.l: Likewise.
200         * testsuite/gas/i386/noavx-3.s: Likewise.
201         * testsuite/gas/i386/noavx-4.d: Likewise.
202         * testsuite/gas/i386/noavx-4.s: Likewise.
203         * testsuite/gas/i386/nosse-4.l: Likewise.
204         * testsuite/gas/i386/nosse-4.s: Likewise.
205         * testsuite/gas/i386/nosse-5.d: Likewise.
206         * testsuite/gas/i386/nosse-5.s: Likewise.
207
208 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
209
210         PR gas/20154
211         * config/tc-i386.c (cpu_flags_match): Don't set cpuamd64 nor
212         cpuintel64.
213         (match_template): Check Intel64/AMD64 ISA.
214
215 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
216
217         PR gas/20154
218         * config/tc-i386.c (intel64): New.
219         (cpu_flags_match): Set cpuamd64 and cpuintel64.
220         (md_parse_option): Set intel64 instead of cpuamd64 and
221         cpuintel64.
222
223 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
224
225         * config/tc-i386.c (cpu_flags_match): Don't clear cpu64 nor
226         cpuno64.
227
228 2016-05-26  Peter Bergner <bergner@vnet.ibm.com>
229
230         * testsuite/gas/ppc/altivec3.d <vmsumudm>: Add test.
231         * testsuite/gas/ppc/altivec3.s: Likewise.
232         * testsuite/gas/ppc/power9.d <addex[.], lwzmx, vmsumudm>: Add tests.
233         * testsuite/gas/ppc/power9.s: Likewise.
234
235 2016-05-26  H.J. Lu  <hongjiu.lu@intel.com>
236
237         * testsuite/gas/i386/avx512vl-2.l: Append "#pass".
238         * testsuite/gas/i386/noavx-1.l: Likewise.
239         * testsuite/gas/i386/nommx-1.l: Likewise.
240         * testsuite/gas/i386/nosse-1.l: Likewise.
241         * testsuite/gas/i386/x86-64-avx512vl-2.l: Likewise.
242         * testsuite/gas/i386/avx512vl-2.s: Append ".p2align 4".
243         * testsuite/gas/i386/noavx-1.s: Likewise.
244         * testsuite/gas/i386/nommx-1.s: Likewise.
245         * testsuite/gas/i386/nosse-1.s: Likewise.
246         * testsuite/gas/i386/x86-64-avx512vl-2.s: Likewise.
247
248 2016-05-26  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>
249
250         * config/tc-metag.c (metag_handle_align): Make the type of noop
251         unsigned char.
252
253 2016-05-26  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>
254
255         * config/tc-rx.c (md_convert_frag): Make the type of reloc_type
256         bfd_reloc_code_real_type.
257
258 2016-05-25  H.J. Lu  <hongjiu.lu@intel.com>
259
260         PR gas/20140
261         * config/tc-i386.c (cpu_flags_match): Require another match
262         for AVX512VL.
263         * testsuite/gas/i386/i386.exp: Run avx512vl-1, avx512vl-2,
264         x86-64-avx512vl-1 and x86-64-avx512vl-2.
265         * testsuite/gas/i386/avx512vl-1.l: New file.
266         * testsuite/gas/i386/avx512vl-1.s: Likewise.
267         * testsuite/gas/i386/avx512vl-2.l: Likewise.
268         * testsuite/gas/i386/avx512vl-2.s: Likewise.
269         * testsuite/gas/i386/x86-64-avx512vl-1.l: Likewise.
270         * testsuite/gas/i386/x86-64-avx512vl-1.s: Likewise.
271         * testsuite/gas/i386/x86-64-avx512vl-2.l: Likewise.
272         * testsuite/gas/i386/x86-64-avx512vl-2.s: Likewise.
273
274 2016-05-25  H.J. Lu  <hongjiu.lu@intel.com>
275
276         PR gas/20141
277         * testsuite/gas/i386/i386.exp: Run x86-64-pr20141.
278         * testsuite/gas/i386/x86-64-pr20141.d: New file.
279         * testsuite/gas/i386/x86-64-pr20141.s: Likewise.
280
281 2016-05-25  H.J. Lu  <hongjiu.lu@intel.com>
282
283         * config/tc-i386.c (arch_entry): Remove negated.
284         (noarch_entry): New struct.
285         (cpu_arch): Updated.  Remove .no87, .nommx, .nosse and .noavx.
286         (cpu_noarch): New.
287         (set_cpu_arch): Check cpu_noarch after cpu_arch.
288         (md_parse_option): Allow -march=+nosse.  Check cpu_noarch after
289         cpu_arch.
290         (output_message): New function.
291         (show_arch): Use it.  Handle cpu_noarch.
292         * testsuite/gas/i386/i386.exp: Run nommx-1, nommx-2, nommx-3,
293         nosse-1, nosse-2, nosse-3, noavx-1 and noavx-2.
294         * testsuite/gas/i386/noavx-1.l: New file.
295         * testsuite/gas/i386/noavx-1.s: Likewise.
296         * testsuite/gas/i386/noavx-2.s: Likewise.
297         * testsuite/gas/i386/noavx-2.l: Likewise.
298         * testsuite/gas/i386/nommx-1.s: Likewise.
299         * testsuite/gas/i386/nommx-1.l: Likewise.
300         * testsuite/gas/i386/nommx-2.s: Likewise.
301         * testsuite/gas/i386/nommx-2.l: Likewise.
302         * testsuite/gas/i386/nommx-3.s: Likewise.
303         * testsuite/gas/i386/nommx-3.l: Likewise.
304         * testsuite/gas/i386/nosse-1.s: Likewise.
305         * testsuite/gas/i386/nosse-1.l: Likewise.
306         * testsuite/gas/i386/nosse-2.s: Likewise.
307         * testsuite/gas/i386/nosse-2.l: Likewise.
308         * testsuite/gas/i386/nosse-3.s: Likewise.
309         * testsuite/gas/i386/nosse-3.l: Likewise.
310
311 2016-05-25  Chua Zheng Leong  <chuazl@comp.nus.edu.sg>
312
313         PR target/20067
314         * config/tc-arm.c (move_or_literal_pool): Only generate a VMOV.I64
315         instruction if supported by the currently selected fpu variant.
316         * testsuite/gas/arm/vfpv3-ldr_immediate.s: Add test of this PR.
317         * testsuite/gas/arm/vfpv3-ldr_immediate.d: Update expected disassembly.
318
319 2016-05-24  Maciej W. Rozycki  <macro@imgtec.com>
320
321         * config/tc-mips.c (mips_fix_adjustable): Also return 0 for
322         jump relocations against MIPS16 or microMIPS symbols on RELA
323         targets.
324         * testsuite/gas/mips/jalx-local.d: New test.
325         * testsuite/gas/mips/jalx-local-n32.d: New test.
326         * testsuite/gas/mips/jalx-local-n64.d: New test.
327         * testsuite/gas/mips/jalx-local.s: New test source.
328         * testsuite/gas/mips/mips.exp: Run the new tests.
329
330 2016-05-24  Maciej W. Rozycki  <macro@imgtec.com>
331
332         * config/tc-mips.c (md_apply_fix)
333         <BFD_RELOC_MIPS16_TLS_TPREL_LO16>: Remove fall-through, adjust
334         code accordingly.
335
336 2016-05-24  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>
337
338         * config/tc-xtensa.c (struct suffix_reloc_map): Change type of field
339         operator to operatorT.
340         (map_suffix_reloc_to_operator): Change return type to operatorT.
341
342 2016-05-24  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>
343
344         * config/tc-d30v.c (find_format): Change type of X_op to operatorT.
345
346 2016-05-24  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>
347
348         * config/tc-mmix.c (mmix_parse_predefined_name): Change type of
349         handler_charp to const char *.
350
351 2016-05-24  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>
352
353         * config/tc-ft32.h (DEFAULT_TARGET_FORMAT): Remove.
354         (ft32_target_format): Likewise.
355         (TARGET_FORMAT): Adjust.
356
357 2016-05-24  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>
358
359         * config/tc-ia64.c (dot_rot): simplify allocations from obstacks.
360         (ia64_frob_label): Likewise.
361
362 2016-05-24  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>
363
364         * config/tc-cr16.c (check_range): Make type of retval op_err.
365         * config/tc-crx.c: Likewise.
366
367 2016-05-23  Claudiu Zissulescu  <claziss@synopsys.com>
368
369         * config/tc-arc.c (md_begin): Add XY registers.
370         (cpu_types): Code density is default off for ARC EM.
371
372 2016-05-23  Cupertino Miranda  <cmiranda@synopsys.com>
373
374         * config/tc-arc.c (attributes_t): Renamed attribute class to
375         attr_class.
376         (find_opcode_match, assemble_insn, tokenize_extinsn): Changed.
377
378 2016-05-23  Kuba Sejdak  <jakub.sejdak@phoesys.com>
379
380         * configuse.tgt: Add entry for arm-phoenix.
381
382 2016-05-23  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>
383
384         * config/tc-tic54x.c (tic54x_sect): simplify string creation.
385
386 2016-05-23  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>
387
388         * config/tc-spu.c (APUOP): Use OPCODE as an unsigned constant.
389
390 2016-05-23  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>
391
392         * config/tc-tic54x.c (tic54x_mmregs): Adjust.
393         (md_begin): Likewise.
394         (encode_condition): Likewise.
395         (encode_cc3): Likewise.
396         (encode_cc2): Likewise.
397         (encode_operand): Likewise.
398         (tic54x_undefined_symbol): Likewise.
399
400 2016-05-20  Matthew Fortune  <matthew.fortune@imgtec.com>
401
402         * config/tc-mips.c (mips_cpu_info_table): Update comment.  Add
403         p6600 entry.
404         * doc/c-mips.texi: Document p6600 -march option.
405
406 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
407
408         PR gas/19600
409         * config/tc-i386.c (md_apply_fix): Preserve addend for
410         BFD_RELOC_386_GOT32 and BFD_RELOC_X86_64_GOT32.
411         * testsuite/gas/i386/addend.d: New file.
412         * testsuite/gas/i386/addend.s: Likewise.
413         * testsuite/gas/i386/x86-64-addend.d: Likewise.
414         * testsuite/gas/i386/x86-64-addend.s: Likewise.
415         * testsuite/gas/i386/i386.exp: Run addend and x86-64-addend.
416         * testsuite/gas/i386/reloc32.d: Updated.
417
418 2016-05-20  Maciej W. Rozycki  <macro@imgtec.com>
419
420         * config/tc-mips.c (append_insn): Correct the encoding of a
421         constant argument for microMIPS JALX.
422         (tc_gen_reloc): Correct the encoding of an in-place addend for
423         microMIPS JALX.
424         * testsuite/gas/mips/jalx-addend.d: New test.
425         * testsuite/gas/mips/jalx-addend-n32.d: New test.
426         * testsuite/gas/mips/jalx-addend-n64.d: New test.
427         * testsuite/gas/mips/jalx-imm.d: New test.
428         * testsuite/gas/mips/jalx-imm-n32.d: New test.
429         * testsuite/gas/mips/jalx-imm-n64.d: New test.
430         * testsuite/gas/mips/jalx-addend.s: New test source.
431         * testsuite/gas/mips/jalx-imm.s: New test source.
432         * testsuite/gas/mips/mips.exp: Run the new tests.
433
434 2016-05-20  Maciej W. Rozycki  <macro@imgtec.com>
435
436         * config/tc-mips.c: Correct tab-after-space formatting mistakes
437         throughout.
438
439 2016-05-18  Andrew Burgess  <andrew.burgess@embecosm.com>
440
441         * config/tc-arc.c (find_opcode_match): Remove casting away of
442         const.
443         * config/tc-arc.h (struct arc_flags): Make flgp field const.
444
445 2016-05-18  Andrew Burgess  <andrew.burgess@embecosm.com>
446
447         * config/tc-arc.c (md_pcrel_from_section): Use BFD_VMA_FMT where
448         appropriate.
449         (md_convert_frag): Likewise.
450
451 2016-05-18  Andrew Burgess  <andrew.burgess@embecosm.com>
452
453         * config/tc-arc.c (arc_opcode_hash_entry_iterator_next): Set
454         cached opcode to NULL when we reach a non-matching opcode.
455         * testsuite/gas/arc/asm-errors-2.d: New file.
456         * testsuite/gas/arc/asm-errors-2.err: New file.
457         * testsuite/gas/arc/asm-errors-2.s: New file.
458
459 2016-05-18  Andrew Burgess  <andrew.burgess@embecosm.com>
460
461         * config/tc-arc.c (tokenize_arguments): Add checks for array
462         overflow.
463         * testsuite/gas/arc/asm-errors.s: Addition test line added.
464         * testsuite/gas/arc/asm-errors.err: Update expected results.
465
466 2016-05-18  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>
467
468         * config/tc-rx.c (struct cpu_type): Change the type of a field from
469         int to enum rx_cpu_types.
470
471 2016-05-18  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>
472
473         * config/tc-dlx.c (struct machine_it): change the type of a field from
474         int to bfd_reloc_code_real_type.
475         * config/tc-tic4x.c: Likewise.
476
477 2016-05-18  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>
478
479         * config/tc-v850.c (v850_target_arch): change type to enum
480         bfd_architecture.
481         * config/tc-v850.h (v850_target_arch): Likewise.
482
483 2016-05-18  Alan Modra  <amodra@gmail.com>
484
485         * config/tc-ppc.c (ppc_insert_operand): Trim PPC_OPERAND_SIGNOPT
486         allowed negative range.
487         * testsuite/gas/ppc/power9.s: Test xxspltib of -128, not -256.
488         * testsuite/gas/ppc/power9.d: Update.
489
490 2016-05-17  Thomas Preud'homme  <thomas.preudhomme@arm.com>
491
492         * testsuite/gas/arm/archv8m-cmse-msr-base.d: Force Thumb when
493         disassembling and stop skipping targets.
494         * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
495         * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
496         * testsuite/gas/arm/archv8m-base.d: Also allow nops after the last
497         instruction for targets that have stronger alignment requirement.
498         * testsuite/gas/arm/archv8m-cmse-base.d: Likewise.
499         * testsuite/gas/arm/archv8m-cmse-main-1.d: Likewise.
500         * testsuite/gas/arm/archv8m-cmse-main-2.d: Likewise.
501         * testsuite/gas/arm/archv8m-main-dsp-1.d: Likewise.
502         * testsuite/gas/arm/archv8m-main-dsp-2.d: Likewise.
503         * testsuite/gas/arm/archv8m-main-dsp-3.d: Likewise.
504         * testsuite/gas/arm/archv8m-main.d: Likewise.
505         * testsuite/gas/arm/archv8m.s: Add label.
506         * testsuite/gas/arm/archv8m-cmse.s: Likewise.
507         * testsuite/gas/arm/archv8m-cmse-msr.s: Likewise.
508         * testsuite/gas/arm/archv8m-cmse-main.s: Likewise.
509
510 2016-05-16  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>
511
512         * config/tc-m32r.c (mach_table): Make static and const.
513
514 2016-05-16  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>
515
516         * config/tc-vax.c (flonum_gen2vax): Adjust prototype to match
517         definition.
518
519 2016-05-16  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>
520
521         * config/tc-mn10300.c (md_begin): set linkrelax here instead of
522         defining it.
523         * config/tc-msp430.c (md_begin): Likewise.
524
525 2016-05-16  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>
526
527         * config/tc-m68hc11.c (fixup8): Change variables type from int to
528         bfd_reloc_code_real_type where appropriate.
529         (fixup16): Likewise.
530         (fixup8_xg): Likewise.
531
532 2016-05-15  Maciej W. Rozycki  <macro@imgtec.com>
533
534         * config/tc-sh64.c (shmedia_check_limits): Constify `msg'.
535
536 2016-05-13  Peter Bergner <bergner@vnet.ibm.com>
537
538         * testsuite/gas/ppc/power9.d <xxspltib>: Add additional operand tests.
539         * testsuite/gas/ppc/power9.s: Likewise.
540
541 2016-05-13  Alan Modra  <amodra@gmail.com>
542
543         * config/obj-coff.c (weak_uniquify): Delete unused var.
544
545 2016-05-13  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>
546
547         * app.c (app_push): Use XNEW and related macros.
548         * as.c (parse_args): Likewise.
549         * cgen.c (make_right_shifted_expr): Likewise.
550         (gas_cgen_tc_gen_reloc): Likewise.
551         * config/bfin-defs.h: Likewise.
552         * config/bfin-parse.y: Likewise.
553         * config/obj-coff.c (stack_init): Likewise.
554         (stack_push): Likewise.
555         (coff_obj_symbol_new_hook): Likewise.
556         (coff_obj_symbol_clone_hook): Likewise.
557         (add_lineno): Likewise.
558         (coff_frob_symbol): Likewise.
559         * config/obj-elf.c (obj_elf_section_name): Likewise.
560         (build_group_lists): Likewise.
561         * config/obj-evax.c (evax_symbol_new_hook): Likewise.
562         * config/obj-macho.c (obj_mach_o_indirect_symbol): Likewise.
563         * config/tc-aarch64.c (insert_reg_alias): Likewise.
564         (find_or_make_literal_pool): Likewise.
565         (add_to_lit_pool): Likewise.
566         (fill_instruction_hash_table): Likewise.
567         * config/tc-alpha.c (load_expression): Likewise.
568         (emit_jsrjmp): Likewise.
569         (s_alpha_ent): Likewise.
570         (s_alpha_end): Likewise.
571         (s_alpha_linkage): Likewise.
572         (md_begin): Likewise.
573         (tc_gen_reloc): Likewise.
574         * config/tc-arc.c (arc_insert_opcode): Likewise.
575         (arc_extcorereg): Likewise.
576         * config/tc-bfin.c: Likewise.
577         * config/tc-cr16.c: Likewise.
578         * config/tc-cris.c: Likewise.
579         * config/tc-crx.c (preprocess_reglist): Likewise.
580         * config/tc-d10v.c: Likewise.
581         * config/tc-frv.c (frv_insert_vliw_insn): Likewise.
582         (frv_tomcat_shuffle): Likewise.
583         * config/tc-h8300.c: Likewise.
584         * config/tc-i370.c (i370_macro): Likewise.
585         * config/tc-i386.c (lex_got): Likewise.
586         (md_parse_option): Likewise.
587         * config/tc-ia64.c (alloc_record): Likewise.
588         (set_imask): Likewise.
589         (save_prologue_count): Likewise.
590         (dot_proc): Likewise.
591         (dot_endp): Likewise.
592         (ia64_frob_label): Likewise.
593         (add_qp_imply): Likewise.
594         (add_qp_mutex): Likewise.
595         (mark_resource): Likewise.
596         (dot_alias): Likewise.
597         * config/tc-m68hc11.c: Likewise.
598         * config/tc-m68k.c (m68k_frob_label): Likewise.
599         (s_save): Likewise.
600         (mri_control_label): Likewise.
601         (push_mri_control): Likewise.
602         (build_mri_control_operand): Likewise.
603         (s_mri_else): Likewise.
604         (s_mri_break): Likewise.
605         (s_mri_next): Likewise.
606         (s_mri_for): Likewise.
607         (s_mri_endw): Likewise.
608         * config/tc-metag.c (create_mnemonic_htab): Likewise.
609         * config/tc-microblaze.c: Likewise.
610         * config/tc-mmix.c (s_loc): Likewise.
611         * config/tc-nds32.c (nds32_relax_hint): Likewise.
612         * config/tc-nios2.c (nios2_insn_reloc_new): Likewise.
613         * config/tc-rl78.c: Likewise.
614         * config/tc-rx.c (rx_include): Likewise.
615         * config/tc-sh.c: Likewise.
616         * config/tc-sh64.c (shmedia_frob_section_type): Likewise.
617         * config/tc-sparc.c: Likewise.
618         * config/tc-spu.c: Likewise.
619         * config/tc-tic6x.c (static tic6x_unwind_info *tic6x_get_unwind): Likewise.
620         (tic6x_start_unwind_section): Likewise.
621         * config/tc-tilegx.c: Likewise.
622         * config/tc-tilepro.c: Likewise.
623         * config/tc-v850.c: Likewise.
624         * config/tc-visium.c: Likewise.
625         * config/tc-xgate.c: Likewise.
626         * config/tc-xtensa.c (xtensa_translate_old_userreg_ops): Likewise.
627         (new_resource_table): Likewise.
628         (resize_resource_table): Likewise.
629         (xtensa_create_trampoline_frag): Likewise.
630         (xtensa_maybe_create_literal_pool_frag): Likewise.
631         (cache_literal_section): Likewise.
632         * config/xtensa-relax.c (append_transition): Likewise.
633         (append_condition): Likewise.
634         (append_value_condition): Likewise.
635         (append_constant_value_condition): Likewise.
636         (append_literal_op): Likewise.
637         (append_label_op): Likewise.
638         (append_constant_op): Likewise.
639         (append_field_op): Likewise.
640         (append_user_fn_field_op): Likewise.
641         (enter_opname_n): Likewise.
642         (enter_opname): Likewise.
643         (split_string): Likewise.
644         (parse_insn_templ): Likewise.
645         (clone_req_or_option_list): Likewise.
646         (clone_req_option_list): Likewise.
647         (parse_option_cond): Likewise.
648         (parse_insn_pattern): Likewise.
649         (parse_insn_repl): Likewise.
650         (build_transition): Likewise.
651         (build_transition_table): Likewise.
652         * dw2gencfi.c (alloc_fde_entry): Likewise.
653         (alloc_cfi_insn_data): Likewise.
654         (cfi_add_CFA_remember_state): Likewise.
655         (dot_cfi_escape): Likewise.
656         (dot_cfi_fde_data): Likewise.
657         (select_cie_for_fde): Likewise.
658         * dwarf2dbg.c (dwarf2_directive_loc): Likewise.
659         * ecoff.c (ecoff_add_bytes): Likewise.
660         (ecoff_build_debug): Likewise.
661         * input-scrub.c (input_scrub_push): Likewise.
662         (input_scrub_begin): Likewise.
663         (input_scrub_next_buffer): Likewise.
664         * itbl-ops.c (append_insns_as_macros): Likewise.
665         (alloc_entry): Likewise.
666         (alloc_field): Likewise.
667         * listing.c (listing_newline): Likewise.
668         (listing_listing): Likewise.
669         * macro.c (get_any_string): Likewise.
670         (delete_macro): Likewise.
671         * stabs.c (generate_asm_file): Likewise.
672         (stabs_generate_asm_lineno): Likewise.
673         * subsegs.c (subseg_change): Likewise.
674         (subseg_get): Likewise.
675         * symbols.c (define_dollar_label): Likewise.
676         (symbol_relc_make_sym): Likewise.
677         * write.c (write_relocs): Likewise.
678
679 2016-05-13  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>
680
681         * config/obj-coff.c (obj_coff_def): Simplify string copying.
682         (weak_name2altname): Likewise.
683         (weak_uniquify): Likewise.
684         (obj_coff_section): Likewise.
685         (obj_coff_init_stab_section): Likewise.
686         * config/obj-elf.c (obj_elf_section_name): Likewise.
687         (obj_elf_init_stab_section): Likewise.
688         * config/obj-evax.c (evax_shorten_name): Likewise.
689         * config/obj-macho.c (obj_mach_o_make_or_get_sect): Likewise.
690         * config/tc-aarch64.c (create_register_alias): Likewise.
691         * config/tc-alpha.c (load_expression): Likewise.
692         (s_alpha_file): Likewise.
693         (s_alpha_section_name): Likewise.
694         (tc_gen_reloc): Likewise.
695         * config/tc-arc.c (md_assemble): Likewise.
696         * config/tc-arm.c (create_neon_reg_alias): Likewise.
697         (start_unwind_section): Likewise.
698         * config/tc-hppa.c (pa_build_unwind_subspace): Likewise.
699         (hppa_elf_mark_end_of_function): Likewise.
700         * config/tc-nios2.c (nios2_modify_arg): Likewise.
701         (nios2_negate_arg): Likewise.
702         * config/tc-rx.c (rx_section): Likewise.
703         * config/tc-sh64.c (sh64_consume_datalabel): Likewise.
704         * config/tc-tic30.c (tic30_find_parallel_insn): Likewise.
705         * config/tc-tic54x.c (tic54x_include): Likewise.
706         (tic54x_macro_info): Likewise.
707         (subsym_get_arg): Likewise.
708         (subsym_substitute): Likewise.
709         (tic54x_start_line_hook): Likewise.
710         * config/tc-xtensa.c (xtensa_literal_prefix): Likewise.
711         (xg_reverse_shift_count): Likewise.
712         * config/xtensa-relax.c (enter_opname_n): Likewise.
713         (split_string): Likewise.
714         * dwarf2dbg.c (get_filenum): Likewise.
715         (process_entries): Likewise.
716         * expr.c (operand): Likewise.
717         * itbl-ops.c (alloc_entry): Likewise.
718         * listing.c (listing_message): Likewise.
719         (listing_title): Likewise.
720         * macro.c (check_macro): Likewise.
721         * stabs.c (s_xstab): Likewise.
722         * symbols.c (symbol_relc_make_expr): Likewise.
723         * write.c (compress_debug): Likewise.
724
725 2016-05-12  Nick Clifton  <nickc@redhat.com>
726
727         PR target/20068
728         * testsuite/gas/arm/pr20068.d: Use correct regexp syntax.
729
730 2016-05-11  Nick Clifton  <nickc@redhat.com>
731
732         PR target/20068
733         * testsuite/gas/arm/pr20068.d: Adjust expected output to allow for
734         big endian ARM configurations.
735
736 2016-05-11  Andrew Bennett  <andrew.bennett@imgtec.com>
737             Matthew Fortune  <matthew.fortune@imgtec.com>
738
739         * config/tc-mips.c (options): Add OPTION_DSPR3 and
740         OPTION_NO_DSPR3.
741         (md_longopts): Likewise.
742         (md_show_usage): Add help for -mdspr3 and -mno-dspr3.
743         (mips_ases): Define availability for DSPr3.
744         (mips_ase_groups): Add ASE_DSPR3 to the DSP group.
745         (mips_convert_ase_flags): Map ASE_DSPR3 to AFL_ASE_DSPR3.
746         * doc/as.texinfo: Document -mdspr3, -mno-dspr3.  Fix -mdspr2
747         formatting.
748         * doc/c-mips.texi: Document -mdspr3, -mno-dspr3, .set dspr3 and
749         .set nodspr3.  Fix -mdspr2 formatting.
750         * testsuite/gas/mips/mips32-dspr3.d: New file.
751         * testsuite/gas/mips/mips32-dspr3.s: Likewise.
752         * testsuite/gas/mips/mips.exp: Run mips32-dspr3 test.
753
754 2016-05-11  Nick Clifton  <nickc@redhat.com>
755
756         PR target/20068
757         * config/tc-arm.c (add_to_lit_pool): Ensure that the padding added
758         to the pool uses O_constant.
759         * testsuite/gas/arm/pr20068.s: New test.
760         * testsuite/gas/arm/pr20068.d: Test driver.
761
762 2016-05-11  Nick Clifton  <nickc@redhat.com>
763
764         * testsuite/gas/arm/archv8m-cmse-base.d: Skip for non-ELF ARM targets.
765         * testsuite/gas/arm/archv8m-cmse-main-1.d: Likewise.
766         * testsuite/gas/arm/archv8m-cmse-main-2.d: Likewise.
767         * testsuite/gas/arm/archv8m-cmse-msr-base.d: Likewise.
768         * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
769         * testsuite/gas/arm/archv8m-main-dsp-1.d: Likewise.
770         * testsuite/gas/arm/archv8m-main-dsp-2.d: Likewise.
771         * testsuite/gas/arm/archv8m-main-dsp-3.d: Likewise.
772         * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
773
774 2016-05-10  Alexander Fomin  <alexander.fomin@intel.com>
775
776         * testsuite/gas/i386/i386.exp: Run RDPID tests.
777         * testsuite/gas/i386/prefix.d: Adjust.
778         * testsuite/gas/i386/rdpid.s: New test.
779         * testsuite/gas/i386/rdpid.d: Ditto.
780         * testsuite/gas/i386/rdpid-intel.d: Ditto.
781         * testsuite/gas/i386/x86-64-rdpid.s: Ditto.
782         * testsuite/gas/i386/x86-64-rdpid.d: Ditto.
783         * testsuite/gas/i386/x86-64-rdpid-intel.d: Ditto.
784
785 2016-05-10  Alexander Fomin  <alexander.fomin@intel.com>
786
787         * config/tc-i386.c (cpu_arch): Add RDPID.
788         * doc/c-i386.texi: Document RDPID.
789
790 2016-05-10  Thomas Preud'homme  <thomas.preudhomme@arm.com>
791
792         * config/tc-arm.c (arm_adjust_symtab): Use ARM_SET_SYM_BRANCH_TYPE to
793         set branch type of a symbol.
794
795 2016-05-10  Thomas Preud'homme  <thomas.preudhomme@arm.com>
796
797         * NEWS: Document ARMv8-M and ARMv8-M Security and DSP Extensions.
798         * config/tc-arm.c (arm_ext_dsp): New feature for Thumb DSP
799         instructions.
800         (arm_extensions): Add dsp extension for ARMv8-M Mainline.
801         (aeabi_set_public_attributes): Memorize the feature bits of the
802         architecture selected for Tag_CPU_arch.  Use it to set
803         Tag_DSP_extension to 1 for ARMv8-M Mainline with DSP extension.
804         (arm_convert_symbolic_attribute): Define Tag_DSP_extension.
805         * testsuite/gas/arm/arch7em-bad.d: Rename to ...
806         * testsuite/gas/arm/arch7em-bad-1.d: This.
807         * testsuite/gas/arm/arch7em-bad-2.d: New file.
808         * testsuite/gas/arm/arch7em-bad-3.d: Likewise.
809         * testsuite/gas/arm/archv8m-main-dsp-1.d: Likewise.
810         * testsuite/gas/arm/archv8m-main-dsp-2.d: Likewise.
811         * testsuite/gas/arm/archv8m-main-dsp-3.d: Likewise.
812         * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
813         * testsuite/gas/arm/archv8m-main-dsp-5.d: Likewise.
814         * testsuite/gas/arm/attr-march-armv8m.main.dsp.d: Likewise.
815
816 2016-05-10  Thomas Preud'homme  <thomas.preudhomme@arm.com>
817
818         * config/tc-arm.c (struct arm_option_extension_value_table): Make
819         allowed_archs an array with 2 entries.
820         (ARM_EXT_OPT): Adapt to only fill the first entry of allowed_archs.
821         (ARM_EXT_OPT2): New macro filling the two entries of allowed_archs.
822         (arm_extensions): Use separate entries in allowed_archs when several
823         archs are allowed to use an extension and change ARCH_ANY in
824         ARM_ARCH_NONE in allowed_archs.
825         (arm_parse_extension): Check that, for each allowed_archs entry, all
826         bits are set in the current architecture, ignoring ARM_ANY entries.
827         (s_arm_arch_extension): Likewise.
828
829 2016-05-10  Thomas Preud'homme  <thomas.preudhomme@arm.com>
830
831         * config/tc-arm.c (arm_ext_m): Add feature bit ARM_EXT2_V8M_MAIN.
832         (arm_ext_v8m_main): New feature set for bit ARM_EXT2_V8M_MAIN.
833         (arm_ext_v8m_m_only): New feature set for instructions in ARMv8-M not
834         shared with a non M profile architecture.
835         (do_rn): New function.
836         (known_t32_only_insn): Check opcode against arm_ext_v8m_m_only rather
837         than arm_ext_v8m.
838         (v7m_psrs): Add ARMv8-M security extensions new special registers.
839         (insns): Add ARMv8-M Security Extensions instructions.
840         (aeabi_set_public_attributes): Use arm_ext_v8m_m_only instead of
841         arm_ext_v8m_m to decide the profile and the Thumb ISA.
842         * testsuite/gas/arm/archv8m-cmse.s: New file.
843         * testsuite/gas/arm/archv8m-cmse-main.s: Likewise..
844         * testsuite/gas/arm/archv8m-cmse-msr.s: Likewise.
845         * testsuite/gas/arm/any-cmse.d: Likewise.
846         * testsuite/gas/arm/any-cmse-main.d: Likewise.
847         * testsuite/gas/arm/archv8m-cmse-base.d: Likewise.
848         * testsuite/gas/arm/archv8m-cmse-msr-base.d: Likewise.
849         * testsuite/gas/arm/archv8m-cmse-main-1.d: Likewise.
850         * testsuite/gas/arm/archv8m-cmse-main-2.d: Likewise.
851         * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
852
853 2016-05-09  Jose E. Marchesi  <jose.marchesi@oracle.com>
854
855         * testsuite/gas/sparc/sparc5vis4.s: Fix mnemonic of faligndatai.
856         * testsuite/gas/sparc/sparc5vis4.d: Likewise.
857
858 2016-05-04  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
859
860         * config/tc-arm.c (fpu_arch_vfp_v1): Mark with ATTRIBUTE_UNUSED.
861         (fpu_arch_vfp_v3): Likewise.
862         (fpu_arch_neon_v1): Likewise.
863         (arm_arch_full): Likewise.
864         (parse_neon_el_struct_list): Initialize fields of firsttype.
865
866 2016-05-03  Claudiu Zissulescu  <claziss@synopsys.com>
867
868         * config/tc-arc.c (syntaxclass): Add SYNTAX_NOP and SYNTAX_1OP.
869         (arc_extinsn): Handle new introduced syntax.
870         * testsuite/gas/arc/textinsn1op.d: New file.
871         * testsuite/gas/arc/textinsn1op.s: Likewise.
872         * doc/c-arc.texi: Document SYNTAX_NOP and SYNTAX_1OP.
873
874 2016-05-03  Pitchumani Sivanupandi  <pitchumani.s@atmel.com>
875
876         * testsuite/gas/lns/lns.exp: Add avr to list of targets using
877         DW_LNS_fixed_advance_pc.
878
879 2016-04-27  Alan Modra  <amodra@gmail.com>
880
881         * as.h (inline, __PTR_TO_INT, __INT_TO_PTR): Don't define.
882         (xmemdup0): New inline function.
883
884 2016-04-22  Maciej W. Rozycki  <macro@imgtec.com>
885
886         * config/tc-mips.c (code_option_type): New enum.
887         (parse_code_option): Return status indicating option type.
888         (s_mipsset): Update `parse_code_option' call site accordingly.
889         Always set register sizes from the ISA with ISA overrides.
890         (s_module): Update `parse_code_option' call site.
891         * testsuite/gas/mips/isa-override-1.d: New test.
892         * testsuite/gas/mips/micromips@isa-override-1.d: New test.
893         * testsuite/gas/mips/mips1@isa-override-1.d: New test.
894         * testsuite/gas/mips/mips2@isa-override-1.d: New test.
895         * testsuite/gas/mips/mips32@isa-override-1.d: New test.
896         * testsuite/gas/mips/mips32r2@isa-override-1.d: New test.
897         * testsuite/gas/mips/mips32r3@isa-override-1.d: New test.
898         * testsuite/gas/mips/mips32r5@isa-override-1.d: New test.
899         * testsuite/gas/mips/mips32r6@isa-override-1.d: New test.
900         * testsuite/gas/mips/mips64r2@isa-override-1.d: New test.
901         * testsuite/gas/mips/mips64r3@isa-override-1.d: New test.
902         * testsuite/gas/mips/mips64r5@isa-override-1.d: New test.
903         * testsuite/gas/mips/mips64r6@isa-override-1.d: New test.
904         * testsuite/gas/mips/r3000@isa-override-1.d: New test.
905         * testsuite/gas/mips/r3900@isa-override-1.d: New test.
906         * testsuite/gas/mips/r5900@isa-override-1.d: New test.
907         * testsuite/gas/mips/octeon@isa-override-1.d: New test.
908         * testsuite/gas/mips/octeon3@isa-override-1.d: New test.
909         * testsuite/gas/mips/isa-override-2.l: New list test.
910         * testsuite/gas/mips/mips1@isa-override-2.l: New list test.
911         * testsuite/gas/mips/mips2@isa-override-2.l: New list test.
912         * testsuite/gas/mips/mips32@isa-override-2.l: New list test.
913         * testsuite/gas/mips/mips32r2@isa-override-2.l: New list test.
914         * testsuite/gas/mips/mips32r3@isa-override-2.l: New list test.
915         * testsuite/gas/mips/mips32r5@isa-override-2.l: New list test.
916         * testsuite/gas/mips/mips32r6@isa-override-2.l: New list test.
917         * testsuite/gas/mips/r3000@isa-override-2.l: New list test.
918         * testsuite/gas/mips/r3900@isa-override-2.l: New list test.
919         * testsuite/gas/mips/octeon3@isa-override-2.l: New list test.
920         * testsuite/gas/mips/octeon3@isa-override-1.l: New stderr
921         output.
922         * testsuite/gas/mips/isa-override-1.s: New test source.
923         * testsuite/gas/mips/r5900@isa-override-1.s: New test source.
924         * testsuite/gas/mips/isa-override-2.s: New test source.
925         * testsuite/gas/mips/mips1@isa-override-2.s: New test source.
926         * testsuite/gas/mips/mips2@isa-override-2.s: New test source.
927         * testsuite/gas/mips/mips32@isa-override-2.s: New test source.
928         * testsuite/gas/mips/mips32r2@isa-override-2.s: New test source.
929         * testsuite/gas/mips/mips32r3@isa-override-2.s: New test source.
930         * testsuite/gas/mips/mips32r5@isa-override-2.s: New test source.
931         * testsuite/gas/mips/mips32r6@isa-override-2.s: New test source.
932         * testsuite/gas/mips/r3000@isa-override-2.s: New test source.
933         * testsuite/gas/mips/r3900@isa-override-2.s: New test source.
934         * testsuite/gas/mips/octeon3@isa-override-2.s: New test source.
935         * testsuite/gas/mips/mips.exp: Run the new tests.
936
937 2016-04-20  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>
938
939         * cgen.c: Likewise.
940         * config/tc-bfin.c: Likewise.
941         * config/tc-ia64.c: Likewise.
942         * config/tc-mep.c: Likewise.
943         * config/tc-metag.c: Likewise.
944         * config/tc-nios2.c: Likewise.
945         * config/tc-rl78.c: Likewise.
946
947 2016-04-20  Andrew Burgess  <andrew.burgess@embecosm.com>
948
949         * doc/c-arc.texi (ARC Options): Add nps400 to list of valus for
950         -mcpu.  Add cross reference to .cpu directive from -mcpu option.
951         (ARC Directives): Add NPS400 to .cpu directive list.
952
953 2016-04-20  Matthew Wahab  <matthew.wahab@arm.com>
954
955         * config/tc-aarch64.c (aarch64_features): Add "ras".
956         * doc/c-aarch64.texi (AArch64 Extensions): Add "ras".
957         * testsuite/gas/aarch64/armv8-ras-1.d: New.
958         * testsuite/gas/aarch64/armv8-ras-1.s: New.
959         * testsuite/gas/aarch64/illegal-ras-1.d: New.
960         * testsuite/gas/aarch64/illegal-ras-1.s: New.
961
962 2016-04-19  Andrew Burgess  <andrew.burgess@embecosm.com>
963
964         * testsuite/gas/arc/nps400-6.d: New file.
965         * testsuite/gas/arc/nps400-6.s: New file.
966
967 2016-04-19  Andrew Burgess  <andrew.burgess@embecosm.com>
968
969         * testsuite/gas/arc/nps400-4.d: New file.
970         * testsuite/gas/arc/nps400-4.s: New file.
971         * testsuite/gas/arc/nps400-5.d: New file.
972         * testsuite/gas/arc/nps400-5.s: New file.
973
974 2016-04-19  Martin Galvan  <martin.galvan@tallertechnologies.com>
975
976         * doc/as.texinfo (.cfi_remember_state, .cfi_restore_state): Improve
977         documentation.
978
979 2016-04-17  Andrew Burgess  <andrew.burgess@embecosm.com>
980
981         Revert prevous change.
982         * config/tc-arc.c (arc_option): Make .cpu directive
983         case-sensitive again.
984
985 2016-04-16  Andrew Burgess  <andrew.burgess@embecosm.com>
986
987         * config/tc-arc.c (arc_option): Make .cpu directive
988         case-insensitive.
989
990 2016-04-16  Andrew Burgess  <andrew.burgess@embecosm.com>
991
992         * config/tc-arc.c (arc_option): Allow NPS400 in .cpu directive.
993
994 2016-04-15  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>
995
996         * config/tc-mips.c (md_begin): Remove useless assignment.
997
998 2016-04-15  H.J. Lu  <hongjiu.lu@intel.com>
999
1000         * Makefile.in: Regenerated with automake 1.11.6.
1001         * aclocal.m4: Likewise.
1002         * doc/Makefile.in: Likewise.
1003
1004 2016-04-15  Alan Modra  <amodra@gmail.com>
1005
1006         * config/tc-ppc.c (toc_reloc_types): Wrap in #ifdef OBJ_ELF
1007
1008 2016-04-14  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>
1009
1010         * config/tc-nios2.c (nios2_as_options): Make file static.
1011         * config/tc-ppc.c (toc_reloc_ypes): Likewise.
1012         * config/tc-sparc.c (native_op_table): Likewise.
1013
1014 2016-04-14  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>
1015
1016         * config/tc-m32c.c (M32C_Macros): Remove.
1017         * config/tc-msp430.c (option_numbers): Likewise.
1018
1019 2016-04-14  Andrew Burgess  <andrew.burgess@embecosm.com>
1020
1021         * testsuite/gas/arc/nps400-3.d: New file.
1022         * testsuite/gas/arc/nps400-3.s: New file.
1023
1024 2016-04-14  Andrew Burgess  <andrew.burgess@embecosm.com>
1025
1026         * testsuite/gas/arc/add_s-err.s: Update target pattern.
1027         * testsuite/gas/arc/warn.s: Likewise.
1028         * testsuite/gas/elf/elf.exp: Run test for arc.
1029
1030 2016-04-14  Nick Clifton  <nickc@redhat.com>
1031
1032         PR target/19938
1033         * testsuite/gas/i386/ilp32/x86-64-unwind.d: Allow for the string
1034         sections possibly having the SHF_STRINGS flag bit set.
1035         * testsuite/gas/i386/x86-64-unwind.d: Likewise.
1036
1037 2016-04-12  Claudiu Zissulescu  <claziss@synopsys.com>
1038
1039         * config/tc-arc.c (mach_type_specified_p): Change type to
1040         bfd_boolean.
1041         (arc_option): Set private flags when parsing cpu pseudo-op.
1042         (md_parse_option): Set mach_type_specified_p to TRUE.
1043
1044 2016-04-13  Nick Clifton  <nickc@redhat.com>
1045
1046         PR target/19937
1047         * testsuite/gas/v850/pr19937.s: New test.
1048         * testsuite/gas/v850/pr19937.d: New test control file.
1049         * testsuite/gas/v850/basic.exp: Run the new test.
1050
1051 2016-04-13  Maciej W. Rozycki  <macro@imgtec.com>
1052             Andrew Bennett  <andrew.bennett@imgtec.com>
1053
1054         * config/tc-mips.c (relaxed_branch_length): Use the long
1055         sequence where the target is a weak symbol.
1056         (relaxed_micromips_32bit_branch_length): Likewise.
1057         (relaxed_micromips_16bit_branch_length): Likewise.
1058         * testsuite/gas/mips/branch-weak-1.d: New test.
1059         * testsuite/gas/mips/branch-weak-2.d: New test.
1060         * testsuite/gas/mips/branch-weak-3.d: New test.
1061         * testsuite/gas/mips/branch-weak-4.d: New test.
1062         * testsuite/gas/mips/branch-weak-5.d: New test.
1063         * testsuite/gas/mips/branch-weak.l: New stderr output.
1064         * testsuite/gas/mips/branch-weak.s: New test source.
1065         * testsuite/gas/mips/mips.exp: Run the new tests.
1066
1067 2016-04-13  Maciej W. Rozycki  <macro@imgtec.com>
1068
1069         * config/tc-mips.c (relaxed_branch_length): Use the long
1070         sequence where the distance cannot be determined.
1071         (relaxed_micromips_32bit_branch_length): Likewise.
1072         * testsuite/gas/mips/branch-extern-1.d: New test.
1073         * testsuite/gas/mips/branch-extern-2.d: New test.
1074         * testsuite/gas/mips/branch-extern-3.d: New test.
1075         * testsuite/gas/mips/branch-extern-4.d: New test.
1076         * testsuite/gas/mips/branch-extern.l: New stderr output.
1077         * testsuite/gas/mips/branch-extern.s: New test source.
1078         * testsuite/gas/mips/branch-section-1.d: New test.
1079         * testsuite/gas/mips/branch-section-2.d: New test.
1080         * testsuite/gas/mips/branch-section-3.d: New test.
1081         * testsuite/gas/mips/branch-section-4.d: New test.
1082         * testsuite/gas/mips/branch-section.l: New stderr output.
1083         * testsuite/gas/mips/branch-section.s: New test source.
1084         * testsuite/gas/mips/mips.exp: Run the new tests.
1085
1086 2016-04-12  Claudiu Zissulescu  <claziss@synopsys.com>
1087
1088         * testsuite/gas/arc/textauxregister.d: New file.
1089         * testsuite/gas/arc/textauxregister.s: Likewise.
1090         * testsuite/gas/arc/textcondcode.d: Likewise.
1091         * testsuite/gas/arc/textcondcode.s: Likewise.
1092         * testsuite/gas/arc/textcoreregister.d: Likewise.
1093         * testsuite/gas/arc/textcoreregister.s: Likewise.
1094         * testsuite/gas/arc/textpseudoop.d: Likewise.
1095         * testsuite/gas/arc/textpseudoop.s: Likewise.
1096         * testsuite/gas/arc/ld2.d: Update test.
1097         * testsuite/gas/arc/st.d: Likewise.
1098         * testsuite/gas/arc/taux.d: Likewise.
1099         * doc/c-arc.texi (ARC Directives): Add .extCondCode,
1100         .extCoreRegister and .extAuxRegister documentation.
1101         * config/tc-arc.c (arc_extcorereg): New function.
1102         (md_pseudo_table): Add .extCondCode, .extCoreRegister and
1103         .extAuxRegister pseudo-ops.
1104         (extRegister_t): New type.
1105         (ext_condcode, arc_aux_hash): New global variable.
1106         (find_opcode_match): Check for extensions.
1107         (preprocess_operands): Likewise.
1108         (md_begin): Add aux registers in a hash.
1109         (assemble_insn): Update use arc_flags member.
1110         (tokenize_extregister): New function.
1111         (create_extcore_section): Likewise.
1112         * config/tc-arc.h (arc_flags): Delete code, add flgp.
1113
1114 2016-04-12  Claudiu Zissulescu  <claziss@synopsys.com>
1115
1116         * testsuite/gas/arc/noargs_a7.d: New file.
1117         * testsuite/gas/arc/noargs_a7.s: Likewise.
1118         * testsuite/gas/arc/noargs_hs.d: Likewise.
1119         * testsuite/gas/arc/noargs_hs.s: Likewise.
1120
1121 2016-04-12  Claudiu Zissulescu  <claziss@synopsys.com>
1122
1123         * testsuite/gas/arc/textinsn-errors.d: New File.
1124         * testsuite/gas/arc/textinsn-errors.err: Likewise.
1125         * testsuite/gas/arc/textinsn-errors.s: Likewise.
1126         * testsuite/gas/arc/textinsn2op.d: Likewise.
1127         * testsuite/gas/arc/textinsn2op.s: Likewise.
1128         * testsuite/gas/arc/textinsn2op01.d: Likewise.
1129         * testsuite/gas/arc/textinsn2op01.s: Likewise.
1130         * testsuite/gas/arc/textinsn3op.d: Likewise.
1131         * testsuite/gas/arc/textinsn3op.s: Likewise.
1132         * doc/c-arc.texi (ARC Directives): Add .extInstruction
1133         documentation.
1134         * config/tc-arc.c (arcext_section): New variable.
1135         (arc_extinsn): New function.
1136         (md_pseudo_table): Add .extInstruction pseudo op.
1137         (attributes_t): New type.
1138         (suffixclass, syntaxclass, syntaxclassmod): New constant
1139         structures.
1140         (find_opcode_match): Remove arc_num_opcodes.
1141         (md_begin): Likewise.
1142         (tokenize_extinsn): New function.
1143         (arc_set_ext_seg): Likewise.
1144         (create_extinst_section): Likewise.
1145
1146 2016-04-12  Claudiu Zissulescu  <claziss@synopsys.com>
1147
1148         * config/tc-arc.c (preprocess_operands): Mark AUX symbol.
1149         (arc_adjust_symtab): New function.
1150         * config/tc-arc.h (ARC_FLAG_AUX): Define.
1151         (obj_adjust_symtab): Likewise.
1152         * testsuite/gas/arc/taux.d: New file.
1153         * testsuite/gas/arc/taux.s: Likewise.
1154
1155 2016-04-09  Maciej W. Rozycki  <macro@imgtec.com>
1156
1157         * config/tc-mips.c (s_option): Sanitize `.option picX'
1158         pseudo-op.
1159         * testsuite/gas/mips/option-pic-1.d: New test.
1160         * testsuite/gas/mips/option-pic-2.l: New list test.
1161         * testsuite/gas/mips/option-pic-1.s: New test source.
1162         * testsuite/gas/mips/option-pic-2.s: New test source.
1163         * testsuite/gas/mips/mips.exp: Run the new tests.
1164
1165 2016-04-09  Maciej W. Rozycki  <macro@imgtec.com>
1166
1167         * config/tc-mips.c (s_option): Reject `.option picX' if VxWorks
1168         PIC.
1169         * testsuite/gas/mips/option-pic-vxworks-1.l: New list test.
1170         * testsuite/gas/mips/option-pic-vxworks-2.l: New list test.
1171         * testsuite/gas/mips/option-pic-vxworks-1.s: New test source.
1172         * testsuite/gas/mips/option-pic-vxworks-2.s: New test source.
1173         * testsuite/gas/mips/mips.exp: Run the new tests.
1174
1175 2016-04-09  Maciej W. Rozycki  <macro@imgtec.com>
1176
1177         * config/tc-mips.c (can_swap_branch_p): Correct call formatting.
1178
1179 2016-04-09  Maciej W. Rozycki  <macro@imgtec.com>
1180
1181         * messages.c (as_bad): Fix a typo in description.
1182
1183 2016-04-09  Maciej W. Rozycki  <macro@imgtec.com>
1184
1185         * config/tc-mips.c (mips_check_options): Unify messages.
1186
1187 2016-04-09  Maciej W. Rozycki  <macro@imgtec.com>
1188
1189         * config/tc-mips.c (mips_check_options): Use `opts->isa'
1190         consistently.
1191
1192 2016-04-08  Nick Clifton  <nickc@redhat.com>
1193
1194         PR target/19910
1195         * testsuite/gas/sparc/pr19910-1.d: Adjust regexps to work with
1196         COFF and AOUT sparc targets.
1197
1198 2016-04-07  Andrew Burgess  <andrew.burgess@embecosm.com>
1199
1200         * config/tc-arc.h (MAX_FLAG_NAME_LENGTH): Increase to 7.
1201         * testsuite/gas/arc/nps400-2.d: New file.
1202         * testsuite/gas/arc/nps400-2.s: New file.
1203
1204 2016-04-07  Andrew Burgess  <andrew.burgess@embecosm.com>
1205
1206         * config/tc-arc.c (struct arc_opcode_hash_entry_iterator): New
1207         structure.
1208         (arc_opcode_hash_entry_iterator_init): New function.
1209         (arc_opcode_hash_entry_iterator_next): New function.
1210         (find_opcode_match): Iterate over all arc_opcode entries
1211         referenced by the arc_opcode_hash_entry passed in as a parameter.
1212
1213 2016-04-07  Andrew Burgess  <andrew.burgess@embecosm.com>
1214
1215         * config/tc-arc.c (arc_find_opcode): Now returns
1216         arc_opcode_hash_entry pointer.
1217         (find_opcode_match): Update argument type, extract arc_opcode from
1218         incoming arc_opcode_hash_entry.
1219         (find_special_case_pseudo): Update return type.
1220         (find_special_case_flag): Update return type.
1221         (find_special_case): Update return type.
1222         (assemble_tokens): Lookup arc_opcode_hash_entry based on
1223         instruction mnemonic, then use find_opcode_match to identify
1224         specific arc_opcode.
1225
1226 2016-04-07  Andrew Burgess  <andrew.burgess@embecosm.com>
1227
1228         * config/tc-arc.c (struct arc_opcode_hash_entry): New structure.
1229         (arc_find_opcode): New function.
1230         (find_special_case_pseudo): Use arc_find_opcode.
1231         (find_special_case_flag): Likewise.
1232         (assemble_tokens): Likewise.
1233         (md_begin): Build hash using struct arc_opcode_hash_entry.
1234
1235 2016-04-07  Claudiu Zissulescu  <claziss@synopsys.com>
1236
1237         * config/tc-arc.c (arc_option): Prepare string for automatic
1238         translation.
1239         (declare_register): Likewise.
1240
1241 2016-04-06  James Greenhalgh  <james.greenhalgh@arm.com>
1242
1243         * doc/c-aarch64.texi (Architecture Extensions): Add entry for LSE.
1244         Correct entry for RDMA.  Alpha sort entries.
1245
1246 2016-04-07  Andrew Burgess  <andrew.burgess@embecosm.com>
1247
1248         * config/tc-arc.c (tokenize_flags): Allow greater range of
1249         characters into flag names.
1250
1251 2016-04-07  Andrew Burgess  <andrew.burgess@embecosm.com>
1252
1253         * config/tc-arc.c (find_opcode_match): Handle O_symbol case, add
1254         new de_fault label.
1255         (preprocess_operands): Delete.
1256         (assemble_tokens): Remove call to preprocess_operands.
1257
1258 2016-04-07  Nick Clifton  <nickc@redhat.com>
1259
1260         PR gas/19910
1261         * config/tc-sparc.c (sparc_ip): Report an error if the expression
1262         inside a %-macro could not be fully parsed.
1263         * expr.c (integer_constant): Accept and ignore U suffixes to
1264         integers.
1265         (operand): When a missing closing parenthesis is encountered,
1266         report the character that was found instead.
1267         * testsuite/gas/mips/tls-ill.l: Update expected error message.
1268         * testsuite/gas/sparc/pr19910-1.d: New test driver.
1269         * testsuite/gas/sparc/pr19910-1.s: New test.
1270         * testsuite/gas/sparc/pr19910-2.l: Expected error output.
1271         * testsuite/gas/sparc/pr19910-2.s: New test.
1272         * testsuite/gas/sparc/sparc.exp: Run the new tests.
1273
1274 2016-04-06  Nick Clifton  <nickc@redhat.com>
1275
1276         * config/tc-msp430.c (msp430_operands): Check for a NOP preceding
1277         an EINT instruction.  Warn/fix as necessary.
1278         * testsuite/gas/msp430/bad.s: Add test of EINT without preceding NOP.
1279         * testsuite/gas/msp430/bad.l: Update expected messages.
1280
1281 2016-04-05  Andrew Burgess  <andrew.burgess@embecosm.com>
1282
1283         * testsuite/gas/arc/nps400-1.d: Update expected results.
1284         * testsuite/gas/arc/nps400-1.s: Additional test cases.
1285
1286 2016-04-05  Claudiu Zissulescu  <claziss@synopsys.com>
1287
1288         * config/tc-arc.c (is_code_density_p): Compare directly the
1289         subclass field.
1290         (is_spfp_p, is_dpfp_p, is_spfp_p): Define.
1291         (check_cpu_feature): New function.
1292         (find_opcode_match): Use check_cpu_feature function.
1293         (preprocess_operands): Likewise.
1294         (md_parse_option): Use mfpuda, mdpfp, mspfp options.
1295         * testsuite/gas/arc/tdpfp.d: New file.
1296         * testsuite/gas/arc/tfpuda.d: Likewise.
1297         * testsuite/gas/arc/tfpx.s: Likewise.
1298
1299 2016-04-05  Jiong Wang  <jiong.wang@arm.com>
1300
1301         * config/tc-arm.c (do_neon_mac_maybe_scalar): Allow F16.
1302         * testsuite/gas/arm/armv8-2-fp16-simd.s: New tests.
1303         * testsuite/gas/arm/armv8-2-fp16-simd.d: New expected results.
1304         * testsuite/gas/arm/armv8-2-fp16-simd-thum.d: Likewise for Thumb.
1305         * testsuite/gas/arm/armv8-2-fp16-simd-warning.l: New warning results.
1306         * testsuite/gas/arm/simd_by_scalar_low_regbank.s: New test source.
1307         * testsuite/gas/arm/simd_by_scalar_low_regbank.d: New testcase.
1308         * testsuite/gas/arm/simd_by_scalar_low_regbank_thumb.d: Likewise
1309         for Thumb.
1310         * testsuite/gas/arm/simd_by_scalar_low_regbank.l: New warning results.
1311
1312 2016-04-05  Claudiu Zissulescu  <claziss@synopsys.com>
1313
1314         * config/tc-arc.c (assemble_insn): Prohibit pc-rel relocations for
1315         JUMP instructions type.
1316         * testsuite/gas/arc/relocs-errors.d: New file.
1317         * testsuite/gas/arc/relocs-errors.err: Likewise.
1318         * testsuite/gas/arc/relocs-errors.s: Likewise.
1319
1320 2016-04-04  H.J. Lu  <hongjiu.lu@intel.com>
1321
1322         PR gas/19909
1323         * config/tc-i386.c (check_VecOperands): Try vec_disp8 encoding
1324         only if i.disp_encoding != disp_encoding_32bit.
1325         * gas/testsuite/gas/i386/disp32.s: Add tests for vmovdqu64.d32.
1326         * gas/testsuite/gas/i386/x86-64-disp32.s: Likewise.
1327         * gas/testsuite/gas/i386/disp32.d: Updated.
1328         * gas/testsuite/gas/i386/x86-64-disp32.d: Likewise.
1329
1330 2016-04-04  H.J. Lu  <hongjiu.lu@intel.com>
1331
1332         PR gas/19498
1333         * testsuite/gas/i386/i386.exp: Run pr19498.
1334         * testsuite/gas/i386/pr19498.d: New file.
1335         * testsuite/gas/i386/pr19498.s: Likewise.
1336
1337 2016-04-04  Andrew Burgess  <andrew.burgess@embecosm.com>
1338
1339         * config/tc-arc.h: Include 'opcode/arc.h'.
1340         (MAX_INSN_ARGS): Delete.
1341         (MAX_INSN_FLGS): Delete.
1342
1343 2016-04-04  Alan Modra  <amodra@gmail.com>
1344
1345         PR 19498
1346         * symbols.c (resolve_symbol_value): Clear sy_resolving on exit
1347         from function on all paths that set sy_resolving.
1348
1349 2016-04-03  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>
1350
1351         * app.c (app_push): use XNEW macro.
1352         * as.c: Likewise.
1353         * config/obj-elf.c (obj_elf_change_section): Likewise.
1354         (elf_copy_symbol_attributes): Likewise.
1355         (obj_elf_size): Likewise.
1356         (build_group_lists): Likewise.
1357         * config/tc-aarch64.c (add_operand_error_record): Likewise.
1358         (md_assemble): Likewise.
1359         (tc_gen_reloc): Likewise.
1360         (get_upper_str): Likewise.
1361         (aarch64_parse_features): Likewise.
1362         * config/tc-arm.c (insert_reg_alias): Likewise.
1363         (insert_neon_reg_alias): Likewise.
1364         (find_or_make_literal_pool): Likewise.
1365         (s_arm_elf_cons): Likewise.
1366         (add_unwind_opcode): Likewise.
1367         (arm_parse_extension): Likewise.
1368         * config/tc-avr.c (create_record_for_frag): Likewise.
1369         * config/tc-crx.c: Likewise.
1370         * config/tc-d30v.c: Likewise.
1371         * config/tc-dlx.c (s_proc): Likewise.
1372         * config/tc-ft32.c: Likewise.
1373         * config/tc-h8300.c: Likewise.
1374         * config/tc-hppa.c (pa_proc): Likewise.
1375         (create_new_space): Likewise.
1376         (create_new_subspace): Likewise.
1377         * config/tc-i860.c: Likewise.
1378         * config/tc-i960.c: Likewise.
1379         * config/tc-ia64.c: Likewise.
1380         * config/tc-iq2000.c (iq2000_add_macro): Likewise.
1381         (iq2000_record_hi16): Likewise.
1382         * config/tc-m32c.c (m32c_indirect_operand): Likewise.
1383         * config/tc-m32r.c (debug_sym): Likewise.
1384         (m32r_record_hi16): Likewise.
1385         * config/tc-m68k.c (m68k_ip): Likewise.
1386         (md_begin): Likewise.
1387         * config/tc-mcore.c: Likewise.
1388         * config/tc-microblaze.c (check_got): Likewise.
1389         * config/tc-mips.c (append_insn): Likewise.
1390         (s_mipsset): Likewise.
1391         (mips_record_label): Likewise.
1392         (s_mips_end): Likewise.
1393         * config/tc-mmix.c (mmix_frob_file): Likewise.
1394         * config/tc-mn10200.c: Likewise.
1395         * config/tc-mn10300.c: Likewise.
1396         * config/tc-moxie.c: Likewise.
1397         * config/tc-msp430.c: Likewise.
1398         * config/tc-nds32.c (nds32_elf_save_pseudo_pattern): Likewise.
1399         * config/tc-ns32k.c: Likewise.
1400         * config/tc-or1k.c: Likewise.
1401         * config/tc-pdp11.c: Likewise.
1402         * config/tc-pj.c (fake_opcode): Likewise.
1403         * config/tc-ppc.c (ppc_apuinfo_section_add): Likewise.
1404         (ppc_macro): Likewise.
1405         (ppc_dwsect): Likewise.
1406         (ppc_machine): Likewise.
1407         * config/tc-rl78.c (rl78_frag_init): Likewise.
1408         * config/tc-rx.c (rx_frag_init): Likewise.
1409         * config/tc-s390.c (s390_lit_suffix): Likewise.
1410         (s390_machine): Likewise.
1411         (s390_machinemode): Likewise.
1412         * config/tc-score.c (s3_insert_reg): Likewise.
1413         (s3_gen_reloc): Likewise.
1414         * config/tc-score7.c (s7_insert_reg): Likewise.
1415         (s7_gen_reloc): Likewise.
1416         * config/tc-tic30.c (tic30_operand): Likewise.
1417         * config/tc-tic4x.c (tic4x_inst_make): Likewise.
1418         * config/tc-tic54x.c (stag_add_field): Likewise.
1419         (tic54x_struct): Likewise.
1420         (tic54x_space): Likewise.
1421         (tic54x_field): Likewise.
1422         (tic54x_mlib): Likewise.
1423         (subsym_substitute): Likewise.
1424         * config/tc-tic6x.c (tic6x_frob_label): Likewise.
1425         * config/tc-vax.c: Likewise.
1426         * config/tc-xc16x.c: Likewise.
1427         * config/tc-xtensa.c (xtensa_add_insn_label): Likewise.
1428         (directive_push): Likewise.
1429         (xtensa_begin_directive): Likewise.
1430         (tokenize_arguments): Likewise.
1431         (xtensa_add_literal_sym): Likewise.
1432         (new_resource_table): Likewise.
1433         (resize_resource_table): Likewise.
1434         (emit_single_op): Likewise.
1435         (xtensa_create_trampoline_frag): Likewise.
1436         (xtensa_maybe_create_literal_pool_frag): Likewise.
1437         (xtensa_add_config_info): Likewise.
1438         (xtensa_realloc_fixup_cache): Likewise.
1439         (add_subseg_info): Likewise.
1440         (cache_literal_section): Likewise.
1441         (add_xt_block_frags): Likewise.
1442         (add_xt_prop_frags): Likewise.
1443         (init_op_placement_info_table): Likewise.
1444         (build_section_rename): Likewise.
1445         * config/tc-z80.c: Likewise.
1446         * config/tc-z8k.c: Likewise.
1447         * depend.c (register_dependency): Likewise.
1448         * dwarf2dbg.c (get_line_subseg): Likewise.
1449         (dwarf2_gen_line_info_1): Likewise.
1450         (get_filenum): Likewise.
1451         * ecoff.c (allocate_scope): Likewise.
1452         (allocate_vlinks): Likewise.
1453         (allocate_shash): Likewise.
1454         (allocate_thash): Likewise.
1455         (allocate_tag): Likewise.
1456         (allocate_forward): Likewise.
1457         (allocate_thead): Likewise.
1458         (allocate_lineno_list): Likewise.
1459         * expr.c (make_expr_symbol): Likewise.
1460         * hash.c (hash_new_sized): Likewise.
1461         * input-file.c (input_file_push): Likewise.
1462         * listing.c (file_info): Likewise.
1463         (listing_newline): Likewise.
1464         * macro.c (new_formal): Likewise.
1465         (define_macro): Likewise.
1466         * remap.c (add_debug_prefix_map): Likewise.
1467         * symbols.c (symbol_find_noref): Likewise.
1468         (define_dollar_label): Likewise.
1469         (fb_label_instance_inc): Likewise.
1470         (symbol_relc_make_value): Likewise.
1471
1472 2016-04-03  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>
1473
1474         * config/obj-elf.c (obj_elf_vendor_attribute): Use xstrdup.
1475         * config/tc-ppc.c (ppc_frob_file_before_adjust): Likewise.
1476         (ppc_znop): Likewise.
1477         (ppc_pe_section): Likewise.
1478         (ppc_frob_symbol): Likewise.
1479         * config/tc-tic30.c (tic30_operand): Likewise.
1480         * config/tc-tic4x.c (tic4x_sect): Likewise.
1481         (tic4x_usect): Likewise.
1482
1483 2016-04-03  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>
1484
1485         * config/tc-alpha.c: Const qualify FLT_CHARS.
1486         * config/atof-ieee.c: Remove declarations of FLT_CHARS and EXP_CHARS.
1487         * config/tc-cris.h: Likewise.
1488         * expr.c: Likewise.
1489         * config/tc-mmix.c (md_atof): Adjust comment.
1490         * config/tc-mmix.h: Stop defining FLT_CHARS and EXP_CHARS as macros.
1491         * tc.h: Declare FLT_CHARS and EXP_CHARS.
1492
1493 2016-04-03  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>
1494
1495         * config/tc-score.c (s3_gen_reloc): Add const qualifiers.
1496         * config/tc-score7.c (s7_gen_reloc): Likewise.
1497
1498 2016-04-03  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>
1499
1500         * config/tc-arm.c (do_t_branch): Change the type of reloc to
1501         bfd_reloc_code_real_type.
1502
1503 2016-04-03  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>
1504
1505         * config/bfin-parse.y (current_inputline): Remove definition.
1506         * config/tc-bfin.c (md_assemble): Simplify use of current_inputline.
1507
1508 2016-04-03  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>
1509
1510         * config/tc-avr.c (md_parse_option): Use strcasecmp () to compare
1511         strings.
1512
1513 2016-04-02  Alan Modra  <amodra@gmail.com>
1514
1515         PR 19896
1516         * read.c (assign_symbol): Consume rest of line after an error
1517         rather than continuing to process the line.
1518
1519 2016-04-01  Andrew Burgess  <andrew.burgess@embecosm.com>
1520
1521         * config/tc-arc.h (MAX_FLAG_NAME_LENGHT): Rename to...
1522         (MAX_FLAG_NAME_LENGTH): ...this.
1523         (struct arc_flags): Update to use MAX_FLAG_NAME_LENGTH.
1524         * config/tc-arc.c (tokenize_flags): Likewise.
1525
1526 2016-04-01  Alan Modra  <amodra@gmail.com>
1527
1528         * cgen.c (weak_operand_overflow_check): Return const char*.
1529         * messages.c (as_internal_value_out_of_range): Formatting.
1530         (as_warn_value_out_of_range): Consify prefix param.
1531         (as_bad_value_out_of_range): Likewise.
1532         * read.c (s_errwarn): Constify msg..
1533         (s_float_space, float_cons): ..and err.
1534         * as.h (as_warn_value_out_of_range, as_bad_value_out_of_range,
1535         ieee_md_atof, vax_md_atof): Update prototypes.
1536         * tc.h (md_atof): Update prototype.
1537         * config/atof-ieee.c (ieee_md_atof): Return const char*.
1538         * config/atof-vax.c (vax_md_atof): Likewise.
1539         * config/obj-elf.c (obj_elf_parse_section_letters): Constify bad_msg.
1540         * config/tc-aarch64.c (md_atof): Return const char*.
1541         * config/tc-alpha.c (s_alpha_section_name): Likewise.
1542         (s_alpha_comm): Constify sec_name.
1543         (section_name): Constify.
1544         (s_alpha_section): Consify name..
1545         (alpha_elf_section_letter): ..and ptr_msg param..
1546         (md_atof): ..and return.
1547         * config/tc-alpha.h (alpha_elf_section_letter): Update prototype.
1548         * config/tc-arc.c (md_atof): Return const char*.
1549         * config/tc-arm.c (md_atof): Likewise.
1550         * config/tc-avr.c (md_atof): Likewise.
1551         * config/tc-bfin.c (md_atof): Likewise.
1552         * config/tc-cr16.c (md_atof): Likewise.
1553         * config/tc-cris.c (md_atof): Likewise.
1554         * config/tc-crx.c (md_atof): Likewise.
1555         * config/tc-d10v.c (md_atof): Likewise.
1556         * config/tc-d30v.c (md_atof): Likewise.
1557         * config/tc-dlx.c (md_atof): Likewise.
1558         * config/tc-epiphany.c (md_atof): Likewise.
1559         * config/tc-fr30.c (md_atof): Likewise.
1560         * config/tc-frv.c (md_atof): Likewise.
1561         * config/tc-ft32.c (md_atof): Likewise.
1562         * config/tc-h8300.c (md_atof): Likewise.
1563         * config/tc-hppa.c (struct default_subspace_dict): Constify name.
1564         (struct default_space_dict): Likewise.
1565         (create_new_space): Constify name param.
1566         (create_new_subspace): Likewise.
1567         (is_defined_space, is_defined_subspace): Likewise.
1568         (pa_parse_space_stmt): Constify space_name param.
1569         (md_atof): Return const char*.
1570         (pa_spaces_begin): Constify name.
1571         * config/tc-i370.c (md_atof): Return const char*.
1572         * config/tc-i386.c (md_atof): Likewise.
1573         (x86_64_section_letter): Constify ptr_msg param.
1574         * config/tc-i386.h (x86_64_section_letter): Update prototype.
1575         * config/tc-i860.c (struct i860_it): Constify error.
1576         (md_atof): Return const char*.
1577         * config/tc-i960.c (md_atof): Likewise.
1578         * config/tc-ia64.c (md_atof): Likewise.
1579         (ia64_elf_section_letter): Constify ptr_msg param.
1580         * config/tc-ia64.h (ia64_elf_section_letter): Update prototype.
1581         * config/tc-ip2k.c (md_atof): Return const char*.
1582         * config/tc-iq2000.c (md_atof): Likewise.
1583         * config/tc-lm32.c (md_atof): Likewise.
1584         * config/tc-m32c.c (md_atof): Likewise.
1585         * config/tc-m32r.c (md_atof): Likewise.
1586         * config/tc-m68hc11.c (md_atof): Likewise.
1587         * config/tc-m68k.c (md_atof): Likewise.
1588         * config/tc-mcore.c (md_atof): Likewise.
1589         * config/tc-mep.c (md_atof): Likewise.
1590         (mep_elf_section_letter): Constify ptr_msg param.
1591         * config/tc-mep.h (mep_elf_section_letter): Update prototype.
1592         * config/tc-metag.c (md_atof): Return const char*.
1593         * config/tc-microblaze.c (md_atof): Likewise.
1594         * config/tc-microblaze.h (md_atof): Delete prototype.
1595         * config/tc-mips.c (mips_parse_argument_token): Constify err.
1596         (md_atof): Return const char*.
1597         * config/tc-mmix.c (md_atof): Likewise.
1598         * config/tc-mn10200.c (md_atof): Likewise.
1599         * config/tc-mn10300.c (md_atof): Likewise.
1600         * config/tc-moxie.c (md_atof): Likewise.
1601         * config/tc-msp430.c (md_atof): Likewise.
1602         * config/tc-mt.c (md_atof): Likewise.
1603         * config/tc-nds32.c (md_atof): Likewise.
1604         * config/tc-nios2.c (md_atof): Likewise.
1605         (nios2_elf_section_letter): Constify ptr_msg param.
1606         * config/tc-nios2.h (nios2_elf_section_letter): Update prototype.
1607         * config/tc-ns32k.c (md_atof): Return const char*.
1608         * config/tc-or1k.c (md_atof): Likewise.
1609         * config/tc-pdp11.c (struct pdp11_code): Constify error.
1610         (md_atof): Return const char*.
1611         * config/tc-pj.c (md_atof): Likewise.
1612         * config/tc-ppc.c (md_atof): Likewise.
1613         * config/tc-rl78.c (md_atof): Likewise.
1614         * config/tc-rx.c (md_atof): Likewise.
1615         * config/tc-s390.c (md_atof): Likewise.
1616         * config/tc-score.c (s3_atof, md_atof): Likewise.
1617         * config/tc-sh.c (md_atof): Likewise.
1618         * config/tc-sparc.c (struct sparc_it): Constify error.
1619         (md_atof): Return const char*.
1620         * config/tc-spu.c (md_atof): Likewise.
1621         * config/tc-tic30.c (md_atof): Likewise.
1622         * config/tc-tic4x.c (md_atof): Likewise.
1623         * config/tc-tic54x.c (md_atof): Likewise.
1624         * config/tc-tic6x.c (md_atof): Likewise.
1625         * config/tc-tilegx.c (md_atof): Likewise.
1626         * config/tc-tilepro.c (md_atof): Likewise.
1627         * config/tc-v850.c (parse_register_list, md_atof): Likewise.
1628         * config/tc-vax.c (md_atof): Likewise.
1629         * config/tc-visium.c (md_atof): Likewise.
1630         * config/tc-xc16x.c (md_atof): Likewise.
1631         * config/tc-xgate.c (md_atof): Likewise.
1632         * config/tc-xstormy16.c (md_atof): Likewise.
1633         * config/tc-xtensa.c (md_atof): Likewise.
1634         * config/tc-z80.c (md_atof): Likewise.
1635         * config/tc-z8k.c (md_atof): Likewise.
1636
1637 2016-03-31  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>
1638
1639         * config/tc-xtensa.c (struct rename_section_struct): Make old_name
1640         const.
1641         (xtensa_section_rename): Make argument type const char *.
1642         * config/tc-xtensa.h (xtensa_section_rename): Adjust.
1643
1644 2016-03-31  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>
1645
1646         * config/tc-i960.c (parse_ldconst): Cast to char * when assigning to
1647         args[0].
1648
1649 2016-03-31  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>
1650
1651         * config/tc-m32c.c (m32c_md_end): cast the argument to md_assemble to
1652         char *.
1653         (m32c_indirect_operand): Likewise.
1654         * config/tc-nds32.c (do_pseudo_b): Likewise.
1655         (do_pseudo_bal): Likewise.
1656         (do_pseudo_ls_bhw): Likewise.
1657
1658 2016-03-31  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>
1659
1660         * as.c (parse_args): Cast literal to char * when assigning to optarg.
1661
1662 2016-03-31  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>
1663
1664         * config/tc-ia64.c (md_assemble): Add temporary variable to pass to
1665         get_symbol_name ().
1666         * config/tc-sparc.c (s_register): Cast a literal to char * in
1667         assignment.
1668
1669 2016-03-31  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>
1670
1671         * config/tc-i960.c (parse_expr): Cast to char * when assigning to
1672         input_line_pointer.
1673         * config/tc-m32r.c (expand_debug_syms): Likewise.
1674         * config/tc-msp430.c (msp430_dstoperand): Likewise.
1675         * config/tc-z80.c (md_begin): Likewise.
1676         * stabs.c (stabs_generate_asm_func): Likewise.
1677
1678 2016-03-31  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>
1679
1680         * cgen.c: Modernize the way functions declare arguments.
1681         * config/tc-bfin.c: Likewise.
1682         * config/tc-pdp11.c: Likewise.
1683         * literal.c: Likewise.
1684         * read.c: Likewise.
1685         * stabs.c: Likewise.
1686
1687 2016-03-31  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>
1688
1689         * config/tc-aarch64.c (aarch64_handle_align): Make the type of some
1690         variables unsigned char[].
1691         * config/tc-alpha.c (alpha_handle_align): Likewise.
1692         * config/tc-arm.c (arm_handle_align): Likewise.
1693         * config/tc-z80.c: Likewise.
1694
1695 2016-03-30  Nick Clifton  <nickc@redhat.com>
1696
1697         PR target/19880
1698         * config/tc-arm.c (do_t_push_pop): Cast bitmask to unsigned before
1699         shifting.
1700
1701 2016-03-30  Claudiu Zissulescu  <claziss@synopsys.com>
1702
1703         * testsuite/gas/all/gas.exp: Don't xfail on ARC.
1704         * testsuite/gas/elf/elf.exp: Likewise.
1705         * testsuite/gas/all/redef3.d: Allow execution for ARC.
1706
1707 2016-03-30  Claudiu Zissulescu  <claziss@synopsys.com>
1708
1709         * testsuite/gas/arc/warn.exp: Fix matching pattern.
1710
1711 2016-03-29  Claudiu Zissulescu  <claziss@synopsys.com>
1712
1713         * testsuite/gas/arc/ext2op.d: New file.
1714         * testsuite/gas/arc/ext2op.s: Likewise.
1715         * testsuite/gas/arc/ext3op.d: Likewise.
1716         * testsuite/gas/arc/ext3op.s: Likewise.
1717
1718 2016-03-29  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>
1719
1720         * config/tc-aarch64.c (struct aarch64_long_option_table): Ad const
1721         qualifier.
1722         * config/tc-alpha.c (md_parse_option): Likewise.
1723         * config/tc-arc.c (md_parse_option): Likewise.
1724         * config/tc-arm.c (struct arm_long_option_table): Likewise.
1725         (md_parse_option): Likewise.
1726         * config/tc-avr.c (md_parse_option): Likewise.
1727         * config/tc-bfin.c (md_parse_option): Likewise.
1728         * config/tc-cr16.c (md_parse_option): Likewise.
1729         * config/tc-cris.c (s_cris_arch): Likewise.
1730         (md_parse_option): Likewise.
1731         * config/tc-crx.c (md_parse_option): Likewise.
1732         * config/tc-d10v.c (md_parse_option): Likewise.
1733         * config/tc-d30v.c (md_parse_option): Likewise.
1734         * config/tc-dlx.c (md_parse_option): Likewise.
1735         * config/tc-epiphany.c (md_parse_option): Likewise.
1736         * config/tc-fr30.c (md_parse_option): Likewise.
1737         * config/tc-frv.c (md_parse_option): Likewise.
1738         * config/tc-ft32.c (md_parse_option): Likewise.
1739         * config/tc-h8300.c (md_parse_option): Likewise.
1740         * config/tc-hppa.c (md_parse_option): Likewise.
1741         * config/tc-i370.c (md_parse_option): Likewise.
1742         * config/tc-i386.c (md_parse_option): Likewise.
1743         * config/tc-i860.c (md_parse_option): Likewise.
1744         * config/tc-i960.c (md_parse_option): Likewise.
1745         * config/tc-ia64.c (md_parse_option): Likewise.
1746         * config/tc-ip2k.c (md_parse_option): Likewise.
1747         * config/tc-iq2000.c (md_parse_option): Likewise.
1748         * config/tc-lm32.c (md_parse_option): Likewise.
1749         * config/tc-m32c.c (md_parse_option): Likewise.
1750         * config/tc-m32r.c (md_parse_option): Likewise.
1751         * config/tc-m68hc11.c (md_parse_option): Likewise.
1752         * config/tc-m68k.c (md_parse_option): Likewise.
1753         * config/tc-mcore.c (md_parse_option): Likewise.
1754         * config/tc-mep.c (md_parse_option): Likewise.
1755         * config/tc-metag.c (struct metag_long_option): Likewise.
1756         (md_parse_option): Likewise.
1757         * config/tc-microblaze.c (md_parse_option): Likewise.
1758         * config/tc-microblaze.h (md_parse_option): Remove prototype.
1759         * config/tc-mips.c (md_parse_option): Adjust.
1760         * config/tc-mmix.c (md_parse_option): Likewise.
1761         * config/tc-mn10200.c (md_parse_option): Likewise.
1762         * config/tc-mn10300.c (md_parse_option): Likewise.
1763         * config/tc-moxie.c (md_parse_option): Likewise.
1764         * config/tc-msp430.c (md_parse_option): Likewise.
1765         * config/tc-mt.c (md_parse_option): Likewise.
1766                 * config/tc-nds32.c (md_parse_option): Likewise.
1767                 * config/tc-nds32.h (nds32_parse_option): Likewise.
1768         * config/tc-nios2.c (md_parse_option): Likewise.
1769         * config/tc-ns32k.c (md_parse_option): Likewise.
1770         * config/tc-or1k.c (md_parse_option): Likewise.
1771         * config/tc-pdp11.c (md_parse_option): Likewise.
1772         * config/tc-pj.c (md_parse_option): Likewise.
1773         * config/tc-ppc.c (md_parse_option): Likewise.
1774         * config/tc-rl78.c (md_parse_option): Likewise.
1775         * config/tc-rx.c (md_parse_option): Likewise.
1776         * config/tc-s390.c (s390_parse_cpu): Likewise.
1777         * config/tc-score.c (md_parse_option): Likewise.
1778         * config/tc-sh.c (md_parse_option): Likewise.
1779         * config/tc-sparc.c (md_parse_option): Likewise.
1780         * config/tc-spu.c (md_parse_option): Likewise.
1781         * config/tc-tic30.c (md_parse_option): Likewise.
1782         * config/tc-tic4x.c (md_parse_option): Likewise.
1783         * config/tc-tic54x.c (md_parse_option): Likewise.
1784         * config/tc-tic6x.c (md_parse_option): Likewise.
1785         * config/tc-tilegx.c (md_parse_option): Likewise.
1786         * config/tc-tilepro.c (md_parse_option): Likewise.
1787         * config/tc-v850.c (md_parse_option): Likewise.
1788         * config/tc-vax.c (md_parse_option): Likewise.
1789         * config/tc-visium.c (struct visium_long_option_table): Likewise.
1790         * config/tc-xc16x.c (md_parse_option): Likewise.
1791         * config/tc-xgate.c (md_parse_option): Likewise.
1792         * config/tc-xstormy16.c (md_parse_option): Likewise.
1793         * config/tc-xtensa.c (md_parse_option): Likewise.
1794         * config/tc-z80.c (md_parse_option): Likewise.
1795         * config/tc-z8k.c (md_parse_option): Likewise.
1796         * tc.h (md_parse_option): Likewise.
1797
1798 2016-03-29  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>
1799
1800         * config/tc-bfin.c (gencode): Use XOBNEW obstack_alloc () wrapper.
1801         * config/tc-hppa.c (fix_new_hppa): Likewise.
1802         (pa_vtable_entry): Likewise.
1803         (pa_vtable_inherit): Likewise.
1804         * config/tc-m68k.c (md_begin): Likewise.
1805
1806 2016-03-28  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>
1807
1808         * config/obj-elf.c (obj_elf_section_name): Return const char *.
1809         * config/obj-elf.h (obj_elf_section_name): Adjust.
1810         * config/tc-aarch64.c (aarch64_parse_features): Likewise.
1811         (aarch64_parse_cpu): Likewise.
1812         (aarch64_parse_arch): Likewise.
1813         * config/tc-arm.c (arm_parse_extension): Likewise.
1814         (arm_parse_cpu): Likewise.
1815         (arm_parse_arch): Likewise.
1816         * config/tc-nds32.c: Likewise.
1817         * config/xtensa-relax.c (parse_special_fn): Likewise.
1818         * stabs.c (generate_asm_file): Likewise.
1819
1820 2016-03-25  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>
1821
1822         * config/tc-cr16.c (cr16_assemble): New function.
1823         (md_assemble): Call cr16_assemble.
1824
1825 2016-03-25  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>
1826
1827         * as.c (parse_args): Adjust.
1828         * as.h (flag_size_check): Rename to flag_allow_nonconst_size.
1829         * config/obj-elf.c (elf_frob_symbol): Adjust.
1830
1831 2016-03-24  Jose E. Marchesi  <jose.marchesi@oracle.com>
1832
1833         * config/tc-sparc.c (sparc_ip): Remove the V9 restriction on ASR
1834         registers to be in the 16..31 range.
1835
1836 2016-03-24  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>
1837
1838         * config/tc-microblaze.c (md_assemble): Cast opc to char * when calling
1839         frag_var ().
1840
1841 2016-03-24  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>
1842
1843         * config/tc-visium.c (md_atof): Localize the string returned on
1844         failure.
1845
1846 2016-03-22  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>
1847
1848         * config/tc-h8300.c (h8300_elf_section): Add const qualifiers.
1849         * config/tc-ia64.c (obj_elf_vms_common): Likewise.
1850         * config/tc-m68hc11.c (md_begin): Likewise.
1851         (print_opcode_list): Likewise.
1852         * config/tc-msp430.c (msp430_section): Likewise.
1853         * config/tc-score.c (struct s3_insn_to_dependency): Likewise.
1854         (s3_build_dependency_insn_hsh): Likewise.
1855         * config/tc-score7.c (struct s7_insn_to_dependency): Likewise.
1856         (s7_build_dependency_insn_hsh): Likewise.
1857         * config/tc-tic4x.c: Likewise.
1858         * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
1859         (subsym_get_arg): Likewise.
1860         * config/tc-xtensa.c (struct suffix_reloc_map): Likewise.
1861         (get_directive): Likewise.
1862         (cache_literal_section): Likewise.
1863         * config/xtensa-relax.c: Likewise.
1864         * symbols.c (symbol_create): Likewise.
1865         (local_symbol_make): Likewise.
1866         (symbol_relc_make_expr): Likewise.
1867
1868 2016-03-22  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>
1869
1870         * config/tc-pdp11.c (md_assemble): Remove useless if and assignment to
1871         str.
1872
1873 2016-03-22  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>
1874
1875         * config/tc-sparc.c (sparc_regname_to_dw2regnum): Replace strchr ()
1876         call with a switch.
1877
1878 2016-03-22  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>
1879
1880         * config/tc-ia64.c (ia64_do_align): Remove.
1881         (ia64_cons_align): Call do_align () directly.
1882         (dot_proc): Likewise.
1883         (stmt_float_cons): Likewise.
1884
1885 2016-03-22  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>
1886
1887         * listing.c (listing_message): Use XNEW style allocation macros.
1888         * read.c (read_a_source_file): Likewise.
1889         (read_symbol_name): Likewise.
1890         (s_mri_common): Likewise.
1891         (assign_symbol): Likewise.
1892         (s_reloc): Likewise.
1893         (emit_expr_with_reloc): Likewise.
1894         (s_incbin): Likewise.
1895         (s_include): Likewise.
1896         * sb.c (sb_build): Likewise.
1897         (sb_check): Likewise.
1898
1899 2016-03-22  Alan Modra  <amodra@gmail.com>
1900
1901         * write.c (record_alignment): Revert 2016-02-18 change.
1902
1903 2016-03-22  Alan Modra  <amodra@gmail.com>
1904
1905         * config/tc-alpha.c (load_expression): Replace alloca with xmalloc.
1906         (emit_jsrjmp, tc_gen_reloc): Likewise.
1907         * config/tc-i370.c (i370_macro): Likewise.
1908
1909 2016-03-22  Nick Clifton  <nickc@redhat.com>
1910
1911         * configure: Regenerate.
1912
1913 2016-03-21  Andrew Burgess  <andrew.burgess@embecosm.com>
1914
1915         * testsuite/gas/arc/nps400-0.d: New file.
1916         * testsuite/gas/arc/nps400-0.s: New file.
1917         * testsuite/gas/arc/nps400-1.d: New file.
1918         * testsuite/gas/arc/nps400-1.s: New file.
1919
1920 2016-03-21  Andrew Burgess  <andrew.burgess@embecosm.com>
1921
1922         * config/tc-arc.c (find_opcode_match): Move lnflg, and i
1923         declarations to start of block.  Reset code on all flags before
1924         attempting to match them.  Handle multiple hits on the same flag.
1925         Handle flag class.
1926         * testsuite/gas/arc/asm-errors.d: New file.
1927         * testsuite/gas/arc/asm-errors.err: New file.
1928         * testsuite/gas/arc/asm-errors.s: New file.
1929
1930 2016-03-21  Andrew Burgess  <andrew.burgess@embecosm.com>
1931
1932         * config/tc-arc.c (cpu_types): Add nps400 entry.
1933         (check_zol): Handle nps400.
1934
1935 2016-03-21  Andrew Burgess  <andrew.burgess@embecosm.com>
1936
1937         * config/tc-arc.c (arc_select_cpu): Remove use of
1938         EF_ARC_CPU_GENERIC.
1939
1940 2016-03-21  Andrew Burgess  <andrew.burgess@embecosm.com>
1941
1942         * config/tc-arc.c (arc_target): Delay initialisation until
1943         arc_select_cpu.
1944         (arc_target_name): Likewise.
1945         (arc_features): Likewise.
1946         (arc_mach_type): Likewise.
1947         (cpu_types): Remove "all" entry.
1948         (arc_select_cpu): New function, most of the content is from...
1949         (md_parse_option): ... here.  Call new arc_select_cpu.
1950         (md_begin): Call arc_select_cpu if needed, default is now arc700.
1951
1952 2016-03-21  Andrew Burgess  <andrew.burgess@embecosm.com>
1953
1954         * testsuite/gas/arc/inline-data-1.d: Add target restriction.
1955         * testsuite/gas/arc/inline-data-2.d: New file.
1956
1957 2016-03-21  Nick Clifton  <nickc@redhat.com>
1958
1959         * atof-generic.c: Replace use of alloca with call to xmalloc.
1960         * cgen.c: Likewise.
1961         * dwarf2dbg.c: Likewise.
1962         * macro.c: Likewise.
1963         * remap.c: Likewise.
1964         * stabs.c: Likewise.
1965         * symbols.c: Likewise.
1966         * config/obj-elf.c: Likewise.
1967         * config/tc-aarch64.c: Likewise.
1968         * config/tc-arc.c: Likewise.
1969         * config/tc-arm.c: Likewise.
1970         * config/tc-avr.c: Likewise.
1971         * config/tc-ia64.c: Likewise.
1972         * config/tc-mips.c: Likewise.
1973         * config/tc-msp430.c: Likewise.
1974         * config/tc-nds32.c: Likewise.
1975         * config/tc-ppc.c: Likewise.
1976         * config/tc-sh.c: Likewise.
1977         * config/tc-tic30.c: Likewise.
1978         * config/tc-tic54x.c: Likewise.
1979         * config/tc-xstormy16.c: Likewise.
1980         * config/te-vms.c: Likewise.
1981         * configure: Regenerate.
1982
1983 2016-03-20  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>
1984
1985         * tc-i386.c (f32_1): Change type to unsigned char[].
1986         (f32_2): Likewise.
1987         (f32_3): Likewise.
1988         (f32_4): Likewise.
1989         (f32_5): Likewise.
1990         (f32_6): Likewise.
1991         (f32_7): Likewise.
1992         (f32_8): Likewise.
1993         (f32_9): Likewise.
1994         (f32_10): Likewise.
1995         (f32_11): Likewise.
1996         (f32_12): Likewise.
1997         (f32_13): Likewise.
1998         (f32_14): Likewise.
1999         (f16_3): Likewise.
2000         (f16_4): Likewise.
2001         (f16_5): Likewise.
2002         (f16_6): Likewise.
2003         (f16_7): Likewise.
2004         (f16_8): Likewise.
2005         (jump_31): Likewise.
2006         (f32_patt): Likewise.
2007         (f16_patt): Likewise.
2008         (alt_3): Likewise.
2009         (alt_4): Likewise.
2010         (alt_5): Likewise.
2011         (alt_6): Likewise.
2012         (alt_7): Likewise.
2013         (alt_8): Likewise.
2014         (alt_9): Likewise.
2015         (alt_10): Likewise.
2016         (alt_patt): Likewise.
2017
2018 2016-03-18  Nick Clifton  <nickc@redhat.com>
2019
2020         * doc/c-aarch64.texi (AArch64 Directives): Add descriptions of
2021         .cpu, .dword, .even, .inst. .tlsdescadd, .tlsdesccall,
2022         .tlsdescldr and .xword directives.
2023
2024         PR target/19721
2025         * testsuite/gas/aarch64/pr19721.s: New test source file.
2026         * testsuite/gas/aarch64/pr19721.d: New test driver file.
2027
2028         * doc/as.texinfo: Place the target specific command line options
2029         into their own man page section.
2030
2031 2016-03-16  Jiong Wang  <jiong.wang@arm.com>
2032
2033         * config/tc-arm.c (N_S_32): New.
2034         (N_F_16_32): Likewise.
2035         (N_SUF_32): Support N_F16.
2036         (N_IF_32): Likewise.
2037         (neon_dyadic_misc): Likewise.
2038         (do_neon_cmp): Likewise.
2039         (do_neon_cmp_inv): Likewise.
2040         (do_neon_mul): Likewise.
2041         (do_neon_fcmp_absolute): Likewise.
2042         (do_neon_step): Likewise.
2043         (do_neon_abs_neg): Likewise.
2044         (CVT_FLAVOR_VAR): Likewise.
2045         (do_neon_cvt_1): Likewise.
2046         (do_neon_recip_est): Likewise.
2047         (do_vmaxnm): Likewise.
2048         (do_vrint_1): Likewise.
2049         (neon_check_type): Check architecture support for FP16 extension.
2050         (insns): Update comments.
2051         * testsuite/gas/arm/armv8-2-fp16-simd.s: New test source.
2052         * testsuite/gas/arm/armv8-2-fp16-simd.d: New testcase for arm mode.
2053         * testsuite/gas/arm/armv8-2-fp16-simd-thumb.d: Likewise for thumb mode.
2054         * testsuite/gas/arm/armv8-2-fp16-simd-warning.d: New rejection test for
2055         arm mode.
2056         * testsuite/gas/arm/armv8-2-fp16-simd-warning-thumb.d: Likewise for
2057         thumb mode.
2058         * testsuite/gas/arm/armv8-2-fp16-simd-warning.l: New expected rejection
2059         error file.
2060
2061 2016-03-16  Nick Clifton  <nickc@redhat.com>
2062
2063         * read.c (emit_expr_with_reloc): Add code check a bignum with
2064         nbytes == 1.
2065         * config/rx/rx-parse.y (rx_intop): Accept bignum values for sizes
2066         other than 32-bits.
2067         * testsuite/gas/elf/bignum.s: New test source file.
2068         * testsuite/gas/elf/bignum.d: New test driver file.
2069         * testsuite/gas/elf/elf.exp: Run the new test.
2070
2071 2016-03-15  Ulrich Drepper  <drepper@gmail.com>
2072
2073         * doc/c-i386.texi (Register Naming): Update to details of the
2074         latest architecture version.
2075
2076 2016-03-10  Mickael Guene  <mickael.guene@st.com>
2077
2078         PR gas/19744
2079         * config/tc-arm.c (do_arit): Protect against bad relocations usage.
2080         (do_mov): Likewise.
2081         (do_t_add_sub): Allow pcrop relocations for Thumb-2 targets.
2082         (do_t_mov_cmp): Likewise.
2083         (do_t_add_sub): Protect against bad relocations usage.
2084         (do_t_mov_cmp): Likewise.
2085         * testsuite/gas/arm/adds-thumb1-reloc-local-armv7-m.s: New.
2086         * testsuite/gas/arm/adds-thumb1-reloc-local-armv7-m.d: New.
2087         * testsuite/gas/arm/movs-thumb1-reloc-local-armv7-m.s: New.
2088         * testsuite/gas/arm/movs-thumb1-reloc-local-armv7-m.d: New.
2089
2090 2016-03-09  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>
2091
2092         * config/tc-arm.c (neon_alignment_bit): Rename do_align to
2093         do_alignment.
2094         (do_neon_ld_st_lane): Likewise.
2095         (do_neon_ld_dup): Likewise.
2096
2097 2016-03-08  Andrew Burgess  <andrew.burgess@embecosm.com>
2098
2099         * testsuite/gas/arc/inline-data-1.d: New file.
2100         * testsuite/gas/arc/inline-data-1.s: New file.
2101
2102 2016-03-07  Andre Vieira  <andre.simoesdiasvieira@arm.com>
2103
2104         * config/tc-arm.c (arm_cpus): Add cortex-r8.
2105         * doc/c-arm.texi: Add cortex-r8.
2106
2107 2016-03-07  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>
2108
2109         * config/tc-arc.c: Add const qualifiers.
2110         * config/tc-h8300.c (md_begin): Likewise.
2111         * config/tc-ia64.c (print_prmask): Likewise.
2112         * config/tc-msp430.c (msp430_operands): Likewise.
2113         * config/tc-nds32.c (struct suffix_name): Likewise.
2114         (struct nds32_parse_option_table): Likewise.
2115         (struct nds32_set_option_table): Likewise.
2116         (do_pseudo_pushpopm): Likewise.
2117         (do_pseudo_pushpop_stack): Likewise.
2118         (nds32_relax_relocs): Likewise.
2119         (nds32_flag): Likewise.
2120         (struct nds32_hint_map): Likewise.
2121         (nds32_find_reloc_table): Likewise.
2122         (nds32_match_hint_insn): Likewise.
2123         * config/tc-s390.c: Likewise.
2124         * config/tc-sh.c (get_specific): Likewise.
2125         * config/tc-tic30.c: Likewise.
2126         * config/tc-tic4x.c (tic4x_inst_add): Likewise.
2127         (tic4x_indirect_parse): Likewise.
2128         * config/tc-vax.c (vax_cons): Likewise.
2129         * config/tc-z80.c (struct reg_entry): Likewise.
2130         * config/tc-epiphany.c (md_assemble): Adjust.
2131         (epiphany_assemble): New function.
2132         (epiphany_elf_section_rtn): Call do_align directly.
2133         (epiphany_elf_section_text): Likewise.
2134         * config/tc-ip2k.c (ip2k_elf_section_rtn): Likewise.
2135         (ip2k_elf_section_text): Likewise.
2136         * read.c (do_align): Make it not static.
2137         * read.h (do_align): New prototype.
2138
2139 2016-03-04  Matthew Wahab  <matthew.wahab@arm.com>
2140
2141         * config/tc-arm.c (aeabi_set_public_attributes): Emit attribute
2142         for ARMv8.1 AdvSIMD use.
2143         * testsuite/gas/arm/attr-march-armv8-a+rdma.d: New.
2144         * testsuite/gas/arm/attr-march-armv8_1-a+simd.d: New.
2145
2146 2016-03-04  Matthew Wahab  <matthew.wahab@arm.com>
2147
2148         * config/gas/tc-arm.c (fpu_neon_ext_v8_1): Restrict to the ARMv8.1 RDMA
2149         feature.
2150         (record_feature_use): New.
2151         (mark_feature_used): Use record_feature_use.
2152         (do_neon_qrdmlah): New.
2153         (insns): Use do_neon_qrdmlah for vqrdmlah and vqrdmlsh and
2154         variants.
2155         (arm_extensions): Put into alphabetical order.  Re-indent "simd"
2156         and "rdma" entries.  Fix the incorrect merge value for "+rdma".
2157         * testsuite/gas/arm/armv8-a+rdma-warning.d: New.
2158         * testsuite/gas/arm/armv8-a+rdma.d: Add assembler command line options.
2159         Make source file explicit.
2160         * testsuite/gas/arm/armv8-a+rdma.l: New.
2161         * testsuite/gas/arm/armv8-a+rdma.s: Remove .arch and .arch_extension
2162         directives.  Fix white-space.
2163         * testsuite/gas/arm/armv8_1-a+simd.d: New.
2164
2165 2016-03-02  H.J. Lu  <hongjiu.lu@intel.com>
2166
2167         * testsuite/gas/i386/x86_64-intel.d: Adjusted for COFF.
2168
2169 2016-02-29  Cupertino Miranda  <cmiranda@synopsys.com>
2170             Claudiu Zissulescu  <Claudiu.Zissulescu@synopsys.com>
2171
2172         * config/tc-arc.c (arc_extra_reloc): Change size to 0.
2173         (tc_arc_fix_adjustable): Changed default return value to 1.
2174         * testsuite/gas/arc/j.d: Updated expected symbol
2175         * testsuite/gas/arc/jl.d: Likewise
2176         * testsuite/gas/arc/relax-avoid1.d: Likewise
2177         * testsuite/gas/arc/st.d: Likewise
2178
2179 2016-02-29  Claudiu Zissulescu  <Claudiu.Zissulescu@synopsys.com>
2180
2181         * config/tc-arc.c: Enable code density instructions for ARC EM.
2182
2183 2016-02-26  H.J. Lu  <hongjiu.lu@intel.com>
2184
2185         PR ld/19645
2186         * NEWS: Mention --enable-elf-stt-common and --elf-stt-common=
2187         for ELF assemblers.
2188         * as.c (flag_use_elf_stt_common): New.
2189         (show_usage): Add --elf-stt-common=.
2190         (option_values): Add OPTION_ELF_STT_COMMON.
2191         (std_longopts): Add --elf-stt-common=.
2192         (parse_args): Handle --elf-stt-common=.
2193         * as.h (flag_use_elf_stt_common): New.
2194         * config.in: Regenerated.
2195         * configure: Likewise.
2196         * configure.ac: Add --enable-elf-stt-common and define
2197         DEFAULT_GENERATE_ELF_STT_COMMON.
2198         * gas/write.c (write_object_file): Set BFD_CONVERT_ELF_COMMON
2199         and BFD_USE_ELF_STT_COMMON if flag_use_elf_stt_common is set.
2200         * doc/as.texinfo: Document --elf-stt-common=.
2201         * testsuite/gas/elf/common3.s: New file.
2202         * testsuite/gas/elf/common3a.d: Likewise.
2203         * testsuite/gas/elf/common3b.d: Likewise.
2204         * testsuite/gas/elf/common4.s: Likewise.
2205         * testsuite/gas/elf/common4a.d: Likewise.
2206         * testsuite/gas/elf/common4b.d: Likewise.
2207         * testsuite/gas/i386/dw2-compress-3b.d: Likewise.
2208         * testsuite/gas/i386/dw2-compressed-3b.d: Likewise.
2209         * testsuite/gas/elf/elf.exp: Run common3a, common3b, common4a
2210         and common4b.
2211         * testsuite/gas/i386/dw2-compress-3.d: Renamed to ...
2212         * testsuite/gas/i386/dw2-compress-3a.d: This.  Pass
2213         --elf-stt-common=no to as.
2214         * testsuite/gas/i386/dw2-compressed-3.d: Renamed to ...
2215         * testsuite/gas/i386/dw2-compressed-3a.d: This.  Pass
2216         --elf-stt-common=no to as.
2217         * testsuite/gas/i386/i386.exp: Run dw2-compress-3a,
2218         dw2-compress-3b, dw2-compressed-3a and dw2-compressed-3b instead
2219         of dw2-compress-3 and dw2-compressed-3.
2220
2221 2016-02-25  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>
2222
2223         * as.c (select_emulation_mode): Add const qualifiers.
2224         * as.h: Likewise.
2225         * config/bfin-defs.h: Likewise.
2226         * config/bfin-parse.y: Likewise.
2227         * config/rx-parse.y: Likewise.
2228         * config/tc-aarch64.c (struct aarch64_option_table): Likewise.
2229         (struct aarch64_cpu_option_table): Likewise.
2230         (struct aarch64_arch_option_table): Likewise.
2231         (struct aarch64_option_cpu_value_table): Likewise.
2232         (struct aarch64_long_option_table): Likewise.
2233         (struct aarch64_option_abi_value_table): Likewise.
2234         * config/tc-arm.c (struct reloc_entry): Likewise.
2235         (tc_gen_reloc): Likewise.
2236         (struct arm_option_table): Likewise.
2237         (struct arm_legacy_option_table): Likewise.
2238         (struct arm_cpu_option_table): Likewise.
2239         (struct arm_arch_option_table): Likewise.
2240         (struct arm_option_extension_value_table): Likewise.
2241         (struct arm_option_fpu_value_table): Likewise.
2242         (struct arm_option_value_table): Likewise.
2243         (struct arm_long_option_table): Likewise.
2244         * config/tc-avr.c (struct avr_opcodes_s): Likewise.
2245         (struct mcu_type_s): Likewise.
2246         (struct exp_mod_s): Likewise.
2247         (avr_operand): Likewise.
2248         (avr_operands): Likewise.
2249         * config/tc-d10v.c (md_begin): Likewise.
2250         * config/tc-dlx.c: Likewise.
2251         * config/tc-fr30.c (fr30_is_colon_insn): Likewise.
2252         * config/tc-ft32.c (parse_condition): Likewise.
2253         * config/tc-h8300.c (do_a_fix_imm): Likewise.
2254         * config/tc-hppa.c (pa_ip): Likewise.
2255         (hppa_regname_to_dw2regnum): Likewise.
2256         * config/tc-i370.c (i370_elf_suffix): Likewise.
2257         * config/tc-i960.c (struct tabentry): Likewise.
2258         * config/tc-m32r.c: Likewise.
2259         * config/tc-m68k.c: Likewise.
2260         * config/tc-m68k.h: Likewise.
2261         * config/tc-mcore.c (parse_psrmod): Likewise.
2262         * config/tc-metag.c (struct metag_core_option): Likewise.
2263         (struct metag_long_option): Likewise.
2264         * config/tc-microblaze.c: Likewise.
2265         * config/tc-mips.c (macro): Likewise.
2266         * config/tc-mn10200.c: Likewise.
2267         * config/tc-mn10300.c: Likewise.
2268         * config/tc-msp430.c (struct rcodes_s): Likewise.
2269         (struct hcodes_s): Likewise.
2270         (md_parse_option): Likewise.
2271         * config/tc-ns32k.c (struct ns32k_option): Likewise.
2272         (optlist): Likewise.
2273         * config/tc-ppc.c (ppc_elf_suffix): Likewise.
2274         (tc_ppc_regname_to_dw2regnum): Likewise.
2275         * config/tc-ppc.h: Likewise.
2276         * config/tc-rl78.c: Likewise.
2277         * config/tc-rx.c (struct cpu_type): Likewise.
2278         * config/tc-sh.c (sh_regname_to_dw2regnum): Likewise.
2279         * config/tc-sparc.c (struct priv_reg_entry): Likewise.
2280         (sparc_ip): Likewise.
2281         * config/tc-spu.c (insn_fmt_string): Likewise.
2282         * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
2283         * config/tc-v850.c: Likewise.
2284         * config/tc-visium.c (struct visium_arch_option_table): Likewise.
2285         (struct visium_long_option_table): Likewise.
2286         * config/tc-xgate.c: Likewise.
2287         * config/tc-z8k.c: Likewise.
2288         * read.c (add_include_dir): Likewise.
2289         * read.h: Likewise.
2290
2291 2016-02-25  Andrew Burgess  <andrew.burgess@embecosm.com>
2292
2293         * testsuite/gas/all/gas.exp: Change target pattern to cover
2294         arceb-*.
2295         * testsuite/gas/all/redef3.d: Likewise.
2296         * testsuite/gas/elf/elf.exp: Likewise.
2297
2298 2016-02-24  Renlin Li  <renlin.li@arm.com>
2299
2300         * config/tc-arm.c (BAD_FP16): New error message macro.
2301         (do_scalar_fp16_v82_encode): Change the coproc field to 9 for armv8.2
2302         fp16 scalar instructions.
2303         (neon_check_type): Allow different size from key.
2304         (do_vfp_nsyn_add_sub): Add support SE_H shape support.
2305         (try_vfp_nsyn): Likewise.
2306         (do_vfp_nsyn_mla_mls): Likewise.
2307         (do_vfp_nsyn_fma_fms): Likewise.
2308         (do_vfp_nsyn_ldm_stm): Likewise
2309         (do_vfp_nsyn_sqrt): Likewise
2310         (do_vfp_nsyn_div): Likewise
2311         (do_vfp_nsyn_nmul): Likewise.
2312         (do_vfp_nsyn_cmp): Likewise.
2313         (do_neon_shll): Likewise.
2314         (do_vfp_nsyn_cvt_fpv8): Likewise.
2315         (do_neon_cvttb_2): Likewise.
2316         (do_neon_mov): Likewise.
2317         (do_neon_rshift_round_imm): Likewise.
2318         (do_neon_ldr_str): Likewise.
2319         (do_vfp_nsyn_fpv8): Likewise.
2320         (do_vmaxnm): Likewise.
2321         (do_vrint_1): Likewise.
2322         (insns): New entry for vins, vmovx.
2323         (md_apply_fix): Left shift 1 bit for fp16 vldr/vstr.
2324         * testsuite/gas/arm/armv8-2-fp16-scalar-thumb.d: New.
2325         * testsuite/gas/arm/armv8-2-fp16-scalar.d: New.
2326         * testsuite/gas/arm/armv8-2-fp16-scalar.s: New.
2327         * testsuite/gas/arm/armv8-2-fp16-scalar-bad.s: New
2328         * testsuite/gas/arm/armv8-2-fp16-scalar-bad.d: New
2329         * testsuite/gas/arm/armv8-2-fp16-scalar-bad.l: New
2330
2331 2016-02-24  Renlin Li  <renlin.li@arm.com>
2332
2333         * config/tc-arm.c (NEON_ENC_TAB): Add fp16 instruction shape.
2334         (neon_shape_class): New SC_HALF.
2335         (neon_shape_el): New SE_H.
2336         (neon_shape_el_size): New size for SE_H.
2337         (N_F_ALL): New macro to aggregate N_F16, N_F32, N_64.
2338         (neon_select_shape): Add SE_H support code.
2339         (el_type_of_type_chk): Use N_F_ALL.
2340         (do_vfp_nsyn_cvt): Add SE_H shape support.
2341         (do_neon_cvtz): Likewise.
2342         (do_neon_cvt_1): Likewise.
2343         (do_neon_cvttb_1): Likewise.
2344
2345 2016-02-24  Renlin Li  <renlin.li@arm.com>
2346
2347         * testsuite/gas/arm/copro.d: Adjust output.
2348         * testsuite/gas/arm/copro.s: Adjust co-processor num.
2349
2350 2016-02-24  Renlin Li  <renlin.li@arm.com>
2351
2352         * testsuite/gas/arm/mask_1.d: New.
2353         * testsuite/gas/arm/mask_1.s: New.
2354
2355 2016-02-24  Renlin Li  <renlin.li@arm.com>
2356
2357         * testsuite/gas/arm/copro.s: Use coprocessor other than 10, 11.
2358         * testsuite/gas/arm/copro.d: Update.
2359
2360 2016-02-24  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
2361
2362         * config/tc-arm.c (arm_cpus): Add entry for cortex-a32.
2363         * doc/c-arm.texi (ARM Options): Document cortex-a32.
2364
2365 2016-02-24  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
2366
2367         * doc/c-arm.texi (ARM Options): Document cortex-a17.
2368
2369 2016-02-23  H.J. Lu  <hongjiu.lu@intel.com>
2370
2371         * testsuite/gas/elf/elf.exp: Skip tests for common directive on
2372         hpux.
2373
2374 2016-02-22  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>
2375
2376         * output-file.c (output_file_create): Make file name argument const.
2377         (output_file_close): Likewise.
2378         * output-file.h (output_file_create): Adjust.
2379         (output_file_close): Likewise.
2380         * depend.c (quote_string_for_make): Make src argument const char *.
2381         (register_dependency): Likewise.
2382         (wrap_output): Likewise.
2383         * as.h (register_dependency): Adjust.
2384         * config/tc-xtensa.c (finish_vinsn): Remove unnecessary calls to
2385         as_where ();
2386         * symbols.c (S_SET_EXTERNAL): Likewise.
2387         * input-scrub.c (as_where): Return the file name.
2388         * as.h (as_where): Adjust prototype.
2389         * app.c (do_scrub_chars): Adjust.
2390         * cond.c (s_elseif): Likewise.
2391         (s_else): Likewise.
2392         (initialize_cframe): Likewise.
2393         * config/obj-coff.c (obj_coff_init_stab_section): Likewise.
2394         * config/obj-elf.c (obj_elf_init_stab_section): Likewise.
2395         * config/obj-som.c (obj_som_init_stab_section): Likewise.
2396         * config/tc-aarch64.c (output_info): Likewise.
2397         * config/tc-ia64.c (md_assemble): Likewise.
2398         (dot_alias): Likewise.
2399         * config/tc-m68k.c (m68k_frob_label): Likewise.
2400         * config/tc-mmix.c (s_bspec): Likewise.
2401         (mmix_handle_mmixal): Likewise.
2402         * config/tc-rx.c (rx_include): Likewise.
2403         * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
2404         (tic54x_adjust_symtab): Likewise.
2405         * config/tc-xtensa.c (directive_push): Likewise.
2406         (xtensa_sanity_check): Likewise.
2407         (xtensa_relax_frag): Likewise.
2408         (md_convert_frag): Likewise.
2409         (tinsn_to_slotbuf): Likewise.
2410         * dwarf2dbg.c (dwarf2_where): Likewise.
2411         * ecoff.c (add_file): Likewise.
2412         (ecoff_generate_asm_lineno): Likewise.
2413         * expr.c (make_expr_symbol): Likewise.
2414         * frags.c (frag_new): Likewise.
2415         (frag_var_init): Likewise.
2416         * listing.c (listing_newline): Likewise.
2417         * messages.c (identify): Likewise.
2418         (as_show_where): Likewise.
2419         (as_warn_internal): Likewise.
2420         (as_bad_internal): Likewise.
2421         * read.c (s_irp): Likewise.
2422         (s_macro): Likewise.
2423         (s_reloc): Likewise.
2424         * stabs.c (stabs_generate_asm_file): Likewise.
2425         (stabs_generate_asm_lineno): Likewise.
2426         (stabs_generate_asm_func): Likewise.
2427         * write.c (fix_new_internal): Likewise.
2428         * as.h (PRINTF_WHERE_LIKE): Make file name argument const.
2429         (as_warn_value_out_of_range): Adjust prototype.
2430         (as_bad_value_out_of_range): Adjust prototype.
2431         * messages.c (identify): Make file name argument const char *.
2432         (as_warn_internal): Likewise.
2433         (as_warn_where): Likewise.
2434         (as_bad_internal): Likewise.
2435         (as_bad_where): Likewise.
2436         (as_internal_value_out_of_range): Likewise.
2437         (as_warn_value_out_of_range): Likewise.
2438         (as_bad_value_out_of_range): Likewise.
2439         * as.h (found_comment_file): Change type to const char *.
2440         * cond.c (file_line::file): Likewise.
2441         * config/obj-coff.c (obj_coff_init_stab_section): Make variable const.
2442         * config/obj-elf.c (obj_elf_init_stab_section): Likewise.
2443         * config/obj-som.c (obj_som_init_stab_section): Likewise.
2444         * config/tc-aarch64.c (output_info): Likewise.
2445         * config/tc-alpha.c (insert_operand): Likewise.
2446         * config/tc-arc.c (insert_operand): Likewise.
2447         * config/tc-d30v.c (check_size): Likewise.
2448         * config/tc-ia64.c (struct alias): Likewise.
2449         * config/tc-m68k.c (struct label_line): Likewise.
2450         * config/tc-mcore.c (md_apply_fix): Likewise.
2451         * config/tc-microblaze.c (md_estimate_size_before_relax): Likewise.
2452         * config/tc-mips.c (mips16_immed): Likewise.
2453         * config/tc-mmix.c (mmix_handle_mmixal): Likewise.
2454         * config/tc-ppc.c (ppc_insert_operand): Likewise.
2455         * config/tc-rx.c (rx_include): Likewise.
2456         * config/tc-s390.c (s390_insert_operand): Likewise.
2457         * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
2458         (tic54x_adjust_symtab): Likewise.
2459         * config/tc-tilegx.c (insert_operand): Likewise.
2460         (apply_special_operator): Likewise.
2461         * config/tc-tilepro.c (insert_operand): Likewise.
2462         * config/tc-xtensa.c (directive_push): Likewise.
2463         * ecoff.c (add_file): Likewise.
2464         (ecoff_generate_asm_lineno): Likewise.
2465         * listing.c (listing_newline): Likewise.
2466         * read.c (s_irp): Likewise.
2467         * write.c (install_reloc): Likewise.
2468         * write.h (struct fix): Likewise.
2469         * input-file.c (file_name): Change type to const char *.
2470         (saved_file::file_name): Likewise.
2471         (input_file_open): Change type of argument to const char *.
2472         * input-file.h (input_file_open): Adjust.
2473         * input-scrub.c (logical_input_file): change type to const char *.
2474         (physical_input_file): Likewise.
2475         (struct input_save): Adjust.
2476         (input_scrub_push): Adjust.
2477         (input_scrub_begin): Adjust.
2478         (as_where): Adjust.
2479         * input-scrub.c (input_scrub_new_file): Make file name argument const.
2480         (input_scrub_include_file): Likewise.
2481         (new_logical_line_flags): Likewise.
2482         (new_logical_line): Likewise.
2483         * as.h: Adjust.
2484         * frags.h (struct frag): Change type of fr_file to const char *.
2485         * expr.c (expr_symbol_where): Change type of file argument to
2486         const char **.
2487         * expr.h (expr_symbol_where): Likewise.
2488         * config/tc-i370.c (md_apply_fix): adjust.
2489         * config/tc-mmix.c (mmix_md_end): Likewise.
2490         * config/tc-ppc.c (md_apply_fix): Likewise.
2491         * config/tc-s390.c (md_apply_fix): Likewise.
2492         * symbols.c (report_op_error): Likewise.
2493         (resolve_symbol_value): Likewise.
2494         * config/tc-ia64.c (slot::src_file): Change type to const char *.
2495         (rsrc::file): Likewise.
2496         * config/tc-xtensa.c (xtensa_sanity_check): Change type of variable to
2497         const char *.
2498         (xtensa_relax_frag): Likewise.
2499         (md_convert_frag): Likewise.
2500         (tinsn_to_slotbuf): Likewise.
2501         * expr.c (expr_symbol_line): Likewise.
2502         * macro.c (define_macro): Likewise.
2503         * macro.h (macro_struct): Likewise.
2504         * messages.c (as_show_where): Likewise.
2505         * read.c (s_macro): Likewise.
2506         * stabs.c (stabs_generate_asm_file): Likewise.
2507         (generate_asm_file): Likewise.
2508         (stabs_generate_asm_lineno): Likewise.
2509         * write.h (struct reloc_list): Likewise.
2510         * input-scrub.c (as_where): Change return type to const char *.
2511         * as.h (as_wheree): Adjust.
2512
2513 2016-02-21  H.J. Lu  <hongjiu.lu@intel.com>
2514
2515         * write.c (compress_debug): Move BFD compression bits setting
2516         to ...
2517         (write_object_file): Here.
2518
2519 2016-02-20  H.J. Lu  <hongjiu.lu@intel.com>
2520
2521         * config/tc-i386.c (register_number): Check RegVRex.
2522         * testsuite/gas/i386/x86-64-avx512f.s: Add a test for vgatherqpd
2523         with %zmm19 and %zmm3.
2524         * testsuite/gas/i386/x86-64-avx512f-intel.d: Updated.
2525         * testsuite/gas/i386/x86-64-avx512f.d: Likewise.
2526
2527 2016-02-19  Matthew Wahab  <matthew.wahab@arm.com>
2528             Jiong Wang  <jiong.wang@arm.com>
2529
2530         * config/tc-arm.c (arm_ext_fp16): New.
2531         (arm_extensions): New entry for "fp16".
2532
2533 2016-02-19  Nick Clifton  <nickc@redhat.com>
2534
2535         PR 19630
2536         * read.c (read_a_source_file): Check for assemble_one returning
2537         with input_line_pointer set to NULL.
2538
2539 2016-02-19  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>
2540
2541         * listing.c (rebuffer_line): Change return type to void.
2542
2543         * symbols.c (decode_local_label_name): Make type a const char *.
2544         * listing.c (print_source): Make type of p const char *.
2545         (print_line): Make type of string const char *.
2546         (buffer_line): Return const char *.
2547         (title): Make type const char *.
2548         (subtitle): Likewise.
2549         (listing_listing): Make type of p const char *.
2550         * messages.c (as_internal_value_out_of_range): Make type of prefix
2551         const char *.
2552         * stabs.c (s_stab_generic): make type of stab_secname, stabstr_secname
2553         and string const char *.
2554         * read.c (_bfd_rel): Make type of name const char *.
2555         * app.c (out_string): Change type to const char *.
2556         (struct app_save::out_string): Likewise.
2557
2558 2016-02-18  Dan Gisselquist  <dgisselq@verizon.net>
2559             Nick Clifton  <nickc@redhat.com>
2560
2561         * read.c (finish_bundle): Avoid recording a negative alignment.
2562         (do_align): Use unsigned values for n, len and max.  Only create
2563         a frag if the alignment requirement is greater than the minimum
2564         byte alignment.  Avoid recording a negative alignment.
2565         (s_align): Use unsigned values where appropriate.
2566         (bss_alloc): Use an unsigned value for the alignment.
2567         (sizeof_sleb128): Add a comment noting that we encode one octet
2568         per byte, regardless of the value of OCTETS_PER_BYTE_POWER.
2569         (emit_leb129_expr): Abort if the emitted encoding was longer than
2570         expected.
2571         * read.h (output_leb128): Update prototype.
2572         (sizeof_leb128): Update prototype.
2573         (bss_alloc): Update prototype.
2574         * write.c (record_alignment): Use an unsigned value for the
2575         alignment.  Do not record alignments less than the minimum
2576         alignment for a byte.
2577         * write.h (record_alignment): Update prototype.
2578
2579 2016-02-17  Max Filippov  <jcmvbkbc@gmail.com>
2580
2581         * config/tc-xtensa.c (xtensa_move_literals): Fix check for
2582         .init.literal/.fini.literal section name.
2583         * testsuite/gas/xtensa/all.exp: Add init-fini-literals to the
2584         list of xtensa tests.
2585         * testsuite/gas/xtensa/init-fini-literals.d: New file:
2586         init-fini-literals test result patterns.
2587         * testsuite/gas/xtensa/init-fini-literals.s: New file:
2588         init-fini-literals test.
2589
2590 2016-02-17  Nick Clifton  <nickc@redhat.com>
2591
2592         * config/tc-msp430.c (msp430_mcu_data): Sync with data from TI's
2593         devices.csv file as of March 2016.
2594
2595 2016-02-16  Claudiu Zissulescu  <claziss@synopsys.com>
2596
2597         * config/tc-arc.c (tc_arc_frame_initial_instructions): New
2598         function.
2599         (tc_arc_regname_to_dw2regnum): Likewise.
2600         * config/tc-arc.h (TARGET_USE_CFIPOP): Define
2601         (tc_cfi_frame_initial_instructions): Likewise.
2602         (tc_regname_to_dw2regnum): Likewise.
2603         * testsuite/gas/cfi/cfi-arc-1.d: New file.
2604         * testsuite/gas/cfi/cfi-arc-1.s: Likewise.
2605         * testsuite/gas/cfi/cfi.exp: Allow running tests for arc.
2606
2607 2016-02-16  Trevor Saunders  <tbsaunde@tbsaunde.org>
2608
2609         * doc/internals.texi (S_IS_EXTERN): Remove.
2610
2611 2016-02-16  Nick Clifton  <nickc@redhat.com>
2612
2613         * doc/as.texinfo (Section): Fix up texinfo snafus in previous
2614         update.
2615
2616 2016-02-16  Renlin Li  <renlin.li@arm.com>
2617
2618         PR gas/19620
2619         * config/tc-aarch64.c (parse_half): Remove restrictions on symbol name.
2620         * testsuite/gas/aarch64/movw_label.d: New.
2621         * testsuite/gas/aarch64/movw_label.s: New.
2622
2623 2016-02-15  Vinay Kumar G. <Vinay.G@kpit.com>
2624
2625         PR gas/19556
2626         * config/rx-parse.y (MOV):  Opcode generation for index
2627         register addressing mode.
2628         * testsuite/gas/rx/rx.exp: Updated for new testcase.
2629         * testsuite/gas/rx/pr19665.s: New file.
2630         * testsuite/gas/rx/pr19665.s: New file.
2631         * testsuite/gas/rx/mov.d: Update expected output.
2632
2633 2016-02-15  Nick Clifton  <nickc@redhat.com>
2634
2635         * doc/as.texinfo (.section): Document that numeric values can now
2636         be used for the flags and type fields of the ELF target's .section
2637         directive.  Add notes about the restrictions on setting flags and
2638         types.
2639         * config/obj-elf.c (obj_elf_change_section): Allow known sections
2640         to be given processor specific section types.  Allow processor and
2641         application specific flags of a section to be set after
2642         definition.
2643         (obj_elf_parse_section_letters): Handle parsing numeric values.
2644         (obj_elf_section_type): Handle parsing numeric values.
2645         (obj_elf_section): Allow numeric type values.
2646         * config/obj-elf.h (obj_elf_change_section): Update prototype.
2647         * testsuite/gas/elf/section10.d: New test.
2648         * testsuite/gas/elf/section10.s: Source file for new test.
2649         * testsuite/gas/elf/elf.exp: Run the new test.
2650         * testsuite/gas/i386/ilp32/x86-64-unwind.d: Remove dependency upon
2651         the description of the flags produced by readelf.
2652         * testsuite/gas/tic6x/scomm-directive-4.d: Likewise.
2653         * NEWS: Mention the new feature.
2654
2655 2016-02-11  Nick Clifton  <nickc@redhat.com>
2656
2657         PR gas/19614
2658         * dw2gencfi.c (cfi_sections_set): Delay setting this variable
2659         until it is actually used.
2660         (cfi_set_sections): Set cfi_sections_set to true.
2661         (dot_cfi_startproc): Likewise.
2662         (dot_cfi_endproc): Likewise.
2663         (dot_cfi_fde_data): Likewise.
2664         (cfi_finish): Likewise.
2665         (dot_cfi_sections): Do not set cfi_sections_set.
2666         * doc/as.texinfo (.cfi_sections): Note that targets can provide
2667         their own cfi section name.  Also note that the directive can be
2668         reissued provided that CFI generation has not started.
2669         * testsuite/gas/mips/compact-eh-err2.s: Add .cfi_startproc and
2670         .cfi_endproc directives so that the redefinition of .cfi_sections
2671         will trigger the generation of the error message.
2672         * testsuite/gas/mips/compact-eh-err2.l: Update expected line
2673         number of error message.
2674
2675 2016-02-10  Claudiu Zissulescu  <claziss@synopsys.com>
2676             Janek van Oirschot <jvanoirs@synopsys.com>
2677
2678         * config/tc-arc.h (TC_FRAG_TYPE, TC_PCREL_ADJUST, MAX_INSN_ARGS)
2679         (MAX_INSN_FLGS, MAX_FLAG_NAME_LENGHT, TC_GENERIC_RELAX_TABLE):
2680         Define.
2681         (arc_flags, arc_relax_type): New structure.
2682         * config/tc-arc.c (FRAG_MAX_GROWTH, RELAX_TABLE_ENTRY)
2683         (RELAX_TABLE_ENTRY_MAX): New define.
2684         (relaxation_state, md_relax_table, arc_relaxable_insns)
2685         (arc_num_relaxable_ins): New variable.
2686         (rlx_operand_type, arc_rlx_types): New enums.
2687         (arc_relaxable_ins): New structure.
2688         (OPTION_RELAX): New option.
2689         (arc_insn): New relax member.
2690         (arc_flags): Remove.
2691         (relax_insn_p): New function.
2692         (apply_fixups): Likewise.
2693         (relaxable_operand): Likewise.
2694         (may_relax_expr): Likewise.
2695         (relaxable_flag): Likewise.
2696         (arc_pcrel_adjust): Likewise.
2697         (md_estimate_size_before_relax): Implement.
2698         (md_convert_frag): Likewise.
2699         (md_parse_option): Handle new mrelax option.
2700         (md_show_usage): Likewise.
2701         (assemble_insn): Set relax member.
2702         (emit_insn0): New function.
2703         (emit_insn1): Likewise.
2704         (emit_insn): Handle relaxation case.
2705         * NEWS: Mention the new relaxation option.
2706         * doc/c-arc.texi (ARC Options): Document new mrelax option.
2707         * doc/as.texinfo (Target ARC Options): Likewise.
2708         * testsuite/gas/arc/relax-avoid1.d: New file.
2709         * testsuite/gas/arc/relax-avoid1.s: Likewise.
2710         * testsuite/gas/arc/relax-avoid2.d: Likewise.
2711         * testsuite/gas/arc/relax-avoid2.s: Likewise.
2712         * testsuite/gas/arc/relax-avoid3.d: Likewise.
2713         * testsuite/gas/arc/relax-avoid3.s: Likewise.
2714         * testsuite/gas/arc/relax-b.d: Likewise.
2715         * testsuite/gas/arc/relax-b.s: Likewise.
2716
2717 2016-02-08  Nick Clifton  <nickc@redhat.com>
2718
2719         * config/tc-ia64.c (dot_prologue): Fix formatting.
2720
2721 2016-02-04  Nick Clifton  <nickc@redhat.com>
2722
2723         * config/obj-elf.c (obj_elf_change_section): Remove support for
2724         ARM NOREAD sections.
2725         * config/tc-arm.c (arm_elf_section_letter): Delete.
2726         * config/tc-arm.h (md_elf_section_letter): Delete.
2727         * doc/c-arm.texi (ARM Section Attribute): Delete section.
2728         * testsuite/gas/arm/section-execute-only.d: Delete.
2729         * testsuite/gas/arm/section-execute-only.s: Delete.
2730
2731 2016-02-04  Nick Clifton  <nickc@redhat.com>
2732
2733         PR target/19561
2734         * config/tc-msp430.c (msp430_operands): Remove case 7.  Use case 2
2735         to handle encoding of RRUX instruction.
2736         * testsuite/gas/msp430/msp430x.s: Add more tests of the extended
2737         shift instructions.
2738         * testsuite/gas/msp430/msp430x.d: Update expected disassembly.
2739
2740 2016-02-03  Max Filippov  <jcmvbkbc@gmail.com>
2741
2742         * config/tc-xtensa.c (md_apply_fix): Mark BFD_RELOC_XTENSA_DIFF*
2743         substitutions for BFD_RELOC_* as unsigned.
2744         * testsuite/gas/xtensa/all.exp: Add loc to list of xtensa tests.
2745         * testsuite/gas/xtensa/loc.d: New file: loc test result patterns.
2746         * testsuite/gas/xtensa/loc.s: New file: loc test.
2747
2748 2016-02-03  Kevin Buettner  <kevinb@redhat.com>
2749
2750         * config/tc-msp430.h (DWARF2_ADDR_SIZE): Set to 4.
2751
2752 2016-02-03  H.J. Lu  <hongjiu.lu@intel.com>
2753
2754         PR gas/19520
2755         * NEWS: Mention new command line option -mrelax-relocations and
2756         new configure option --enable-x86-relax-relocations for x86
2757         target.
2758         * config.in: Regenerated.
2759         * configure.ac: Add --enable-x86-relax-relocations.
2760         (ac_default_x86_relax_relocations): New.  Default to 1 except
2761         for x86 Solaris targets older than Solaris 12.
2762         (DEFAULT_GENERATE_X86_RELAX_RELOCATIONS): Define.
2763         * configure: Likewise.
2764         * config/tc-i386.c (generate_relax_relocations): New.
2765         (OPTION_MRELAX_RELOCATIONS): Likewise.
2766         (output_disp): Don't generate relax relocations if
2767         generate_relax_relocations is 0.
2768         (md_longopts): Add -mrelax-relocations.
2769         (md_show_usage): Likewise.
2770         (md_parse_option): Handle OPTION_MRELAX_RELOCATIONS.
2771         * doc/c-i386.texi: Document -mrelax-relocations=.
2772         * testsuite/gas/i386/got-no-relax.d: New file.
2773         * testsuite/gas/i386/x86-64-gotpcrel-no-relax.d: Likewise.
2774         * testsuite/gas/i386/got.d: Pass -mrelax-relocations=yes to as.
2775         * testsuite/gas/i386/localpic.d: Likewise.
2776         * testsuite/gas/i386/mixed-mode-reloc32.d: Likewise.
2777         * testsuite/gas/i386/reloc32.d: Likewise.
2778         * testsuite/gas/i386/x86-64-gotpcrel.d: Likewise.
2779         * testsuite/gas/i386/x86-64-localpic.d: Likewise.
2780         * testsuite/gas/i386/ilp32/x86-64-gotpcrel.d: Likewise.
2781         * testsuite/gas/i386/ilp32/x86-64-localpic.d: Likewise.
2782         * testsuite/gas/i386/i386.exp: Run got-no-relax and
2783         x86-64-gotpcrel-no-relax.
2784
2785 2016-02-03  H.J. Lu  <hongjiu.lu@intel.com>
2786
2787         * NEWS: Mention new command line option -mfence-as-lock-add=yes
2788         for x86 target.
2789
2790 2016-02-03  H.J. Lu  <hongjiu.lu@intel.com>
2791
2792         * NEWS: Remove duplicated marker for 2.26.
2793
2794 2016-02-02  Renlin Li  <renlin.li@arm.com>
2795
2796         * testsuite/gas/arm/thumb2_it_search.d: Skip non-elf targets.
2797
2798 2016-02-02  Andrew Burgess  <andrew.burgess@embecosm.com>
2799
2800         * testsuite/gas/ip2k/allinsn.d: New file.
2801         * testsuite/gas/ip2k/allinsn.s: New file.
2802         * testsuite/gas/ip2k/ip2k-allinsn.exp: New file.
2803
2804 2016-02-02  Andrew Burgess  <andrew.burgess@embecosm.com>
2805
2806         * testsuite/gas/epiphany/addr-syntax.d: Add explicit 0 offset to
2807         some load instructions.
2808         * testsuite/gas/epiphany/allinsn.d: Likewise.
2809         * testsuite/gas/epiphany/regression.d: Likewise.
2810
2811 2016-02-02  Andrew Burgess  <andrew.burgess@embecosm.com>
2812
2813         * testsuite/gas/epiphany/addr-syntax.d: Remove unneeded '.l'
2814         suffixes from instruction mnemonics in expected output.
2815         * testsuite/gas/epiphany/allinsn.d: Likewise.
2816         * testsuite/gas/epiphany/regression.d: Likewise.
2817         * testsuite/gas/epiphany/sample.d: Likewise.
2818
2819 2016-02-02  Andrew Burgess  <andrew.burgess@embecosm.com>
2820
2821         * testsuite/gas/epiphany/addr-syntax.d: Update expected register
2822         names.
2823         * testsuite/gas/epiphany/allinsn.d: Likewise.
2824         * testsuite/gas/epiphany/sample.d: Likewise.
2825
2826 2016-02-02  Andrew Burgess  <andrew.burgess@embecosm.com>
2827
2828         * testsuite/gas/epiphany/sample.d: Update expected output.
2829
2830 2016-01-26  Claudiu Zissulescu  <claziss@synopsys.com>
2831
2832         * config/tc-arc.c (md_apply_fix): Allow addendum.
2833         (arc_reloc_op): Allow complex expressions for tpoff.
2834         (md_apply_fix): Handle resolved TLS local symbol.
2835         * testsuite/gas/arc/tls-relocs1.d: New file.
2836         * testsuite/gas/arc/tls-relocs1.s: Likewise.
2837
2838 2016-02-01  Loria  <Loria@phantasia.org>
2839
2840         PR target/19311
2841         * config/tc-arm.c (encode_arm_immediate): Recode to improve
2842         efficiency and avoid an LLVM loop optimization bug.
2843
2844 2016-02-01  Nick Clifton  <nickc@redhat.com>
2845
2846         * config/tc-microblaze.c (parse_imm): Fix compile time warning
2847         message extending a negative 32-bit value into a larger signed
2848         value on a 32-bit host.
2849
2850 2016-01-29  H.J. Lu  <hongjiu.lu@intel.com>
2851
2852         PR gas/19532
2853         * configure.ac (compressed_debug_sections): Replace == with =.
2854         * configure: Regenerated.
2855
2856 2016-01-29  Andrew Senkevich  <andrew.senkevich@intel.com>
2857             H.J. Lu  <hongjiu.lu@intel.com>
2858
2859         * config/tc-i386.c (avoid_fence): New.
2860         (output_insn): Encode as lock addl $0x0, (%{r,e}sp) if avoid_fence
2861         is true.
2862         (OPTION_FENCE_AS_LOCK_ADD): New.
2863         (md_longopts): Add -mfence-as-lock-add.
2864         (md_parse_option): Handle -mfence-as-lock-add.
2865         (md_show_usage): Add -mfence-as-lock-add=[no|yes].
2866         * doc/c-i386.texi (-mfence-as-lock-add): Document.
2867         * testsuite/gas/i386/i386.exp: Run new tests.
2868         * testsuite/gas/i386/fence-as-lock-add.s: New.
2869         * testsuite/gas/i386/fence-as-lock-add-yes.d: Likewise.
2870         * testsuite/gas/i386/fence-as-lock-add-no.d: Likewise.
2871         * testsuite/gas/i386/x86-64-fence-as-lock-add-yes.d: Likewise.
2872         * testsuite/gas/i386/x86-64-fence-as-lock-add-no.d: Likewise.
2873
2874 2016-01-27  H.J. Lu  <hongjiu.lu@intel.com>
2875
2876         * configure.ac (compressed_debug_sections): Remove trailing `]'.
2877         * configure: Regenerated.
2878
2879 2016-01-25  H.J. Lu  <hongjiu.lu@intel.com>
2880
2881         * config/tc-i386.c (OPTION_OMIT_LOCK_PREFIX): Renamed to ...
2882         (OPTION_MOMIT_LOCK_PREFIX): This.
2883         (md_longopts): Updated.
2884         (md_parse_option): Likewise.
2885
2886 2016-01-25  Catherine Moore  <clm@codesourcery.com>
2887
2888         * config/mips/tc-mips.c (md_begin): Avoid gp-relative addressing
2889         if abicalls are in effect.
2890         * testsuite/gas/mips/sdata-gp.s: New test.
2891         * testsuite/gas/mips/sdata-gp.d: New expected output
2892         * testsuite/gas/mips/mips.exp: Run new test.
2893
2894 2016-01-25  Renlin Li  <renlin.li@arm.com>
2895
2896         * testsuite/gas/arm/thumb2_it_search.d: New.
2897         * testsuite/gas/arm/thumb2_it_search.s: New.
2898
2899 2016-01-21  Nick Clifton  <nickc@redhat.com>
2900
2901         PR gas/19454
2902         * testsuite/gas/arm/mapshort-elf.d: Fix expected output to cope
2903         with arm-netbsdelf target.
2904         * testsuite/gas/arm/blx-bl-convert.d: Skip for netbsdelf.
2905
2906 2016-01-20  Nick Clifton  <nickc@redhat.com>
2907
2908         PR 19456
2909         * testsuite/gas/arm/weakdef-1.d: Skip for VxWorks.
2910         * testsuite/gas/arm/blx-bl-convert.d
2911         * testsuite/gas/arm/plt-1.d: Likewise.
2912         * testsuite/gas/arm/reloc-bad.d: Likewise.
2913         * testsuite/gas/arm/thumb-w-good.d: Likewise.
2914         * testsuite/gas/arm/thumb2_pool.d: Likewise.
2915         * testsuite/gas/arm/ldconst.d: Adjust so that it works with VxWorks
2916         * testsuite/gas/arm/tls_vxworks.d: Update expected output.
2917
2918         PR 19499
2919         * doc/as.texinfo (Errors): Correct documentation describing the
2920         interaction of .file and .line with warning and error messages.
2921
2922         PR 19458
2923         * testsuite/gas/arm/armv8_2-a.d: Skip for COFF based targets.
2924         * testsuite/gas/arm/archv8m-main.d: Likewise.
2925         * testsuite/gas/arm/archv8m-base.d: Likewise.
2926
2927 2016-01-20  Matthew Wahab  <matthew.wahab@arm.com>
2928
2929         * testsuite/gas/aarch64/armv8_2-a-illegal.d: New.
2930         * testsuite/gas/aarch64/armv8_2-a-illegal.l: New.
2931         * testsuite/gas/aarch64/armv8_2-a-illegal.s: New.
2932
2933 2016-01-20  Mickael Guene  <mickael.guene@st.com>
2934             Terry Guo  <terry.guo@arm.com>
2935
2936         * config/obj-elf.c (obj_elf_change_section) : Allow arm section with
2937         SHF_ARM_NOREAD section flag.
2938         * config/tc-arm.h (md_elf_section_letter) : Implement this hook to
2939         handle letter 'y'.
2940         (arm_elf_section_letter) : Declare it.
2941         * config/tc-arm.c (arm_elf_section_letter): Handle letter 'y' to set
2942         SHF_ARM_NOREAD section flag.
2943         * doc/c-arm.texi (ARM section attribute): Document the 'y' attribute.
2944
2945         * testsuite/gas/arm/section-execute-only.s: New test case.
2946         * testsuite/gas/arm/section-execute-only.d: Expected output.
2947
2948 2016-01-18  Maciej W. Rozycki  <macro@imgtec.com>
2949
2950         * config/tc-mips.c (micromips_insn_length): Remove the mention
2951         of 48-bit microMIPS instructions.
2952
2953 2016-01-18  Alan Modra  <amodra@gmail.com>
2954
2955         * configure: Regenerate.
2956
2957 2016-01-17  Alan Modra  <amodra@gmail.com>
2958
2959         * configure: Regenerate.
2960
2961 2016-01-17  Alan Modra  <amodra@gmail.com>
2962
2963         * testsuite/gas/cfi/cfi.exp: Exclude m68hc11/12 from m68k test.
2964
2965 2016-01-14  Nick Clifton  <nickc@redhat.com>
2966
2967         * testsuite/gas/rl78/sp-relative-movw.s: New test.
2968         * testsuite/gas/rl78/sp-relative-movw.d: Expected disassembly.
2969         * testsuite/gas/rl78/rl78.exp: Run the new test.
2970
2971 2016-01-14  Matthew Wahab  <matthew.wahab@arm.com>
2972
2973         * testsuite/gas/aarch64/illegal-sysreg-2.l: New.
2974         * testsuite/gas/aarch64/illegal-sysreg-2.d: New.
2975
2976 2016-01-13  Maciej W. Rozycki  <macro@imgtec.com>
2977
2978         * config/tc-nios2.c (output_movia): Preset `code' to 0.
2979
2980 2016-01-13  Yoshinori Sato  <ysato@users.sourceforge.jp>
2981
2982         * config/tc-h8300.c (get_operand): Remove spurious condition in
2983         test for closing parenthesis.
2984
2985 2016-01-12  Matthew Wahab  <matthew.wahab@arm.com>
2986
2987         * config/tc-arm.c (arm_ext_v8_2): New.
2988         (insns): Add "esb".
2989         * testsuite/gas/arm/armv8_2-a.d: New.
2990         * testsuite/gas/arm/armv8_2-a.s: New.
2991
2992 2016-01-12  Alan Modra  <amodra@gmail.com>
2993
2994         * testsuite/gas/ppc/vsx3.d: Accept nop padding.
2995
2996 2016-01-11  Peter Bergner <bergner@vnet.ibm.com>
2997
2998         * testsuite/gas/ppc/power9.d <xscmpnedp, xvcmpnedp, xvcmpnedp.,
2999         xvcmpnesp, xvcmpnesp.>: Delete tests.
3000         * testsuite/gas/ppc/power9.s: Likewise.
3001         * testsuite/gas/ppc/vsx3.d: Likewise.
3002         * testsuite/gas/ppc/vsx3.s: Likewise.
3003
3004 2016-01-08  Andreas Schwab  <schwab@linux-m68k.org>
3005
3006         PR gas/13050
3007         * testsuite/gas/m68k/all.exp: Add tests p13050-1 and p13050-2.
3008         * testsuite/gas/m68k/p13050-1.s: New file.
3009         * testsuite/gas/m68k/p13050-2.d: New file.
3010         * testsuite/gas/m68k/p13050-2.s: New file.
3011
3012 2016-01-06  Andrew Burgess  <andrew.burgess@embecosm.com>
3013
3014         * testsuite/gas/arc/adc.d: Add 'R_' prefix to relocation names.
3015         * testsuite/gas/arc/add.d: Likewise.
3016         * testsuite/gas/arc/and.d: Likewise.
3017         * testsuite/gas/arc/asl.d: Likewise.
3018         * testsuite/gas/arc/asr.d: Likewise.
3019         * testsuite/gas/arc/bic.d: Likewise.
3020         * testsuite/gas/arc/extb.d: Likewise.
3021         * testsuite/gas/arc/extw.d: Likewise.
3022         * testsuite/gas/arc/j.d: Likewise.
3023         * testsuite/gas/arc/jl.d: Likewise.
3024         * testsuite/gas/arc/ld2.d: Likewise.
3025         * testsuite/gas/arc/lsr.d: Likewise.
3026         * testsuite/gas/arc/mov.d: Likewise.
3027         * testsuite/gas/arc/or.d: Likewise.
3028         * testsuite/gas/arc/pcl-relocs.d: Likewise.
3029         * testsuite/gas/arc/pcrel-relocs.d: Likewise.
3030         * testsuite/gas/arc/pic-relocs.d: Likewise.
3031         * testsuite/gas/arc/plt-relocs.d: Likewise.
3032         * testsuite/gas/arc/rlc.d: Likewise.
3033         * testsuite/gas/arc/ror.d: Likewise.
3034         * testsuite/gas/arc/rrc.d: Likewise.
3035         * testsuite/gas/arc/sbc.d: Likewise.
3036         * testsuite/gas/arc/sda-relocs.d: Likewise.
3037         * testsuite/gas/arc/sda-relocs2.d: Likewise.
3038         * testsuite/gas/arc/sexb.d: Likewise.
3039         * testsuite/gas/arc/sexw.d: Likewise.
3040         * testsuite/gas/arc/st.d: Likewise.
3041         * testsuite/gas/arc/sub.d: Likewise.
3042         * testsuite/gas/arc/tls-relocs.d: Likewise.
3043         * testsuite/gas/arc/xor.d: Likewise.
3044
3045 2016-01-01  Alan Modra  <amodra@gmail.com>
3046
3047         Update year range in copyright notice of all files.
3048
3049 For older changes see ChangeLog-2015 and testsuite/ChangeLog-2015
3050 \f
3051 Copyright (C) 2016 Free Software Foundation, Inc.
3052
3053 Copying and distribution of this file, with or without modification,
3054 are permitted in any medium without royalty provided the copyright
3055 notice and this notice are preserved.
3056
3057 Local Variables:
3058 mode: change-log
3059 left-margin: 8
3060 fill-column: 74
3061 version-control: never
3062 End: