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