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