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