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