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