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