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