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