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