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