6a059e72029c4e3874aaeac7b093717617ccbf91
[external/binutils.git] / gas / ChangeLog
1 2016-05-11  Nick Clifton  <nickc@redhat.com>
2
3         PR target/20068
4         * config/tc-arm.c (add_to_lit_pool): Ensure that the padding added
5         to the pool uses O_constant.
6         * testsuite/gas/arm/pr20068.s: New test.
7         * testsuite/gas/arm/pr20068.d: Test driver.
8
9 2016-05-11  Nick Clifton  <nickc@redhat.com>
10
11         * testsuite/gas/arm/archv8m-cmse-base.d: Skip for non-ELF ARM targets.
12         * testsuite/gas/arm/archv8m-cmse-main-1.d: Likewise.
13         * testsuite/gas/arm/archv8m-cmse-main-2.d: Likewise.
14         * testsuite/gas/arm/archv8m-cmse-msr-base.d: Likewise.
15         * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
16         * testsuite/gas/arm/archv8m-main-dsp-1.d: Likewise.
17         * testsuite/gas/arm/archv8m-main-dsp-2.d: Likewise.
18         * testsuite/gas/arm/archv8m-main-dsp-3.d: Likewise.
19         * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
20
21 2016-05-10  Alexander Fomin  <alexander.fomin@intel.com>
22
23         * testsuite/gas/i386/i386.exp: Run RDPID tests.
24         * testsuite/gas/i386/prefix.d: Adjust.
25         * testsuite/gas/i386/rdpid.s: New test.
26         * testsuite/gas/i386/rdpid.d: Ditto.
27         * testsuite/gas/i386/rdpid-intel.d: Ditto.
28         * testsuite/gas/i386/x86-64-rdpid.s: Ditto.
29         * testsuite/gas/i386/x86-64-rdpid.d: Ditto.
30         * testsuite/gas/i386/x86-64-rdpid-intel.d: Ditto.
31
32 2016-05-10  Alexander Fomin  <alexander.fomin@intel.com>
33
34         * config/tc-i386.c (cpu_arch): Add RDPID.
35         * doc/c-i386.texi: Document RDPID.
36
37 2016-05-10  Thomas Preud'homme  <thomas.preudhomme@arm.com>
38
39         * config/tc-arm.c (arm_adjust_symtab): Use ARM_SET_SYM_BRANCH_TYPE to
40         set branch type of a symbol.
41
42 2016-05-10  Thomas Preud'homme  <thomas.preudhomme@arm.com>
43
44         * NEWS: Document ARMv8-M and ARMv8-M Security and DSP Extensions.
45         * config/tc-arm.c (arm_ext_dsp): New feature for Thumb DSP
46         instructions.
47         (arm_extensions): Add dsp extension for ARMv8-M Mainline.
48         (aeabi_set_public_attributes): Memorize the feature bits of the
49         architecture selected for Tag_CPU_arch.  Use it to set
50         Tag_DSP_extension to 1 for ARMv8-M Mainline with DSP extension.
51         (arm_convert_symbolic_attribute): Define Tag_DSP_extension.
52         * testsuite/gas/arm/arch7em-bad.d: Rename to ...
53         * testsuite/gas/arm/arch7em-bad-1.d: This.
54         * testsuite/gas/arm/arch7em-bad-2.d: New file.
55         * testsuite/gas/arm/arch7em-bad-3.d: Likewise.
56         * testsuite/gas/arm/archv8m-main-dsp-1.d: Likewise.
57         * testsuite/gas/arm/archv8m-main-dsp-2.d: Likewise.
58         * testsuite/gas/arm/archv8m-main-dsp-3.d: Likewise.
59         * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
60         * testsuite/gas/arm/archv8m-main-dsp-5.d: Likewise.
61         * testsuite/gas/arm/attr-march-armv8m.main.dsp.d: Likewise.
62
63 2016-05-10  Thomas Preud'homme  <thomas.preudhomme@arm.com>
64
65         * config/tc-arm.c (struct arm_option_extension_value_table): Make
66         allowed_archs an array with 2 entries.
67         (ARM_EXT_OPT): Adapt to only fill the first entry of allowed_archs.
68         (ARM_EXT_OPT2): New macro filling the two entries of allowed_archs.
69         (arm_extensions): Use separate entries in allowed_archs when several
70         archs are allowed to use an extension and change ARCH_ANY in
71         ARM_ARCH_NONE in allowed_archs.
72         (arm_parse_extension): Check that, for each allowed_archs entry, all
73         bits are set in the current architecture, ignoring ARM_ANY entries.
74         (s_arm_arch_extension): Likewise.
75
76 2016-05-10  Thomas Preud'homme  <thomas.preudhomme@arm.com>
77
78         * config/tc-arm.c (arm_ext_m): Add feature bit ARM_EXT2_V8M_MAIN.
79         (arm_ext_v8m_main): New feature set for bit ARM_EXT2_V8M_MAIN.
80         (arm_ext_v8m_m_only): New feature set for instructions in ARMv8-M not
81         shared with a non M profile architecture.
82         (do_rn): New function.
83         (known_t32_only_insn): Check opcode against arm_ext_v8m_m_only rather
84         than arm_ext_v8m.
85         (v7m_psrs): Add ARMv8-M security extensions new special registers.
86         (insns): Add ARMv8-M Security Extensions instructions.
87         (aeabi_set_public_attributes): Use arm_ext_v8m_m_only instead of
88         arm_ext_v8m_m to decide the profile and the Thumb ISA.
89         * testsuite/gas/arm/archv8m-cmse.s: New file.
90         * testsuite/gas/arm/archv8m-cmse-main.s: Likewise..
91         * testsuite/gas/arm/archv8m-cmse-msr.s: Likewise.
92         * testsuite/gas/arm/any-cmse.d: Likewise.
93         * testsuite/gas/arm/any-cmse-main.d: Likewise.
94         * testsuite/gas/arm/archv8m-cmse-base.d: Likewise.
95         * testsuite/gas/arm/archv8m-cmse-msr-base.d: Likewise.
96         * testsuite/gas/arm/archv8m-cmse-main-1.d: Likewise.
97         * testsuite/gas/arm/archv8m-cmse-main-2.d: Likewise.
98         * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
99
100 2016-05-09  Jose E. Marchesi  <jose.marchesi@oracle.com>
101
102         * testsuite/gas/sparc/sparc5vis4.s: Fix mnemonic of faligndatai.
103         * testsuite/gas/sparc/sparc5vis4.d: Likewise.
104
105 2016-05-04  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
106
107         * config/tc-arm.c (fpu_arch_vfp_v1): Mark with ATTRIBUTE_UNUSED.
108         (fpu_arch_vfp_v3): Likewise.
109         (fpu_arch_neon_v1): Likewise.
110         (arm_arch_full): Likewise.
111         (parse_neon_el_struct_list): Initialize fields of firsttype.
112
113 2016-05-03  Claudiu Zissulescu  <claziss@synopsys.com>
114
115         * config/tc-arc.c (syntaxclass): Add SYNTAX_NOP and SYNTAX_1OP.
116         (arc_extinsn): Handle new introduced syntax.
117         * testsuite/gas/arc/textinsn1op.d: New file.
118         * testsuite/gas/arc/textinsn1op.s: Likewise.
119         * doc/c-arc.texi: Document SYNTAX_NOP and SYNTAX_1OP.
120
121 2016-05-03  Pitchumani Sivanupandi  <pitchumani.s@atmel.com>
122
123         * testsuite/gas/lns/lns.exp: Add avr to list of targets using
124         DW_LNS_fixed_advance_pc.
125
126 2016-04-27  Alan Modra  <amodra@gmail.com>
127
128         * as.h (inline, __PTR_TO_INT, __INT_TO_PTR): Don't define.
129         (xmemdup0): New inline function.
130
131 2016-04-22  Maciej W. Rozycki  <macro@imgtec.com>
132
133         * config/tc-mips.c (code_option_type): New enum.
134         (parse_code_option): Return status indicating option type.
135         (s_mipsset): Update `parse_code_option' call site accordingly.
136         Always set register sizes from the ISA with ISA overrides.
137         (s_module): Update `parse_code_option' call site.
138         * testsuite/gas/mips/isa-override-1.d: New test.
139         * testsuite/gas/mips/micromips@isa-override-1.d: New test.
140         * testsuite/gas/mips/mips1@isa-override-1.d: New test.
141         * testsuite/gas/mips/mips2@isa-override-1.d: New test.
142         * testsuite/gas/mips/mips32@isa-override-1.d: New test.
143         * testsuite/gas/mips/mips32r2@isa-override-1.d: New test.
144         * testsuite/gas/mips/mips32r3@isa-override-1.d: New test.
145         * testsuite/gas/mips/mips32r5@isa-override-1.d: New test.
146         * testsuite/gas/mips/mips32r6@isa-override-1.d: New test.
147         * testsuite/gas/mips/mips64r2@isa-override-1.d: New test.
148         * testsuite/gas/mips/mips64r3@isa-override-1.d: New test.
149         * testsuite/gas/mips/mips64r5@isa-override-1.d: New test.
150         * testsuite/gas/mips/mips64r6@isa-override-1.d: New test.
151         * testsuite/gas/mips/r3000@isa-override-1.d: New test.
152         * testsuite/gas/mips/r3900@isa-override-1.d: New test.
153         * testsuite/gas/mips/r5900@isa-override-1.d: New test.
154         * testsuite/gas/mips/octeon@isa-override-1.d: New test.
155         * testsuite/gas/mips/octeon3@isa-override-1.d: New test.
156         * testsuite/gas/mips/isa-override-2.l: New list test.
157         * testsuite/gas/mips/mips1@isa-override-2.l: New list test.
158         * testsuite/gas/mips/mips2@isa-override-2.l: New list test.
159         * testsuite/gas/mips/mips32@isa-override-2.l: New list test.
160         * testsuite/gas/mips/mips32r2@isa-override-2.l: New list test.
161         * testsuite/gas/mips/mips32r3@isa-override-2.l: New list test.
162         * testsuite/gas/mips/mips32r5@isa-override-2.l: New list test.
163         * testsuite/gas/mips/mips32r6@isa-override-2.l: New list test.
164         * testsuite/gas/mips/r3000@isa-override-2.l: New list test.
165         * testsuite/gas/mips/r3900@isa-override-2.l: New list test.
166         * testsuite/gas/mips/octeon3@isa-override-2.l: New list test.
167         * testsuite/gas/mips/octeon3@isa-override-1.l: New stderr
168         output.
169         * testsuite/gas/mips/isa-override-1.s: New test source.
170         * testsuite/gas/mips/r5900@isa-override-1.s: New test source.
171         * testsuite/gas/mips/isa-override-2.s: New test source.
172         * testsuite/gas/mips/mips1@isa-override-2.s: New test source.
173         * testsuite/gas/mips/mips2@isa-override-2.s: New test source.
174         * testsuite/gas/mips/mips32@isa-override-2.s: New test source.
175         * testsuite/gas/mips/mips32r2@isa-override-2.s: New test source.
176         * testsuite/gas/mips/mips32r3@isa-override-2.s: New test source.
177         * testsuite/gas/mips/mips32r5@isa-override-2.s: New test source.
178         * testsuite/gas/mips/mips32r6@isa-override-2.s: New test source.
179         * testsuite/gas/mips/r3000@isa-override-2.s: New test source.
180         * testsuite/gas/mips/r3900@isa-override-2.s: New test source.
181         * testsuite/gas/mips/octeon3@isa-override-2.s: New test source.
182         * testsuite/gas/mips/mips.exp: Run the new tests.
183
184 2016-04-20  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>
185
186         * cgen.c: Likewise.
187         * config/tc-bfin.c: Likewise.
188         * config/tc-ia64.c: Likewise.
189         * config/tc-mep.c: Likewise.
190         * config/tc-metag.c: Likewise.
191         * config/tc-nios2.c: Likewise.
192         * config/tc-rl78.c: Likewise.
193
194 2016-04-20  Andrew Burgess  <andrew.burgess@embecosm.com>
195
196         * doc/c-arc.texi (ARC Options): Add nps400 to list of valus for
197         -mcpu.  Add cross reference to .cpu directive from -mcpu option.
198         (ARC Directives): Add NPS400 to .cpu directive list.
199
200 2016-04-20  Matthew Wahab  <matthew.wahab@arm.com>
201
202         * config/tc-aarch64.c (aarch64_features): Add "ras".
203         * doc/c-aarch64.texi (AArch64 Extensions): Add "ras".
204         * testsuite/gas/aarch64/armv8-ras-1.d: New.
205         * testsuite/gas/aarch64/armv8-ras-1.s: New.
206         * testsuite/gas/aarch64/illegal-ras-1.d: New.
207         * testsuite/gas/aarch64/illegal-ras-1.s: New.
208
209 2016-04-19  Andrew Burgess  <andrew.burgess@embecosm.com>
210
211         * testsuite/gas/arc/nps400-6.d: New file.
212         * testsuite/gas/arc/nps400-6.s: New file.
213
214 2016-04-19  Andrew Burgess  <andrew.burgess@embecosm.com>
215
216         * testsuite/gas/arc/nps400-4.d: New file.
217         * testsuite/gas/arc/nps400-4.s: New file.
218         * testsuite/gas/arc/nps400-5.d: New file.
219         * testsuite/gas/arc/nps400-5.s: New file.
220
221 2016-04-19  Martin Galvan  <martin.galvan@tallertechnologies.com>
222
223         * doc/as.texinfo (.cfi_remember_state, .cfi_restore_state): Improve
224         documentation.
225
226 2016-04-17  Andrew Burgess  <andrew.burgess@embecosm.com>
227
228         Revert prevous change.
229         * config/tc-arc.c (arc_option): Make .cpu directive
230         case-sensitive again.
231
232 2016-04-16  Andrew Burgess  <andrew.burgess@embecosm.com>
233
234         * config/tc-arc.c (arc_option): Make .cpu directive
235         case-insensitive.
236
237 2016-04-16  Andrew Burgess  <andrew.burgess@embecosm.com>
238
239         * config/tc-arc.c (arc_option): Allow NPS400 in .cpu directive.
240
241 2016-04-15  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>
242
243         * config/tc-mips.c (md_begin): Remove useless assignment.
244
245 2016-04-15  H.J. Lu  <hongjiu.lu@intel.com>
246
247         * Makefile.in: Regenerated with automake 1.11.6.
248         * aclocal.m4: Likewise.
249         * doc/Makefile.in: Likewise.
250
251 2016-04-15  Alan Modra  <amodra@gmail.com>
252
253         * config/tc-ppc.c (toc_reloc_types): Wrap in #ifdef OBJ_ELF
254
255 2016-04-14  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>
256
257         * config/tc-nios2.c (nios2_as_options): Make file static.
258         * config/tc-ppc.c (toc_reloc_ypes): Likewise.
259         * config/tc-sparc.c (native_op_table): Likewise.
260
261 2016-04-14  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>
262
263         * config/tc-m32c.c (M32C_Macros): Remove.
264         * config/tc-msp430.c (option_numbers): Likewise.
265
266 2016-04-14  Andrew Burgess  <andrew.burgess@embecosm.com>
267
268         * testsuite/gas/arc/nps400-3.d: New file.
269         * testsuite/gas/arc/nps400-3.s: New file.
270
271 2016-04-14  Andrew Burgess  <andrew.burgess@embecosm.com>
272
273         * testsuite/gas/arc/add_s-err.s: Update target pattern.
274         * testsuite/gas/arc/warn.s: Likewise.
275         * testsuite/gas/elf/elf.exp: Run test for arc.
276
277 2016-04-14  Nick Clifton  <nickc@redhat.com>
278
279         PR target/19938
280         * testsuite/gas/i386/ilp32/x86-64-unwind.d: Allow for the string
281         sections possibly having the SHF_STRINGS flag bit set.
282         * testsuite/gas/i386/x86-64-unwind.d: Likewise.
283
284 2016-04-12  Claudiu Zissulescu  <claziss@synopsys.com>
285
286         * config/tc-arc.c (mach_type_specified_p): Change type to
287         bfd_boolean.
288         (arc_option): Set private flags when parsing cpu pseudo-op.
289         (md_parse_option): Set mach_type_specified_p to TRUE.
290
291 2016-04-13  Nick Clifton  <nickc@redhat.com>
292
293         PR target/19937
294         * testsuite/gas/v850/pr19937.s: New test.
295         * testsuite/gas/v850/pr19937.d: New test control file.
296         * testsuite/gas/v850/basic.exp: Run the new test.
297
298 2016-04-13  Maciej W. Rozycki  <macro@imgtec.com>
299             Andrew Bennett  <andrew.bennett@imgtec.com>
300
301         * config/tc-mips.c (relaxed_branch_length): Use the long
302         sequence where the target is a weak symbol.
303         (relaxed_micromips_32bit_branch_length): Likewise.
304         (relaxed_micromips_16bit_branch_length): Likewise.
305         * testsuite/gas/mips/branch-weak-1.d: New test.
306         * testsuite/gas/mips/branch-weak-2.d: New test.
307         * testsuite/gas/mips/branch-weak-3.d: New test.
308         * testsuite/gas/mips/branch-weak-4.d: New test.
309         * testsuite/gas/mips/branch-weak-5.d: New test.
310         * testsuite/gas/mips/branch-weak.l: New stderr output.
311         * testsuite/gas/mips/branch-weak.s: New test source.
312         * testsuite/gas/mips/mips.exp: Run the new tests.
313
314 2016-04-13  Maciej W. Rozycki  <macro@imgtec.com>
315
316         * config/tc-mips.c (relaxed_branch_length): Use the long
317         sequence where the distance cannot be determined.
318         (relaxed_micromips_32bit_branch_length): Likewise.
319         * testsuite/gas/mips/branch-extern-1.d: New test.
320         * testsuite/gas/mips/branch-extern-2.d: New test.
321         * testsuite/gas/mips/branch-extern-3.d: New test.
322         * testsuite/gas/mips/branch-extern-4.d: New test.
323         * testsuite/gas/mips/branch-extern.l: New stderr output.
324         * testsuite/gas/mips/branch-extern.s: New test source.
325         * testsuite/gas/mips/branch-section-1.d: New test.
326         * testsuite/gas/mips/branch-section-2.d: New test.
327         * testsuite/gas/mips/branch-section-3.d: New test.
328         * testsuite/gas/mips/branch-section-4.d: New test.
329         * testsuite/gas/mips/branch-section.l: New stderr output.
330         * testsuite/gas/mips/branch-section.s: New test source.
331         * testsuite/gas/mips/mips.exp: Run the new tests.
332
333 2016-04-12  Claudiu Zissulescu  <claziss@synopsys.com>
334
335         * testsuite/gas/arc/textauxregister.d: New file.
336         * testsuite/gas/arc/textauxregister.s: Likewise.
337         * testsuite/gas/arc/textcondcode.d: Likewise.
338         * testsuite/gas/arc/textcondcode.s: Likewise.
339         * testsuite/gas/arc/textcoreregister.d: Likewise.
340         * testsuite/gas/arc/textcoreregister.s: Likewise.
341         * testsuite/gas/arc/textpseudoop.d: Likewise.
342         * testsuite/gas/arc/textpseudoop.s: Likewise.
343         * testsuite/gas/arc/ld2.d: Update test.
344         * testsuite/gas/arc/st.d: Likewise.
345         * testsuite/gas/arc/taux.d: Likewise.
346         * doc/c-arc.texi (ARC Directives): Add .extCondCode,
347         .extCoreRegister and .extAuxRegister documentation.
348         * config/tc-arc.c (arc_extcorereg): New function.
349         (md_pseudo_table): Add .extCondCode, .extCoreRegister and
350         .extAuxRegister pseudo-ops.
351         (extRegister_t): New type.
352         (ext_condcode, arc_aux_hash): New global variable.
353         (find_opcode_match): Check for extensions.
354         (preprocess_operands): Likewise.
355         (md_begin): Add aux registers in a hash.
356         (assemble_insn): Update use arc_flags member.
357         (tokenize_extregister): New function.
358         (create_extcore_section): Likewise.
359         * config/tc-arc.h (arc_flags): Delete code, add flgp.
360
361 2016-04-12  Claudiu Zissulescu  <claziss@synopsys.com>
362
363         * testsuite/gas/arc/noargs_a7.d: New file.
364         * testsuite/gas/arc/noargs_a7.s: Likewise.
365         * testsuite/gas/arc/noargs_hs.d: Likewise.
366         * testsuite/gas/arc/noargs_hs.s: Likewise.
367
368 2016-04-12  Claudiu Zissulescu  <claziss@synopsys.com>
369
370         * testsuite/gas/arc/textinsn-errors.d: New File.
371         * testsuite/gas/arc/textinsn-errors.err: Likewise.
372         * testsuite/gas/arc/textinsn-errors.s: Likewise.
373         * testsuite/gas/arc/textinsn2op.d: Likewise.
374         * testsuite/gas/arc/textinsn2op.s: Likewise.
375         * testsuite/gas/arc/textinsn2op01.d: Likewise.
376         * testsuite/gas/arc/textinsn2op01.s: Likewise.
377         * testsuite/gas/arc/textinsn3op.d: Likewise.
378         * testsuite/gas/arc/textinsn3op.s: Likewise.
379         * doc/c-arc.texi (ARC Directives): Add .extInstruction
380         documentation.
381         * config/tc-arc.c (arcext_section): New variable.
382         (arc_extinsn): New function.
383         (md_pseudo_table): Add .extInstruction pseudo op.
384         (attributes_t): New type.
385         (suffixclass, syntaxclass, syntaxclassmod): New constant
386         structures.
387         (find_opcode_match): Remove arc_num_opcodes.
388         (md_begin): Likewise.
389         (tokenize_extinsn): New function.
390         (arc_set_ext_seg): Likewise.
391         (create_extinst_section): Likewise.
392
393 2016-04-12  Claudiu Zissulescu  <claziss@synopsys.com>
394
395         * config/tc-arc.c (preprocess_operands): Mark AUX symbol.
396         (arc_adjust_symtab): New function.
397         * config/tc-arc.h (ARC_FLAG_AUX): Define.
398         (obj_adjust_symtab): Likewise.
399         * testsuite/gas/arc/taux.d: New file.
400         * testsuite/gas/arc/taux.s: Likewise.
401
402 2016-04-09  Maciej W. Rozycki  <macro@imgtec.com>
403
404         * config/tc-mips.c (s_option): Sanitize `.option picX'
405         pseudo-op.
406         * testsuite/gas/mips/option-pic-1.d: New test.
407         * testsuite/gas/mips/option-pic-2.l: New list test.
408         * testsuite/gas/mips/option-pic-1.s: New test source.
409         * testsuite/gas/mips/option-pic-2.s: New test source.
410         * testsuite/gas/mips/mips.exp: Run the new tests.
411
412 2016-04-09  Maciej W. Rozycki  <macro@imgtec.com>
413
414         * config/tc-mips.c (s_option): Reject `.option picX' if VxWorks
415         PIC.
416         * testsuite/gas/mips/option-pic-vxworks-1.l: New list test.
417         * testsuite/gas/mips/option-pic-vxworks-2.l: New list test.
418         * testsuite/gas/mips/option-pic-vxworks-1.s: New test source.
419         * testsuite/gas/mips/option-pic-vxworks-2.s: New test source.
420         * testsuite/gas/mips/mips.exp: Run the new tests.
421
422 2016-04-09  Maciej W. Rozycki  <macro@imgtec.com>
423
424         * config/tc-mips.c (can_swap_branch_p): Correct call formatting.
425
426 2016-04-09  Maciej W. Rozycki  <macro@imgtec.com>
427
428         * messages.c (as_bad): Fix a typo in description.
429
430 2016-04-09  Maciej W. Rozycki  <macro@imgtec.com>
431
432         * config/tc-mips.c (mips_check_options): Unify messages.
433
434 2016-04-09  Maciej W. Rozycki  <macro@imgtec.com>
435
436         * config/tc-mips.c (mips_check_options): Use `opts->isa'
437         consistently.
438
439 2016-04-08  Nick Clifton  <nickc@redhat.com>
440
441         PR target/19910
442         * testsuite/gas/sparc/pr19910-1.d: Adjust regexps to work with
443         COFF and AOUT sparc targets.
444
445 2016-04-07  Andrew Burgess  <andrew.burgess@embecosm.com>
446
447         * config/tc-arc.h (MAX_FLAG_NAME_LENGTH): Increase to 7.
448         * testsuite/gas/arc/nps400-2.d: New file.
449         * testsuite/gas/arc/nps400-2.s: New file.
450
451 2016-04-07  Andrew Burgess  <andrew.burgess@embecosm.com>
452
453         * config/tc-arc.c (struct arc_opcode_hash_entry_iterator): New
454         structure.
455         (arc_opcode_hash_entry_iterator_init): New function.
456         (arc_opcode_hash_entry_iterator_next): New function.
457         (find_opcode_match): Iterate over all arc_opcode entries
458         referenced by the arc_opcode_hash_entry passed in as a parameter.
459
460 2016-04-07  Andrew Burgess  <andrew.burgess@embecosm.com>
461
462         * config/tc-arc.c (arc_find_opcode): Now returns
463         arc_opcode_hash_entry pointer.
464         (find_opcode_match): Update argument type, extract arc_opcode from
465         incoming arc_opcode_hash_entry.
466         (find_special_case_pseudo): Update return type.
467         (find_special_case_flag): Update return type.
468         (find_special_case): Update return type.
469         (assemble_tokens): Lookup arc_opcode_hash_entry based on
470         instruction mnemonic, then use find_opcode_match to identify
471         specific arc_opcode.
472
473 2016-04-07  Andrew Burgess  <andrew.burgess@embecosm.com>
474
475         * config/tc-arc.c (struct arc_opcode_hash_entry): New structure.
476         (arc_find_opcode): New function.
477         (find_special_case_pseudo): Use arc_find_opcode.
478         (find_special_case_flag): Likewise.
479         (assemble_tokens): Likewise.
480         (md_begin): Build hash using struct arc_opcode_hash_entry.
481
482 2016-04-07  Claudiu Zissulescu  <claziss@synopsys.com>
483
484         * config/tc-arc.c (arc_option): Prepare string for automatic
485         translation.
486         (declare_register): Likewise.
487
488 2016-04-06  James Greenhalgh  <james.greenhalgh@arm.com>
489
490         * doc/c-aarch64.texi (Architecture Extensions): Add entry for LSE.
491         Correct entry for RDMA.  Alpha sort entries.
492
493 2016-04-07  Andrew Burgess  <andrew.burgess@embecosm.com>
494
495         * config/tc-arc.c (tokenize_flags): Allow greater range of
496         characters into flag names.
497
498 2016-04-07  Andrew Burgess  <andrew.burgess@embecosm.com>
499
500         * config/tc-arc.c (find_opcode_match): Handle O_symbol case, add
501         new de_fault label.
502         (preprocess_operands): Delete.
503         (assemble_tokens): Remove call to preprocess_operands.
504
505 2016-04-07  Nick Clifton  <nickc@redhat.com>
506
507         PR gas/19910
508         * config/tc-sparc.c (sparc_ip): Report an error if the expression
509         inside a %-macro could not be fully parsed.
510         * expr.c (integer_constant): Accept and ignore U suffixes to
511         integers.
512         (operand): When a missing closing parenthesis is encountered,
513         report the character that was found instead.
514         * testsuite/gas/mips/tls-ill.l: Update expected error message.
515         * testsuite/gas/sparc/pr19910-1.d: New test driver.
516         * testsuite/gas/sparc/pr19910-1.s: New test.
517         * testsuite/gas/sparc/pr19910-2.l: Expected error output.
518         * testsuite/gas/sparc/pr19910-2.s: New test.
519         * testsuite/gas/sparc/sparc.exp: Run the new tests.
520
521 2016-04-06  Nick Clifton  <nickc@redhat.com>
522
523         * config/tc-msp430.c (msp430_operands): Check for a NOP preceding
524         an EINT instruction.  Warn/fix as necessary.
525         * testsuite/gas/msp430/bad.s: Add test of EINT without preceding NOP.
526         * testsuite/gas/msp430/bad.l: Update expected messages.
527
528 2016-04-05  Andrew Burgess  <andrew.burgess@embecosm.com>
529
530         * testsuite/gas/arc/nps400-1.d: Update expected results.
531         * testsuite/gas/arc/nps400-1.s: Additional test cases.
532
533 2016-04-05  Claudiu Zissulescu  <claziss@synopsys.com>
534
535         * config/tc-arc.c (is_code_density_p): Compare directly the
536         subclass field.
537         (is_spfp_p, is_dpfp_p, is_spfp_p): Define.
538         (check_cpu_feature): New function.
539         (find_opcode_match): Use check_cpu_feature function.
540         (preprocess_operands): Likewise.
541         (md_parse_option): Use mfpuda, mdpfp, mspfp options.
542         * testsuite/gas/arc/tdpfp.d: New file.
543         * testsuite/gas/arc/tfpuda.d: Likewise.
544         * testsuite/gas/arc/tfpx.s: Likewise.
545
546 2016-04-05  Jiong Wang  <jiong.wang@arm.com>
547
548         * config/tc-arm.c (do_neon_mac_maybe_scalar): Allow F16.
549         * testsuite/gas/arm/armv8-2-fp16-simd.s: New tests.
550         * testsuite/gas/arm/armv8-2-fp16-simd.d: New expected results.
551         * testsuite/gas/arm/armv8-2-fp16-simd-thum.d: Likewise for Thumb.
552         * testsuite/gas/arm/armv8-2-fp16-simd-warning.l: New warning results.
553         * testsuite/gas/arm/simd_by_scalar_low_regbank.s: New test source.
554         * testsuite/gas/arm/simd_by_scalar_low_regbank.d: New testcase.
555         * testsuite/gas/arm/simd_by_scalar_low_regbank_thumb.d: Likewise
556         for Thumb.
557         * testsuite/gas/arm/simd_by_scalar_low_regbank.l: New warning results.
558
559 2016-04-05  Claudiu Zissulescu  <claziss@synopsys.com>
560
561         * config/tc-arc.c (assemble_insn): Prohibit pc-rel relocations for
562         JUMP instructions type.
563         * testsuite/gas/arc/relocs-errors.d: New file.
564         * testsuite/gas/arc/relocs-errors.err: Likewise.
565         * testsuite/gas/arc/relocs-errors.s: Likewise.
566
567 2016-04-04  H.J. Lu  <hongjiu.lu@intel.com>
568
569         PR gas/19909
570         * config/tc-i386.c (check_VecOperands): Try vec_disp8 encoding
571         only if i.disp_encoding != disp_encoding_32bit.
572         * gas/testsuite/gas/i386/disp32.s: Add tests for vmovdqu64.d32.
573         * gas/testsuite/gas/i386/x86-64-disp32.s: Likewise.
574         * gas/testsuite/gas/i386/disp32.d: Updated.
575         * gas/testsuite/gas/i386/x86-64-disp32.d: Likewise.
576
577 2016-04-04  H.J. Lu  <hongjiu.lu@intel.com>
578
579         PR gas/19498
580         * testsuite/gas/i386/i386.exp: Run pr19498.
581         * testsuite/gas/i386/pr19498.d: New file.
582         * testsuite/gas/i386/pr19498.s: Likewise.
583
584 2016-04-04  Andrew Burgess  <andrew.burgess@embecosm.com>
585
586         * config/tc-arc.h: Include 'opcode/arc.h'.
587         (MAX_INSN_ARGS): Delete.
588         (MAX_INSN_FLGS): Delete.
589
590 2016-04-04  Alan Modra  <amodra@gmail.com>
591
592         PR 19498
593         * symbols.c (resolve_symbol_value): Clear sy_resolving on exit
594         from function on all paths that set sy_resolving.
595
596 2016-04-03  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>
597
598         * app.c (app_push): use XNEW macro.
599         * as.c: Likewise.
600         * config/obj-elf.c (obj_elf_change_section): Likewise.
601         (elf_copy_symbol_attributes): Likewise.
602         (obj_elf_size): Likewise.
603         (build_group_lists): Likewise.
604         * config/tc-aarch64.c (add_operand_error_record): Likewise.
605         (md_assemble): Likewise.
606         (tc_gen_reloc): Likewise.
607         (get_upper_str): Likewise.
608         (aarch64_parse_features): Likewise.
609         * config/tc-arm.c (insert_reg_alias): Likewise.
610         (insert_neon_reg_alias): Likewise.
611         (find_or_make_literal_pool): Likewise.
612         (s_arm_elf_cons): Likewise.
613         (add_unwind_opcode): Likewise.
614         (arm_parse_extension): Likewise.
615         * config/tc-avr.c (create_record_for_frag): Likewise.
616         * config/tc-crx.c: Likewise.
617         * config/tc-d30v.c: Likewise.
618         * config/tc-dlx.c (s_proc): Likewise.
619         * config/tc-ft32.c: Likewise.
620         * config/tc-h8300.c: Likewise.
621         * config/tc-hppa.c (pa_proc): Likewise.
622         (create_new_space): Likewise.
623         (create_new_subspace): Likewise.
624         * config/tc-i860.c: Likewise.
625         * config/tc-i960.c: Likewise.
626         * config/tc-ia64.c: Likewise.
627         * config/tc-iq2000.c (iq2000_add_macro): Likewise.
628         (iq2000_record_hi16): Likewise.
629         * config/tc-m32c.c (m32c_indirect_operand): Likewise.
630         * config/tc-m32r.c (debug_sym): Likewise.
631         (m32r_record_hi16): Likewise.
632         * config/tc-m68k.c (m68k_ip): Likewise.
633         (md_begin): Likewise.
634         * config/tc-mcore.c: Likewise.
635         * config/tc-microblaze.c (check_got): Likewise.
636         * config/tc-mips.c (append_insn): Likewise.
637         (s_mipsset): Likewise.
638         (mips_record_label): Likewise.
639         (s_mips_end): Likewise.
640         * config/tc-mmix.c (mmix_frob_file): Likewise.
641         * config/tc-mn10200.c: Likewise.
642         * config/tc-mn10300.c: Likewise.
643         * config/tc-moxie.c: Likewise.
644         * config/tc-msp430.c: Likewise.
645         * config/tc-nds32.c (nds32_elf_save_pseudo_pattern): Likewise.
646         * config/tc-ns32k.c: Likewise.
647         * config/tc-or1k.c: Likewise.
648         * config/tc-pdp11.c: Likewise.
649         * config/tc-pj.c (fake_opcode): Likewise.
650         * config/tc-ppc.c (ppc_apuinfo_section_add): Likewise.
651         (ppc_macro): Likewise.
652         (ppc_dwsect): Likewise.
653         (ppc_machine): Likewise.
654         * config/tc-rl78.c (rl78_frag_init): Likewise.
655         * config/tc-rx.c (rx_frag_init): Likewise.
656         * config/tc-s390.c (s390_lit_suffix): Likewise.
657         (s390_machine): Likewise.
658         (s390_machinemode): Likewise.
659         * config/tc-score.c (s3_insert_reg): Likewise.
660         (s3_gen_reloc): Likewise.
661         * config/tc-score7.c (s7_insert_reg): Likewise.
662         (s7_gen_reloc): Likewise.
663         * config/tc-tic30.c (tic30_operand): Likewise.
664         * config/tc-tic4x.c (tic4x_inst_make): Likewise.
665         * config/tc-tic54x.c (stag_add_field): Likewise.
666         (tic54x_struct): Likewise.
667         (tic54x_space): Likewise.
668         (tic54x_field): Likewise.
669         (tic54x_mlib): Likewise.
670         (subsym_substitute): Likewise.
671         * config/tc-tic6x.c (tic6x_frob_label): Likewise.
672         * config/tc-vax.c: Likewise.
673         * config/tc-xc16x.c: Likewise.
674         * config/tc-xtensa.c (xtensa_add_insn_label): Likewise.
675         (directive_push): Likewise.
676         (xtensa_begin_directive): Likewise.
677         (tokenize_arguments): Likewise.
678         (xtensa_add_literal_sym): Likewise.
679         (new_resource_table): Likewise.
680         (resize_resource_table): Likewise.
681         (emit_single_op): Likewise.
682         (xtensa_create_trampoline_frag): Likewise.
683         (xtensa_maybe_create_literal_pool_frag): Likewise.
684         (xtensa_add_config_info): Likewise.
685         (xtensa_realloc_fixup_cache): Likewise.
686         (add_subseg_info): Likewise.
687         (cache_literal_section): Likewise.
688         (add_xt_block_frags): Likewise.
689         (add_xt_prop_frags): Likewise.
690         (init_op_placement_info_table): Likewise.
691         (build_section_rename): Likewise.
692         * config/tc-z80.c: Likewise.
693         * config/tc-z8k.c: Likewise.
694         * depend.c (register_dependency): Likewise.
695         * dwarf2dbg.c (get_line_subseg): Likewise.
696         (dwarf2_gen_line_info_1): Likewise.
697         (get_filenum): Likewise.
698         * ecoff.c (allocate_scope): Likewise.
699         (allocate_vlinks): Likewise.
700         (allocate_shash): Likewise.
701         (allocate_thash): Likewise.
702         (allocate_tag): Likewise.
703         (allocate_forward): Likewise.
704         (allocate_thead): Likewise.
705         (allocate_lineno_list): Likewise.
706         * expr.c (make_expr_symbol): Likewise.
707         * hash.c (hash_new_sized): Likewise.
708         * input-file.c (input_file_push): Likewise.
709         * listing.c (file_info): Likewise.
710         (listing_newline): Likewise.
711         * macro.c (new_formal): Likewise.
712         (define_macro): Likewise.
713         * remap.c (add_debug_prefix_map): Likewise.
714         * symbols.c (symbol_find_noref): Likewise.
715         (define_dollar_label): Likewise.
716         (fb_label_instance_inc): Likewise.
717         (symbol_relc_make_value): Likewise.
718
719 2016-04-03  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>
720
721         * config/obj-elf.c (obj_elf_vendor_attribute): Use xstrdup.
722         * config/tc-ppc.c (ppc_frob_file_before_adjust): Likewise.
723         (ppc_znop): Likewise.
724         (ppc_pe_section): Likewise.
725         (ppc_frob_symbol): Likewise.
726         * config/tc-tic30.c (tic30_operand): Likewise.
727         * config/tc-tic4x.c (tic4x_sect): Likewise.
728         (tic4x_usect): Likewise.
729
730 2016-04-03  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>
731
732         * config/tc-alpha.c: Const qualify FLT_CHARS.
733         * config/atof-ieee.c: Remove declarations of FLT_CHARS and EXP_CHARS.
734         * config/tc-cris.h: Likewise.
735         * expr.c: Likewise.
736         * config/tc-mmix.c (md_atof): Adjust comment.
737         * config/tc-mmix.h: Stop defining FLT_CHARS and EXP_CHARS as macros.
738         * tc.h: Declare FLT_CHARS and EXP_CHARS.
739
740 2016-04-03  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>
741
742         * config/tc-score.c (s3_gen_reloc): Add const qualifiers.
743         * config/tc-score7.c (s7_gen_reloc): Likewise.
744
745 2016-04-03  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>
746
747         * config/tc-arm.c (do_t_branch): Change the type of reloc to
748         bfd_reloc_code_real_type.
749
750 2016-04-03  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>
751
752         * config/bfin-parse.y (current_inputline): Remove definition.
753         * config/tc-bfin.c (md_assemble): Simplify use of current_inputline.
754
755 2016-04-03  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>
756
757         * config/tc-avr.c (md_parse_option): Use strcasecmp () to compare
758         strings.
759
760 2016-04-02  Alan Modra  <amodra@gmail.com>
761
762         PR 19896
763         * read.c (assign_symbol): Consume rest of line after an error
764         rather than continuing to process the line.
765
766 2016-04-01  Andrew Burgess  <andrew.burgess@embecosm.com>
767
768         * config/tc-arc.h (MAX_FLAG_NAME_LENGHT): Rename to...
769         (MAX_FLAG_NAME_LENGTH): ...this.
770         (struct arc_flags): Update to use MAX_FLAG_NAME_LENGTH.
771         * config/tc-arc.c (tokenize_flags): Likewise.
772
773 2016-04-01  Alan Modra  <amodra@gmail.com>
774
775         * cgen.c (weak_operand_overflow_check): Return const char*.
776         * messages.c (as_internal_value_out_of_range): Formatting.
777         (as_warn_value_out_of_range): Consify prefix param.
778         (as_bad_value_out_of_range): Likewise.
779         * read.c (s_errwarn): Constify msg..
780         (s_float_space, float_cons): ..and err.
781         * as.h (as_warn_value_out_of_range, as_bad_value_out_of_range,
782         ieee_md_atof, vax_md_atof): Update prototypes.
783         * tc.h (md_atof): Update prototype.
784         * config/atof-ieee.c (ieee_md_atof): Return const char*.
785         * config/atof-vax.c (vax_md_atof): Likewise.
786         * config/obj-elf.c (obj_elf_parse_section_letters): Constify bad_msg.
787         * config/tc-aarch64.c (md_atof): Return const char*.
788         * config/tc-alpha.c (s_alpha_section_name): Likewise.
789         (s_alpha_comm): Constify sec_name.
790         (section_name): Constify.
791         (s_alpha_section): Consify name..
792         (alpha_elf_section_letter): ..and ptr_msg param..
793         (md_atof): ..and return.
794         * config/tc-alpha.h (alpha_elf_section_letter): Update prototype.
795         * config/tc-arc.c (md_atof): Return const char*.
796         * config/tc-arm.c (md_atof): Likewise.
797         * config/tc-avr.c (md_atof): Likewise.
798         * config/tc-bfin.c (md_atof): Likewise.
799         * config/tc-cr16.c (md_atof): Likewise.
800         * config/tc-cris.c (md_atof): Likewise.
801         * config/tc-crx.c (md_atof): Likewise.
802         * config/tc-d10v.c (md_atof): Likewise.
803         * config/tc-d30v.c (md_atof): Likewise.
804         * config/tc-dlx.c (md_atof): Likewise.
805         * config/tc-epiphany.c (md_atof): Likewise.
806         * config/tc-fr30.c (md_atof): Likewise.
807         * config/tc-frv.c (md_atof): Likewise.
808         * config/tc-ft32.c (md_atof): Likewise.
809         * config/tc-h8300.c (md_atof): Likewise.
810         * config/tc-hppa.c (struct default_subspace_dict): Constify name.
811         (struct default_space_dict): Likewise.
812         (create_new_space): Constify name param.
813         (create_new_subspace): Likewise.
814         (is_defined_space, is_defined_subspace): Likewise.
815         (pa_parse_space_stmt): Constify space_name param.
816         (md_atof): Return const char*.
817         (pa_spaces_begin): Constify name.
818         * config/tc-i370.c (md_atof): Return const char*.
819         * config/tc-i386.c (md_atof): Likewise.
820         (x86_64_section_letter): Constify ptr_msg param.
821         * config/tc-i386.h (x86_64_section_letter): Update prototype.
822         * config/tc-i860.c (struct i860_it): Constify error.
823         (md_atof): Return const char*.
824         * config/tc-i960.c (md_atof): Likewise.
825         * config/tc-ia64.c (md_atof): Likewise.
826         (ia64_elf_section_letter): Constify ptr_msg param.
827         * config/tc-ia64.h (ia64_elf_section_letter): Update prototype.
828         * config/tc-ip2k.c (md_atof): Return const char*.
829         * config/tc-iq2000.c (md_atof): Likewise.
830         * config/tc-lm32.c (md_atof): Likewise.
831         * config/tc-m32c.c (md_atof): Likewise.
832         * config/tc-m32r.c (md_atof): Likewise.
833         * config/tc-m68hc11.c (md_atof): Likewise.
834         * config/tc-m68k.c (md_atof): Likewise.
835         * config/tc-mcore.c (md_atof): Likewise.
836         * config/tc-mep.c (md_atof): Likewise.
837         (mep_elf_section_letter): Constify ptr_msg param.
838         * config/tc-mep.h (mep_elf_section_letter): Update prototype.
839         * config/tc-metag.c (md_atof): Return const char*.
840         * config/tc-microblaze.c (md_atof): Likewise.
841         * config/tc-microblaze.h (md_atof): Delete prototype.
842         * config/tc-mips.c (mips_parse_argument_token): Constify err.
843         (md_atof): Return const char*.
844         * config/tc-mmix.c (md_atof): Likewise.
845         * config/tc-mn10200.c (md_atof): Likewise.
846         * config/tc-mn10300.c (md_atof): Likewise.
847         * config/tc-moxie.c (md_atof): Likewise.
848         * config/tc-msp430.c (md_atof): Likewise.
849         * config/tc-mt.c (md_atof): Likewise.
850         * config/tc-nds32.c (md_atof): Likewise.
851         * config/tc-nios2.c (md_atof): Likewise.
852         (nios2_elf_section_letter): Constify ptr_msg param.
853         * config/tc-nios2.h (nios2_elf_section_letter): Update prototype.
854         * config/tc-ns32k.c (md_atof): Return const char*.
855         * config/tc-or1k.c (md_atof): Likewise.
856         * config/tc-pdp11.c (struct pdp11_code): Constify error.
857         (md_atof): Return const char*.
858         * config/tc-pj.c (md_atof): Likewise.
859         * config/tc-ppc.c (md_atof): Likewise.
860         * config/tc-rl78.c (md_atof): Likewise.
861         * config/tc-rx.c (md_atof): Likewise.
862         * config/tc-s390.c (md_atof): Likewise.
863         * config/tc-score.c (s3_atof, md_atof): Likewise.
864         * config/tc-sh.c (md_atof): Likewise.
865         * config/tc-sparc.c (struct sparc_it): Constify error.
866         (md_atof): Return const char*.
867         * config/tc-spu.c (md_atof): Likewise.
868         * config/tc-tic30.c (md_atof): Likewise.
869         * config/tc-tic4x.c (md_atof): Likewise.
870         * config/tc-tic54x.c (md_atof): Likewise.
871         * config/tc-tic6x.c (md_atof): Likewise.
872         * config/tc-tilegx.c (md_atof): Likewise.
873         * config/tc-tilepro.c (md_atof): Likewise.
874         * config/tc-v850.c (parse_register_list, md_atof): Likewise.
875         * config/tc-vax.c (md_atof): Likewise.
876         * config/tc-visium.c (md_atof): Likewise.
877         * config/tc-xc16x.c (md_atof): Likewise.
878         * config/tc-xgate.c (md_atof): Likewise.
879         * config/tc-xstormy16.c (md_atof): Likewise.
880         * config/tc-xtensa.c (md_atof): Likewise.
881         * config/tc-z80.c (md_atof): Likewise.
882         * config/tc-z8k.c (md_atof): Likewise.
883
884 2016-03-31  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>
885
886         * config/tc-xtensa.c (struct rename_section_struct): Make old_name
887         const.
888         (xtensa_section_rename): Make argument type const char *.
889         * config/tc-xtensa.h (xtensa_section_rename): Adjust.
890
891 2016-03-31  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>
892
893         * config/tc-i960.c (parse_ldconst): Cast to char * when assigning to
894         args[0].
895
896 2016-03-31  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>
897
898         * config/tc-m32c.c (m32c_md_end): cast the argument to md_assemble to
899         char *.
900         (m32c_indirect_operand): Likewise.
901         * config/tc-nds32.c (do_pseudo_b): Likewise.
902         (do_pseudo_bal): Likewise.
903         (do_pseudo_ls_bhw): Likewise.
904
905 2016-03-31  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>
906
907         * as.c (parse_args): Cast literal to char * when assigning to optarg.
908
909 2016-03-31  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>
910
911         * config/tc-ia64.c (md_assemble): Add temporary variable to pass to
912         get_symbol_name ().
913         * config/tc-sparc.c (s_register): Cast a literal to char * in
914         assignment.
915
916 2016-03-31  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>
917
918         * config/tc-i960.c (parse_expr): Cast to char * when assigning to
919         input_line_pointer.
920         * config/tc-m32r.c (expand_debug_syms): Likewise.
921         * config/tc-msp430.c (msp430_dstoperand): Likewise.
922         * config/tc-z80.c (md_begin): Likewise.
923         * stabs.c (stabs_generate_asm_func): Likewise.
924
925 2016-03-31  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>
926
927         * cgen.c: Modernize the way functions declare arguments.
928         * config/tc-bfin.c: Likewise.
929         * config/tc-pdp11.c: Likewise.
930         * literal.c: Likewise.
931         * read.c: Likewise.
932         * stabs.c: Likewise.
933
934 2016-03-31  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>
935
936         * config/tc-aarch64.c (aarch64_handle_align): Make the type of some
937         variables unsigned char[].
938         * config/tc-alpha.c (alpha_handle_align): Likewise.
939         * config/tc-arm.c (arm_handle_align): Likewise.
940         * config/tc-z80.c: Likewise.
941
942 2016-03-30  Nick Clifton  <nickc@redhat.com>
943
944         PR target/19880
945         * config/tc-arm.c (do_t_push_pop): Cast bitmask to unsigned before
946         shifting.
947
948 2016-03-30  Claudiu Zissulescu  <claziss@synopsys.com>
949
950         * testsuite/gas/all/gas.exp: Don't xfail on ARC.
951         * testsuite/gas/elf/elf.exp: Likewise.
952         * testsuite/gas/all/redef3.d: Allow execution for ARC.
953
954 2016-03-30  Claudiu Zissulescu  <claziss@synopsys.com>
955
956         * testsuite/gas/arc/warn.exp: Fix matching pattern.
957
958 2016-03-29  Claudiu Zissulescu  <claziss@synopsys.com>
959
960         * testsuite/gas/arc/ext2op.d: New file.
961         * testsuite/gas/arc/ext2op.s: Likewise.
962         * testsuite/gas/arc/ext3op.d: Likewise.
963         * testsuite/gas/arc/ext3op.s: Likewise.
964
965 2016-03-29  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>
966
967         * config/tc-aarch64.c (struct aarch64_long_option_table): Ad const
968         qualifier.
969         * config/tc-alpha.c (md_parse_option): Likewise.
970         * config/tc-arc.c (md_parse_option): Likewise.
971         * config/tc-arm.c (struct arm_long_option_table): Likewise.
972         (md_parse_option): Likewise.
973         * config/tc-avr.c (md_parse_option): Likewise.
974         * config/tc-bfin.c (md_parse_option): Likewise.
975         * config/tc-cr16.c (md_parse_option): Likewise.
976         * config/tc-cris.c (s_cris_arch): Likewise.
977         (md_parse_option): Likewise.
978         * config/tc-crx.c (md_parse_option): Likewise.
979         * config/tc-d10v.c (md_parse_option): Likewise.
980         * config/tc-d30v.c (md_parse_option): Likewise.
981         * config/tc-dlx.c (md_parse_option): Likewise.
982         * config/tc-epiphany.c (md_parse_option): Likewise.
983         * config/tc-fr30.c (md_parse_option): Likewise.
984         * config/tc-frv.c (md_parse_option): Likewise.
985         * config/tc-ft32.c (md_parse_option): Likewise.
986         * config/tc-h8300.c (md_parse_option): Likewise.
987         * config/tc-hppa.c (md_parse_option): Likewise.
988         * config/tc-i370.c (md_parse_option): Likewise.
989         * config/tc-i386.c (md_parse_option): Likewise.
990         * config/tc-i860.c (md_parse_option): Likewise.
991         * config/tc-i960.c (md_parse_option): Likewise.
992         * config/tc-ia64.c (md_parse_option): Likewise.
993         * config/tc-ip2k.c (md_parse_option): Likewise.
994         * config/tc-iq2000.c (md_parse_option): Likewise.
995         * config/tc-lm32.c (md_parse_option): Likewise.
996         * config/tc-m32c.c (md_parse_option): Likewise.
997         * config/tc-m32r.c (md_parse_option): Likewise.
998         * config/tc-m68hc11.c (md_parse_option): Likewise.
999         * config/tc-m68k.c (md_parse_option): Likewise.
1000         * config/tc-mcore.c (md_parse_option): Likewise.
1001         * config/tc-mep.c (md_parse_option): Likewise.
1002         * config/tc-metag.c (struct metag_long_option): Likewise.
1003         (md_parse_option): Likewise.
1004         * config/tc-microblaze.c (md_parse_option): Likewise.
1005         * config/tc-microblaze.h (md_parse_option): Remove prototype.
1006         * config/tc-mips.c (md_parse_option): Adjust.
1007         * config/tc-mmix.c (md_parse_option): Likewise.
1008         * config/tc-mn10200.c (md_parse_option): Likewise.
1009         * config/tc-mn10300.c (md_parse_option): Likewise.
1010         * config/tc-moxie.c (md_parse_option): Likewise.
1011         * config/tc-msp430.c (md_parse_option): Likewise.
1012         * config/tc-mt.c (md_parse_option): Likewise.
1013                 * config/tc-nds32.c (md_parse_option): Likewise.
1014                 * config/tc-nds32.h (nds32_parse_option): Likewise.
1015         * config/tc-nios2.c (md_parse_option): Likewise.
1016         * config/tc-ns32k.c (md_parse_option): Likewise.
1017         * config/tc-or1k.c (md_parse_option): Likewise.
1018         * config/tc-pdp11.c (md_parse_option): Likewise.
1019         * config/tc-pj.c (md_parse_option): Likewise.
1020         * config/tc-ppc.c (md_parse_option): Likewise.
1021         * config/tc-rl78.c (md_parse_option): Likewise.
1022         * config/tc-rx.c (md_parse_option): Likewise.
1023         * config/tc-s390.c (s390_parse_cpu): Likewise.
1024         * config/tc-score.c (md_parse_option): Likewise.
1025         * config/tc-sh.c (md_parse_option): Likewise.
1026         * config/tc-sparc.c (md_parse_option): Likewise.
1027         * config/tc-spu.c (md_parse_option): Likewise.
1028         * config/tc-tic30.c (md_parse_option): Likewise.
1029         * config/tc-tic4x.c (md_parse_option): Likewise.
1030         * config/tc-tic54x.c (md_parse_option): Likewise.
1031         * config/tc-tic6x.c (md_parse_option): Likewise.
1032         * config/tc-tilegx.c (md_parse_option): Likewise.
1033         * config/tc-tilepro.c (md_parse_option): Likewise.
1034         * config/tc-v850.c (md_parse_option): Likewise.
1035         * config/tc-vax.c (md_parse_option): Likewise.
1036         * config/tc-visium.c (struct visium_long_option_table): Likewise.
1037         * config/tc-xc16x.c (md_parse_option): Likewise.
1038         * config/tc-xgate.c (md_parse_option): Likewise.
1039         * config/tc-xstormy16.c (md_parse_option): Likewise.
1040         * config/tc-xtensa.c (md_parse_option): Likewise.
1041         * config/tc-z80.c (md_parse_option): Likewise.
1042         * config/tc-z8k.c (md_parse_option): Likewise.
1043         * tc.h (md_parse_option): Likewise.
1044
1045 2016-03-29  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>
1046
1047         * config/tc-bfin.c (gencode): Use XOBNEW obstack_alloc () wrapper.
1048         * config/tc-hppa.c (fix_new_hppa): Likewise.
1049         (pa_vtable_entry): Likewise.
1050         (pa_vtable_inherit): Likewise.
1051         * config/tc-m68k.c (md_begin): Likewise.
1052
1053 2016-03-28  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>
1054
1055         * config/obj-elf.c (obj_elf_section_name): Return const char *.
1056         * config/obj-elf.h (obj_elf_section_name): Adjust.
1057         * config/tc-aarch64.c (aarch64_parse_features): Likewise.
1058         (aarch64_parse_cpu): Likewise.
1059         (aarch64_parse_arch): Likewise.
1060         * config/tc-arm.c (arm_parse_extension): Likewise.
1061         (arm_parse_cpu): Likewise.
1062         (arm_parse_arch): Likewise.
1063         * config/tc-nds32.c: Likewise.
1064         * config/xtensa-relax.c (parse_special_fn): Likewise.
1065         * stabs.c (generate_asm_file): Likewise.
1066
1067 2016-03-25  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>
1068
1069         * config/tc-cr16.c (cr16_assemble): New function.
1070         (md_assemble): Call cr16_assemble.
1071
1072 2016-03-25  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>
1073
1074         * as.c (parse_args): Adjust.
1075         * as.h (flag_size_check): Rename to flag_allow_nonconst_size.
1076         * config/obj-elf.c (elf_frob_symbol): Adjust.
1077
1078 2016-03-24  Jose E. Marchesi  <jose.marchesi@oracle.com>
1079
1080         * config/tc-sparc.c (sparc_ip): Remove the V9 restriction on ASR
1081         registers to be in the 16..31 range.
1082
1083 2016-03-24  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>
1084
1085         * config/tc-microblaze.c (md_assemble): Cast opc to char * when calling
1086         frag_var ().
1087
1088 2016-03-24  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>
1089
1090         * config/tc-visium.c (md_atof): Localize the string returned on
1091         failure.
1092
1093 2016-03-22  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>
1094
1095         * config/tc-h8300.c (h8300_elf_section): Add const qualifiers.
1096         * config/tc-ia64.c (obj_elf_vms_common): Likewise.
1097         * config/tc-m68hc11.c (md_begin): Likewise.
1098         (print_opcode_list): Likewise.
1099         * config/tc-msp430.c (msp430_section): Likewise.
1100         * config/tc-score.c (struct s3_insn_to_dependency): Likewise.
1101         (s3_build_dependency_insn_hsh): Likewise.
1102         * config/tc-score7.c (struct s7_insn_to_dependency): Likewise.
1103         (s7_build_dependency_insn_hsh): Likewise.
1104         * config/tc-tic4x.c: Likewise.
1105         * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
1106         (subsym_get_arg): Likewise.
1107         * config/tc-xtensa.c (struct suffix_reloc_map): Likewise.
1108         (get_directive): Likewise.
1109         (cache_literal_section): Likewise.
1110         * config/xtensa-relax.c: Likewise.
1111         * symbols.c (symbol_create): Likewise.
1112         (local_symbol_make): Likewise.
1113         (symbol_relc_make_expr): Likewise.
1114
1115 2016-03-22  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>
1116
1117         * config/tc-pdp11.c (md_assemble): Remove useless if and assignment to
1118         str.
1119
1120 2016-03-22  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>
1121
1122         * config/tc-sparc.c (sparc_regname_to_dw2regnum): Replace strchr ()
1123         call with a switch.
1124
1125 2016-03-22  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>
1126
1127         * config/tc-ia64.c (ia64_do_align): Remove.
1128         (ia64_cons_align): Call do_align () directly.
1129         (dot_proc): Likewise.
1130         (stmt_float_cons): Likewise.
1131
1132 2016-03-22  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>
1133
1134         * listing.c (listing_message): Use XNEW style allocation macros.
1135         * read.c (read_a_source_file): Likewise.
1136         (read_symbol_name): Likewise.
1137         (s_mri_common): Likewise.
1138         (assign_symbol): Likewise.
1139         (s_reloc): Likewise.
1140         (emit_expr_with_reloc): Likewise.
1141         (s_incbin): Likewise.
1142         (s_include): Likewise.
1143         * sb.c (sb_build): Likewise.
1144         (sb_check): Likewise.
1145
1146 2016-03-22  Alan Modra  <amodra@gmail.com>
1147
1148         * write.c (record_alignment): Revert 2016-02-18 change.
1149
1150 2016-03-22  Alan Modra  <amodra@gmail.com>
1151
1152         * config/tc-alpha.c (load_expression): Replace alloca with xmalloc.
1153         (emit_jsrjmp, tc_gen_reloc): Likewise.
1154         * config/tc-i370.c (i370_macro): Likewise.
1155
1156 2016-03-22  Nick Clifton  <nickc@redhat.com>
1157
1158         * configure: Regenerate.
1159
1160 2016-03-21  Andrew Burgess  <andrew.burgess@embecosm.com>
1161
1162         * testsuite/gas/arc/nps400-0.d: New file.
1163         * testsuite/gas/arc/nps400-0.s: New file.
1164         * testsuite/gas/arc/nps400-1.d: New file.
1165         * testsuite/gas/arc/nps400-1.s: New file.
1166
1167 2016-03-21  Andrew Burgess  <andrew.burgess@embecosm.com>
1168
1169         * config/tc-arc.c (find_opcode_match): Move lnflg, and i
1170         declarations to start of block.  Reset code on all flags before
1171         attempting to match them.  Handle multiple hits on the same flag.
1172         Handle flag class.
1173         * testsuite/gas/arc/asm-errors.d: New file.
1174         * testsuite/gas/arc/asm-errors.err: New file.
1175         * testsuite/gas/arc/asm-errors.s: New file.
1176
1177 2016-03-21  Andrew Burgess  <andrew.burgess@embecosm.com>
1178
1179         * config/tc-arc.c (cpu_types): Add nps400 entry.
1180         (check_zol): Handle nps400.
1181
1182 2016-03-21  Andrew Burgess  <andrew.burgess@embecosm.com>
1183
1184         * config/tc-arc.c (arc_select_cpu): Remove use of
1185         EF_ARC_CPU_GENERIC.
1186
1187 2016-03-21  Andrew Burgess  <andrew.burgess@embecosm.com>
1188
1189         * config/tc-arc.c (arc_target): Delay initialisation until
1190         arc_select_cpu.
1191         (arc_target_name): Likewise.
1192         (arc_features): Likewise.
1193         (arc_mach_type): Likewise.
1194         (cpu_types): Remove "all" entry.
1195         (arc_select_cpu): New function, most of the content is from...
1196         (md_parse_option): ... here.  Call new arc_select_cpu.
1197         (md_begin): Call arc_select_cpu if needed, default is now arc700.
1198
1199 2016-03-21  Andrew Burgess  <andrew.burgess@embecosm.com>
1200
1201         * testsuite/gas/arc/inline-data-1.d: Add target restriction.
1202         * testsuite/gas/arc/inline-data-2.d: New file.
1203
1204 2016-03-21  Nick Clifton  <nickc@redhat.com>
1205
1206         * atof-generic.c: Replace use of alloca with call to xmalloc.
1207         * cgen.c: Likewise.
1208         * dwarf2dbg.c: Likewise.
1209         * macro.c: Likewise.
1210         * remap.c: Likewise.
1211         * stabs.c: Likewise.
1212         * symbols.c: Likewise.
1213         * config/obj-elf.c: Likewise.
1214         * config/tc-aarch64.c: Likewise.
1215         * config/tc-arc.c: Likewise.
1216         * config/tc-arm.c: Likewise.
1217         * config/tc-avr.c: Likewise.
1218         * config/tc-ia64.c: Likewise.
1219         * config/tc-mips.c: Likewise.
1220         * config/tc-msp430.c: Likewise.
1221         * config/tc-nds32.c: Likewise.
1222         * config/tc-ppc.c: Likewise.
1223         * config/tc-sh.c: Likewise.
1224         * config/tc-tic30.c: Likewise.
1225         * config/tc-tic54x.c: Likewise.
1226         * config/tc-xstormy16.c: Likewise.
1227         * config/te-vms.c: Likewise.
1228         * configure: Regenerate.
1229
1230 2016-03-20  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>
1231
1232         * tc-i386.c (f32_1): Change type to unsigned char[].
1233         (f32_2): Likewise.
1234         (f32_3): Likewise.
1235         (f32_4): Likewise.
1236         (f32_5): Likewise.
1237         (f32_6): Likewise.
1238         (f32_7): Likewise.
1239         (f32_8): Likewise.
1240         (f32_9): Likewise.
1241         (f32_10): Likewise.
1242         (f32_11): Likewise.
1243         (f32_12): Likewise.
1244         (f32_13): Likewise.
1245         (f32_14): Likewise.
1246         (f16_3): Likewise.
1247         (f16_4): Likewise.
1248         (f16_5): Likewise.
1249         (f16_6): Likewise.
1250         (f16_7): Likewise.
1251         (f16_8): Likewise.
1252         (jump_31): Likewise.
1253         (f32_patt): Likewise.
1254         (f16_patt): Likewise.
1255         (alt_3): Likewise.
1256         (alt_4): Likewise.
1257         (alt_5): Likewise.
1258         (alt_6): Likewise.
1259         (alt_7): Likewise.
1260         (alt_8): Likewise.
1261         (alt_9): Likewise.
1262         (alt_10): Likewise.
1263         (alt_patt): Likewise.
1264
1265 2016-03-18  Nick Clifton  <nickc@redhat.com>
1266
1267         * doc/c-aarch64.texi (AArch64 Directives): Add descriptions of
1268         .cpu, .dword, .even, .inst. .tlsdescadd, .tlsdesccall,
1269         .tlsdescldr and .xword directives.
1270
1271         PR target/19721
1272         * testsuite/gas/aarch64/pr19721.s: New test source file.
1273         * testsuite/gas/aarch64/pr19721.d: New test driver file.
1274
1275         * doc/as.texinfo: Place the target specific command line options
1276         into their own man page section.
1277
1278 2016-03-16  Jiong Wang  <jiong.wang@arm.com>
1279
1280         * config/tc-arm.c (N_S_32): New.
1281         (N_F_16_32): Likewise.
1282         (N_SUF_32): Support N_F16.
1283         (N_IF_32): Likewise.
1284         (neon_dyadic_misc): Likewise.
1285         (do_neon_cmp): Likewise.
1286         (do_neon_cmp_inv): Likewise.
1287         (do_neon_mul): Likewise.
1288         (do_neon_fcmp_absolute): Likewise.
1289         (do_neon_step): Likewise.
1290         (do_neon_abs_neg): Likewise.
1291         (CVT_FLAVOR_VAR): Likewise.
1292         (do_neon_cvt_1): Likewise.
1293         (do_neon_recip_est): Likewise.
1294         (do_vmaxnm): Likewise.
1295         (do_vrint_1): Likewise.
1296         (neon_check_type): Check architecture support for FP16 extension.
1297         (insns): Update comments.
1298         * testsuite/gas/arm/armv8-2-fp16-simd.s: New test source.
1299         * testsuite/gas/arm/armv8-2-fp16-simd.d: New testcase for arm mode.
1300         * testsuite/gas/arm/armv8-2-fp16-simd-thumb.d: Likewise for thumb mode.
1301         * testsuite/gas/arm/armv8-2-fp16-simd-warning.d: New rejection test for
1302         arm mode.
1303         * testsuite/gas/arm/armv8-2-fp16-simd-warning-thumb.d: Likewise for
1304         thumb mode.
1305         * testsuite/gas/arm/armv8-2-fp16-simd-warning.l: New expected rejection
1306         error file.
1307
1308 2016-03-16  Nick Clifton  <nickc@redhat.com>
1309
1310         * read.c (emit_expr_with_reloc): Add code check a bignum with
1311         nbytes == 1.
1312         * config/rx/rx-parse.y (rx_intop): Accept bignum values for sizes
1313         other than 32-bits.
1314         * testsuite/gas/elf/bignum.s: New test source file.
1315         * testsuite/gas/elf/bignum.d: New test driver file.
1316         * testsuite/gas/elf/elf.exp: Run the new test.
1317
1318 2016-03-15  Ulrich Drepper  <drepper@gmail.com>
1319
1320         * doc/c-i386.texi (Register Naming): Update to details of the
1321         latest architecture version.
1322
1323 2016-03-10  Mickael Guene  <mickael.guene@st.com>
1324
1325         PR gas/19744
1326         * config/tc-arm.c (do_arit): Protect against bad relocations usage.
1327         (do_mov): Likewise.
1328         (do_t_add_sub): Allow pcrop relocations for Thumb-2 targets.
1329         (do_t_mov_cmp): Likewise.
1330         (do_t_add_sub): Protect against bad relocations usage.
1331         (do_t_mov_cmp): Likewise.
1332         * testsuite/gas/arm/adds-thumb1-reloc-local-armv7-m.s: New.
1333         * testsuite/gas/arm/adds-thumb1-reloc-local-armv7-m.d: New.
1334         * testsuite/gas/arm/movs-thumb1-reloc-local-armv7-m.s: New.
1335         * testsuite/gas/arm/movs-thumb1-reloc-local-armv7-m.d: New.
1336
1337 2016-03-09  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>
1338
1339         * config/tc-arm.c (neon_alignment_bit): Rename do_align to
1340         do_alignment.
1341         (do_neon_ld_st_lane): Likewise.
1342         (do_neon_ld_dup): Likewise.
1343
1344 2016-03-08  Andrew Burgess  <andrew.burgess@embecosm.com>
1345
1346         * testsuite/gas/arc/inline-data-1.d: New file.
1347         * testsuite/gas/arc/inline-data-1.s: New file.
1348
1349 2016-03-07  Andre Vieira  <andre.simoesdiasvieira@arm.com>
1350
1351         * config/tc-arm.c (arm_cpus): Add cortex-r8.
1352         * doc/c-arm.texi: Add cortex-r8.
1353
1354 2016-03-07  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>
1355
1356         * config/tc-arc.c: Add const qualifiers.
1357         * config/tc-h8300.c (md_begin): Likewise.
1358         * config/tc-ia64.c (print_prmask): Likewise.
1359         * config/tc-msp430.c (msp430_operands): Likewise.
1360         * config/tc-nds32.c (struct suffix_name): Likewise.
1361         (struct nds32_parse_option_table): Likewise.
1362         (struct nds32_set_option_table): Likewise.
1363         (do_pseudo_pushpopm): Likewise.
1364         (do_pseudo_pushpop_stack): Likewise.
1365         (nds32_relax_relocs): Likewise.
1366         (nds32_flag): Likewise.
1367         (struct nds32_hint_map): Likewise.
1368         (nds32_find_reloc_table): Likewise.
1369         (nds32_match_hint_insn): Likewise.
1370         * config/tc-s390.c: Likewise.
1371         * config/tc-sh.c (get_specific): Likewise.
1372         * config/tc-tic30.c: Likewise.
1373         * config/tc-tic4x.c (tic4x_inst_add): Likewise.
1374         (tic4x_indirect_parse): Likewise.
1375         * config/tc-vax.c (vax_cons): Likewise.
1376         * config/tc-z80.c (struct reg_entry): Likewise.
1377         * config/tc-epiphany.c (md_assemble): Adjust.
1378         (epiphany_assemble): New function.
1379         (epiphany_elf_section_rtn): Call do_align directly.
1380         (epiphany_elf_section_text): Likewise.
1381         * config/tc-ip2k.c (ip2k_elf_section_rtn): Likewise.
1382         (ip2k_elf_section_text): Likewise.
1383         * read.c (do_align): Make it not static.
1384         * read.h (do_align): New prototype.
1385
1386 2016-03-04  Matthew Wahab  <matthew.wahab@arm.com>
1387
1388         * config/tc-arm.c (aeabi_set_public_attributes): Emit attribute
1389         for ARMv8.1 AdvSIMD use.
1390         * testsuite/gas/arm/attr-march-armv8-a+rdma.d: New.
1391         * testsuite/gas/arm/attr-march-armv8_1-a+simd.d: New.
1392
1393 2016-03-04  Matthew Wahab  <matthew.wahab@arm.com>
1394
1395         * config/gas/tc-arm.c (fpu_neon_ext_v8_1): Restrict to the ARMv8.1 RDMA
1396         feature.
1397         (record_feature_use): New.
1398         (mark_feature_used): Use record_feature_use.
1399         (do_neon_qrdmlah): New.
1400         (insns): Use do_neon_qrdmlah for vqrdmlah and vqrdmlsh and
1401         variants.
1402         (arm_extensions): Put into alphabetical order.  Re-indent "simd"
1403         and "rdma" entries.  Fix the incorrect merge value for "+rdma".
1404         * testsuite/gas/arm/armv8-a+rdma-warning.d: New.
1405         * testsuite/gas/arm/armv8-a+rdma.d: Add assembler command line options.
1406         Make source file explicit.
1407         * testsuite/gas/arm/armv8-a+rdma.l: New.
1408         * testsuite/gas/arm/armv8-a+rdma.s: Remove .arch and .arch_extension
1409         directives.  Fix white-space.
1410         * testsuite/gas/arm/armv8_1-a+simd.d: New.
1411
1412 2016-03-02  H.J. Lu  <hongjiu.lu@intel.com>
1413
1414         * testsuite/gas/i386/x86_64-intel.d: Adjusted for COFF.
1415
1416 2016-02-29  Cupertino Miranda  <cmiranda@synopsys.com>
1417             Claudiu Zissulescu  <Claudiu.Zissulescu@synopsys.com>
1418
1419         * config/tc-arc.c (arc_extra_reloc): Change size to 0.
1420         (tc_arc_fix_adjustable): Changed default return value to 1.
1421         * testsuite/gas/arc/j.d: Updated expected symbol
1422         * testsuite/gas/arc/jl.d: Likewise
1423         * testsuite/gas/arc/relax-avoid1.d: Likewise
1424         * testsuite/gas/arc/st.d: Likewise
1425
1426 2016-02-29  Claudiu Zissulescu  <Claudiu.Zissulescu@synopsys.com>
1427
1428         * config/tc-arc.c: Enable code density instructions for ARC EM.
1429
1430 2016-02-26  H.J. Lu  <hongjiu.lu@intel.com>
1431
1432         PR ld/19645
1433         * NEWS: Mention --enable-elf-stt-common and --elf-stt-common=
1434         for ELF assemblers.
1435         * as.c (flag_use_elf_stt_common): New.
1436         (show_usage): Add --elf-stt-common=.
1437         (option_values): Add OPTION_ELF_STT_COMMON.
1438         (std_longopts): Add --elf-stt-common=.
1439         (parse_args): Handle --elf-stt-common=.
1440         * as.h (flag_use_elf_stt_common): New.
1441         * config.in: Regenerated.
1442         * configure: Likewise.
1443         * configure.ac: Add --enable-elf-stt-common and define
1444         DEFAULT_GENERATE_ELF_STT_COMMON.
1445         * gas/write.c (write_object_file): Set BFD_CONVERT_ELF_COMMON
1446         and BFD_USE_ELF_STT_COMMON if flag_use_elf_stt_common is set.
1447         * doc/as.texinfo: Document --elf-stt-common=.
1448         * testsuite/gas/elf/common3.s: New file.
1449         * testsuite/gas/elf/common3a.d: Likewise.
1450         * testsuite/gas/elf/common3b.d: Likewise.
1451         * testsuite/gas/elf/common4.s: Likewise.
1452         * testsuite/gas/elf/common4a.d: Likewise.
1453         * testsuite/gas/elf/common4b.d: Likewise.
1454         * testsuite/gas/i386/dw2-compress-3b.d: Likewise.
1455         * testsuite/gas/i386/dw2-compressed-3b.d: Likewise.
1456         * testsuite/gas/elf/elf.exp: Run common3a, common3b, common4a
1457         and common4b.
1458         * testsuite/gas/i386/dw2-compress-3.d: Renamed to ...
1459         * testsuite/gas/i386/dw2-compress-3a.d: This.  Pass
1460         --elf-stt-common=no to as.
1461         * testsuite/gas/i386/dw2-compressed-3.d: Renamed to ...
1462         * testsuite/gas/i386/dw2-compressed-3a.d: This.  Pass
1463         --elf-stt-common=no to as.
1464         * testsuite/gas/i386/i386.exp: Run dw2-compress-3a,
1465         dw2-compress-3b, dw2-compressed-3a and dw2-compressed-3b instead
1466         of dw2-compress-3 and dw2-compressed-3.
1467
1468 2016-02-25  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>
1469
1470         * as.c (select_emulation_mode): Add const qualifiers.
1471         * as.h: Likewise.
1472         * config/bfin-defs.h: Likewise.
1473         * config/bfin-parse.y: Likewise.
1474         * config/rx-parse.y: Likewise.
1475         * config/tc-aarch64.c (struct aarch64_option_table): Likewise.
1476         (struct aarch64_cpu_option_table): Likewise.
1477         (struct aarch64_arch_option_table): Likewise.
1478         (struct aarch64_option_cpu_value_table): Likewise.
1479         (struct aarch64_long_option_table): Likewise.
1480         (struct aarch64_option_abi_value_table): Likewise.
1481         * config/tc-arm.c (struct reloc_entry): Likewise.
1482         (tc_gen_reloc): Likewise.
1483         (struct arm_option_table): Likewise.
1484         (struct arm_legacy_option_table): Likewise.
1485         (struct arm_cpu_option_table): Likewise.
1486         (struct arm_arch_option_table): Likewise.
1487         (struct arm_option_extension_value_table): Likewise.
1488         (struct arm_option_fpu_value_table): Likewise.
1489         (struct arm_option_value_table): Likewise.
1490         (struct arm_long_option_table): Likewise.
1491         * config/tc-avr.c (struct avr_opcodes_s): Likewise.
1492         (struct mcu_type_s): Likewise.
1493         (struct exp_mod_s): Likewise.
1494         (avr_operand): Likewise.
1495         (avr_operands): Likewise.
1496         * config/tc-d10v.c (md_begin): Likewise.
1497         * config/tc-dlx.c: Likewise.
1498         * config/tc-fr30.c (fr30_is_colon_insn): Likewise.
1499         * config/tc-ft32.c (parse_condition): Likewise.
1500         * config/tc-h8300.c (do_a_fix_imm): Likewise.
1501         * config/tc-hppa.c (pa_ip): Likewise.
1502         (hppa_regname_to_dw2regnum): Likewise.
1503         * config/tc-i370.c (i370_elf_suffix): Likewise.
1504         * config/tc-i960.c (struct tabentry): Likewise.
1505         * config/tc-m32r.c: Likewise.
1506         * config/tc-m68k.c: Likewise.
1507         * config/tc-m68k.h: Likewise.
1508         * config/tc-mcore.c (parse_psrmod): Likewise.
1509         * config/tc-metag.c (struct metag_core_option): Likewise.
1510         (struct metag_long_option): Likewise.
1511         * config/tc-microblaze.c: Likewise.
1512         * config/tc-mips.c (macro): Likewise.
1513         * config/tc-mn10200.c: Likewise.
1514         * config/tc-mn10300.c: Likewise.
1515         * config/tc-msp430.c (struct rcodes_s): Likewise.
1516         (struct hcodes_s): Likewise.
1517         (md_parse_option): Likewise.
1518         * config/tc-ns32k.c (struct ns32k_option): Likewise.
1519         (optlist): Likewise.
1520         * config/tc-ppc.c (ppc_elf_suffix): Likewise.
1521         (tc_ppc_regname_to_dw2regnum): Likewise.
1522         * config/tc-ppc.h: Likewise.
1523         * config/tc-rl78.c: Likewise.
1524         * config/tc-rx.c (struct cpu_type): Likewise.
1525         * config/tc-sh.c (sh_regname_to_dw2regnum): Likewise.
1526         * config/tc-sparc.c (struct priv_reg_entry): Likewise.
1527         (sparc_ip): Likewise.
1528         * config/tc-spu.c (insn_fmt_string): Likewise.
1529         * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
1530         * config/tc-v850.c: Likewise.
1531         * config/tc-visium.c (struct visium_arch_option_table): Likewise.
1532         (struct visium_long_option_table): Likewise.
1533         * config/tc-xgate.c: Likewise.
1534         * config/tc-z8k.c: Likewise.
1535         * read.c (add_include_dir): Likewise.
1536         * read.h: Likewise.
1537
1538 2016-02-25  Andrew Burgess  <andrew.burgess@embecosm.com>
1539
1540         * testsuite/gas/all/gas.exp: Change target pattern to cover
1541         arceb-*.
1542         * testsuite/gas/all/redef3.d: Likewise.
1543         * testsuite/gas/elf/elf.exp: Likewise.
1544
1545 2016-02-24  Renlin Li  <renlin.li@arm.com>
1546
1547         * config/tc-arm.c (BAD_FP16): New error message macro.
1548         (do_scalar_fp16_v82_encode): Change the coproc field to 9 for armv8.2
1549         fp16 scalar instructions.
1550         (neon_check_type): Allow different size from key.
1551         (do_vfp_nsyn_add_sub): Add support SE_H shape support.
1552         (try_vfp_nsyn): Likewise.
1553         (do_vfp_nsyn_mla_mls): Likewise.
1554         (do_vfp_nsyn_fma_fms): Likewise.
1555         (do_vfp_nsyn_ldm_stm): Likewise
1556         (do_vfp_nsyn_sqrt): Likewise
1557         (do_vfp_nsyn_div): Likewise
1558         (do_vfp_nsyn_nmul): Likewise.
1559         (do_vfp_nsyn_cmp): Likewise.
1560         (do_neon_shll): Likewise.
1561         (do_vfp_nsyn_cvt_fpv8): Likewise.
1562         (do_neon_cvttb_2): Likewise.
1563         (do_neon_mov): Likewise.
1564         (do_neon_rshift_round_imm): Likewise.
1565         (do_neon_ldr_str): Likewise.
1566         (do_vfp_nsyn_fpv8): Likewise.
1567         (do_vmaxnm): Likewise.
1568         (do_vrint_1): Likewise.
1569         (insns): New entry for vins, vmovx.
1570         (md_apply_fix): Left shift 1 bit for fp16 vldr/vstr.
1571         * testsuite/gas/arm/armv8-2-fp16-scalar-thumb.d: New.
1572         * testsuite/gas/arm/armv8-2-fp16-scalar.d: New.
1573         * testsuite/gas/arm/armv8-2-fp16-scalar.s: New.
1574         * testsuite/gas/arm/armv8-2-fp16-scalar-bad.s: New
1575         * testsuite/gas/arm/armv8-2-fp16-scalar-bad.d: New
1576         * testsuite/gas/arm/armv8-2-fp16-scalar-bad.l: New
1577
1578 2016-02-24  Renlin Li  <renlin.li@arm.com>
1579
1580         * config/tc-arm.c (NEON_ENC_TAB): Add fp16 instruction shape.
1581         (neon_shape_class): New SC_HALF.
1582         (neon_shape_el): New SE_H.
1583         (neon_shape_el_size): New size for SE_H.
1584         (N_F_ALL): New macro to aggregate N_F16, N_F32, N_64.
1585         (neon_select_shape): Add SE_H support code.
1586         (el_type_of_type_chk): Use N_F_ALL.
1587         (do_vfp_nsyn_cvt): Add SE_H shape support.
1588         (do_neon_cvtz): Likewise.
1589         (do_neon_cvt_1): Likewise.
1590         (do_neon_cvttb_1): Likewise.
1591
1592 2016-02-24  Renlin Li  <renlin.li@arm.com>
1593
1594         * testsuite/gas/arm/copro.d: Adjust output.
1595         * testsuite/gas/arm/copro.s: Adjust co-processor num.
1596
1597 2016-02-24  Renlin Li  <renlin.li@arm.com>
1598
1599         * testsuite/gas/arm/mask_1.d: New.
1600         * testsuite/gas/arm/mask_1.s: New.
1601
1602 2016-02-24  Renlin Li  <renlin.li@arm.com>
1603
1604         * testsuite/gas/arm/copro.s: Use coprocessor other than 10, 11.
1605         * testsuite/gas/arm/copro.d: Update.
1606
1607 2016-02-24  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
1608
1609         * config/tc-arm.c (arm_cpus): Add entry for cortex-a32.
1610         * doc/c-arm.texi (ARM Options): Document cortex-a32.
1611
1612 2016-02-24  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
1613
1614         * doc/c-arm.texi (ARM Options): Document cortex-a17.
1615
1616 2016-02-23  H.J. Lu  <hongjiu.lu@intel.com>
1617
1618         * testsuite/gas/elf/elf.exp: Skip tests for common directive on
1619         hpux.
1620
1621 2016-02-22  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>
1622
1623         * output-file.c (output_file_create): Make file name argument const.
1624         (output_file_close): Likewise.
1625         * output-file.h (output_file_create): Adjust.
1626         (output_file_close): Likewise.
1627         * depend.c (quote_string_for_make): Make src argument const char *.
1628         (register_dependency): Likewise.
1629         (wrap_output): Likewise.
1630         * as.h (register_dependency): Adjust.
1631         * config/tc-xtensa.c (finish_vinsn): Remove unnecessary calls to
1632         as_where ();
1633         * symbols.c (S_SET_EXTERNAL): Likewise.
1634         * input-scrub.c (as_where): Return the file name.
1635         * as.h (as_where): Adjust prototype.
1636         * app.c (do_scrub_chars): Adjust.
1637         * cond.c (s_elseif): Likewise.
1638         (s_else): Likewise.
1639         (initialize_cframe): Likewise.
1640         * config/obj-coff.c (obj_coff_init_stab_section): Likewise.
1641         * config/obj-elf.c (obj_elf_init_stab_section): Likewise.
1642         * config/obj-som.c (obj_som_init_stab_section): Likewise.
1643         * config/tc-aarch64.c (output_info): Likewise.
1644         * config/tc-ia64.c (md_assemble): Likewise.
1645         (dot_alias): Likewise.
1646         * config/tc-m68k.c (m68k_frob_label): Likewise.
1647         * config/tc-mmix.c (s_bspec): Likewise.
1648         (mmix_handle_mmixal): Likewise.
1649         * config/tc-rx.c (rx_include): Likewise.
1650         * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
1651         (tic54x_adjust_symtab): Likewise.
1652         * config/tc-xtensa.c (directive_push): Likewise.
1653         (xtensa_sanity_check): Likewise.
1654         (xtensa_relax_frag): Likewise.
1655         (md_convert_frag): Likewise.
1656         (tinsn_to_slotbuf): Likewise.
1657         * dwarf2dbg.c (dwarf2_where): Likewise.
1658         * ecoff.c (add_file): Likewise.
1659         (ecoff_generate_asm_lineno): Likewise.
1660         * expr.c (make_expr_symbol): Likewise.
1661         * frags.c (frag_new): Likewise.
1662         (frag_var_init): Likewise.
1663         * listing.c (listing_newline): Likewise.
1664         * messages.c (identify): Likewise.
1665         (as_show_where): Likewise.
1666         (as_warn_internal): Likewise.
1667         (as_bad_internal): Likewise.
1668         * read.c (s_irp): Likewise.
1669         (s_macro): Likewise.
1670         (s_reloc): Likewise.
1671         * stabs.c (stabs_generate_asm_file): Likewise.
1672         (stabs_generate_asm_lineno): Likewise.
1673         (stabs_generate_asm_func): Likewise.
1674         * write.c (fix_new_internal): Likewise.
1675         * as.h (PRINTF_WHERE_LIKE): Make file name argument const.
1676         (as_warn_value_out_of_range): Adjust prototype.
1677         (as_bad_value_out_of_range): Adjust prototype.
1678         * messages.c (identify): Make file name argument const char *.
1679         (as_warn_internal): Likewise.
1680         (as_warn_where): Likewise.
1681         (as_bad_internal): Likewise.
1682         (as_bad_where): Likewise.
1683         (as_internal_value_out_of_range): Likewise.
1684         (as_warn_value_out_of_range): Likewise.
1685         (as_bad_value_out_of_range): Likewise.
1686         * as.h (found_comment_file): Change type to const char *.
1687         * cond.c (file_line::file): Likewise.
1688         * config/obj-coff.c (obj_coff_init_stab_section): Make variable const.
1689         * config/obj-elf.c (obj_elf_init_stab_section): Likewise.
1690         * config/obj-som.c (obj_som_init_stab_section): Likewise.
1691         * config/tc-aarch64.c (output_info): Likewise.
1692         * config/tc-alpha.c (insert_operand): Likewise.
1693         * config/tc-arc.c (insert_operand): Likewise.
1694         * config/tc-d30v.c (check_size): Likewise.
1695         * config/tc-ia64.c (struct alias): Likewise.
1696         * config/tc-m68k.c (struct label_line): Likewise.
1697         * config/tc-mcore.c (md_apply_fix): Likewise.
1698         * config/tc-microblaze.c (md_estimate_size_before_relax): Likewise.
1699         * config/tc-mips.c (mips16_immed): Likewise.
1700         * config/tc-mmix.c (mmix_handle_mmixal): Likewise.
1701         * config/tc-ppc.c (ppc_insert_operand): Likewise.
1702         * config/tc-rx.c (rx_include): Likewise.
1703         * config/tc-s390.c (s390_insert_operand): Likewise.
1704         * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
1705         (tic54x_adjust_symtab): Likewise.
1706         * config/tc-tilegx.c (insert_operand): Likewise.
1707         (apply_special_operator): Likewise.
1708         * config/tc-tilepro.c (insert_operand): Likewise.
1709         * config/tc-xtensa.c (directive_push): Likewise.
1710         * ecoff.c (add_file): Likewise.
1711         (ecoff_generate_asm_lineno): Likewise.
1712         * listing.c (listing_newline): Likewise.
1713         * read.c (s_irp): Likewise.
1714         * write.c (install_reloc): Likewise.
1715         * write.h (struct fix): Likewise.
1716         * input-file.c (file_name): Change type to const char *.
1717         (saved_file::file_name): Likewise.
1718         (input_file_open): Change type of argument to const char *.
1719         * input-file.h (input_file_open): Adjust.
1720         * input-scrub.c (logical_input_file): change type to const char *.
1721         (physical_input_file): Likewise.
1722         (struct input_save): Adjust.
1723         (input_scrub_push): Adjust.
1724         (input_scrub_begin): Adjust.
1725         (as_where): Adjust.
1726         * input-scrub.c (input_scrub_new_file): Make file name argument const.
1727         (input_scrub_include_file): Likewise.
1728         (new_logical_line_flags): Likewise.
1729         (new_logical_line): Likewise.
1730         * as.h: Adjust.
1731         * frags.h (struct frag): Change type of fr_file to const char *.
1732         * expr.c (expr_symbol_where): Change type of file argument to
1733         const char **.
1734         * expr.h (expr_symbol_where): Likewise.
1735         * config/tc-i370.c (md_apply_fix): adjust.
1736         * config/tc-mmix.c (mmix_md_end): Likewise.
1737         * config/tc-ppc.c (md_apply_fix): Likewise.
1738         * config/tc-s390.c (md_apply_fix): Likewise.
1739         * symbols.c (report_op_error): Likewise.
1740         (resolve_symbol_value): Likewise.
1741         * config/tc-ia64.c (slot::src_file): Change type to const char *.
1742         (rsrc::file): Likewise.
1743         * config/tc-xtensa.c (xtensa_sanity_check): Change type of variable to
1744         const char *.
1745         (xtensa_relax_frag): Likewise.
1746         (md_convert_frag): Likewise.
1747         (tinsn_to_slotbuf): Likewise.
1748         * expr.c (expr_symbol_line): Likewise.
1749         * macro.c (define_macro): Likewise.
1750         * macro.h (macro_struct): Likewise.
1751         * messages.c (as_show_where): Likewise.
1752         * read.c (s_macro): Likewise.
1753         * stabs.c (stabs_generate_asm_file): Likewise.
1754         (generate_asm_file): Likewise.
1755         (stabs_generate_asm_lineno): Likewise.
1756         * write.h (struct reloc_list): Likewise.
1757         * input-scrub.c (as_where): Change return type to const char *.
1758         * as.h (as_wheree): Adjust.
1759
1760 2016-02-21  H.J. Lu  <hongjiu.lu@intel.com>
1761
1762         * write.c (compress_debug): Move BFD compression bits setting
1763         to ...
1764         (write_object_file): Here.
1765
1766 2016-02-20  H.J. Lu  <hongjiu.lu@intel.com>
1767
1768         * config/tc-i386.c (register_number): Check RegVRex.
1769         * testsuite/gas/i386/x86-64-avx512f.s: Add a test for vgatherqpd
1770         with %zmm19 and %zmm3.
1771         * testsuite/gas/i386/x86-64-avx512f-intel.d: Updated.
1772         * testsuite/gas/i386/x86-64-avx512f.d: Likewise.
1773
1774 2016-02-19  Matthew Wahab  <matthew.wahab@arm.com>
1775             Jiong Wang  <jiong.wang@arm.com>
1776
1777         * config/tc-arm.c (arm_ext_fp16): New.
1778         (arm_extensions): New entry for "fp16".
1779
1780 2016-02-19  Nick Clifton  <nickc@redhat.com>
1781
1782         PR 19630
1783         * read.c (read_a_source_file): Check for assemble_one returning
1784         with input_line_pointer set to NULL.
1785
1786 2016-02-19  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>
1787
1788         * listing.c (rebuffer_line): Change return type to void.
1789
1790         * symbols.c (decode_local_label_name): Make type a const char *.
1791         * listing.c (print_source): Make type of p const char *.
1792         (print_line): Make type of string const char *.
1793         (buffer_line): Return const char *.
1794         (title): Make type const char *.
1795         (subtitle): Likewise.
1796         (listing_listing): Make type of p const char *.
1797         * messages.c (as_internal_value_out_of_range): Make type of prefix
1798         const char *.
1799         * stabs.c (s_stab_generic): make type of stab_secname, stabstr_secname
1800         and string const char *.
1801         * read.c (_bfd_rel): Make type of name const char *.
1802         * app.c (out_string): Change type to const char *.
1803         (struct app_save::out_string): Likewise.
1804
1805 2016-02-18  Dan Gisselquist  <dgisselq@verizon.net>
1806             Nick Clifton  <nickc@redhat.com>
1807
1808         * read.c (finish_bundle): Avoid recording a negative alignment.
1809         (do_align): Use unsigned values for n, len and max.  Only create
1810         a frag if the alignment requirement is greater than the minimum
1811         byte alignment.  Avoid recording a negative alignment.
1812         (s_align): Use unsigned values where appropriate.
1813         (bss_alloc): Use an unsigned value for the alignment.
1814         (sizeof_sleb128): Add a comment noting that we encode one octet
1815         per byte, regardless of the value of OCTETS_PER_BYTE_POWER.
1816         (emit_leb129_expr): Abort if the emitted encoding was longer than
1817         expected.
1818         * read.h (output_leb128): Update prototype.
1819         (sizeof_leb128): Update prototype.
1820         (bss_alloc): Update prototype.
1821         * write.c (record_alignment): Use an unsigned value for the
1822         alignment.  Do not record alignments less than the minimum
1823         alignment for a byte.
1824         * write.h (record_alignment): Update prototype.
1825
1826 2016-02-17  Max Filippov  <jcmvbkbc@gmail.com>
1827
1828         * config/tc-xtensa.c (xtensa_move_literals): Fix check for
1829         .init.literal/.fini.literal section name.
1830         * testsuite/gas/xtensa/all.exp: Add init-fini-literals to the
1831         list of xtensa tests.
1832         * testsuite/gas/xtensa/init-fini-literals.d: New file:
1833         init-fini-literals test result patterns.
1834         * testsuite/gas/xtensa/init-fini-literals.s: New file:
1835         init-fini-literals test.
1836
1837 2016-02-17  Nick Clifton  <nickc@redhat.com>
1838
1839         * config/tc-msp430.c (msp430_mcu_data): Sync with data from TI's
1840         devices.csv file as of March 2016.
1841
1842 2016-02-16  Claudiu Zissulescu  <claziss@synopsys.com>
1843
1844         * config/tc-arc.c (tc_arc_frame_initial_instructions): New
1845         function.
1846         (tc_arc_regname_to_dw2regnum): Likewise.
1847         * config/tc-arc.h (TARGET_USE_CFIPOP): Define
1848         (tc_cfi_frame_initial_instructions): Likewise.
1849         (tc_regname_to_dw2regnum): Likewise.
1850         * testsuite/gas/cfi/cfi-arc-1.d: New file.
1851         * testsuite/gas/cfi/cfi-arc-1.s: Likewise.
1852         * testsuite/gas/cfi/cfi.exp: Allow running tests for arc.
1853
1854 2016-02-16  Trevor Saunders  <tbsaunde@tbsaunde.org>
1855
1856         * doc/internals.texi (S_IS_EXTERN): Remove.
1857
1858 2016-02-16  Nick Clifton  <nickc@redhat.com>
1859
1860         * doc/as.texinfo (Section): Fix up texinfo snafus in previous
1861         update.
1862
1863 2016-02-16  Renlin Li  <renlin.li@arm.com>
1864
1865         PR gas/19620
1866         * config/tc-aarch64.c (parse_half): Remove restrictions on symbol name.
1867         * testsuite/gas/aarch64/movw_label.d: New.
1868         * testsuite/gas/aarch64/movw_label.s: New.
1869
1870 2016-02-15  Vinay Kumar G. <Vinay.G@kpit.com>
1871
1872         PR gas/19556
1873         * config/rx-parse.y (MOV):  Opcode generation for index
1874         register addressing mode.
1875         * testsuite/gas/rx/rx.exp: Updated for new testcase.
1876         * testsuite/gas/rx/pr19665.s: New file.
1877         * testsuite/gas/rx/pr19665.s: New file.
1878         * testsuite/gas/rx/mov.d: Update expected output.
1879
1880 2016-02-15  Nick Clifton  <nickc@redhat.com>
1881
1882         * doc/as.texinfo (.section): Document that numeric values can now
1883         be used for the flags and type fields of the ELF target's .section
1884         directive.  Add notes about the restrictions on setting flags and
1885         types.
1886         * config/obj-elf.c (obj_elf_change_section): Allow known sections
1887         to be given processor specific section types.  Allow processor and
1888         application specific flags of a section to be set after
1889         definition.
1890         (obj_elf_parse_section_letters): Handle parsing numeric values.
1891         (obj_elf_section_type): Handle parsing numeric values.
1892         (obj_elf_section): Allow numeric type values.
1893         * config/obj-elf.h (obj_elf_change_section): Update prototype.
1894         * testsuite/gas/elf/section10.d: New test.
1895         * testsuite/gas/elf/section10.s: Source file for new test.
1896         * testsuite/gas/elf/elf.exp: Run the new test.
1897         * testsuite/gas/i386/ilp32/x86-64-unwind.d: Remove dependency upon
1898         the description of the flags produced by readelf.
1899         * testsuite/gas/tic6x/scomm-directive-4.d: Likewise.
1900         * NEWS: Mention the new feature.
1901
1902 2016-02-11  Nick Clifton  <nickc@redhat.com>
1903
1904         PR gas/19614
1905         * dw2gencfi.c (cfi_sections_set): Delay setting this variable
1906         until it is actually used.
1907         (cfi_set_sections): Set cfi_sections_set to true.
1908         (dot_cfi_startproc): Likewise.
1909         (dot_cfi_endproc): Likewise.
1910         (dot_cfi_fde_data): Likewise.
1911         (cfi_finish): Likewise.
1912         (dot_cfi_sections): Do not set cfi_sections_set.
1913         * doc/as.texinfo (.cfi_sections): Note that targets can provide
1914         their own cfi section name.  Also note that the directive can be
1915         reissued provided that CFI generation has not started.
1916         * testsuite/gas/mips/compact-eh-err2.s: Add .cfi_startproc and
1917         .cfi_endproc directives so that the redefinition of .cfi_sections
1918         will trigger the generation of the error message.
1919         * testsuite/gas/mips/compact-eh-err2.l: Update expected line
1920         number of error message.
1921
1922 2016-02-10  Claudiu Zissulescu  <claziss@synopsys.com>
1923             Janek van Oirschot <jvanoirs@synopsys.com>
1924
1925         * config/tc-arc.h (TC_FRAG_TYPE, TC_PCREL_ADJUST, MAX_INSN_ARGS)
1926         (MAX_INSN_FLGS, MAX_FLAG_NAME_LENGHT, TC_GENERIC_RELAX_TABLE):
1927         Define.
1928         (arc_flags, arc_relax_type): New structure.
1929         * config/tc-arc.c (FRAG_MAX_GROWTH, RELAX_TABLE_ENTRY)
1930         (RELAX_TABLE_ENTRY_MAX): New define.
1931         (relaxation_state, md_relax_table, arc_relaxable_insns)
1932         (arc_num_relaxable_ins): New variable.
1933         (rlx_operand_type, arc_rlx_types): New enums.
1934         (arc_relaxable_ins): New structure.
1935         (OPTION_RELAX): New option.
1936         (arc_insn): New relax member.
1937         (arc_flags): Remove.
1938         (relax_insn_p): New function.
1939         (apply_fixups): Likewise.
1940         (relaxable_operand): Likewise.
1941         (may_relax_expr): Likewise.
1942         (relaxable_flag): Likewise.
1943         (arc_pcrel_adjust): Likewise.
1944         (md_estimate_size_before_relax): Implement.
1945         (md_convert_frag): Likewise.
1946         (md_parse_option): Handle new mrelax option.
1947         (md_show_usage): Likewise.
1948         (assemble_insn): Set relax member.
1949         (emit_insn0): New function.
1950         (emit_insn1): Likewise.
1951         (emit_insn): Handle relaxation case.
1952         * NEWS: Mention the new relaxation option.
1953         * doc/c-arc.texi (ARC Options): Document new mrelax option.
1954         * doc/as.texinfo (Target ARC Options): Likewise.
1955         * testsuite/gas/arc/relax-avoid1.d: New file.
1956         * testsuite/gas/arc/relax-avoid1.s: Likewise.
1957         * testsuite/gas/arc/relax-avoid2.d: Likewise.
1958         * testsuite/gas/arc/relax-avoid2.s: Likewise.
1959         * testsuite/gas/arc/relax-avoid3.d: Likewise.
1960         * testsuite/gas/arc/relax-avoid3.s: Likewise.
1961         * testsuite/gas/arc/relax-b.d: Likewise.
1962         * testsuite/gas/arc/relax-b.s: Likewise.
1963
1964 2016-02-08  Nick Clifton  <nickc@redhat.com>
1965
1966         * config/tc-ia64.c (dot_prologue): Fix formatting.
1967
1968 2016-02-04  Nick Clifton  <nickc@redhat.com>
1969
1970         * config/obj-elf.c (obj_elf_change_section): Remove support for
1971         ARM NOREAD sections.
1972         * config/tc-arm.c (arm_elf_section_letter): Delete.
1973         * config/tc-arm.h (md_elf_section_letter): Delete.
1974         * doc/c-arm.texi (ARM Section Attribute): Delete section.
1975         * testsuite/gas/arm/section-execute-only.d: Delete.
1976         * testsuite/gas/arm/section-execute-only.s: Delete.
1977
1978 2016-02-04  Nick Clifton  <nickc@redhat.com>
1979
1980         PR target/19561
1981         * config/tc-msp430.c (msp430_operands): Remove case 7.  Use case 2
1982         to handle encoding of RRUX instruction.
1983         * testsuite/gas/msp430/msp430x.s: Add more tests of the extended
1984         shift instructions.
1985         * testsuite/gas/msp430/msp430x.d: Update expected disassembly.
1986
1987 2016-02-03  Max Filippov  <jcmvbkbc@gmail.com>
1988
1989         * config/tc-xtensa.c (md_apply_fix): Mark BFD_RELOC_XTENSA_DIFF*
1990         substitutions for BFD_RELOC_* as unsigned.
1991         * testsuite/gas/xtensa/all.exp: Add loc to list of xtensa tests.
1992         * testsuite/gas/xtensa/loc.d: New file: loc test result patterns.
1993         * testsuite/gas/xtensa/loc.s: New file: loc test.
1994
1995 2016-02-03  Kevin Buettner  <kevinb@redhat.com>
1996
1997         * config/tc-msp430.h (DWARF2_ADDR_SIZE): Set to 4.
1998
1999 2016-02-03  H.J. Lu  <hongjiu.lu@intel.com>
2000
2001         PR gas/19520
2002         * NEWS: Mention new command line option -mrelax-relocations and
2003         new configure option --enable-x86-relax-relocations for x86
2004         target.
2005         * config.in: Regenerated.
2006         * configure.ac: Add --enable-x86-relax-relocations.
2007         (ac_default_x86_relax_relocations): New.  Default to 1 except
2008         for x86 Solaris targets older than Solaris 12.
2009         (DEFAULT_GENERATE_X86_RELAX_RELOCATIONS): Define.
2010         * configure: Likewise.
2011         * config/tc-i386.c (generate_relax_relocations): New.
2012         (OPTION_MRELAX_RELOCATIONS): Likewise.
2013         (output_disp): Don't generate relax relocations if
2014         generate_relax_relocations is 0.
2015         (md_longopts): Add -mrelax-relocations.
2016         (md_show_usage): Likewise.
2017         (md_parse_option): Handle OPTION_MRELAX_RELOCATIONS.
2018         * doc/c-i386.texi: Document -mrelax-relocations=.
2019         * testsuite/gas/i386/got-no-relax.d: New file.
2020         * testsuite/gas/i386/x86-64-gotpcrel-no-relax.d: Likewise.
2021         * testsuite/gas/i386/got.d: Pass -mrelax-relocations=yes to as.
2022         * testsuite/gas/i386/localpic.d: Likewise.
2023         * testsuite/gas/i386/mixed-mode-reloc32.d: Likewise.
2024         * testsuite/gas/i386/reloc32.d: Likewise.
2025         * testsuite/gas/i386/x86-64-gotpcrel.d: Likewise.
2026         * testsuite/gas/i386/x86-64-localpic.d: Likewise.
2027         * testsuite/gas/i386/ilp32/x86-64-gotpcrel.d: Likewise.
2028         * testsuite/gas/i386/ilp32/x86-64-localpic.d: Likewise.
2029         * testsuite/gas/i386/i386.exp: Run got-no-relax and
2030         x86-64-gotpcrel-no-relax.
2031
2032 2016-02-03  H.J. Lu  <hongjiu.lu@intel.com>
2033
2034         * NEWS: Mention new command line option -mfence-as-lock-add=yes
2035         for x86 target.
2036
2037 2016-02-03  H.J. Lu  <hongjiu.lu@intel.com>
2038
2039         * NEWS: Remove duplicated marker for 2.26.
2040
2041 2016-02-02  Renlin Li  <renlin.li@arm.com>
2042
2043         * testsuite/gas/arm/thumb2_it_search.d: Skip non-elf targets.
2044
2045 2016-02-02  Andrew Burgess  <andrew.burgess@embecosm.com>
2046
2047         * testsuite/gas/ip2k/allinsn.d: New file.
2048         * testsuite/gas/ip2k/allinsn.s: New file.
2049         * testsuite/gas/ip2k/ip2k-allinsn.exp: New file.
2050
2051 2016-02-02  Andrew Burgess  <andrew.burgess@embecosm.com>
2052
2053         * testsuite/gas/epiphany/addr-syntax.d: Add explicit 0 offset to
2054         some load instructions.
2055         * testsuite/gas/epiphany/allinsn.d: Likewise.
2056         * testsuite/gas/epiphany/regression.d: Likewise.
2057
2058 2016-02-02  Andrew Burgess  <andrew.burgess@embecosm.com>
2059
2060         * testsuite/gas/epiphany/addr-syntax.d: Remove unneeded '.l'
2061         suffixes from instruction mnemonics in expected output.
2062         * testsuite/gas/epiphany/allinsn.d: Likewise.
2063         * testsuite/gas/epiphany/regression.d: Likewise.
2064         * testsuite/gas/epiphany/sample.d: Likewise.
2065
2066 2016-02-02  Andrew Burgess  <andrew.burgess@embecosm.com>
2067
2068         * testsuite/gas/epiphany/addr-syntax.d: Update expected register
2069         names.
2070         * testsuite/gas/epiphany/allinsn.d: Likewise.
2071         * testsuite/gas/epiphany/sample.d: Likewise.
2072
2073 2016-02-02  Andrew Burgess  <andrew.burgess@embecosm.com>
2074
2075         * testsuite/gas/epiphany/sample.d: Update expected output.
2076
2077 2016-01-26  Claudiu Zissulescu  <claziss@synopsys.com>
2078
2079         * config/tc-arc.c (md_apply_fix): Allow addendum.
2080         (arc_reloc_op): Allow complex expressions for tpoff.
2081         (md_apply_fix): Handle resolved TLS local symbol.
2082         * testsuite/gas/arc/tls-relocs1.d: New file.
2083         * testsuite/gas/arc/tls-relocs1.s: Likewise.
2084
2085 2016-02-01  Loria  <Loria@phantasia.org>
2086
2087         PR target/19311
2088         * config/tc-arm.c (encode_arm_immediate): Recode to improve
2089         efficiency and avoid an LLVM loop optimization bug.
2090
2091 2016-02-01  Nick Clifton  <nickc@redhat.com>
2092
2093         * config/tc-microblaze.c (parse_imm): Fix compile time warning
2094         message extending a negative 32-bit value into a larger signed
2095         value on a 32-bit host.
2096
2097 2016-01-29  H.J. Lu  <hongjiu.lu@intel.com>
2098
2099         PR gas/19532
2100         * configure.ac (compressed_debug_sections): Replace == with =.
2101         * configure: Regenerated.
2102
2103 2016-01-29  Andrew Senkevich  <andrew.senkevich@intel.com>
2104             H.J. Lu  <hongjiu.lu@intel.com>
2105
2106         * config/tc-i386.c (avoid_fence): New.
2107         (output_insn): Encode as lock addl $0x0, (%{r,e}sp) if avoid_fence
2108         is true.
2109         (OPTION_FENCE_AS_LOCK_ADD): New.
2110         (md_longopts): Add -mfence-as-lock-add.
2111         (md_parse_option): Handle -mfence-as-lock-add.
2112         (md_show_usage): Add -mfence-as-lock-add=[no|yes].
2113         * doc/c-i386.texi (-mfence-as-lock-add): Document.
2114         * testsuite/gas/i386/i386.exp: Run new tests.
2115         * testsuite/gas/i386/fence-as-lock-add.s: New.
2116         * testsuite/gas/i386/fence-as-lock-add-yes.d: Likewise.
2117         * testsuite/gas/i386/fence-as-lock-add-no.d: Likewise.
2118         * testsuite/gas/i386/x86-64-fence-as-lock-add-yes.d: Likewise.
2119         * testsuite/gas/i386/x86-64-fence-as-lock-add-no.d: Likewise.
2120
2121 2016-01-27  H.J. Lu  <hongjiu.lu@intel.com>
2122
2123         * configure.ac (compressed_debug_sections): Remove trailing `]'.
2124         * configure: Regenerated.
2125
2126 2016-01-25  H.J. Lu  <hongjiu.lu@intel.com>
2127
2128         * config/tc-i386.c (OPTION_OMIT_LOCK_PREFIX): Renamed to ...
2129         (OPTION_MOMIT_LOCK_PREFIX): This.
2130         (md_longopts): Updated.
2131         (md_parse_option): Likewise.
2132
2133 2016-01-25  Catherine Moore  <clm@codesourcery.com>
2134
2135         * config/mips/tc-mips.c (md_begin): Avoid gp-relative addressing
2136         if abicalls are in effect.
2137         * testsuite/gas/mips/sdata-gp.s: New test.
2138         * testsuite/gas/mips/sdata-gp.d: New expected output
2139         * testsuite/gas/mips/mips.exp: Run new test.
2140
2141 2016-01-25  Renlin Li  <renlin.li@arm.com>
2142
2143         * testsuite/gas/arm/thumb2_it_search.d: New.
2144         * testsuite/gas/arm/thumb2_it_search.s: New.
2145
2146 2016-01-21  Nick Clifton  <nickc@redhat.com>
2147
2148         PR gas/19454
2149         * testsuite/gas/arm/mapshort-elf.d: Fix expected output to cope
2150         with arm-netbsdelf target.
2151         * testsuite/gas/arm/blx-bl-convert.d: Skip for netbsdelf.
2152
2153 2016-01-20  Nick Clifton  <nickc@redhat.com>
2154
2155         PR 19456
2156         * testsuite/gas/arm/weakdef-1.d: Skip for VxWorks.
2157         * testsuite/gas/arm/blx-bl-convert.d
2158         * testsuite/gas/arm/plt-1.d: Likewise.
2159         * testsuite/gas/arm/reloc-bad.d: Likewise.
2160         * testsuite/gas/arm/thumb-w-good.d: Likewise.
2161         * testsuite/gas/arm/thumb2_pool.d: Likewise.
2162         * testsuite/gas/arm/ldconst.d: Adjust so that it works with VxWorks
2163         * testsuite/gas/arm/tls_vxworks.d: Update expected output.
2164
2165         PR 19499
2166         * doc/as.texinfo (Errors): Correct documentation describing the
2167         interaction of .file and .line with warning and error messages.
2168
2169         PR 19458
2170         * testsuite/gas/arm/armv8_2-a.d: Skip for COFF based targets.
2171         * testsuite/gas/arm/archv8m-main.d: Likewise.
2172         * testsuite/gas/arm/archv8m-base.d: Likewise.
2173
2174 2016-01-20  Matthew Wahab  <matthew.wahab@arm.com>
2175
2176         * testsuite/gas/aarch64/armv8_2-a-illegal.d: New.
2177         * testsuite/gas/aarch64/armv8_2-a-illegal.l: New.
2178         * testsuite/gas/aarch64/armv8_2-a-illegal.s: New.
2179
2180 2016-01-20  Mickael Guene  <mickael.guene@st.com>
2181             Terry Guo  <terry.guo@arm.com>
2182
2183         * config/obj-elf.c (obj_elf_change_section) : Allow arm section with
2184         SHF_ARM_NOREAD section flag.
2185         * config/tc-arm.h (md_elf_section_letter) : Implement this hook to
2186         handle letter 'y'.
2187         (arm_elf_section_letter) : Declare it.
2188         * config/tc-arm.c (arm_elf_section_letter): Handle letter 'y' to set
2189         SHF_ARM_NOREAD section flag.
2190         * doc/c-arm.texi (ARM section attribute): Document the 'y' attribute.
2191
2192         * testsuite/gas/arm/section-execute-only.s: New test case.
2193         * testsuite/gas/arm/section-execute-only.d: Expected output.
2194
2195 2016-01-18  Maciej W. Rozycki  <macro@imgtec.com>
2196
2197         * config/tc-mips.c (micromips_insn_length): Remove the mention
2198         of 48-bit microMIPS instructions.
2199
2200 2016-01-18  Alan Modra  <amodra@gmail.com>
2201
2202         * configure: Regenerate.
2203
2204 2016-01-17  Alan Modra  <amodra@gmail.com>
2205
2206         * configure: Regenerate.
2207
2208 2016-01-17  Alan Modra  <amodra@gmail.com>
2209
2210         * testsuite/gas/cfi/cfi.exp: Exclude m68hc11/12 from m68k test.
2211
2212 2016-01-14  Nick Clifton  <nickc@redhat.com>
2213
2214         * testsuite/gas/rl78/sp-relative-movw.s: New test.
2215         * testsuite/gas/rl78/sp-relative-movw.d: Expected disassembly.
2216         * testsuite/gas/rl78/rl78.exp: Run the new test.
2217
2218 2016-01-14  Matthew Wahab  <matthew.wahab@arm.com>
2219
2220         * testsuite/gas/aarch64/illegal-sysreg-2.l: New.
2221         * testsuite/gas/aarch64/illegal-sysreg-2.d: New.
2222
2223 2016-01-13  Maciej W. Rozycki  <macro@imgtec.com>
2224
2225         * config/tc-nios2.c (output_movia): Preset `code' to 0.
2226
2227 2016-01-13  Yoshinori Sato  <ysato@users.sourceforge.jp>
2228
2229         * config/tc-h8300.c (get_operand): Remove spurious condition in
2230         test for closing parenthesis.
2231
2232 2016-01-12  Matthew Wahab  <matthew.wahab@arm.com>
2233
2234         * config/tc-arm.c (arm_ext_v8_2): New.
2235         (insns): Add "esb".
2236         * testsuite/gas/arm/armv8_2-a.d: New.
2237         * testsuite/gas/arm/armv8_2-a.s: New.
2238
2239 2016-01-12  Alan Modra  <amodra@gmail.com>
2240
2241         * testsuite/gas/ppc/vsx3.d: Accept nop padding.
2242
2243 2016-01-11  Peter Bergner <bergner@vnet.ibm.com>
2244
2245         * testsuite/gas/ppc/power9.d <xscmpnedp, xvcmpnedp, xvcmpnedp.,
2246         xvcmpnesp, xvcmpnesp.>: Delete tests.
2247         * testsuite/gas/ppc/power9.s: Likewise.
2248         * testsuite/gas/ppc/vsx3.d: Likewise.
2249         * testsuite/gas/ppc/vsx3.s: Likewise.
2250
2251 2016-01-08  Andreas Schwab  <schwab@linux-m68k.org>
2252
2253         PR gas/13050
2254         * testsuite/gas/m68k/all.exp: Add tests p13050-1 and p13050-2.
2255         * testsuite/gas/m68k/p13050-1.s: New file.
2256         * testsuite/gas/m68k/p13050-2.d: New file.
2257         * testsuite/gas/m68k/p13050-2.s: New file.
2258
2259 2016-01-06  Andrew Burgess  <andrew.burgess@embecosm.com>
2260
2261         * testsuite/gas/arc/adc.d: Add 'R_' prefix to relocation names.
2262         * testsuite/gas/arc/add.d: Likewise.
2263         * testsuite/gas/arc/and.d: Likewise.
2264         * testsuite/gas/arc/asl.d: Likewise.
2265         * testsuite/gas/arc/asr.d: Likewise.
2266         * testsuite/gas/arc/bic.d: Likewise.
2267         * testsuite/gas/arc/extb.d: Likewise.
2268         * testsuite/gas/arc/extw.d: Likewise.
2269         * testsuite/gas/arc/j.d: Likewise.
2270         * testsuite/gas/arc/jl.d: Likewise.
2271         * testsuite/gas/arc/ld2.d: Likewise.
2272         * testsuite/gas/arc/lsr.d: Likewise.
2273         * testsuite/gas/arc/mov.d: Likewise.
2274         * testsuite/gas/arc/or.d: Likewise.
2275         * testsuite/gas/arc/pcl-relocs.d: Likewise.
2276         * testsuite/gas/arc/pcrel-relocs.d: Likewise.
2277         * testsuite/gas/arc/pic-relocs.d: Likewise.
2278         * testsuite/gas/arc/plt-relocs.d: Likewise.
2279         * testsuite/gas/arc/rlc.d: Likewise.
2280         * testsuite/gas/arc/ror.d: Likewise.
2281         * testsuite/gas/arc/rrc.d: Likewise.
2282         * testsuite/gas/arc/sbc.d: Likewise.
2283         * testsuite/gas/arc/sda-relocs.d: Likewise.
2284         * testsuite/gas/arc/sda-relocs2.d: Likewise.
2285         * testsuite/gas/arc/sexb.d: Likewise.
2286         * testsuite/gas/arc/sexw.d: Likewise.
2287         * testsuite/gas/arc/st.d: Likewise.
2288         * testsuite/gas/arc/sub.d: Likewise.
2289         * testsuite/gas/arc/tls-relocs.d: Likewise.
2290         * testsuite/gas/arc/xor.d: Likewise.
2291
2292 2016-01-01  Alan Modra  <amodra@gmail.com>
2293
2294         Update year range in copyright notice of all files.
2295
2296 For older changes see ChangeLog-2015 and testsuite/ChangeLog-2015
2297 \f
2298 Copyright (C) 2016 Free Software Foundation, Inc.
2299
2300 Copying and distribution of this file, with or without modification,
2301 are permitted in any medium without royalty provided the copyright
2302 notice and this notice are preserved.
2303
2304 Local Variables:
2305 mode: change-log
2306 left-margin: 8
2307 fill-column: 74
2308 version-control: never
2309 End: