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