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