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