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