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