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