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