[AArch64][SVE 08/32] Generalise aarch64_double_precision_fmovable
[deliverable/binutils-gdb.git] / gas / ChangeLog
CommitLineData
04a3379a
RS
12016-09-21 Richard Sandiford <richard.sandiford@arm.com>
2
3 * config/tc-aarch64.c (aarch64_double_precision_fmovable): Rename
4 to...
5 (can_convert_double_to_float): ...this. Accept any double-precision
6 value that converts to single precision without loss of precision.
7 (parse_aarch64_imm_float): Update accordingly.
8
1799c0d0
RS
92016-09-21 Richard Sandiford <richard.sandiford@arm.com>
10
11 * config/tc-aarch64.c (parse_immediate_expression): Add a
12 reg_type parameter.
13 (parse_constant_immediate): Likewise, and update calls.
14 (parse_aarch64_imm_float): Likewise.
15 (parse_big_immediate): Likewise.
16 (po_imm_nc_or_fail): Update accordingly, passing down a new
17 imm_reg_type variable.
18 (po_imm_of_fail): Likewise.
19 (parse_operands): Likewise.
20
10d76650
RS
212016-09-21 Richard Sandiford <richard.sandiford@arm.com>
22
23 * config/tc-aarch64.c (parse_neon_reg_list): Rename to...
24 (parse_vector_reg_list): ...this and take a register type
25 as input.
26 (parse_operands): Update accordingly.
27
53021dd1
RS
282016-09-21 Richard Sandiford <richard.sandiford@arm.com>
29
30 * config/tc-aarch64.c (parse_neon_type_for_operand): Rename to...
31 (parse_vector_type_for_operand): ...this.
32 (parse_typed_reg): Update accordingly.
33
8f9a77af
RS
342016-09-21 Richard Sandiford <richard.sandiford@arm.com>
35
36 * config/tc-aarch64.c (neon_type_el): Rename to...
37 (vector_type_el): ...this.
38 (parse_neon_type_for_operand): Update accordingly.
39 (parse_typed_reg): Likewise.
40 (aarch64_reg_parse): Likewise.
41 (vectype_to_qualifier): Likewise.
42 (parse_operands): Likewise.
43 (eq_neon_type_el): Likewise. Rename to...
44 (eq_vector_type_el): ...this.
45 (parse_neon_reg_list): Update accordingly.
46
f06935a5
RS
472016-09-21 Richard Sandiford <richard.sandiford@arm.com>
48
49 * config/tc-aarch64.c (neon_el_type: Rename to...
50 (vector_el_type): ...this.
51 (neon_type_el): Update accordingly.
52 (parse_neon_type_for_operand): Likewise.
53 (vectype_to_qualifier): Likewise.
54
a235d3ae
RS
552016-09-21 Richard Sandiford <richard.sandiford@arm.com>
56
57 * config/tc-aarch64.c (parse_neon_operand_type): Delete.
58 (parse_typed_reg): Call parse_neon_type_for_operand directly.
59
f807f43d
CZ
602016-09-15 Claudiu Zissulescu <claziss@synopsys.com>
61
62 * testsuite/gas/arc/textinsnxop.d: New file.
63 * testsuite/gas/arc/textinsnxop.s: Likewise.
64
d7cd93a7
JM
652016-09-15 Jose E. Marchesi <jose.marchesi@oracle.com>
66
67 * testsuite/gas/sparc/sparc.exp (gas_64_check): Run
68 dcti-couples-v9 only in ELF targets to avoid spurious failures in
69 sparc-aout and sparc-coff targets.
70
fd486b63
PB
712016-09-14 Peter Bergner <bergner@vnet.ibm.com>
72
73 * testsuite/gas/ppc/power9.d <slbiag, cpabort> New tests.
74 <addex., brd, brh, brw, lwzmx, nandxor, rldixor, setbool,
75 xor3, cp_abort, copy_first, paste, paste_last, sync>: Remove tests.
76 <copy, paste.>: Update tests.
77 * testsuite/gas/ppc/power9.s: Likewise.
78
fc7514d6
JM
792016-09-14 Jose E. Marchesi <jose.marchesi@oracle.com>
80
81 * config/tc-sparc.c (sparc_ip): Print the instruction arguments
82 in "architecture mismatch" error messages.
83
46a2d504
JM
842016-09-14 Jose E. Marchesi <jose.marchesi@oracle.com>
85
86 * config/tc-sparc.c (md_assemble): Detect and warning on
87 unpredictable DCTI couples in certain arches.
88 (dcti_couples_detect): New global.
89 (md_longopts): Add command line option -dcti-couples-detect.
90 (md_show_usage): Document -dcti-couples-detect.
91 (md_parse_option): Handle OPTION_DCTI_COUPLES_DETECT.
92 * testsuite/gas/sparc/sparc.exp (gas_64_check): Run
93 dcti-couples-v8, dcti-couples-v9 and dcti-couples-v9c tests.
94 * testsuite/gas/sparc/dcti-couples.s: New file.
95 * testsuite/gas/sparc/dcti-couples-v9c.d: Likewise.
96 * testsuite/gas/sparc/dcti-couples-v8.d: Likewise.
97 * testsuite/gas/sparc/dcti-couples-v9.d: Likewise.
98 * testsuite/gas/sparc/dcti-couples-v9c.l: Likewise.
99 * testsuite/gas/sparc/dcti-couples-v8.l: Likewise.
100 * doc/as.texinfo (Overview): Document --dcti-couples-detect.
101 * doc/c-sparc.texi (Sparc-Opts): Likewise.
102
32348c58
CZ
1032016-09-14 Claudiu Zissulescu <claziss@synopsys.com>
104
105 * testsuite/gas/arc/tls-relocs2.d: New file.
106 * testsuite/gas/arc/tls-relocs2.s: Likewise.
107 * config/tc-arc.c (tokenize_arguments): Accept offsets when base
108 is used.
109
952c3f51
AK
1102016-09-12 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
111
112 * config/tc-s390.c (s390_parse_cpu): Support alternate arch
113 strings.
114 * doc/as.texinfo: Document new arch strings.
115 * doc/c-s390.texi: Likewise.
116
58af6397
AK
1172016-09-12 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
118
119 * config/tc-s390.c: Set all facitily bits by default
120
8b71537b
PS
1212016-09-12 Patrick Steuer <steuer@linux.vnet.ibm.com>
122
123 * testsuite/gas/s390/zarch-z196.d: Adjust testcase.
124
8d471ec1
L
1252016-09-08 H.J. Lu <hongjiu.lu@intel.com>
126
127 * config/tc-i386.c (i386_target_format): Allow PROCESSOR_IAMCU
128 for Intel MCU.
129
5b64d091
L
1302016-09-07 H.J. Lu <hongjiu.lu@intel.com>
131
132 * config/tc-i386.c (valid_iamcu_cpu_flags): Removed.
133 (set_cpu_arch): Updated.
134 (md_parse_option): Likewise.
135 * testsuite/gas/i386/i386.exp: Run iamcu-4 and iamcu-5. Remove
136 iamcu-inval-2 and iamcu-inval-3.
137 * testsuite/gas/i386/iamcu-4.d: New file.
138 * testsuite/gas/i386/iamcu-4.s: Likewise.
139 * testsuite/gas/i386/iamcu-5.d: Likewise.
140 * testsuite/gas/i386/iamcu-5.s: Likewise.
141 * testsuite/gas/i386/iamcu-inval-2.l: Removed.
142 * testsuite/gas/i386/iamcu-inval-2.s: Likewise.
143 * testsuite/gas/i386/iamcu-inval-3.l: Likewise.
144 * testsuite/gas/i386/iamcu-inval-3.s: Likewise.
145
27e5a270
RE
1462016-09-07 Richard Earnshaw <rearnsha@arm.com>
147
148 * config/tc-arm.c ((arm_cpus): Use ARM_ARCH_V8A_CRC for all
149 ARMv8-A CPUs except xgene1.
150
f7d69005
AM
1512016-08-31 Alan Modra <amodra@gmail.com>
152
153 * config/tc-ppc.c (md_assemble): Set sh_flags for VLE. Test
154 ppc_cpu rather than calling ppc_mach to determine VLE mode.
155 (ppc_frag_check, ppc_handle_align): Likewise use ppc_cpu.
156
1b8b6532
JM
1572016-08-26 Jose E. Marchesi <jose.marchesi@oracle.com>
158
159 * testsuite/gas/sparc/crypto.d: Rename invalid opcode camellia_fi
160 to camellia_fl.
161 * testsuite/gas/sparc/crypto.s: Likewise.
162
1a336194
TP
1632016-08-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
164
165 * config/tc-arm.c (v7m_psrs): Add MSPLIM, PSPLIM, MSPLIM_NS,
166 PSPLIM_NS, PRIMASK_NS, BASEPRI_NS, FAULTMASK_NS, CONTROL_NS, SP_NS and
167 their lowecase counterpart special registers. Write register
168 identifier in hex.
169 * testsuite/gas/arm/archv8m-cmse-msr.s: Reorganize tests per
170 operation, special register and then case. Use different register for
171 each operation. Add tests for new special registers.
172 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Adapt expected result
173 accordingly.
174 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
175 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
176
c4dd0ba2
TP
1772016-08-25 Thomas Preud'homme <thomas.preudhomme@arm.com>
178
179 * config/tc-arm.c (v7m_psrs): Remove msp_s, MSP_S, psp_s and PSP_S
180 special registers.
181 * testsuite/gas/arm/archv8m-cmse-msr.s: Remove test for above special
182 registers.
183 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Likewise.
184 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
185 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
186
6b40c462
L
1872016-08-24 H.J. Lu <hongjiu.lu@intel.com>
188
189 * config/tc-i386.c (cpu_arch): Add .ptwrite.
190 * doc/c-i386.texi: Document ptwrite and .ptwrite.
191 * testsuite/gas/i386/i386.exp: Run ptwrite, ptwrite-intel,
192 x86-64-ptwrite and x86-64-ptwrite-intel.
193 * testsuite/gas/i386/ptwrite-intel.d: New file.
194 * testsuite/gas/i386/ptwrite.d: Likewise.
195 * testsuite/gas/i386/ptwrite.s: Likewise.
196 * testsuite/gas/i386/x86-64-ptwrite-intel.d: Likewise.
197 * testsuite/gas/i386/x86-64-ptwrite.d: Likewise.
198 * testsuite/gas/i386/x86-64-ptwrite.s: Likewise.
199
873f10f0
TC
2002016-08-19 Tamar Christina <tamar.christina@arm.com>
201
202 * config/tc-arm.c (do_co_reg2c): Added constraint.
203 * testsuite/gas/arm/dest-unpredictable.s: New.
204 * testsuite/gas/arm/dest-unpredictable.l: New.
205 * testsuite/gas/arm/dest-unpredictable.d: New.
206
dd905818
NC
2072016-08-19 Nick Clifton <nickc@redhat.com>
208
209 * testsuite/gas/i386/ilp32/x86-64-unwind.d: Adjust expected
210 ordering of sections.
211 * testsuite/gas/i386/x86-64-unwind.d: Likewise.
212 * testsuite/gas/ia64/alias-ilp32.d: Likewise.
213 * testsuite/gas/ia64/alias.d: Likewise.
214 * testsuite/gas/ia64/group-1.d: Likewise.
215 * testsuite/gas/ia64/group-2.d: Likewise.
216 * testsuite/gas/ia64/secname-ilp32.d: Likewise.
217 * testsuite/gas/ia64/secname.d: Likewise.
218 * testsuite/gas/ia64/unwind-ilp32.d: Likewise.
219 * testsuite/gas/ia64/unwind.d: Likewise.
220 * testsuite/gas/ia64/xdata-ilp32.d: Likewise.
221 * testsuite/gas/ia64/xdata.d: Likewise.
222 * testsuite/gas/mmix/bspec-1.d: Likewise.
223 * testsuite/gas/mmix/bspec-2.d: Likewise.
224 * testsuite/gas/mmix/byte-1.d: Likewise.
225 * testsuite/gas/mmix/loc-1.d: Likewise.
226 * testsuite/gas/mmix/loc-2.d: Likewise.
227 * testsuite/gas/mmix/loc-3.d: Likewise.
228 * testsuite/gas/mmix/loc-4.d: Likewise.
229 * testsuite/gas/mmix/loc-5.d: Likewise.
230 * testsuite/gas/tic6x/scomm-directive-4.d: Likewise.
231
dbd8770c
RS
2322016-08-11 Richard Sandiford <richard.sandiford@arm.com>
233
234 * config/tc-aarch64.c (parse_aarch64_imm_float): Reject -0.0.
235 * testsuite/gas/aarch64/illegal.s, testsuite/gas/aarch64/illegal.l:
236 Add tests for -0.0. Add an end-of-file comment.
237
7ea12e5c
NC
2382016-08-05 Nick Clifton <nickc@redhat.com>
239
b126985e
NC
240 PR gas/20429
241 * config/tc-arm.c (do_vfp_nsyn_push): Check that no more than 16
242 registers are pushed.
243 (do_vfp_nsyn_pop): Check that no more than 16 registers are
244 popped.
245 * testsuite/gas/arm/pr20429.s: New test.
246 * testsuite/gas/arm/pr20429.d: New test driver.
247 * testsuite/gas/arm/pr20429.1: Expected error output.
248
7ea12e5c
NC
249 PR gas/20364
250 * config/tc-aarch64.c (s_ltorg): Change the mapping state after
251 aligning the frag.
252 (aarch64_init): Treat rs_align frags in code sections as
253 containing code, not data.
254 * testsuite/gas/aarch64/pr20364.s: New test.
255 * testsuite/gas/aarch64/pr20364.d: New test driver.
256
02442566
ST
2572016-08-04 Stefan Trleman <stefan.teleman@oracle.com>
258
259 PR gas/20427
260 * config/tc-sparc.c (cons_fix_new_sparc): Prevent the generation
261 of 64-bit relocation types when assembling for a 32-bit Solaris
262 target.
263
c88960d0
JM
2642016-07-27 Jose E. Marchesi <jose.marchesi@oracle.com>
265
266 * testsuite/gas/sparc/sparc.exp: Use is_elf_format to discriminate
267 ELF targets.
268 Run natural, natural-32, pr4587, ticc-imm-reg, v8-movwr-imm,
269 pause, save-args, cbcond, cfr, crypto edge, flush, hpcvis3, ima,
270 ld_st_fsr, ldtw_sttw, ldd_std, ldx_stx, ldx_efsr, mwait, mcdper,
271 sparc5vis4, xcrypto, v9branch1 and imm-plus-rreg only in ELF
272 targets.
273 (sparc_elf_setup): Delete.
274 * testsuite/gas/sparc/save-args.d: Fix a copy-paste typo in the
275 test's #name entry.
276
7bd374a4
MR
2772016-07-27 Maciej W. Rozycki <macro@imgtec.com>
278
279 * config/tc-mips.c (RELAX_MICROMIPS_ENCODE): Add `nods' flag.
280 (RELAX_MICROMIPS_RELAX32, RELAX_MICROMIPS_TOOFAR16)
281 (RELAX_MICROMIPS_MARK_TOOFAR16, RELAX_MICROMIPS_CLEAR_TOOFAR16)
282 (RELAX_MICROMIPS_TOOFAR32, RELAX_MICROMIPS_MARK_TOOFAR32)
283 (RELAX_MICROMIPS_CLEAR_TOOFAR32): Shift bits.
284 (get_append_method): Also return APPEND_ADD_COMPACT for
285 microMIPS instructions.
286 (find_altered_mips16_opcode): Exclude macros from matching.
287 Factor code out...
288 (find_altered_opcode): ... to this new function.
289 (find_altered_micromips_opcode): New function.
290 (frag_branch_delay_slot_size): Likewise.
291 (append_insn): Handle microMIPS branch/jump compaction.
292 (macro_start): Likewise.
293 (relaxed_micromips_32bit_branch_length): Likewise.
294 (md_convert_frag): Likewise.
295 * testsuite/gas/mips/micromips.s: Add conditional explicit NOPs
296 for delay slot filling.
297 * testsuite/gas/mips/micromips-b16.s: Add explicit NOPs for
298 delay slot filling.
299 * testsuite/gas/mips/micromips-size-1.s: Likewise.
300 * testsuite/gas/mips/micromips.l: Adjust line numbers.
301 * testsuite/gas/mips/micromips-warn.l: Likewise.
302 * testsuite/gas/mips/micromips-size-1.l: Likewise.
303 * testsuite/gas/mips/micromips.d: Adjust padding.
304 * testsuite/gas/mips/micromips-trap.d: Likewise.
305 * testsuite/gas/mips/micromips-insn32.d: Likewise.
306 * testsuite/gas/mips/micromips-noinsn32.d: Likewise.
307 * testsuite/gas/mips/micromips@beq.d: Update patterns for
308 branch/jump compaction.
309 * testsuite/gas/mips/micromips@bge.d: Likewise.
310 * testsuite/gas/mips/micromips@bgeu.d: Likewise.
311 * testsuite/gas/mips/micromips@blt.d: Likewise.
312 * testsuite/gas/mips/micromips@bltu.d: Likewise.
313 * testsuite/gas/mips/micromips@branch-misc-4.d: Likewise.
314 * testsuite/gas/mips/micromips@branch-misc-4-64.d: Likewise.
315 * testsuite/gas/mips/micromips@branch-misc-5.d: Likewise.
316 * testsuite/gas/mips/micromips@branch-misc-5pic.d: Likewise.
317 * testsuite/gas/mips/micromips@branch-misc-5-64.d: Likewise.
318 * testsuite/gas/mips/micromips@branch-misc-5pic-64.d: Likewise.
319 * testsuite/gas/mips/micromips@jal-svr4pic-local.d: Likewise.
320 * testsuite/gas/mips/micromips@jal-svr4pic-local-n32.d:
321 Likewise.
322 * testsuite/gas/mips/micromips@jal-svr4pic-local-n64.d:
323 Likewise.
324 * testsuite/gas/mips/micromips@loc-swap.d: Likewise.
325 * testsuite/gas/mips/micromips@loc-swap-dis.d: Likewise.
326 * testsuite/gas/mips/micromips@relax.d: Likewise.
327 * testsuite/gas/mips/micromips@relax-at.d: Likewise.
328 * testsuite/gas/mips/micromips@relax-swap3.d: Likewise.
329 * testsuite/gas/mips/branch-extern-2.d: Likewise.
330 * testsuite/gas/mips/branch-extern-4.d: Likewise.
331 * testsuite/gas/mips/branch-section-2.d: Likewise.
332 * testsuite/gas/mips/branch-section-4.d: Likewise.
333 * testsuite/gas/mips/branch-weak-2.d: Likewise.
334 * testsuite/gas/mips/branch-weak-5.d: Likewise.
335 * testsuite/gas/mips/micromips-branch-absolute.d: Likewise.
336 * testsuite/gas/mips/micromips-branch-absolute-n32.d: Likewise.
337 * testsuite/gas/mips/micromips-branch-absolute-n64.d: Likewise.
338 * testsuite/gas/mips/micromips-branch-absolute-addend.d:
339 Likewise.
340 * testsuite/gas/mips/micromips-branch-absolute-addend-n32.d:
341 Likewise.
342 * testsuite/gas/mips/micromips-branch-absolute-addend-n64.d:
343 Likewise.
344 * testsuite/gas/mips/micromips-compact.d: New test.
345 * testsuite/gas/mips/mips.exp: Run the new test.
346
db18dbab
GM
3472016-07-27 Graham Markall <graham.markall@embecosm.com>
348
349 * config/tc-arc.c: Add new global arc_addrtype_hash.
350 Define O_colon and O_addrtype.
351 (debug_exp): Add O_colon and O_addrtype.
352 (tokenize_arguments): Handle colon and address type
353 tokens.
354 (declare_addrtype): New function.
355 (md_begin): Initialise arc_addrtype_hash.
356 (arc_parse_name): Add lookup of address types.
357 (assemble_insn): Handle colons and address types by
358 ignoring them.
359 * testsuite/gas/arc/nps400-8.s: New file.
360 * testsuite/gas/arc/nps400-8.d: New file.
361 * testsuite/gas/arc/nps400-8.s: Add PMU instruction tests.
362 * testsuite/gas/arc/nps400-8.d: Add expected PMU
363 instruction output.
364
8484fb75
MR
3652016-07-26 Maciej W. Rozycki <macro@imgtec.com>
366
367 * config/tc-mips.c (RELAX_MICROMIPS_ENCODE): Add `insn32' flag.
368 (RELAX_MICROMIPS_INSN32): New macro.
369 (RELAX_MICROMIPS_UNCOND, RELAX_MICROMIPS_COMPACT)
370 (RELAX_MICROMIPS_LINK, RELAX_MICROMIPS_RELAX32)
371 (RELAX_MICROMIPS_TOOFAR16, RELAX_MICROMIPS_MARK_TOOFAR16)
372 (RELAX_MICROMIPS_CLEAR_TOOFAR16, RELAX_MICROMIPS_TOOFAR32)
373 (RELAX_MICROMIPS_MARK_TOOFAR32, RELAX_MICROMIPS_CLEAR_TOOFAR32):
374 Shift bits.
375 (append_insn): Record `mips_opts.insn32' with relaxed microMIPS
376 branches.
377 (relaxed_micromips_32bit_branch_length): Handle the `insn32'
378 mode.
379 (md_convert_frag): Likewise.
380 * testsuite/gas/mips/micromips-branch-relax.s: Add `insn32'
381 conditionals.
382 * testsuite/gas/mips/micromips-branch-relax.l: Update line
383 numbers accordingly.
384 * testsuite/gas/mips/micromips-branch-relax-pic.l: Likewise.
385 * testsuite/gas/mips/micromips-branch-relax-insn32.d: New test.
386 * testsuite/gas/mips/micromips-branch-relax-insn32-pic.d: New
387 test.
388 * testsuite/gas/mips/micromips-branch-relax-insn32.l: New
389 stderr output.
390 * testsuite/gas/mips/micromips-branch-relax-insn32-pic.l: New
391 stderr output.
392 * testsuite/gas/mips/mips.exp: Run the new tests.
393
fecd57f9
L
3942016-07-21 H.J. Lu <hongjiu.lu@intel.com>
395
396 * configure: Regenerated.
397
37fd5ef3
CZ
3982016-07-20 Claudiu Zissulescu <claziss@synopsys.com>
399
400 * testsuite/gas/arc/dsp.d: New file.
401 * testsuite/gas/arc/dsp.s: Likewise.
402 * testsuite/gas/arc/fpu.d: Likewise.
403 * testsuite/gas/arc/fpu.s: Likewise.
404 * testsuite/gas/arc/ext2op.d: Add specific disassembler option.
405 * testsuite/gas/arc/ext3op.d: Likewise.
406 * testsuite/gas/arc/tdpfp.d: Likewise.
407 * testsuite/gas/arc/tfpuda.d: Likewise.
408
5caa2b07
MR
4092016-07-20 Maciej W. Rozycki <macro@imgtec.com>
410
411 * config/tc-mips.c (mips_force_relocation): Remove
412 R_MIPS_PC26_S2 and R_MIPS_PC21_S2.
413
a6ebf616
MR
4142016-07-19 Maciej W. Rozycki <macro@imgtec.com>
415
416 * config/tc-mips.c (mips_force_relocation, mips_fix_adjustable):
417 Adjust comments for BAL to JALX linker conversion.
418 (fix_bad_cross_mode_branch_p): Accept cross-mode BAL.
419 * testsuite/gas/mips/unaligned-branch-1.l: Update error messages
420 expected.
421 * testsuite/gas/mips/unaligned-branch-micromips-1.l: Likewise.
422 * testsuite/gas/mips/branch-local-4.d: New test.
423 * testsuite/gas/mips/branch-local-n32-4.d: New test.
424 * testsuite/gas/mips/branch-local-n64-4.d: New test.
425 * testsuite/gas/mips/branch-addend.d: New test.
426 * testsuite/gas/mips/branch-addend-n32.d: New test.
427 * testsuite/gas/mips/branch-addend-n64.d: New test.
428 * testsuite/gas/mips/branch-local-4.s: New test source.
429 * testsuite/gas/mips/branch-addend.s: New test source.
430 * testsuite/gas/mips/mips.exp: Run the new tests.
431
9d862524
MR
4322016-07-19 Maciej W. Rozycki <macro@imgtec.com>
433
434 * config/tc-mips.c (mips_force_relocation): Also retain branch
435 relocations against MIPS16 and microMIPS symbols.
436 (fix_bad_cross_mode_jump_p): New function.
437 (fix_bad_same_mode_jalx_p): Likewise.
438 (fix_bad_misaligned_jump_p): Likewise.
439 (fix_bad_cross_mode_branch_p): Likewise.
440 (fix_bad_misaligned_branch_p): Likewise.
441 (fix_validate_branch): Likewise.
442 (md_apply_fix) <BFD_RELOC_MIPS_JMP, BFD_RELOC_MIPS16_JMP>
443 <BFD_RELOC_MICROMIPS_JMP>: Separate from BFD_RELOC_MIPS_SHIFT5,
444 etc. Verify the ISA mode and alignment of the jump target.
445 <BFD_RELOC_MIPS_21_PCREL_S2>: Replace the inline alignment check
446 with a call to `fix_validate_branch'.
447 <BFD_RELOC_MIPS_26_PCREL_S2>: Likewise.
448 <BFD_RELOC_16_PCREL_S2>: Likewise.
449 <BFD_RELOC_MICROMIPS_7_PCREL_S1, BFD_RELOC_MICROMIPS_10_PCREL_S1>
450 <BFD_RELOC_MICROMIPS_16_PCREL_S1>: Retain the original addend.
451 Verify the ISA mode and alignment of the branch target.
452 (md_convert_frag): Verify the ISA mode and alignment of resolved
453 MIPS16 branch targets.
454 * testsuite/gas/mips/branch-misc-1.s: Annotate non-instruction
455 branch targets with `.insn'.
456 * testsuite/gas/mips/branch-misc-5.s: Likewise.
457 * testsuite/gas/mips/micromips@branch-misc-5-64.d: Update
458 accordingly.
459 * testsuite/gas/mips/micromips@branch-misc-5pic-64.d: Likewise.
460 * testsuite/gas/mips/micromips-branch-relax.s: Annotate
461 non-instruction branch target with `.insn'.
462 * testsuite/gas/mips/micromips.s: Replace microMIPS JALX targets
463 with external symbols.
464 * testsuite/gas/mips/micromips-insn32.d: Update accordingly.
465 * testsuite/gas/mips/micromips-noinsn32.d: Likewise.
466 * testsuite/gas/mips/micromips-trap.d: Likewise.
467 * testsuite/gas/mips/micromips.d: Likewise.
468 * testsuite/gas/mips/mips16.s: Annotate non-instruction branch
469 targets with `.insn'.
470 * testsuite/gas/mips/mips16.d: Update accordingly.
471 * testsuite/gas/mips/mips16-64.d: Likewise.
472 * testsuite/gas/mips/mips16-dwarf2.s: Annotate non-instruction
473 branch target with `.insn'.
474 * testsuite/gas/mips/relax-swap3.s: Likewise.
475 * testsuite/gas/mips/branch-local-2.l: New list test.
476 * testsuite/gas/mips/branch-local-3.l: New list test.
477 * testsuite/gas/mips/branch-local-n32-2.l: New list test.
478 * testsuite/gas/mips/branch-local-n32-3.l: New list test.
479 * testsuite/gas/mips/branch-local-n64-2.l: New list test.
480 * testsuite/gas/mips/branch-local-n64-3.l: New list test.
481 * testsuite/gas/mips/unaligned-jump-1.l: New list test.
482 * testsuite/gas/mips/unaligned-jump-2.l: New list test.
483 * testsuite/gas/mips/unaligned-jump-3.d: New test.
484 * testsuite/gas/mips/unaligned-jump-mips16-1.l: New list test.
485 * testsuite/gas/mips/unaligned-jump-mips16-2.l: New list test.
486 * testsuite/gas/mips/unaligned-jump-mips16-3.d: New test.
487 * testsuite/gas/mips/unaligned-jump-micromips-1.l: New list
488 test.
489 * testsuite/gas/mips/unaligned-jump-micromips-2.l: New list
490 test.
491 * testsuite/gas/mips/unaligned-jump-micromips-3.d: New test.
492 * testsuite/gas/mips/unaligned-branch-1.l: New list test.
493 * testsuite/gas/mips/unaligned-branch-2.l: New list test.
494 * testsuite/gas/mips/unaligned-branch-3.d: New test.
495 * testsuite/gas/mips/unaligned-branch-r6-1.l: New list test.
496 * testsuite/gas/mips/unaligned-branch-r6-2.l: New list test.
497 * testsuite/gas/mips/unaligned-branch-r6-3.l: New list test.
498 * testsuite/gas/mips/unaligned-branch-r6-4.l: New list test.
499 * testsuite/gas/mips/unaligned-branch-r6-5.d: New test.
500 * testsuite/gas/mips/unaligned-branch-r6-6.d: New test.
501 * testsuite/gas/mips/unaligned-branch-mips16-1.l: New list test.
502 * testsuite/gas/mips/unaligned-branch-mips16-2.l: New list test.
503 * testsuite/gas/mips/unaligned-branch-mips16-3.d: New test.
504 * testsuite/gas/mips/unaligned-branch-micromips-1.l: New list
505 test.
506 * testsuite/gas/mips/unaligned-branch-micromips-2.l: New list
507 test.
508 * testsuite/gas/mips/unaligned-branch-micromips-3.d: New test.
509 * testsuite/gas/mips/branch-local-2.s: New test source.
510 * testsuite/gas/mips/branch-local-3.s: New test source.
511 * testsuite/gas/mips/branch-local-n32-2.s: New test source.
512 * testsuite/gas/mips/branch-local-n32-3.s: New test source.
513 * testsuite/gas/mips/branch-local-n64-2.s: New test source.
514 * testsuite/gas/mips/branch-local-n64-3.s: New test source.
515 * testsuite/gas/mips/unaligned-jump-1.s: New test source.
516 * testsuite/gas/mips/unaligned-jump-2.s: New test source.
517 * testsuite/gas/mips/unaligned-jump-mips16-1.s: New test source.
518 * testsuite/gas/mips/unaligned-jump-mips16-2.s: New test source.
519 * testsuite/gas/mips/unaligned-jump-micromips-1.s: New test
520 source.
521 * testsuite/gas/mips/unaligned-jump-micromips-2.s: New test
522 source.
523 * testsuite/gas/mips/unaligned-branch-1.s: New test source.
524 * testsuite/gas/mips/unaligned-branch-2.s: New test source.
525 * testsuite/gas/mips/unaligned-branch-r6-1.s: New test source.
526 * testsuite/gas/mips/unaligned-branch-r6-2.s: New test source.
527 * testsuite/gas/mips/unaligned-branch-r6-3.s: New test source.
528 * testsuite/gas/mips/unaligned-branch-r6-4.s: New test source.
529 * testsuite/gas/mips/unaligned-branch-mips16-1.s: New test
530 source.
531 * testsuite/gas/mips/unaligned-branch-mips16-2.s: New test
532 source.
533 * testsuite/gas/mips/unaligned-branch-micromips-1.s: New test
534 source.
535 * testsuite/gas/mips/unaligned-branch-micromips-2.s: New test
536 source.
537 * testsuite/gas/mips/mips.exp: Run the new tests.
538
065251a0
TS
5392016-07-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
540
541 * config/tc-nds32.c (struct nds32_pseudo_opcode): Make pseudo_val
542 unsigned int.
543 (do_pseudo_b): Adjust.
544 (do_pseudo_bal): Likewise.
545 (do_pseudo_bge): Likewise.
546 (do_pseudo_bges): Likewise.
547 (do_pseudo_bgt): Likewise.
548 (do_pseudo_bgts): Likewise.
549 (do_pseudo_ble): Likewise.
550 (do_pseudo_bles): Likewise.
551 (do_pseudo_blt): Likewise.
552 (do_pseudo_blts): Likewise.
553 (do_pseudo_br): Likewise.
554 (do_pseudo_bral): Likewise.
555 (do_pseudo_la): Likewise.
556 (do_pseudo_li): Likewise.
557 (do_pseudo_ls_bhw): Likewise.
558 (do_pseudo_ls_bhwp): Likewise.
559 (do_pseudo_ls_bhwpc): Likewise.
560 (do_pseudo_ls_bhwi): Likewise.
561 (do_pseudo_move): Likewise.
562 (do_pseudo_neg): Likewise.
563 (do_pseudo_not): Likewise.
564 (do_pseudo_pushpopm): Likewise.
565 (do_pseudo_pushpop): Likewise.
566 (do_pseudo_v3push): Likewise.
567 (do_pseudo_v3pop): Likewise.
568 (do_pseudo_pushpop_stack): Likewise.
569 (do_pseudo_push_bhwd): Likewise.
570 (do_pseudo_pop_bhwd): Likewise.
571 (do_pseudo_pusha): Likewise.
572 (do_pseudo_pushi): Likewise.
573
9bceab41
TS
5742016-07-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
575
576 * config/tc-sparc.c (struct pop_entry): Make the type of reloc
577 bfd_reloc_code_real_type.
578
cf80913a
TS
5792016-07-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
580
581 * config/tc-sparc.c (pop_table): Remove sentinel.
582 (NUM_PERC_ENTRIES): Use ARRAY_SIZE on pop_table.
583 (md_begin): Adjust.
584
35fec4ff
TS
5852016-07-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
586
587 * config/tc-z8k.c (newfix): Make type of type argument
588 bfd_reloc_code_real_type.
589 (apply_fix): Likewise.
590
00dad9a4
AM
5912016-07-16 Alan Modra <amodra@gmail.com>
592
593 * config/tc-epiphany.c: Don't include libbfd.h.
594 * config/tc-frv.c: Likewise.
595 * config/tc-ip2k.c: Likewise.
596 * config/tc-iq2000.c: Likewise.
597 * config/tc-m32c.c: Likewise.
598 * config/tc-mep.c: Likewise.
599 * config/tc-mt.c: Likewise.
600 * config/tc-nios2.c: Likewise.
601
76e7a751
AM
6022016-07-16 Alan Modra <amodra@gmail.com>
603
604 * config/bfin-parse.y: Don't include libbfd.h.
605 * config/tc-bfin.c: Likewise.
606 * config/tc-rl78.c: Likewise.
607 * config/tc-rx.c: Likewise.
608 * config/tc-metag.c: Likewise.
609 (create_dspreg_htabs, create_scond_htab): Use gas_assert not BFD_ASSERT.
610 * Makefile.am: Update dependencies.
611 * Makefile.in: Regenerate.
612
b416ba9b
MR
6132016-07-14 Maciej W. Rozycki <macro@imgtec.com>
614
615 * config/tc-mips.h (TC_FORCE_RELOCATION_ABS): New macro.
616 (mips_force_relocation_abs): New prototype.
617 * config/tc-mips.c (mips_force_relocation_abs): New function.
618 * testsuite/gas/mips/branch-absolute.d: Adjust dump patterns.
619 * testsuite/gas/mips/mips16-branch-absolute.d: Likewise.
620 * testsuite/gas/mips/micromips-branch-absolute-n32.d: Likewise.
621 * testsuite/gas/mips/micromips-branch-absolute-n64.d: Likewise.
622 * testsuite/gas/mips/micromips-branch-absolute-addend-n32.d:
623 Likewise.
624 * testsuite/gas/mips/micromips-branch-absolute-addend-n64.d:
625 Likewise.
626 * testsuite/gas/mips/branch-absolute-addend.d: New test.
627 * testsuite/gas/mips/mips16-branch-absolute-addend.d: New test.
628 * testsuite/gas/mips/micromips-branch-absolute-addend.d: New
629 test.
630 * testsuite/gas/mips/mips.exp: Run the new tests.
631
96e9ba5f
MR
6322016-07-14 Maciej W. Rozycki <macro@imgtec.com>
633
634 * config/tc-mips.c (md_apply_fix) <BFD_RELOC_MIPS16_16_PCREL_S1>
635 <BFD_RELOC_MICROMIPS_7_PCREL_S1, BFD_RELOC_MICROMIPS_10_PCREL_S1>
636 <BFD_RELOC_MICROMIPS_16_PCREL_S1>: Keep the ISA bit in the
637 addend calculated.
638 * testsuite/gas/mips/mips16-branch-absolute.s: Set the ISA bit
639 in `bar', export `foo'.
640 * testsuite/gas/mips/mips16-branch-absolute.d: Adjust
641 accordingly.
642 * testsuite/gas/mips/mips16-branch-absolute-n32.d: Likewise.
643 * testsuite/gas/mips/mips16-branch-absolute-n64.d: Likewise.
644 * testsuite/gas/mips/mips16-branch-absolute-addend-n32.d:
645 Likewise.
646 * testsuite/gas/mips/mips16-branch-absolute-addend-n64.d:
647 Likewise.
648
0c117286
MR
6492016-07-14 Maciej W. Rozycki <macro@imgtec.com>
650
651 * testsuite/gas/mips/mips16-branch-absolute.d: Update patterns.
652 * testsuite/gas/mips/branch-absolute.d: New test.
653 * testsuite/gas/mips/branch-absolute-n32.d: New test.
654 * testsuite/gas/mips/branch-absolute-n64.d: New test.
655 * testsuite/gas/mips/branch-absolute-addend-n32.d: New test.
656 * testsuite/gas/mips/branch-absolute-addend-n64.d: New test.
657 * testsuite/gas/mips/mips16-branch-absolute-n32.d: New test.
658 * testsuite/gas/mips/mips16-branch-absolute-n64.d: New test.
659 * testsuite/gas/mips/mips16-branch-absolute-addend-n32.d: New
660 test.
661 * testsuite/gas/mips/mips16-branch-absolute-addend-n64.d: New
662 test.
663 * testsuite/gas/mips/micromips-branch-absolute.d: New test.
664 * testsuite/gas/mips/micromips-branch-absolute-n32.d: New test.
665 * testsuite/gas/mips/micromips-branch-absolute-n64.d: New test.
666 * testsuite/gas/mips/micromips-branch-absolute-addend-n32.d: New
667 test.
668 * testsuite/gas/mips/micromips-branch-absolute-addend-n64.d: New
669 test.
670 * testsuite/gas/mips/branch-absolute.s: New test source.
671 * testsuite/gas/mips/branch-absolute-addend.s: New test source.
672 * testsuite/gas/mips/mips16-branch-absolute-addend.s: New test
673 source.
674 * testsuite/gas/mips/micromips-branch-absolute.s: New test
675 source.
676 * testsuite/gas/mips/micromips-branch-absolute-addend.s: New
677 test source.
678 * testsuite/gas/mips/mips.exp: Run the new tests.
679
92281a5b
MR
6802016-07-13 Maciej W. Rozycki <macro@imgtec.com>
681
682 * testsuite/gas/mips/nal-1.d: New test.
683 * testsuite/gas/mips/mipsr6@nal-1.d: New test.
684 * testsuite/gas/mips/nal-2.d: New test.
685 * testsuite/gas/mips/mipsr6@nal-2.d: New test.
686 * testsuite/gas/mips/nal.s: New test source.
687 * testsuite/gas/mips/mips.exp: Run the new tests.
688
6e7ced37
JM
6892016-07-12 Jose E. Marchesi <jose.marchesi@oracle.com>
690
691 * testsuite/gas/sparc/ldtxa.s: New file.
692 * testsuite/gas/sparc/ldtxa.d: Likewise.
693 * testsuite/gas/sparc/sparc.exp: Execute the ldtxa test.
694
05bbf016
CZ
6952016-07-11 Claudiu Zissulescu <claziss@synopsys.com>
696
697 * config/tc-arc.c (arc_reloc_op_tag): Allow complex ops for dtpoff.
698 (tc_gen_reloc): Remove passing DTPOFF base info into reloc addendum
699 as it is no longer needed.
700
d9dcf8c6
MR
7012016-07-08 Maciej W. Rozycki <macro@imgtec.com>
702
703 * config/tc-mips.c (append_insn): Remove extraneous
704 `install_insn' call.
705
33d0ab95
JB
7062016-07-04 Jan Beulich <jbeulich@suse.com>
707
708 * config/tc-i386.c (check_qword_reg): Correct register kind
709 checked.
710 * testsuite/gas/i386/x86-64-suffix-bad.s: Add q-suffix with
711 16-bit register cases.
712 * testsuite/gas/i386/x86-64-suffix-bad.l: Adjust expectations.
713
714
fcedb9f3
MR
7152016-07-02 Maciej W. Rozycki <macro@imgtec.com>
716
717 * testsuite/gas/mips/ecoff@ld.d: Remove test.
718 * testsuite/gas/mips/ecoff@ld-forward.d: Remove test.
719 * testsuite/gas/mips/ecoff@ld-zero-3.d: Remove test.
720 * testsuite/gas/mips/ecoff@sd.d: Remove test.
721 * testsuite/gas/mips/ecoff@sd-forward.d: Remove test.
722 * testsuite/gas/mips/beq.d: Remove a.out and ECOFF support from
723 reloc patterns.
724 * testsuite/gas/mips/mipsr6@beq.d: Likewise.
725 * testsuite/gas/mips/bge.d: Likewise.
726 * testsuite/gas/mips/mipsr6@bge.d: Likewise.
727 * testsuite/gas/mips/bgeu.d: Likewise.
728 * testsuite/gas/mips/mipsr6@bgeu.d: Likewise.
729 * testsuite/gas/mips/blt.d: Likewise.
730 * testsuite/gas/mips/mipsr6@blt.d: Likewise.
731 * testsuite/gas/mips/bltu.d: Likewise.
732 * testsuite/gas/mips/mipsr6@bltu.d: Likewise.
733 * testsuite/gas/mips/branch-likely.d: Likewise.
734 * testsuite/gas/mips/la.d: Likewise.
735 * testsuite/gas/mips/lb.d: Likewise.
736 * testsuite/gas/mips/lifloat.d: Likewise.
737 * testsuite/gas/mips/sb.d: Likewise.
738 * testsuite/gas/mips/uld.d: Likewise.
739 * testsuite/gas/mips/ulh.d: Likewise.
740 * testsuite/gas/mips/ulw.d: Likewise.
741 * testsuite/gas/mips/usd.d: Likewise.
742 * testsuite/gas/mips/ush.d: Likewise.
743 * testsuite/gas/mips/usw.d: Likewise.
744
00437d3b
MR
7452016-07-02 Maciej W. Rozycki <macro@imgtec.com>
746
747 * testsuite/gas/mips/branch-misc-2.s: Move non
748 locally-defined-global symbol tests...
749 * testsuite/gas/mips/branch-misc-5.s: ... to this new test.
750 * testsuite/gas/mips/branch-misc-2.d: Update accordingly.
751 * testsuite/gas/mips/branch-misc-2-64.d: Likewise.
752 * testsuite/gas/mips/branch-misc-2pic.d: Likewise.
753 * testsuite/gas/mips/branch-misc-2pic-64.d: Likewise.
754 * testsuite/gas/mips/mipsr6@branch-misc-2-64.d: Likewise.
755 * testsuite/gas/mips/mipsr6@branch-misc-2pic-64.d: Likewise.
756 * testsuite/gas/mips/micromips@branch-misc-2.d: Likewise.
757 * testsuite/gas/mips/micromips@branch-misc-2-64.d: Likewise.
758 * testsuite/gas/mips/micromips@branch-misc-2pic.d: Likewise.
759 * testsuite/gas/mips/micromips@branch-misc-2pic-64.d: Likewise.
760 * testsuite/gas/mips/branch-misc-5.d: New test.
761 * testsuite/gas/mips/branch-misc-5pic.d: New test.
762 * testsuite/gas/mips/branch-misc-5-64.d: New test.
763 * testsuite/gas/mips/branch-misc-5pic-64.d: New test.
764 * testsuite/gas/mips/mipsr6@branch-misc-5-64.d: New test.
765 * testsuite/gas/mips/mipsr6@branch-misc-5pic-64.d: New test.
766 * testsuite/gas/mips/micromips@branch-misc-5.d: New test.
767 * testsuite/gas/mips/micromips@branch-misc-5pic.d: New test.
768 * testsuite/gas/mips/micromips@branch-misc-5-64.d: New test.
769 * testsuite/gas/mips/micromips@branch-misc-5pic-64.d: New test.
770 * testsuite/gas/mips/mips.exp: Run the new tests.
771
f26c9c2e
MR
7722016-07-02 Maciej W. Rozycki <macro@imgtec.com>
773
774 * testsuite/gas/mips/beq.s: Uncomment branches to undefined
775 symbols.
776 * testsuite/gas/mips/beq.d: Update accordingly.
777 * testsuite/gas/mips/mipsr6@beq.d: Likewise.
778 * testsuite/gas/mips/micromips@beq.d: Likewise.
779
d7f20d66
MR
7802016-07-02 Maciej W. Rozycki <macro@imgtec.com>
781
782 * testsuite/gas/mips/mips.exp: Restrict 64-bit `branch-mips'
783 tests to NewABI targets.
784
e51af157
MR
7852016-07-02 Maciej W. Rozycki <macro@imgtec.com>
786
787 * testsuite/gas/mips/mips.exp: Group `branch-misc' tests
788 together.
789
93d8990c
SN
7902016-07-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
791
792 * config/tc-aarch64.c (struct aarch64_option_cpu_value_table): Add
793 require field.
794 (aarch64_features): Initialize require fields.
795 (aarch64_parse_features): Handle dependencies.
796 (aarch64_feature_enable_set, aarch64_feature_disable_set): New.
797 (md_assemble): Use AARCH64_CPU_HAS_ALL_FEATURES.
798 * testsuite/gas/aarch64/illegal-nofp16.s: New.
799 * testsuite/gas/aarch64/illegal-nofp16.l: New.
800 * testsuite/gas/aarch64/illegal-nofp16.d: New.
801
98a4fc78
NC
8022016-07-01 Nick Clifton <nickc@redhat.com>
803
804 * macro.c (macro_expand_body): Use a buffer big enough to hold an
805 extremely large integer.
806
248feb2f
JB
8072016-07-01 Jan Beulich <jbeulich@suse.com>
808
809 * testsuite/gas/i386/mpx-inval-2.l: Relax for COFF targets.
810
96a84ea3
TG
8112016-07-01 Tristan Gingold <gingold@adacore.com>
812
813 * NEWS: Add marker for 2.27.
814
8178be5b
JB
8152016-07-01 Jan Beulich <jbeulich@suse.com>
816
817 * tc-i386.c (i386_index_check): Add special checks for bndmk,
818 bndldx, and bndstx.
819 * testsuite/gas/i386/mpx-inval-2.s: Add %rip and %eip relative
820 as well as scaling by other than 1 tests.
821 * testsuite/gas/i386/mpx-inval-2.l: Adjust accordingly.
822
327e8c42
JB
8232016-07-01 Jan Beulich <jbeulich@suse.com>
824
825 * tc-i386.c (md_assemble): Alter address size checking for MPX
826 instructions.
827 * testsuite/gas/i386/mpx-inval-2.s: New.
828 * testsuite/gas/i386/mpx-inval-2.l: New.
829 * testsuite/gas/i386/i386.exp: Run new test.
830
83b16ac6
JB
8312016-07-01 Jan Beulich <jbeulich@suse.com>
832
833 PR gas/20318
834 * config/tc-i386.c (match_template): Add char parameter,
835 consumed in Intel mode for an extra suffix check.
836 (md_assemble): New local variable mnem_suffix.
837 * testsuite/gas/i386/suffix-bad.s: New.
838 * testsuite/gas/i386/suffix-bad.l: New.
839 * testsuite/gas/i386/i386.exp: Run new test (twice).
840
c07315e0
JB
8412016-07-01 Jan Beulich <jbeulich@suse.com>
842
843 * testsuite/gas/i386/movz.s: New.
844 * testsuite/gas/i386/movz32.d: New.
845 * testsuite/gas/i386/movz64.d: New.
846 * testsuite/gas/i386/i386.exp: Run new tests.
847
8325cc63
JB
8482016-07-01 Jan Beulich <jbeulich@suse.com>
849
850 * config/tc-i386.c (struct _i386_insn): New field memop1_string.
851 (md_assemble): Free first memory operand string.
852 (i386_index_check): Use repprefixok to distingush xlat from
853 other (real) string ops.
854 (maybe_adjust_templates): New.
855 (i386_att_operand). Call it. Store first memory operand string.
856 * config/tc-i386-intel.c (i386_intel_operand): Likewise.
857 * testsuite/gas/i386/intel-movs.s: New.
858 * testsuite/gas/i386/intel-movs32.d: New.
859 * testsuite/gas/i386/intel-movs64.d: New.
860 * testsuite/gas/i386/i386.exp: Run new tests. Invoke as for
861 64-bits tests with "--defsym x86_64=1 --strip-local-absolute".
862
3b821a28
MR
8632016-06-30 Maciej W. Rozycki <macro@imgtec.com>
864
865 * config/tc-mips.c (get_append_method): Fix a comment typo.
866
99e7978b
MF
8672016-06-30 Matthew Fortune <Matthew.Fortune@imgtec.com>
868 Maciej W. Rozycki <macro@imgtec.com>
869
870 * config/tc-mips.c (append_insn) <APPEND_SWAP>: Do not special
871 case MIPS16 handling.
872 * testsuite/gas/mips/branch-swap-3.d: New test.
873 * testsuite/gas/mips/branch-swap-4.d: New test.
874 * testsuite/gas/mips/mips16@branch-swap-3.d: New test.
875 * testsuite/gas/mips/mips16@branch-swap-4.d: New test.
876 * testsuite/gas/mips/micromips@branch-swap-3.d: New test.
877 * testsuite/gas/mips/micromips@branch-swap-4.d: New test.
878 * testsuite/gas/mips/branch-swap-3.s: New test source.
879 * testsuite/gas/mips/mips.exp: Run the new tests.
880
5e35670b
MR
8812016-06-30 Maciej W. Rozycki <macro@imgtec.com>
882
883 * config/tc-mips.c (append_insn): Simplify non-MIPS16 branch
884 swapping sequence.
885
93a24ba7
MR
8862016-06-30 Maciej W. Rozycki <macro@imgtec.com>
887
888 PR gas/20312
889 * write.c (subsegs_finish_section): Force no section padding to
890 alignment on failed assembly, always set last frag's alignment
891 from section.
892 * testsuite/gas/all/pr20312.l: New list test.
893 * testsuite/gas/all/pr20312.s: New test source.
894 * testsuite/gas/all/gas.exp: Run the new test
895
8d6f5ac3
AB
8962016-06-30 Andrew Burgess <andrew.burgess@embecosm.com>
897
898 * config.in (TARGET_WITH_CPU): Undefine.
899 * configure.ac: Add --with-cpu support, and define in config.h.
900 * configure: Regenerate.
901 * config/tc-arc.c: Use TARGET_WITH_CPU to select default CPU.
902 * NEWS: Mention new configure option.
903
534dbe46
MW
9042016-06-30 Matthew Wahab <matthew.wahab@arm.com>
905
906 * testsuite/gas/arm/armv8_2+rdma.d: New.
907
4e3e1fdf
L
9082016-06-29 H.J. Lu <hongjiu.lu@intel.com>
909
910 * NEWS: Mention --enable-compressed-debug-sections=gas is the
911 default for Linux/x86 targets.
912 * configure.tgt (ac_default_compressed_debug_sections): Default
913 to yes for Linux/x86 targets.
914
6d44f09a
MR
9152016-06-29 Maciej W. Rozycki <macro@imgtec.com>
916
917 * write.c: Remove "libbfd.h" inclusion.
918
eb9bb5b4
MR
9192016-06-28 Maciej W. Rozycki <macro@imgtec.com>
920
921 * testsuite/gas/elf/elf.exp: Use `supports_gnu_unique' with the
922 `type' test.
923
d48796b5
AM
9242016-06-28 Alan Modra <amodra@gmail.com>
925
926 PR gas/20247
927 * testsuite/gas/elf/section11.s: Don't start directives in first column.
928
dab26bf4
RS
9292016-06-28 Richard Sandiford <richard.sandiford@arm.com>
930
931 * testsuite/gas/aarch64/diagnostic.s,
932 testsuite/gas/aarch64/diagnostic.l: Add tests for out-of-range indices.
933
c9775dde
MR
9342016-06-28 Maciej W. Rozycki <macro@imgtec.com>
935
936 * config/tc-mips.c (mips16_reloc_p): Handle
937 BFD_RELOC_MIPS16_16_PCREL_S1.
938 (b_reloc_p): Likewise.
939 (limited_pcrel_reloc_p): Likewise.
940 (md_pcrel_from): Likewise.
941 (md_apply_fix): Likewise.
942 (tc_gen_reloc): Likewise.
943 (md_convert_frag): Likewise.
944 (mips_fix_adjustable): Update comment.
945 * testsuite/gas/mips/mips16-branch-reloc-2.d: Remove error
946 output, add dump patterns.
947 * testsuite/gas/mips/mips16-branch-reloc-3.d: Remove error
948 output, add dump patterns.
949 * testsuite/gas/mips/mips16-branch-addend-2.d: Remove error
950 output, add dump patterns.
951 * testsuite/gas/mips/mips16-branch-addend-3.d: Remove error
952 output, add dump patterns.
953 * testsuite/gas/mips/mips16-branch-absolute.d: Remove error
954 output, add dump patterns.
955 * testsuite/gas/mips/mips16-branch-reloc-2.l: Remove file.
956 * testsuite/gas/mips/mips16-branch-reloc-3.l: Remove file.
957 * testsuite/gas/mips/mips16-branch-addend-2.l: Remove file.
958 * testsuite/gas/mips/mips16-branch-addend-3.l: Remove file.
959 * testsuite/gas/mips/mips16-branch-absolute.l: Remove file.
960 * testsuite/gas/mips/mips16-branch-addend-2.s: Add padding.
961 * testsuite/gas/mips/branch-weak.s: Adjust alignment, avoid
962 implicit instruction padding, avoid MIPS16 JR->JRC conversion.
963 * testsuite/gas/mips/branch-weak-6.d: New test.
964 * testsuite/gas/mips/branch-weak-7.d: New test.
965 * testsuite/gas/mips/mips.exp: Run the new tests.
966
45a54ee5
VG
9672016-06-27 Vineet Gupta <vgupta@synopsys.com>
968
969 * config//tc-arc.c (tc_arc_frame_initial_instructions): Use
970 cfi_add_CFA_def_cfa to generate default CFA with offset
971 * testsuite/gas/cfi/cfi-arc-1.d: Update expected output.
972
95daf210
NC
9732016-06-27 Nick Clifton <nickc@redhat.com>
974
975 PR gas/20247
976 * as.h (do_not_pad_sections_to_alignment): New global variable.
977 * as.c (show_usage): Add --no-pad-sections.
978 (parse_args): Likewise.
979 * write.c (size_seg): Skip padding the end of the section if
980 requested from the command line.
981 (SUB_SEGMENT_ALIGN): Likewise.
982 * doc/as.texinfo: Document the new option.
983 * NEWS: Mention the new feature.
984 * testsuite/gas/elf/section11.s: New test.
985 * testsuite/gas/elf/section11.d: New test driver.
986 * testsuite/gas/elf/elf.exp: Run the new test.
987
3cd72572
TS
9882016-06-27 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
989
990 * config/tc-dlx.c: Include bfd/elf32-dlx.h.
991 * config/tc-dlx.h: Remove prototype of dlx_set_skip_hi16.
992
e066bf5f
TS
9932016-06-27 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
994
995 * config/tc-xtensa.c (xtensa_elf_suffix): Use ARRAY_SIZE instead of a
996 sentinal element.
997 (map_suffix_reloc_to_operator): Likewise.
998 (map_operator_to_reloc): Likewise.
999
0708347f
TS
10002016-06-27 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1001
1002 * config/tc-nds32.c (md_begin): Use ARRAY_SIZE instead of a sentinal
1003 element in relax_table.
1004
8a0b252a
TS
10052016-06-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1006
1007 * config/tc-aarch64.c: Make the type of reg_entry::type
1008 aarch_reg_type.
1009
5703197e
TS
10102016-06-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1011
1012 * config/tc-bfin.c (bfin_cpus): Remove sentinal.
1013 (md_parse_option): Adjust.
1014 * config/tc-aarch64.c (aarch64_parse_abi): Replace use of a sentinal
1015 with iteration from 0 to ARRAY_SIZE.
1016 * config/tc-mcore.c (md_begin): Likewise.
1017 * config/tc-visium.c (visium_parse_arch): Likewise.
1018
4b92e388
TS
10192016-06-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1020
1021 * config/tc-tic54x.c (tic54x_set_default_include): remove argument
1022 and simplify accordingly.
1023 (tic54x_include): Adjust.
1024 (tic54x_mlib): Likewise.
1025
7c2c4aa1
TS
10262016-06-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1027
1028 * config/tc-xtensa.c (xtensa_make_property_section): Remove prototype.
1029
88a7ef16
MR
10302016-06-24 Maciej W. Rozycki <macro@imgtec.com>
1031
1032 * config/tc-mips.c (append_insn): Use any `O_symbol' expression
1033 unchanged with relaxed MIPS16 instructions.
1034 (mips16_extended_frag): Adjust accordingly. Return 1 right
1035 away if a relocation will be required for the symbol requested.
1036 Remove dead first relaxation pass code.
1037 (mips_relax_frag): Pass `sec' down to `mips16_extended_frag'.
1038 (md_convert_frag): Adjust symbol value calculation. Raise an
1039 error if a relocation is required for the symbol requested.
1040 * testsuite/gas/mips/mips16@relax-swap3.d: Remove dump patterns,
1041 add error output.
1042 * testsuite/gas/mips/mips16@relax-swap3.l: New error output.
1043 * testsuite/gas/mips/mips16-pcrel-relax-0.d: New test.
1044 * testsuite/gas/mips/mips16-pcrel-relax-1.d: New test.
1045 * testsuite/gas/mips/mips16-pcrel-relax-2.d: New test.
1046 * testsuite/gas/mips/mips16-pcrel-relax-3.d: New test.
1047 * testsuite/gas/mips/mips16-pcrel-reloc-0.d: New test.
1048 * testsuite/gas/mips/mips16-pcrel-reloc-1.d: New test.
1049 * testsuite/gas/mips/mips16-pcrel-reloc-2.d: New test.
1050 * testsuite/gas/mips/mips16-pcrel-reloc-3.d: New test.
1051 * testsuite/gas/mips/mips16-pcrel-reloc-4.d: New test.
1052 * testsuite/gas/mips/mips16-pcrel-reloc-5.d: New test.
1053 * testsuite/gas/mips/mips16-pcrel-reloc-6.d: New test.
1054 * testsuite/gas/mips/mips16-pcrel-reloc-7.d: New test.
1055 * testsuite/gas/mips/mips16-pcrel-addend-0.d: New test.
1056 * testsuite/gas/mips/mips16-pcrel-addend-1.d: New test.
1057 * testsuite/gas/mips/mips16-pcrel-addend-2.d: New test.
1058 * testsuite/gas/mips/mips16-pcrel-addend-3.d: New test.
1059 * testsuite/gas/mips/mips16-pcrel-absolute.d: New test.
1060 * testsuite/gas/mips/mips16-branch-reloc-0.d: New test.
1061 * testsuite/gas/mips/mips16-branch-reloc-1.d: New test.
1062 * testsuite/gas/mips/mips16-branch-reloc-2.d: New test.
1063 * testsuite/gas/mips/mips16-branch-reloc-3.d: New test.
1064 * testsuite/gas/mips/mips16-branch-addend-0.d: New test.
1065 * testsuite/gas/mips/mips16-branch-addend-1.d: New test.
1066 * testsuite/gas/mips/mips16-branch-addend-2.d: New test.
1067 * testsuite/gas/mips/mips16-branch-addend-3.d: New test.
1068 * testsuite/gas/mips/mips16-branch-absolute.d: New test.
1069 * testsuite/gas/mips/mips16-absolute-reloc-0.d: New test.
1070 * testsuite/gas/mips/mips16-absolute-reloc-1.d: New test.
1071 * testsuite/gas/mips/mips16-absolute-reloc-2.d: New test.
1072 * testsuite/gas/mips/mips16-absolute-reloc-3.d: New test.
1073 * testsuite/gas/mips/mips16-pcrel-reloc-2.l: New error output.
1074 * testsuite/gas/mips/mips16-pcrel-reloc-3.l: New error output.
1075 * testsuite/gas/mips/mips16-pcrel-reloc-6.l: New error output.
1076 * testsuite/gas/mips/mips16-pcrel-reloc-7.l: New error output.
1077 * testsuite/gas/mips/mips16-pcrel-addend-2.l: New error output.
1078 * testsuite/gas/mips/mips16-pcrel-addend-3.l: New error output.
1079 * testsuite/gas/mips/mips16-pcrel-absolute.l: New error output.
1080 * testsuite/gas/mips/mips16-branch-reloc-2.l: New error output.
1081 * testsuite/gas/mips/mips16-branch-reloc-3.l: New error output.
1082 * testsuite/gas/mips/mips16-branch-addend-2.l: New error output.
1083 * testsuite/gas/mips/mips16-branch-addend-3.l: New error output.
1084 * testsuite/gas/mips/mips16-branch-absolute.l: New error output.
1085 * testsuite/gas/mips/mips16-absolute-reloc-2.l: New error output.
1086 * testsuite/gas/mips/mips16-absolute-reloc-3.l: New error output.
1087 * testsuite/gas/mips/mips16-pcrel-relax-0.s: New test source.
1088 * testsuite/gas/mips/mips16-pcrel-relax-2.s: New test source.
1089 * testsuite/gas/mips/mips16-pcrel-reloc-0.s: New test source.
1090 * testsuite/gas/mips/mips16-pcrel-reloc-1.s: New test source.
1091 * testsuite/gas/mips/mips16-pcrel-reloc-2.s: New test source.
1092 * testsuite/gas/mips/mips16-pcrel-reloc-3.s: New test source.
1093 * testsuite/gas/mips/mips16-pcrel-reloc-4.s: New test source.
1094 * testsuite/gas/mips/mips16-pcrel-reloc-5.s: New test source.
1095 * testsuite/gas/mips/mips16-pcrel-reloc-6.s: New test source.
1096 * testsuite/gas/mips/mips16-pcrel-reloc-7.s: New test source.
1097 * testsuite/gas/mips/mips16-pcrel-addend-0.s: New test source.
1098 * testsuite/gas/mips/mips16-pcrel-addend-1.s: New test source.
1099 * testsuite/gas/mips/mips16-pcrel-addend-2.s: New test source.
1100 * testsuite/gas/mips/mips16-pcrel-addend-3.s: New test source.
1101 * testsuite/gas/mips/mips16-pcrel-absolute.s: New test source.
1102 * testsuite/gas/mips/mips16-branch-reloc-0.s: New test source.
1103 * testsuite/gas/mips/mips16-branch-reloc-1.s: New test source.
1104 * testsuite/gas/mips/mips16-branch-reloc-2.s: New test source.
1105 * testsuite/gas/mips/mips16-branch-reloc-3.s: New test source.
1106 * testsuite/gas/mips/mips16-branch-addend-0.s: New test source.
1107 * testsuite/gas/mips/mips16-branch-addend-1.s: New test source.
1108 * testsuite/gas/mips/mips16-branch-addend-2.s: New test source.
1109 * testsuite/gas/mips/mips16-branch-addend-3.s: New test source.
1110 * testsuite/gas/mips/mips16-branch-absolute.s: New test source.
1111 * testsuite/gas/mips/mips16-absolute-reloc-0.s: New test source.
1112 * testsuite/gas/mips/mips16-absolute-reloc-1.s: New test source.
1113 * testsuite/gas/mips/mips16-absolute-reloc-2.s: New test source.
1114 * testsuite/gas/mips/mips16-absolute-reloc-3.s: New test source.
1115 * testsuite/gas/mips/mips.exp: Run the new tests.
1116
5c0ff163
AM
11172016-06-24 Alan Modra <amodra@gmail.com>
1118
1119 * configure.tgt (alpha-*-openbsd*): Use em=nbsd.
1120
0e9c5a5c
MR
11212016-06-23 Maciej W. Rozycki <macro@imgtec.com>
1122
1123 * config/tc-mips.c (b_reloc_p): New function.
1124 (mips_fix_adjustable): Also keep the original microMIPS symbol
1125 referred from branch relocations.
1126 * testsuite/gas/mips/branch-local-1.d: New test.
1127 * testsuite/gas/mips/branch-local-n32-1.d: New test.
1128 * testsuite/gas/mips/branch-local-n64-1.d: New test.
1129 * testsuite/gas/mips/micromips@branch-misc-4-64.d: Update
1130 relocations.
1131 * testsuite/gas/mips/branch-local-1.s: New test source.
1132 * testsuite/gas/mips/mips.exp: Run the new cases.
1133
ce440d63
GM
11342016-06-23 Graham Markall <graham.markall@embecosm.com>
1135
1136 * config/tc-arc.c (options, md_longopts, md_parse_option): Move
1137 -mspfp, -mdpfp and -mfpuda out of the sections for dummy
1138 options. Correct erroneous enabling of SPFP instructions when
1139 using -mnps400.
1140
6fd3a02d
PB
11412016-06-22 Peter Bergner <bergner@vnet.ibm.com>
1142
1143 * testsuite/gas/ppc/power9.d <brd, brh, brw, mffs, mffs., mffsce,
1144 mffscdrn, mffscdrni, mffscrn, mffscrni, mffsl, nandxor, rldixor,
1145 setbool, xor3>: New tests.
1146 * testsuite/gas/ppc/power9.s: Likewise.
1147
b0b79343
TS
11482016-06-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1149
1150 * config/tc-xtensa.c: Include elf/xtensa.h.
1151
8cec2cfe
MR
11522016-06-21 Maciej W. Rozycki <macro@imgtec.com>
1153
1154 * config/tc-mips.c (calculate_reloc) <BFD_RELOC_HI16_S_PCREL>
1155 <BFD_RELOC_LO16_PCREL>: New switch cases.
1156 (md_apply_fix) <BFD_RELOC_HI16_S_PCREL, BFD_RELOC_LO16_PCREL>:
1157 Move switch cases along `BFD_RELOC_MIPS_JMP'.
1158 <BFD_RELOC_MIPS_21_PCREL_S2, BFD_RELOC_MIPS_26_PCREL_S2>
1159 <BFD_RELOC_MIPS_18_PCREL_S3, BFD_RELOC_MIPS_19_PCREL_S2>: Handle
1160 the resolved case.
1161 * testsuite/gas/mips/pcrel-reloc-4.d: New test.
1162 * testsuite/gas/mips/pcrel-reloc-4-r6.d: New test.
1163 * testsuite/gas/mips/pcrel-reloc-5.d: New test.
1164 * testsuite/gas/mips/pcrel-reloc-5-r6.d: New test.
1165 * testsuite/gas/mips/pcrel-reloc-6.d: New test.
1166 * testsuite/gas/mips/pcrel-reloc-6.l: New list test.
1167 * testsuite/gas/mips/pcrel-reloc-4.s: New test source.
1168 * testsuite/gas/mips/pcrel-reloc-6.s: New test source.
1169 * testsuite/gas/mips/mips.exp: Run the new tests.
1170
717ba204
MR
11712016-06-21 Maciej W. Rozycki <macro@imgtec.com>
1172
1173 * config/tc-mips.c (md_apply_fix) <BFD_RELOC_MIPS_18_PCREL_S3>
1174 <BFD_RELOC_MIPS_19_PCREL_S2>: Avoid null pointer dereferences
1175 via `fixP->fx_addsy'.
1176
51f6035b
MR
11772016-06-21 Maciej W. Rozycki <macro@imgtec.com>
1178
1179 * config/tc-mips.c (md_pcrel_from) <BFD_RELOC_MIPS_18_PCREL_S3>:
1180 Calculate relocation from the containing aligned doubleword.
1181 (tc_gen_reloc) <BFD_RELOC_MIPS_18_PCREL_S3>: Calculate the
1182 addend from the containing aligned doubleword.
1183
912815f0
MR
11842016-06-21 Maciej W. Rozycki <macro@imgtec.com>
1185
1186 * config/tc-mips.c (mips_force_relocation): Use `file_mips_opts'
1187 rather than `mips_opts' for the R6 ISA check.
1188 (mips_fix_adjustable): Likewise.
1189 * testsuite/gas/mips/pcrel-reloc-1.d: New test.
1190 * testsuite/gas/mips/pcrel-reloc-1-r6.d: New test.
1191 * testsuite/gas/mips/pcrel-reloc-2.d: New test.
1192 * testsuite/gas/mips/pcrel-reloc-2-r6.d: New test.
1193 * testsuite/gas/mips/pcrel-reloc-3.d: New test.
1194 * testsuite/gas/mips/pcrel-reloc-3-r6.d: New test.
1195 * testsuite/gas/mips/pcrel-reloc-1.s: New test source.
1196 * testsuite/gas/mips/mips.exp: Run the new tests.
1197
bdd582db
GM
11982016-06-21 Graham Markall <graham.markall@embecosm.com>
1199
1200 * config/tc-arc.c (check_cpu_feature, md_parse_option):
1201 Add nps400 option and feature. Add check for nps400
1202 feature. Refactor existing checks to check subclass before
1203 feature enablement.
1204 (md_show_usage): Document flags for NPS-400 and add some other
1205 undocumented flags.
1206 (cpu_type): Remove nps400 CPU type entry
1207 (check_zol): Remove bfd_mach_arc_nps400 case.
1208 (md_show_usage): Add help on -mcpu=nps400.
1209 (cpu_types): Add entry for nps400 as arc700 plus nps400 extension
1210 set.
1211 * doc/c-arc.texi: Document the -mnps400, -mspfp, -mdpfp, and
1212 -fpuda flags. Document -mcpu=nps400.
1213 * testsuite/gas/arc/nps-400-0.d: Use -mcpu=arc700 -mnps400. Change
1214 expected flags to match ARC700 instead of NPS400.
1215 * testsuite/gas/arc/nps-400-1.d: Use -mcpu=arc700 -mnps400.
1216 * testsuite/gas/arc/nps-400-2.d: Likewise.
1217 * testsuite/gas/arc/nps-400-3.d: Likewise.
1218 * testsuite/gas/arc/nps-400-4.d: Likewise.
1219 * testsuite/gas/arc/nps-400-5.d: Likewise.
1220 * testsuite/gas/arc/nps-400-6.d: Likewise.
1221 * testsuite/gas/arc/nps-400-7.d: Likewise.
1222 * testsuite/gas/arc/textinsn2op01.s: Change opcode of myinsn to
1223 avoid clash with cbba instruction.
1224 * testsuite/gas/arc/textinsn2op01.d: Likewise.
1225 * testsuite/gas/arc/textinsn3op.d: Likewise.
1226 * testsuite/gas/arc/textinsn3op.s: Likewise.
1227 * testsuite/gas/arc/nps-400-0.d: Test using NPS-400 using
1228 -mcpu=nps400 as an alternative to -mcpu=arc700 -mnps400 flags.
1229
ff03d62a
MR
12302016-06-20 Maciej W. Rozycki <macro@imgtec.com>
1231
1232 * testsuite/gas/mips/r6-64-n32.d: Change the `name' tag.
1233 * testsuite/gas/mips/r6-64-n64.d: Likewise.
1234
507dcb32
MR
12352016-06-20 Maciej W. Rozycki <macro@imgtec.com>
1236
1237 * config/tc-mips.c (mips_fix_adjustable): Update comment on jump
1238 reloc conversion.
1239
9f99c22e
VP
12402016-06-20 Virendra Pathak <virendra.pathak@broadcom.com>
1241
1242 * config/tc-aarch64.c (aarch64_cpus): Update vulcan feature set.
1243
96074adc
JM
12442016-06-17 Jose E. Marchesi <jose.marchesi@oracle.com>
1245
1246 * config/tc-sparc.c (hpriv_reg_table): Add registers %hmcdper,
1247 %hmcddfr and %hva_mask_nz.
1248 (sparc_ip): New handling of asr/privileged/hyperprivileged
1249 registers, adapted to the new form of the sparc opcodes table.
1250 * testsuite/gas/sparc/rdasr.s: New file.
1251 * testsuite/gas/sparc/rdasr.d: Likewise.
1252 * testsuite/gas/sparc/wrasr.s: Likewise.
1253 * testsuite/gas/sparc/wrasr.d: Likewise.
1254 * testsuite/gas/sparc/sparc.exp (sparc_elf_setup): Add rdasr and
1255 wrasr tests.
1256 * testsuite/gas/sparc/rdpr.d: Use -Av9m, as some privileged
1257 registers require it.
1258 * testsuite/gas/sparc/wrpr.s: Complete to cover all privileged
1259 registers and write instruction modalities.
1260 * testsuite/gas/sparc/wrpr.d: Likewise.
1261 * testsuite/gas/sparc/rdhpr.s: Likewise for hyperprivileged
1262 registers.
1263 * testsuite/gas/sparc/rdhpr.d: Likewise.
1264 * testsuite/gas/sparc/wrhpr.s: Likewise.
1265 * testsuite/gas/sparc/wrhpr.d: Likewise.
1266
7a10c22f
JM
12672016-06-17 Jose E. Marchesi <jose.marchesi@oracle.com>
1268
1269 * config/tc-sparc.c (sparc_arch_table): adjust the GAS
1270 architectures to use the right opcode architecture.
1271 (sparc_md_end): Handle v9{c,d,e,v,m}.
1272 (sparc_ip): Fix some comments.
1273 * testsuite/gas/sparc/ldx_efsr.d: Fix the architecture of this
1274 instruction, which is v9d.
1275 * testsuite/gas/sparc/mwait.s: Remove the `rd %mwait,%g1'
1276 instruction from the test, as %mwait is not readable.
1277 * testsuite/gas/sparc/mwait.d: Likewise.
1278 * testsuite/gas/sparc/mism-1.s: Expand to check v9b and v9e
1279 mismatch architecture errors.
1280 * testsuite/gas/sparc/mism-2.s: New file.
1281
8b8c7c9f
JM
12822016-06-17 Jose E. Marchesi <jose.marchesi@oracle.com>
1283
1284 * config/tc-sparc.c (priv_reg_table): Use NULL instead of the
1285 empty string to mark the end of the array.
1286 (hpriv_reg_table): Likewise.
1287 (v9a_asr_table): Likewise.
1288 (cmp_reg_entry): Handle entries with NULL names.
1289 (F_POP_V9): Define.
1290 (F_POP_PCREL): Likewise.
1291 (F_POP_TLS_CALL): Likewise.
1292 (F_POP_POSTFIX): Likewise.
1293 (struct pop_entry): New type.
1294 (pop_table): New variable.
1295 (enum pop_entry_type): New type.
1296 (struct perc_entry): Likewise.
1297 (NUM_PERC_ENTRIES): Define.
1298 (perc_table): New variable.
1299 (cmp_perc_entry): New function.
1300 (md_begin): Sort hpriv_reg_table and v9a_asr_table, and initialize
1301 perc_table.
1302 (sparc_ip): Handle entries with NULL names in priv_reg_table,
1303 hpriv_reg_table and v9a_asr_table. Use perc_table to handle
1304 %-pseudo-ops.
1305
3ee6e4fb
NC
13062016-06-15 Nick Clifton <nickc@redhat.com>
1307
1308 * config/tc-ft32.c (md_assemble): Call dwarf2_emit_insn with the
1309 instruction size.
1310 * config/tc-mcore.c (md_assemble): Likewise.
1311 * config/tc-mn10200.c (md_assemble): Likewise.
1312 * config/tc-moxie.c (md_assemble): Likewise.
1313 * config/tc-pj.c (md_apply_fix): Handle BFD_RELOC_PJ_CODE_REL32.
1314 * testsuite/gas/all/gas.exp (diff1 test): Alpha sort list of
1315 exception targets. Add alpha, hppa, microblaze and rl78 to list
1316 of exceptions.
1317 (forward): Add microblaze to list of exceptions.
1318 (fwdexp): Add alpha to list of exceptions.
1319 (redef2): Add arm-epoc-pe and rl78 to list of exceptions.
1320 (redef3): Add rl78 and x86_64 cygwin to list of exceptions.
1321 (do_930509a): Alpha sort list of exception targets. Add h8300 and
1322 mn10200 to list of exceptions.
1323 (align2): Expect to fail for nds32.
1324 (cond): Add alpha and rl78 to list of exceptions.
1325 * testsuite/gas/all/none.d: Skip for ft32 and hppa.
1326 * testsuite/gas/all/string.d: Skip for tic4x.
1327 * testsuite/gas/alpha/alpha.exp: Note that the alpha-linuxecoff
1328 target does not support ELF.
1329 * testsuite/gas/arm/blx-bl-convert.dL Skip for the nto target.
1330 * testsuite/gas/cfi/cfi-alpha-2.d: All extended format names.
1331 * testsuite/gas/cfi/cfi.exp: Alpha sort list of targets. Skip SH
1332 tests for sh-pe and sh-rtemscoff targets.
1333 * testsuite/gas/elf/elf.exp (redef): Add rl78, xgate and vax to
1334 list of exceptions.
1335 (type): Run the noifunc version for alpha-freebsd and visium.
1336 * testsuite/gas/elf/warn-2.s: Do not expect to fail on the mcore,
1337 mn10200 or moxie targets.
1338 * testsuite/gas/ft32/insn.d: Update expected disassembly.
1339 * testsuite/gas/i386/i386.exp (x86-64-pcrel): Skip for cygwin
1340 targets.
1341 * testsuite/gas/lns/lns.exp (lns-common-1): No longer skip for
1342 mcore and rx targets.
1343 * testsuite/gas/macros/macros.exp (dot): Add exceptions for ns32k,
1344 rl78 and vax.
1345 (purge): Expect to fail on the ns32k and vax.
1346 * testsuite/gas/nds32/alu-2.d: Update expected disassembly.
1347 * testsuite/gas/nds32/ls.d: Likewise.
1348 * testsuite/gas/nds32/sys-reg.d: Likewise.
1349 * testsuite/gas/nds32/usr-spe-reg.d: Likewise.
1350 * testsuite/gas/pe/aligncomm-d.d: Skip for the sh.
1351 * testsuite/gas/pe/section-align-3.d: Likewise.
1352 * testsuite/gas/pe/section-exclude.d: Likewise.
1353 * testsuite/gas/ppc/test2xcoff32.d: Pass once all the required
1354 data has been seen.
1355 * testsuite/gas/ppc/textalign-xcoff-001.d: Fix up regexp to allow
1356 for variations in whitespace.
1357 * testsuite/gas/tilepro/t_constants.d: Pass once all the required
1358 data has been seen.
1359 * testsuite/gas/tilepro/t_constants.s (.safe_word): New macro.
1360 Installs a 32-bit value without generating warnings on 64-bit
1361 hosts.
1362 Use the new macro to replace the .word directives.
1363
02f3be19
AB
13642016-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
1365
1366 * testsuite/gas/arc/add_s.d: New file.
1367 * testsuite/gas/arc/add_s.s: New file.
1368
6f9f37ed 13692016-06-14 Graham Markall <graham.markall@embecosm.com>
28215275
GM
1370
1371 * testsuite/gas/arc/nps400-6.s: Add tests of ldbit.
1372 * testsuite/gas/arc/nps400-6.d: Likewise.
1373
6f9f37ed 13742016-06-14 Graham Markall <graham.markall@embecosm.com>
9ba75c88
GM
1375
1376 * testsuite/gas/arc/nps400-6.s: Add tests of hash, tr, utf8, e4by, and
1377 addf.
1378 * testsuite/gas/arc/nps400-6.d: Likewise.
1379
6f9f37ed 13802016-06-14 Graham Markall <graham.markall@embecosm.com>
14053c19
GM
1381
1382 * testsuite/gas/arc/nps400-6.s: Add tests of calcbsd, calcbxd,
1383 calckey, calcxkey, mxb, imxb, addl, subl, andl, orl, xorl, andab, orab,
1384 lbdsize, bdlen, csms, csma, cbba, zncv, and hofs.
1385 * testsuite/gas/arc/nps400-6.d: Likewise.
1386
d2dfe54d
NC
13872016-06-14 Nick Clifton <nickc@redhat.com>
1388
1389 * config/tc-nds32.c (nds32_get_align): Avoid left shifting a
1390 signed constant.
1391
97f50151
MR
13922016-06-13 Maciej W. Rozycki <macro@imgtec.com>
1393
1394 * config/tc-mips.c (mips_fix_adjustable): Don't convert RELA
1395 JALR relocations on R6.
1396 * testsuite/gas/mips/jal-svr4pic-local.d: New test.
1397 * testsuite/gas/mips/mips1@jal-svr4pic-local.d: New test.
1398 * testsuite/gas/mips/r3000@jal-svr4pic-local.d: New test.
1399 * testsuite/gas/mips/micromips@jal-svr4pic-local.d: New test.
1400 * testsuite/gas/mips/jal-svr4pic-local-n32.d: New test.
1401 * testsuite/gas/mips/micromips@jal-svr4pic-local-n32.d: New
1402 test.
1403 * testsuite/gas/mips/jal-svr4pic-local-n64.d: New test.
1404 * testsuite/gas/mips/micromips@jal-svr4pic-local-n64.d: New
1405 test.
1406 * testsuite/gas/mips/jal-svr4pic-local.s: New test source.
1407 * testsuite/gas/mips/jal-svr4pic-local-newabi.s: New test
1408 source.
1409 * testsuite/gas/mips/mips.exp: Run the new tests.
1410
0a8be2fe
VP
14112016-06-13 Virendra Pathak <virendra.pathak@broadcom.com>
1412
1413 * config/tc-aarch64.c (aarch64_cpus): Add Broadcom Vulcan.
1414 * doc/c-aarch64.texi: Document that vulcan is a valid processor
1415 name.
1416
69c9e028
NC
14172016-06-13 Nick Clifton <nickc@redhat.com>
1418
1419 * config/tc-arm.c: For non-ELF based targets skip ARM feature sets
1420 that are not supported.
1421
1422 * config/tc-arc.c (md_apply_fix): Avoid left shifting a signed
1423 constant.
1424 * config/tc-cr16.c (check_range): Likewise.
1425 * config/tc-nios2.c (nios2_check_overflow): Likewise.
1426
08d3b0cc
RL
14272016-06-08 Renlin Li <renlin.li@arm.com>
1428
1429 * config/tc-aarch64.c (print_operands): Substitute size.
1430 (output_operand_error_record): Likewise.
1431
14b57c7c
AM
14322016-06-07 Alan Modra <amodra@gmail.com>
1433
1434 * config/tc-ppc.c (PPC_APUINFO_ISEL, PPC_APUINFO_PMR,
1435 PPC_APUINFO_RFMCI, PPC_APUINFO_CACHELCK, PPC_APUINFO_SPE,
1436 PPC_APUINFO_EFS, PPC_APUINFO_BRLOCK, PPC_APUINFO_VLE): Don't define.
1437 (ppc_setup_opcodes): Check vle disables powerpc_opcodes overridden
1438 by vle_opcodes, and that vle flag doesn't enable opcodes. Don't
1439 add vle_opcodes twice.
1440 (ppc_cleanup): Use APUINFO_SECTION_NAME and APUINFO_LABEL.
1441
4d1464f2
MW
14422016-06-07 Matthew Wahab <matthew.wahab@arm.com>
1443
1444 * config/tc-arm.c (arm_ext_v8_2): Rename to arm_ext_ras.
1445 (arm_ext_ras): Renamed from arm_ext_v8_2.
1446 (insns): Update for arm_ext_v8_2 renaming.
1447 (arm_extensions): Add "ras".
1448 * doc/c-arm.texi (ARM Options): Add an entry for "ras".
1449 * testsuite/gas/arm/armv8-a+ras.d: New.
1450 * testsuite/gas/arm/armv8_2-a.d: Add explicit command line
1451 options.
1452
852a1d49
TS
14532016-06-05 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1454
1455 * itbl-parse.y (yyerror): Use modern argument declaration style.
1456
c4212e11
TS
14572016-06-05 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1458
1459 * config/tc-sh.c (parse_reg): Change type of mode argument to
1460 sh_arg_type.
1461 (get_operand): Adjust.
1462 (insert): Change type of how to bfd_reloc_code_real_type.
1463 (insert4): Likewise.
1464 * config/tc-sh64.c (shmedia_get_operand): Adjust.
1465 (shmedia_parse_reg): Change type of mode to shmedia_arg_type.
1466
73a229c7
TS
14672016-06-05 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1468
1469 * config/tc-nds32.c (nds32_parse_option): Make the type of ptr_arg
1470 const char *.
1471
026122a6
PB
14722016-06-03 Peter Bergner <bergner@vnet.ibm.com>
1473
1474 PR binutils/20196
1475 * gas/testsuite/gas/ppc/e6500.s <lbarx, lharx, lwarx, ldarx,
1476 stbcx., sthcx., stwcx., stdcx.>: Add tests.
1477 * gas/testsuite/gas/ppc/e6500.d: Likewise.
1478 * gas/testsuite/gas/ppc/power8.s: Likewise.
1479 * gas/testsuite/gas/ppc/power8.d: Likewise.
1480 * gas/testsuite/gas/ppc/power4.s <lwarx, ldarx, stwcx.,
1481 stdcx.>: Add tests.
1482 * gas/testsuite/gas/ppc/power4.d: Likewise.
1483
07f5af7d
L
14842016-06-03 H.J. Lu <hongjiu.lu@intel.com>
1485
1486 PR binutis/18386
1487 * testsuite/gas/i386/i386.exp: Run x86-64-branch-4.
1488 * testsuite/gas/i386/x86-64-branch.d: Updated.
1489 * testsuite/gas/i386/ilp32/x86-64-branch.d: Likewise.
1490 * testsuite/gas/i386/x86-64-branch-4.l: New file.
1491 * testsuite/gas/i386/x86-64-branch-4.s: Likewise.
1492
1aa70332
KT
14932016-06-03 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1494
1495 * config/tc-aarch64.c (aarch64_cpus): Add cortex-a73 entry.
1496 * doc/c-aarch64.texi (-mcpu): Document cortex-a73 value.
1497
362a3eba
KT
14982016-06-03 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1499
1500 * config/tc-arm.c (arm_cpus): Add cortex-a73 entry.
1501 * doc/c-arm.texi (-mcpu=): Document cortex-a73 value.
1502
4ad0bb5f
VG
15032016-06-02 Vineet Gupta <Vineet.Gupta1@synopsys.com>
1504
1505 * configure.tgt: Replace -uclibc with *.
1506
4eb6f892
AB
15072016-06-02 Andrew Burgess <andrew.burgess@embecosm.com>
1508
1509 * config/tc-arc.c (parse_opcode_flags): New function.
1510 (find_opcode_match): Move flag parsing code out to new function.
1511 Ignore operands marked IGNORE.
1512 (build_fake_opcode_hash_entry): New function.
1513 (find_special_case_long_opcode): New function.
1514 (find_special_case): Lookup long opcodes.
1515 * testsuite/gas/arc/nps400-7.d: New file.
1516 * testsuite/gas/arc/nps400-7.s: New file.
1517
c273521c
TS
15182016-06-01 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1519
1520 * config/tc-ns32k.c: Remove definition of input_line_pointer.
1521
814f1489
TS
15222016-06-01 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1523
1524 * config/tc-avr.c (avr_parse_cons_expression): Replace iteration to
1525 sentinal with iteration to array size.
1526
d05584d3
TS
15272016-06-01 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1528
1529 * config/xtensa-relax.h: Move typedefs of enums to the enums
1530 definition.
1531
5e429f4c
TS
15322016-06-01 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1533
1534 * config/tc-ns32k.c (bit_fix_new): Replace obstack-alloc with XOBNEW
1535 macro.
1536
315f180f
GM
15372016-06-01 Graham Markall <graham.markall@embecosm.com>
1538
1539 * testsuite/gas/arc/nps-400-1.s: Add rflt variants with
1540 operands of types a,b,u6, 0,b,u6, and 0,b,limm.
1541 * testsuite/gas/arc/nps-400-1.d: Likewise.
1542
0cbd0046
L
15432016-05-29 H.J. Lu <hongjiu.lu@intel.com>
1544
1545 PR gas/20145
1546 * config/tc-i386.c (cpu_noarch): Add noavx512f, noavx512cd,
1547 noavx512er, noavx512pf, noavx512dq, noavx512bw, noavx512vl,
1548 noavx512ifma and noavx512vbmi.
1549 * doc/c-i386.texi: Mention noavx512f, noavx512cd, noavx512er,
1550 noavx512pf, noavx512dq, noavx512bw, noavx512vl, noavx512ifma
1551 and noavx512vbmi.
1552 * testsuite/gas/i386/i386.exp: Run noavx512-1 and noavx512-2.
1553 * testsuite/gas/i386/noavx512-1.l: New file.
1554 * testsuite/gas/i386/noavx512-1.s: Likewise.
1555 * testsuite/gas/i386/noavx512-2.l: Likewise.
1556 * testsuite/gas/i386/noavx512-2.s: Likewise.
1557
1848e567
L
15582016-05-27 H.J. Lu <hongjiu.lu@intel.com>
1559
1560 PR gas/20145
1561 * config/tc-i386.c (cpu_arch): Add 687.
1562 (cpu_noarch): Add no287, no387, no687, nosse2, nosse3, nossse3,
1563 nosse4.1, nosse4.2, nosse4 and noavx2.
1564 (parse_real_register): Check cpuregmmx instead of cpummx for MMX
1565 register. Check cpuregxmm instead of cpusse for XMM register.
1566 Check cpuregymm instead of cpuavx for YMM register. Check
1567 cpuregzmm/cpuregmask instead of cpuavx512f for ZMMM/mask register.
1568 * doc/c-i386.texi: Mention 687, no287, no387, no687, nosse2,
1569 nosse3, nossse3, nosse4.1, nosse4.2, nosse4 and noavx2.
1570 * testsuite/gas/i386/arch-10-prefetchw.d (as): Add mmx.
1571 * testsuite/gas/i386/arch-10.d (as): Likewise.
1572 * testsuite/gas/i386/arch-11.s: Add ".arch .mmx".
1573 * testsuite/gas/i386/i386.exp: Pass mmx to assembler for
1574 arch-10-3 and arch-10-4. Run no87-3, nosse-4, nosse-5, noavx-3
1575 and noavx-4.
1576 * testsuite/gas/i386/no87-3.l: New file.
1577 * testsuite/gas/i386/no87-3.s: Likewise.
1578 * testsuite/gas/i386/noavx-3.l: Likewise.
1579 * testsuite/gas/i386/noavx-3.s: Likewise.
1580 * testsuite/gas/i386/noavx-4.d: Likewise.
1581 * testsuite/gas/i386/noavx-4.s: Likewise.
1582 * testsuite/gas/i386/nosse-4.l: Likewise.
1583 * testsuite/gas/i386/nosse-4.s: Likewise.
1584 * testsuite/gas/i386/nosse-5.d: Likewise.
1585 * testsuite/gas/i386/nosse-5.s: Likewise.
1586
e92bae62
L
15872016-05-27 H.J. Lu <hongjiu.lu@intel.com>
1588
1589 PR gas/20154
1590 * config/tc-i386.c (cpu_flags_match): Don't set cpuamd64 nor
1591 cpuintel64.
1592 (match_template): Check Intel64/AMD64 ISA.
1593
e89c5eaa
L
15942016-05-27 H.J. Lu <hongjiu.lu@intel.com>
1595
1596 PR gas/20154
1597 * config/tc-i386.c (intel64): New.
1598 (cpu_flags_match): Set cpuamd64 and cpuintel64.
1599 (md_parse_option): Set intel64 instead of cpuamd64 and
1600 cpuintel64.
1601
9d07ebe1
L
16022016-05-27 H.J. Lu <hongjiu.lu@intel.com>
1603
1604 * config/tc-i386.c (cpu_flags_match): Don't clear cpu64 nor
1605 cpuno64.
1606
19dfcc89
PB
16072016-05-26 Peter Bergner <bergner@vnet.ibm.com>
1608
1609 * testsuite/gas/ppc/altivec3.d <vmsumudm>: Add test.
1610 * testsuite/gas/ppc/altivec3.s: Likewise.
1611 * testsuite/gas/ppc/power9.d <addex[.], lwzmx, vmsumudm>: Add tests.
1612 * testsuite/gas/ppc/power9.s: Likewise.
1613
8d5b9a5a
L
16142016-05-26 H.J. Lu <hongjiu.lu@intel.com>
1615
1616 * testsuite/gas/i386/avx512vl-2.l: Append "#pass".
1617 * testsuite/gas/i386/noavx-1.l: Likewise.
1618 * testsuite/gas/i386/nommx-1.l: Likewise.
1619 * testsuite/gas/i386/nosse-1.l: Likewise.
1620 * testsuite/gas/i386/x86-64-avx512vl-2.l: Likewise.
1621 * testsuite/gas/i386/avx512vl-2.s: Append ".p2align 4".
1622 * testsuite/gas/i386/noavx-1.s: Likewise.
1623 * testsuite/gas/i386/nommx-1.s: Likewise.
1624 * testsuite/gas/i386/nosse-1.s: Likewise.
1625 * testsuite/gas/i386/x86-64-avx512vl-2.s: Likewise.
1626
81cead6f
TS
16272016-05-26 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1628
1629 * config/tc-metag.c (metag_handle_align): Make the type of noop
1630 unsigned char.
1631
79052aae
TS
16322016-05-26 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1633
1634 * config/tc-rx.c (md_convert_frag): Make the type of reloc_type
1635 bfd_reloc_code_real_type.
1636
73b090a9
L
16372016-05-25 H.J. Lu <hongjiu.lu@intel.com>
1638
1639 PR gas/20140
1640 * config/tc-i386.c (cpu_flags_match): Require another match
1641 for AVX512VL.
1642 * testsuite/gas/i386/i386.exp: Run avx512vl-1, avx512vl-2,
1643 x86-64-avx512vl-1 and x86-64-avx512vl-2.
1644 * testsuite/gas/i386/avx512vl-1.l: New file.
1645 * testsuite/gas/i386/avx512vl-1.s: Likewise.
1646 * testsuite/gas/i386/avx512vl-2.l: Likewise.
1647 * testsuite/gas/i386/avx512vl-2.s: Likewise.
1648 * testsuite/gas/i386/x86-64-avx512vl-1.l: Likewise.
1649 * testsuite/gas/i386/x86-64-avx512vl-1.s: Likewise.
1650 * testsuite/gas/i386/x86-64-avx512vl-2.l: Likewise.
1651 * testsuite/gas/i386/x86-64-avx512vl-2.s: Likewise.
1652
f1360d58
L
16532016-05-25 H.J. Lu <hongjiu.lu@intel.com>
1654
1655 PR gas/20141
1656 * testsuite/gas/i386/i386.exp: Run x86-64-pr20141.
1657 * testsuite/gas/i386/x86-64-pr20141.d: New file.
1658 * testsuite/gas/i386/x86-64-pr20141.s: Likewise.
1659
293f5f65
L
16602016-05-25 H.J. Lu <hongjiu.lu@intel.com>
1661
1662 * config/tc-i386.c (arch_entry): Remove negated.
1663 (noarch_entry): New struct.
1664 (cpu_arch): Updated. Remove .no87, .nommx, .nosse and .noavx.
1665 (cpu_noarch): New.
1666 (set_cpu_arch): Check cpu_noarch after cpu_arch.
1667 (md_parse_option): Allow -march=+nosse. Check cpu_noarch after
1668 cpu_arch.
1669 (output_message): New function.
1670 (show_arch): Use it. Handle cpu_noarch.
1671 * testsuite/gas/i386/i386.exp: Run nommx-1, nommx-2, nommx-3,
1672 nosse-1, nosse-2, nosse-3, noavx-1 and noavx-2.
1673 * testsuite/gas/i386/noavx-1.l: New file.
1674 * testsuite/gas/i386/noavx-1.s: Likewise.
1675 * testsuite/gas/i386/noavx-2.s: Likewise.
1676 * testsuite/gas/i386/noavx-2.l: Likewise.
1677 * testsuite/gas/i386/nommx-1.s: Likewise.
1678 * testsuite/gas/i386/nommx-1.l: Likewise.
1679 * testsuite/gas/i386/nommx-2.s: Likewise.
1680 * testsuite/gas/i386/nommx-2.l: Likewise.
1681 * testsuite/gas/i386/nommx-3.s: Likewise.
1682 * testsuite/gas/i386/nommx-3.l: Likewise.
1683 * testsuite/gas/i386/nosse-1.s: Likewise.
1684 * testsuite/gas/i386/nosse-1.l: Likewise.
1685 * testsuite/gas/i386/nosse-2.s: Likewise.
1686 * testsuite/gas/i386/nosse-2.l: Likewise.
1687 * testsuite/gas/i386/nosse-3.s: Likewise.
1688 * testsuite/gas/i386/nosse-3.l: Likewise.
1689
934c2632
CZL
16902016-05-25 Chua Zheng Leong <chuazl@comp.nus.edu.sg>
1691
ee4d7613 1692 PR target/20067
934c2632
CZL
1693 * config/tc-arm.c (move_or_literal_pool): Only generate a VMOV.I64
1694 instruction if supported by the currently selected fpu variant.
1695 * testsuite/gas/arm/vfpv3-ldr_immediate.s: Add test of this PR.
1696 * testsuite/gas/arm/vfpv3-ldr_immediate.d: Update expected disassembly.
1697
44d3da23 16982016-05-24 Maciej W. Rozycki <macro@imgtec.com>
934c2632 1699
44d3da23
MR
1700 * config/tc-mips.c (mips_fix_adjustable): Also return 0 for
1701 jump relocations against MIPS16 or microMIPS symbols on RELA
1702 targets.
1703 * testsuite/gas/mips/jalx-local.d: New test.
1704 * testsuite/gas/mips/jalx-local-n32.d: New test.
1705 * testsuite/gas/mips/jalx-local-n64.d: New test.
1706 * testsuite/gas/mips/jalx-local.s: New test source.
1707 * testsuite/gas/mips/mips.exp: Run the new tests.
1708
4512dafa
MR
17092016-05-24 Maciej W. Rozycki <macro@imgtec.com>
1710
1711 * config/tc-mips.c (md_apply_fix)
1712 <BFD_RELOC_MIPS16_TLS_TPREL_LO16>: Remove fall-through, adjust
1713 code accordingly.
1714
cc34adb2
TS
17152016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1716
1717 * config/tc-xtensa.c (struct suffix_reloc_map): Change type of field
1718 operator to operatorT.
1719 (map_suffix_reloc_to_operator): Change return type to operatorT.
1720
c023823f
TS
17212016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1722
1723 * config/tc-d30v.c (find_format): Change type of X_op to operatorT.
1724
049efc64
TS
17252016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1726
1727 * config/tc-mmix.c (mmix_parse_predefined_name): Change type of
1728 handler_charp to const char *.
1729
b19e0aeb
TS
17302016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1731
1732 * config/tc-ft32.h (DEFAULT_TARGET_FORMAT): Remove.
1733 (ft32_target_format): Likewise.
1734 (TARGET_FORMAT): Adjust.
1735
e5e27b07
TS
17362016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1737
1738 * config/tc-ia64.c (dot_rot): simplify allocations from obstacks.
1739 (ia64_frob_label): Likewise.
1740
6610dc6d
TS
17412016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1742
1743 * config/tc-cr16.c (check_range): Make type of retval op_err.
1744 * config/tc-crx.c: Likewise.
1745
87789e08
CZ
17462016-05-23 Claudiu Zissulescu <claziss@synopsys.com>
1747
1748 * config/tc-arc.c (md_begin): Add XY registers.
1749 (cpu_types): Code density is default off for ARC EM.
1750
c810e0b8
CZ
17512016-05-23 Cupertino Miranda <cmiranda@synopsys.com>
1752
1753 * config/tc-arc.c (attributes_t): Renamed attribute class to
1754 attr_class.
1755 (find_opcode_match, assemble_insn, tokenize_extinsn): Changed.
1756
d26a14db
NC
17572016-05-23 Kuba Sejdak <jakub.sejdak@phoesys.com>
1758
1759 * configuse.tgt: Add entry for arm-phoenix.
1760
f10e0aef
TS
17612016-05-23 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1762
1763 * config/tc-tic54x.c (tic54x_sect): simplify string creation.
1764
2900e701
TS
17652016-05-23 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1766
1767 * config/tc-spu.c (APUOP): Use OPCODE as an unsigned constant.
1768
3d207518
TS
17692016-05-23 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1770
1771 * config/tc-tic54x.c (tic54x_mmregs): Adjust.
1772 (md_begin): Likewise.
1773 (encode_condition): Likewise.
1774 (encode_cc3): Likewise.
1775 (encode_cc2): Likewise.
1776 (encode_operand): Likewise.
1777 (tic54x_undefined_symbol): Likewise.
1778
a4968f42
MF
17792016-05-20 Matthew Fortune <matthew.fortune@imgtec.com>
1780
1781 * config/tc-mips.c (mips_cpu_info_table): Update comment. Add
1782 p6600 entry.
1783 * doc/c-mips.texi: Document p6600 -march option.
1784
4e21640f
L
17852016-05-20 H.J. Lu <hongjiu.lu@intel.com>
1786
1787 PR gas/19600
1788 * config/tc-i386.c (md_apply_fix): Preserve addend for
1789 BFD_RELOC_386_GOT32 and BFD_RELOC_X86_64_GOT32.
1790 * testsuite/gas/i386/addend.d: New file.
1791 * testsuite/gas/i386/addend.s: Likewise.
1792 * testsuite/gas/i386/x86-64-addend.d: Likewise.
1793 * testsuite/gas/i386/x86-64-addend.s: Likewise.
1794 * testsuite/gas/i386/i386.exp: Run addend and x86-64-addend.
1795 * testsuite/gas/i386/reloc32.d: Updated.
1796
17c6c9d9
MR
17972016-05-20 Maciej W. Rozycki <macro@imgtec.com>
1798
1799 * config/tc-mips.c (append_insn): Correct the encoding of a
1800 constant argument for microMIPS JALX.
1801 (tc_gen_reloc): Correct the encoding of an in-place addend for
1802 microMIPS JALX.
1803 * testsuite/gas/mips/jalx-addend.d: New test.
1804 * testsuite/gas/mips/jalx-addend-n32.d: New test.
1805 * testsuite/gas/mips/jalx-addend-n64.d: New test.
1806 * testsuite/gas/mips/jalx-imm.d: New test.
1807 * testsuite/gas/mips/jalx-imm-n32.d: New test.
1808 * testsuite/gas/mips/jalx-imm-n64.d: New test.
1809 * testsuite/gas/mips/jalx-addend.s: New test source.
1810 * testsuite/gas/mips/jalx-imm.s: New test source.
1811 * testsuite/gas/mips/mips.exp: Run the new tests.
1812
134c0c8b
MR
18132016-05-20 Maciej W. Rozycki <macro@imgtec.com>
1814
1815 * config/tc-mips.c: Correct tab-after-space formatting mistakes
1816 throughout.
1817
38cd8a0d
AB
18182016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
1819
1820 * config/tc-arc.c (find_opcode_match): Remove casting away of
1821 const.
1822 * config/tc-arc.h (struct arc_flags): Make flgp field const.
1823
9e32d9ae
AB
18242016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
1825
1826 * config/tc-arc.c (md_pcrel_from_section): Use BFD_VMA_FMT where
1827 appropriate.
1828 (md_convert_frag): Likewise.
1829
fe779266
AB
18302016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
1831
1832 * config/tc-arc.c (arc_opcode_hash_entry_iterator_next): Set
1833 cached opcode to NULL when we reach a non-matching opcode.
1834 * testsuite/gas/arc/asm-errors-2.d: New file.
1835 * testsuite/gas/arc/asm-errors-2.err: New file.
1836 * testsuite/gas/arc/asm-errors-2.s: New file.
1837
3b889a78
AB
18382016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
1839
1840 * config/tc-arc.c (tokenize_arguments): Add checks for array
1841 overflow.
1842 * testsuite/gas/arc/asm-errors.s: Addition test line added.
1843 * testsuite/gas/arc/asm-errors.err: Update expected results.
1844
42e58860
TS
18452016-05-18 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1846
1847 * config/tc-rx.c (struct cpu_type): Change the type of a field from
1848 int to enum rx_cpu_types.
1849
4bfaa1ca
TS
18502016-05-18 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1851
1852 * config/tc-dlx.c (struct machine_it): change the type of a field from
1853 int to bfd_reloc_code_real_type.
1854 * config/tc-tic4x.c: Likewise.
1855
eb408eaa
TS
18562016-05-18 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1857
1858 * config/tc-v850.c (v850_target_arch): change type to enum
1859 bfd_architecture.
1860 * config/tc-v850.h (v850_target_arch): Likewise.
1861
a255f00a
AM
18622016-05-18 Alan Modra <amodra@gmail.com>
1863
1864 * config/tc-ppc.c (ppc_insert_operand): Trim PPC_OPERAND_SIGNOPT
1865 allowed negative range.
1866 * testsuite/gas/ppc/power9.s: Test xxspltib of -128, not -256.
1867 * testsuite/gas/ppc/power9.d: Update.
1868
659f032c
TP
18692016-05-17 Thomas Preud'homme <thomas.preudhomme@arm.com>
1870
1871 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Force Thumb when
1872 disassembling and stop skipping targets.
1873 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
1874 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
1875 * testsuite/gas/arm/archv8m-base.d: Also allow nops after the last
1876 instruction for targets that have stronger alignment requirement.
1877 * testsuite/gas/arm/archv8m-cmse-base.d: Likewise.
1878 * testsuite/gas/arm/archv8m-cmse-main-1.d: Likewise.
1879 * testsuite/gas/arm/archv8m-cmse-main-2.d: Likewise.
1880 * testsuite/gas/arm/archv8m-main-dsp-1.d: Likewise.
1881 * testsuite/gas/arm/archv8m-main-dsp-2.d: Likewise.
1882 * testsuite/gas/arm/archv8m-main-dsp-3.d: Likewise.
1883 * testsuite/gas/arm/archv8m-main.d: Likewise.
1884 * testsuite/gas/arm/archv8m.s: Add label.
1885 * testsuite/gas/arm/archv8m-cmse.s: Likewise.
1886 * testsuite/gas/arm/archv8m-cmse-msr.s: Likewise.
1887 * testsuite/gas/arm/archv8m-cmse-main.s: Likewise.
1888
7b14583e
TS
18892016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1890
1891 * config/tc-m32r.c (mach_table): Make static and const.
1892
0591130a
TS
18932016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1894
1895 * config/tc-vax.c (flonum_gen2vax): Adjust prototype to match
1896 definition.
1897
9117cd3e
TS
18982016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1899
1900 * config/tc-mn10300.c (md_begin): set linkrelax here instead of
1901 defining it.
1902 * config/tc-msp430.c (md_begin): Likewise.
1903
e1838240
TS
19042016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1905
1906 * config/tc-m68hc11.c (fixup8): Change variables type from int to
1907 bfd_reloc_code_real_type where appropriate.
1908 (fixup16): Likewise.
1909 (fixup8_xg): Likewise.
1910
9dfa3e63
MR
19112016-05-15 Maciej W. Rozycki <macro@imgtec.com>
1912
1913 * config/tc-sh64.c (shmedia_check_limits): Constify `msg'.
1914
1178da44
PB
19152016-05-13 Peter Bergner <bergner@vnet.ibm.com>
1916
1917 * testsuite/gas/ppc/power9.d <xxspltib>: Add additional operand tests.
1918 * testsuite/gas/ppc/power9.s: Likewise.
1919
d2edc834
AM
19202016-05-13 Alan Modra <amodra@gmail.com>
1921
1922 * config/obj-coff.c (weak_uniquify): Delete unused var.
1923
add39d23
TS
19242016-05-13 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1925
1926 * app.c (app_push): Use XNEW and related macros.
1927 * as.c (parse_args): Likewise.
1928 * cgen.c (make_right_shifted_expr): Likewise.
1929 (gas_cgen_tc_gen_reloc): Likewise.
1930 * config/bfin-defs.h: Likewise.
1931 * config/bfin-parse.y: Likewise.
1932 * config/obj-coff.c (stack_init): Likewise.
1933 (stack_push): Likewise.
1934 (coff_obj_symbol_new_hook): Likewise.
1935 (coff_obj_symbol_clone_hook): Likewise.
1936 (add_lineno): Likewise.
1937 (coff_frob_symbol): Likewise.
1938 * config/obj-elf.c (obj_elf_section_name): Likewise.
1939 (build_group_lists): Likewise.
1940 * config/obj-evax.c (evax_symbol_new_hook): Likewise.
1941 * config/obj-macho.c (obj_mach_o_indirect_symbol): Likewise.
1942 * config/tc-aarch64.c (insert_reg_alias): Likewise.
1943 (find_or_make_literal_pool): Likewise.
1944 (add_to_lit_pool): Likewise.
1945 (fill_instruction_hash_table): Likewise.
1946 * config/tc-alpha.c (load_expression): Likewise.
1947 (emit_jsrjmp): Likewise.
1948 (s_alpha_ent): Likewise.
1949 (s_alpha_end): Likewise.
1950 (s_alpha_linkage): Likewise.
1951 (md_begin): Likewise.
1952 (tc_gen_reloc): Likewise.
1953 * config/tc-arc.c (arc_insert_opcode): Likewise.
1954 (arc_extcorereg): Likewise.
1955 * config/tc-bfin.c: Likewise.
1956 * config/tc-cr16.c: Likewise.
1957 * config/tc-cris.c: Likewise.
1958 * config/tc-crx.c (preprocess_reglist): Likewise.
1959 * config/tc-d10v.c: Likewise.
1960 * config/tc-frv.c (frv_insert_vliw_insn): Likewise.
1961 (frv_tomcat_shuffle): Likewise.
1962 * config/tc-h8300.c: Likewise.
1963 * config/tc-i370.c (i370_macro): Likewise.
1964 * config/tc-i386.c (lex_got): Likewise.
1965 (md_parse_option): Likewise.
1966 * config/tc-ia64.c (alloc_record): Likewise.
1967 (set_imask): Likewise.
1968 (save_prologue_count): Likewise.
1969 (dot_proc): Likewise.
1970 (dot_endp): Likewise.
1971 (ia64_frob_label): Likewise.
1972 (add_qp_imply): Likewise.
1973 (add_qp_mutex): Likewise.
1974 (mark_resource): Likewise.
1975 (dot_alias): Likewise.
1976 * config/tc-m68hc11.c: Likewise.
1977 * config/tc-m68k.c (m68k_frob_label): Likewise.
1978 (s_save): Likewise.
1979 (mri_control_label): Likewise.
1980 (push_mri_control): Likewise.
1981 (build_mri_control_operand): Likewise.
1982 (s_mri_else): Likewise.
1983 (s_mri_break): Likewise.
1984 (s_mri_next): Likewise.
1985 (s_mri_for): Likewise.
1986 (s_mri_endw): Likewise.
1987 * config/tc-metag.c (create_mnemonic_htab): Likewise.
1988 * config/tc-microblaze.c: Likewise.
1989 * config/tc-mmix.c (s_loc): Likewise.
1990 * config/tc-nds32.c (nds32_relax_hint): Likewise.
1991 * config/tc-nios2.c (nios2_insn_reloc_new): Likewise.
1992 * config/tc-rl78.c: Likewise.
1993 * config/tc-rx.c (rx_include): Likewise.
1994 * config/tc-sh.c: Likewise.
1995 * config/tc-sh64.c (shmedia_frob_section_type): Likewise.
1996 * config/tc-sparc.c: Likewise.
1997 * config/tc-spu.c: Likewise.
1998 * config/tc-tic6x.c (static tic6x_unwind_info *tic6x_get_unwind): Likewise.
1999 (tic6x_start_unwind_section): Likewise.
2000 * config/tc-tilegx.c: Likewise.
2001 * config/tc-tilepro.c: Likewise.
2002 * config/tc-v850.c: Likewise.
2003 * config/tc-visium.c: Likewise.
2004 * config/tc-xgate.c: Likewise.
2005 * config/tc-xtensa.c (xtensa_translate_old_userreg_ops): Likewise.
2006 (new_resource_table): Likewise.
2007 (resize_resource_table): Likewise.
2008 (xtensa_create_trampoline_frag): Likewise.
2009 (xtensa_maybe_create_literal_pool_frag): Likewise.
2010 (cache_literal_section): Likewise.
2011 * config/xtensa-relax.c (append_transition): Likewise.
2012 (append_condition): Likewise.
2013 (append_value_condition): Likewise.
2014 (append_constant_value_condition): Likewise.
2015 (append_literal_op): Likewise.
2016 (append_label_op): Likewise.
2017 (append_constant_op): Likewise.
2018 (append_field_op): Likewise.
2019 (append_user_fn_field_op): Likewise.
2020 (enter_opname_n): Likewise.
2021 (enter_opname): Likewise.
2022 (split_string): Likewise.
2023 (parse_insn_templ): Likewise.
2024 (clone_req_or_option_list): Likewise.
2025 (clone_req_option_list): Likewise.
2026 (parse_option_cond): Likewise.
2027 (parse_insn_pattern): Likewise.
2028 (parse_insn_repl): Likewise.
2029 (build_transition): Likewise.
2030 (build_transition_table): Likewise.
2031 * dw2gencfi.c (alloc_fde_entry): Likewise.
2032 (alloc_cfi_insn_data): Likewise.
2033 (cfi_add_CFA_remember_state): Likewise.
2034 (dot_cfi_escape): Likewise.
2035 (dot_cfi_fde_data): Likewise.
2036 (select_cie_for_fde): Likewise.
2037 * dwarf2dbg.c (dwarf2_directive_loc): Likewise.
2038 * ecoff.c (ecoff_add_bytes): Likewise.
2039 (ecoff_build_debug): Likewise.
2040 * input-scrub.c (input_scrub_push): Likewise.
2041 (input_scrub_begin): Likewise.
2042 (input_scrub_next_buffer): Likewise.
2043 * itbl-ops.c (append_insns_as_macros): Likewise.
2044 (alloc_entry): Likewise.
2045 (alloc_field): Likewise.
2046 * listing.c (listing_newline): Likewise.
2047 (listing_listing): Likewise.
2048 * macro.c (get_any_string): Likewise.
2049 (delete_macro): Likewise.
2050 * stabs.c (generate_asm_file): Likewise.
2051 (stabs_generate_asm_lineno): Likewise.
2052 * subsegs.c (subseg_change): Likewise.
2053 (subseg_get): Likewise.
2054 * symbols.c (define_dollar_label): Likewise.
2055 (symbol_relc_make_sym): Likewise.
2056 * write.c (write_relocs): Likewise.
2057
29a2809e
TS
20582016-05-13 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2059
2060 * config/obj-coff.c (obj_coff_def): Simplify string copying.
2061 (weak_name2altname): Likewise.
2062 (weak_uniquify): Likewise.
2063 (obj_coff_section): Likewise.
2064 (obj_coff_init_stab_section): Likewise.
2065 * config/obj-elf.c (obj_elf_section_name): Likewise.
2066 (obj_elf_init_stab_section): Likewise.
2067 * config/obj-evax.c (evax_shorten_name): Likewise.
2068 * config/obj-macho.c (obj_mach_o_make_or_get_sect): Likewise.
2069 * config/tc-aarch64.c (create_register_alias): Likewise.
2070 * config/tc-alpha.c (load_expression): Likewise.
2071 (s_alpha_file): Likewise.
2072 (s_alpha_section_name): Likewise.
2073 (tc_gen_reloc): Likewise.
2074 * config/tc-arc.c (md_assemble): Likewise.
2075 * config/tc-arm.c (create_neon_reg_alias): Likewise.
2076 (start_unwind_section): Likewise.
2077 * config/tc-hppa.c (pa_build_unwind_subspace): Likewise.
2078 (hppa_elf_mark_end_of_function): Likewise.
2079 * config/tc-nios2.c (nios2_modify_arg): Likewise.
2080 (nios2_negate_arg): Likewise.
2081 * config/tc-rx.c (rx_section): Likewise.
2082 * config/tc-sh64.c (sh64_consume_datalabel): Likewise.
2083 * config/tc-tic30.c (tic30_find_parallel_insn): Likewise.
2084 * config/tc-tic54x.c (tic54x_include): Likewise.
2085 (tic54x_macro_info): Likewise.
2086 (subsym_get_arg): Likewise.
2087 (subsym_substitute): Likewise.
2088 (tic54x_start_line_hook): Likewise.
2089 * config/tc-xtensa.c (xtensa_literal_prefix): Likewise.
2090 (xg_reverse_shift_count): Likewise.
2091 * config/xtensa-relax.c (enter_opname_n): Likewise.
2092 (split_string): Likewise.
2093 * dwarf2dbg.c (get_filenum): Likewise.
2094 (process_entries): Likewise.
2095 * expr.c (operand): Likewise.
2096 * itbl-ops.c (alloc_entry): Likewise.
2097 * listing.c (listing_message): Likewise.
2098 (listing_title): Likewise.
2099 * macro.c (check_macro): Likewise.
2100 * stabs.c (s_xstab): Likewise.
2101 * symbols.c (symbol_relc_make_expr): Likewise.
2102 * write.c (compress_debug): Likewise.
2103
58c7f094
NC
21042016-05-12 Nick Clifton <nickc@redhat.com>
2105
2106 PR target/20068
2107 * testsuite/gas/arm/pr20068.d: Use correct regexp syntax.
2108
d5e74e8d
NC
21092016-05-11 Nick Clifton <nickc@redhat.com>
2110
2111 PR target/20068
2112 * testsuite/gas/arm/pr20068.d: Adjust expected output to allow for
2113 big endian ARM configurations.
2114
8f4f9071
MF
21152016-05-11 Andrew Bennett <andrew.bennett@imgtec.com>
2116 Matthew Fortune <matthew.fortune@imgtec.com>
2117
2118 * config/tc-mips.c (options): Add OPTION_DSPR3 and
2119 OPTION_NO_DSPR3.
2120 (md_longopts): Likewise.
2121 (md_show_usage): Add help for -mdspr3 and -mno-dspr3.
2122 (mips_ases): Define availability for DSPr3.
2123 (mips_ase_groups): Add ASE_DSPR3 to the DSP group.
2124 (mips_convert_ase_flags): Map ASE_DSPR3 to AFL_ASE_DSPR3.
2125 * doc/as.texinfo: Document -mdspr3, -mno-dspr3. Fix -mdspr2
2126 formatting.
2127 * doc/c-mips.texi: Document -mdspr3, -mno-dspr3, .set dspr3 and
2128 .set nodspr3. Fix -mdspr2 formatting.
2129 * testsuite/gas/mips/mips32-dspr3.d: New file.
2130 * testsuite/gas/mips/mips32-dspr3.s: Likewise.
2131 * testsuite/gas/mips/mips.exp: Run mips32-dspr3 test.
2132
a6684f0d
NC
21332016-05-11 Nick Clifton <nickc@redhat.com>
2134
2135 PR target/20068
2136 * config/tc-arm.c (add_to_lit_pool): Ensure that the padding added
2137 to the pool uses O_constant.
2138 * testsuite/gas/arm/pr20068.s: New test.
2139 * testsuite/gas/arm/pr20068.d: Test driver.
2140
be5c445b
NC
21412016-05-11 Nick Clifton <nickc@redhat.com>
2142
4179a6a2
NC
2143 * testsuite/gas/arm/archv8m-cmse-base.d: Skip for non-ELF ARM targets.
2144 * testsuite/gas/arm/archv8m-cmse-main-1.d: Likewise.
2145 * testsuite/gas/arm/archv8m-cmse-main-2.d: Likewise.
2146 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Likewise.
2147 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
2148 * testsuite/gas/arm/archv8m-main-dsp-1.d: Likewise.
2149 * testsuite/gas/arm/archv8m-main-dsp-2.d: Likewise.
2150 * testsuite/gas/arm/archv8m-main-dsp-3.d: Likewise.
2151 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
be5c445b
NC
2152
21532016-05-10 Alexander Fomin <alexander.fomin@intel.com>
2154
2155 * testsuite/gas/i386/i386.exp: Run RDPID tests.
2156 * testsuite/gas/i386/prefix.d: Adjust.
2157 * testsuite/gas/i386/rdpid.s: New test.
2158 * testsuite/gas/i386/rdpid.d: Ditto.
2159 * testsuite/gas/i386/rdpid-intel.d: Ditto.
2160 * testsuite/gas/i386/x86-64-rdpid.s: Ditto.
2161 * testsuite/gas/i386/x86-64-rdpid.d: Ditto.
2162 * testsuite/gas/i386/x86-64-rdpid-intel.d: Ditto.
2163
8bc52696
AF
21642016-05-10 Alexander Fomin <alexander.fomin@intel.com>
2165
2166 * config/tc-i386.c (cpu_arch): Add RDPID.
2167 * doc/c-i386.texi: Document RDPID.
2168
39d911fc
TP
21692016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
2170
2171 * config/tc-arm.c (arm_adjust_symtab): Use ARM_SET_SYM_BRANCH_TYPE to
2172 set branch type of a symbol.
2173
15afaa63
TP
21742016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
2175
2176 * NEWS: Document ARMv8-M and ARMv8-M Security and DSP Extensions.
2177 * config/tc-arm.c (arm_ext_dsp): New feature for Thumb DSP
2178 instructions.
2179 (arm_extensions): Add dsp extension for ARMv8-M Mainline.
2180 (aeabi_set_public_attributes): Memorize the feature bits of the
2181 architecture selected for Tag_CPU_arch. Use it to set
2182 Tag_DSP_extension to 1 for ARMv8-M Mainline with DSP extension.
2183 (arm_convert_symbolic_attribute): Define Tag_DSP_extension.
2184 * testsuite/gas/arm/arch7em-bad.d: Rename to ...
2185 * testsuite/gas/arm/arch7em-bad-1.d: This.
2186 * testsuite/gas/arm/arch7em-bad-2.d: New file.
2187 * testsuite/gas/arm/arch7em-bad-3.d: Likewise.
2188 * testsuite/gas/arm/archv8m-main-dsp-1.d: Likewise.
2189 * testsuite/gas/arm/archv8m-main-dsp-2.d: Likewise.
2190 * testsuite/gas/arm/archv8m-main-dsp-3.d: Likewise.
2191 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
2192 * testsuite/gas/arm/archv8m-main-dsp-5.d: Likewise.
2193 * testsuite/gas/arm/attr-march-armv8m.main.dsp.d: Likewise.
2194
d942732e
TP
21952016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
2196
2197 * config/tc-arm.c (struct arm_option_extension_value_table): Make
2198 allowed_archs an array with 2 entries.
2199 (ARM_EXT_OPT): Adapt to only fill the first entry of allowed_archs.
2200 (ARM_EXT_OPT2): New macro filling the two entries of allowed_archs.
2201 (arm_extensions): Use separate entries in allowed_archs when several
2202 archs are allowed to use an extension and change ARCH_ANY in
2203 ARM_ARCH_NONE in allowed_archs.
2204 (arm_parse_extension): Check that, for each allowed_archs entry, all
2205 bits are set in the current architecture, ignoring ARM_ANY entries.
2206 (s_arm_arch_extension): Likewise.
2207
16a1fa25
TP
22082016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
2209
2210 * config/tc-arm.c (arm_ext_m): Add feature bit ARM_EXT2_V8M_MAIN.
2211 (arm_ext_v8m_main): New feature set for bit ARM_EXT2_V8M_MAIN.
2212 (arm_ext_v8m_m_only): New feature set for instructions in ARMv8-M not
2213 shared with a non M profile architecture.
2214 (do_rn): New function.
2215 (known_t32_only_insn): Check opcode against arm_ext_v8m_m_only rather
2216 than arm_ext_v8m.
2217 (v7m_psrs): Add ARMv8-M security extensions new special registers.
2218 (insns): Add ARMv8-M Security Extensions instructions.
2219 (aeabi_set_public_attributes): Use arm_ext_v8m_m_only instead of
2220 arm_ext_v8m_m to decide the profile and the Thumb ISA.
2221 * testsuite/gas/arm/archv8m-cmse.s: New file.
2222 * testsuite/gas/arm/archv8m-cmse-main.s: Likewise..
2223 * testsuite/gas/arm/archv8m-cmse-msr.s: Likewise.
2224 * testsuite/gas/arm/any-cmse.d: Likewise.
2225 * testsuite/gas/arm/any-cmse-main.d: Likewise.
2226 * testsuite/gas/arm/archv8m-cmse-base.d: Likewise.
2227 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Likewise.
2228 * testsuite/gas/arm/archv8m-cmse-main-1.d: Likewise.
2229 * testsuite/gas/arm/archv8m-cmse-main-2.d: Likewise.
2230 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
2231
d751b79e
JM
22322016-05-09 Jose E. Marchesi <jose.marchesi@oracle.com>
2233
2234 * testsuite/gas/sparc/sparc5vis4.s: Fix mnemonic of faligndatai.
2235 * testsuite/gas/sparc/sparc5vis4.d: Likewise.
2236
f85d59c3
KT
22372016-05-04 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
2238
2239 * config/tc-arm.c (fpu_arch_vfp_v1): Mark with ATTRIBUTE_UNUSED.
2240 (fpu_arch_vfp_v3): Likewise.
2241 (fpu_arch_neon_v1): Likewise.
2242 (arm_arch_full): Likewise.
2243 (parse_neon_el_struct_list): Initialize fields of firsttype.
2244
945e0f82
CZ
22452016-05-03 Claudiu Zissulescu <claziss@synopsys.com>
2246
2247 * config/tc-arc.c (syntaxclass): Add SYNTAX_NOP and SYNTAX_1OP.
2248 (arc_extinsn): Handle new introduced syntax.
2249 * testsuite/gas/arc/textinsn1op.d: New file.
2250 * testsuite/gas/arc/textinsn1op.s: Likewise.
2251 * doc/c-arc.texi: Document SYNTAX_NOP and SYNTAX_1OP.
2252
b782c63d
PS
22532016-05-03 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
2254
2255 * testsuite/gas/lns/lns.exp: Add avr to list of targets using
2256 DW_LNS_fixed_advance_pc.
2257
25771140
AM
22582016-04-27 Alan Modra <amodra@gmail.com>
2259
2260 * as.h (inline, __PTR_TO_INT, __INT_TO_PTR): Don't define.
2261 (xmemdup0): New inline function.
2262
22522f88
MR
22632016-04-22 Maciej W. Rozycki <macro@imgtec.com>
2264
2265 * config/tc-mips.c (code_option_type): New enum.
2266 (parse_code_option): Return status indicating option type.
2267 (s_mipsset): Update `parse_code_option' call site accordingly.
2268 Always set register sizes from the ISA with ISA overrides.
2269 (s_module): Update `parse_code_option' call site.
2270 * testsuite/gas/mips/isa-override-1.d: New test.
2271 * testsuite/gas/mips/micromips@isa-override-1.d: New test.
2272 * testsuite/gas/mips/mips1@isa-override-1.d: New test.
2273 * testsuite/gas/mips/mips2@isa-override-1.d: New test.
2274 * testsuite/gas/mips/mips32@isa-override-1.d: New test.
2275 * testsuite/gas/mips/mips32r2@isa-override-1.d: New test.
2276 * testsuite/gas/mips/mips32r3@isa-override-1.d: New test.
2277 * testsuite/gas/mips/mips32r5@isa-override-1.d: New test.
2278 * testsuite/gas/mips/mips32r6@isa-override-1.d: New test.
2279 * testsuite/gas/mips/mips64r2@isa-override-1.d: New test.
2280 * testsuite/gas/mips/mips64r3@isa-override-1.d: New test.
2281 * testsuite/gas/mips/mips64r5@isa-override-1.d: New test.
2282 * testsuite/gas/mips/mips64r6@isa-override-1.d: New test.
2283 * testsuite/gas/mips/r3000@isa-override-1.d: New test.
2284 * testsuite/gas/mips/r3900@isa-override-1.d: New test.
2285 * testsuite/gas/mips/r5900@isa-override-1.d: New test.
2286 * testsuite/gas/mips/octeon@isa-override-1.d: New test.
2287 * testsuite/gas/mips/octeon3@isa-override-1.d: New test.
2288 * testsuite/gas/mips/isa-override-2.l: New list test.
2289 * testsuite/gas/mips/mips1@isa-override-2.l: New list test.
2290 * testsuite/gas/mips/mips2@isa-override-2.l: New list test.
2291 * testsuite/gas/mips/mips32@isa-override-2.l: New list test.
2292 * testsuite/gas/mips/mips32r2@isa-override-2.l: New list test.
2293 * testsuite/gas/mips/mips32r3@isa-override-2.l: New list test.
2294 * testsuite/gas/mips/mips32r5@isa-override-2.l: New list test.
2295 * testsuite/gas/mips/mips32r6@isa-override-2.l: New list test.
2296 * testsuite/gas/mips/r3000@isa-override-2.l: New list test.
2297 * testsuite/gas/mips/r3900@isa-override-2.l: New list test.
2298 * testsuite/gas/mips/octeon3@isa-override-2.l: New list test.
2299 * testsuite/gas/mips/octeon3@isa-override-1.l: New stderr
2300 output.
2301 * testsuite/gas/mips/isa-override-1.s: New test source.
2302 * testsuite/gas/mips/r5900@isa-override-1.s: New test source.
2303 * testsuite/gas/mips/isa-override-2.s: New test source.
2304 * testsuite/gas/mips/mips1@isa-override-2.s: New test source.
2305 * testsuite/gas/mips/mips2@isa-override-2.s: New test source.
2306 * testsuite/gas/mips/mips32@isa-override-2.s: New test source.
2307 * testsuite/gas/mips/mips32r2@isa-override-2.s: New test source.
2308 * testsuite/gas/mips/mips32r3@isa-override-2.s: New test source.
2309 * testsuite/gas/mips/mips32r5@isa-override-2.s: New test source.
2310 * testsuite/gas/mips/mips32r6@isa-override-2.s: New test source.
2311 * testsuite/gas/mips/r3000@isa-override-2.s: New test source.
2312 * testsuite/gas/mips/r3900@isa-override-2.s: New test source.
2313 * testsuite/gas/mips/octeon3@isa-override-2.s: New test source.
2314 * testsuite/gas/mips/mips.exp: Run the new tests.
2315
e6c7cdec
TS
23162016-04-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2317
2318 * cgen.c: Likewise.
2319 * config/tc-bfin.c: Likewise.
2320 * config/tc-ia64.c: Likewise.
2321 * config/tc-mep.c: Likewise.
2322 * config/tc-metag.c: Likewise.
2323 * config/tc-nios2.c: Likewise.
2324 * config/tc-rl78.c: Likewise.
2325
2533af11
AB
23262016-04-20 Andrew Burgess <andrew.burgess@embecosm.com>
2327
2328 * doc/c-arc.texi (ARC Options): Add nps400 to list of valus for
2329 -mcpu. Add cross reference to .cpu directive from -mcpu option.
2330 (ARC Directives): Add NPS400 to .cpu directive list.
2331
50cc854c
MW
23322016-04-20 Matthew Wahab <matthew.wahab@arm.com>
2333
2334 * config/tc-aarch64.c (aarch64_features): Add "ras".
2335 * doc/c-aarch64.texi (AArch64 Extensions): Add "ras".
2336 * testsuite/gas/aarch64/armv8-ras-1.d: New.
2337 * testsuite/gas/aarch64/armv8-ras-1.s: New.
2338 * testsuite/gas/aarch64/illegal-ras-1.d: New.
2339 * testsuite/gas/aarch64/illegal-ras-1.s: New.
2340
537aefaf
AB
23412016-04-19 Andrew Burgess <andrew.burgess@embecosm.com>
2342
2343 * testsuite/gas/arc/nps400-6.d: New file.
2344 * testsuite/gas/arc/nps400-6.s: New file.
2345
c8f785f2
AB
23462016-04-19 Andrew Burgess <andrew.burgess@embecosm.com>
2347
2348 * testsuite/gas/arc/nps400-4.d: New file.
2349 * testsuite/gas/arc/nps400-4.s: New file.
2350 * testsuite/gas/arc/nps400-5.d: New file.
2351 * testsuite/gas/arc/nps400-5.s: New file.
2352
48eac74c
MG
23532016-04-19 Martin Galvan <martin.galvan@tallertechnologies.com>
2354
2355 * doc/as.texinfo (.cfi_remember_state, .cfi_restore_state): Improve
2356 documentation.
2357
644aca26
AB
23582016-04-17 Andrew Burgess <andrew.burgess@embecosm.com>
2359
2360 Revert prevous change.
2361 * config/tc-arc.c (arc_option): Make .cpu directive
2362 case-sensitive again.
2363
9a452709
AB
23642016-04-16 Andrew Burgess <andrew.burgess@embecosm.com>
2365
2366 * config/tc-arc.c (arc_option): Make .cpu directive
2367 case-insensitive.
2368
5e001f26
AB
23692016-04-16 Andrew Burgess <andrew.burgess@embecosm.com>
2370
2371 * config/tc-arc.c (arc_option): Allow NPS400 in .cpu directive.
2372
92fce9bd
TS
23732016-04-15 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2374
2375 * config/tc-mips.c (md_begin): Remove useless assignment.
2376
6fd8e7c2
L
23772016-04-15 H.J. Lu <hongjiu.lu@intel.com>
2378
2379 * Makefile.in: Regenerated with automake 1.11.6.
2380 * aclocal.m4: Likewise.
2381 * doc/Makefile.in: Likewise.
2382
05f7541e
AM
23832016-04-15 Alan Modra <amodra@gmail.com>
2384
2385 * config/tc-ppc.c (toc_reloc_types): Wrap in #ifdef OBJ_ELF
2386
4f2a7b51
TS
23872016-04-14 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2388
2389 * config/tc-nios2.c (nios2_as_options): Make file static.
2390 * config/tc-ppc.c (toc_reloc_ypes): Likewise.
2391 * config/tc-sparc.c (native_op_table): Likewise.
2392
85e53f62
TS
23932016-04-14 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2394
2395 * config/tc-m32c.c (M32C_Macros): Remove.
2396 * config/tc-msp430.c (option_numbers): Likewise.
2397
4b0c052e
AB
23982016-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
2399
2400 * testsuite/gas/arc/nps400-3.d: New file.
2401 * testsuite/gas/arc/nps400-3.s: New file.
2402
d105775e
AB
24032016-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
2404
2405 * testsuite/gas/arc/add_s-err.s: Update target pattern.
2406 * testsuite/gas/arc/warn.s: Likewise.
2407 * testsuite/gas/elf/elf.exp: Run test for arc.
2408
84865015
NC
24092016-04-14 Nick Clifton <nickc@redhat.com>
2410
2411 PR target/19938
2412 * testsuite/gas/i386/ilp32/x86-64-unwind.d: Allow for the string
2413 sections possibly having the SHF_STRINGS flag bit set.
2414 * testsuite/gas/i386/x86-64-unwind.d: Likewise.
2415
1adc8a9a
CZ
24162016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
2417
2418 * config/tc-arc.c (mach_type_specified_p): Change type to
2419 bfd_boolean.
2420 (arc_option): Set private flags when parsing cpu pseudo-op.
2421 (md_parse_option): Set mach_type_specified_p to TRUE.
2422
e4449be8
NC
24232016-04-13 Nick Clifton <nickc@redhat.com>
2424
2425 PR target/19937
2426 * testsuite/gas/v850/pr19937.s: New test.
2427 * testsuite/gas/v850/pr19937.d: New test control file.
2428 * testsuite/gas/v850/basic.exp: Run the new test.
2429
991f40a9
MR
24302016-04-13 Maciej W. Rozycki <macro@imgtec.com>
2431 Andrew Bennett <andrew.bennett@imgtec.com>
2432
2433 * config/tc-mips.c (relaxed_branch_length): Use the long
2434 sequence where the target is a weak symbol.
2435 (relaxed_micromips_32bit_branch_length): Likewise.
2436 (relaxed_micromips_16bit_branch_length): Likewise.
2437 * testsuite/gas/mips/branch-weak-1.d: New test.
2438 * testsuite/gas/mips/branch-weak-2.d: New test.
2439 * testsuite/gas/mips/branch-weak-3.d: New test.
2440 * testsuite/gas/mips/branch-weak-4.d: New test.
2441 * testsuite/gas/mips/branch-weak-5.d: New test.
2442 * testsuite/gas/mips/branch-weak.l: New stderr output.
2443 * testsuite/gas/mips/branch-weak.s: New test source.
2444 * testsuite/gas/mips/mips.exp: Run the new tests.
2445
c1f61bd2
MR
24462016-04-13 Maciej W. Rozycki <macro@imgtec.com>
2447
2448 * config/tc-mips.c (relaxed_branch_length): Use the long
2449 sequence where the distance cannot be determined.
2450 (relaxed_micromips_32bit_branch_length): Likewise.
2451 * testsuite/gas/mips/branch-extern-1.d: New test.
2452 * testsuite/gas/mips/branch-extern-2.d: New test.
2453 * testsuite/gas/mips/branch-extern-3.d: New test.
2454 * testsuite/gas/mips/branch-extern-4.d: New test.
2455 * testsuite/gas/mips/branch-extern.l: New stderr output.
2456 * testsuite/gas/mips/branch-extern.s: New test source.
2457 * testsuite/gas/mips/branch-section-1.d: New test.
2458 * testsuite/gas/mips/branch-section-2.d: New test.
2459 * testsuite/gas/mips/branch-section-3.d: New test.
2460 * testsuite/gas/mips/branch-section-4.d: New test.
2461 * testsuite/gas/mips/branch-section.l: New stderr output.
2462 * testsuite/gas/mips/branch-section.s: New test source.
2463 * testsuite/gas/mips/mips.exp: Run the new tests.
2464
f36e33da
CZ
24652016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
2466
2467 * testsuite/gas/arc/textauxregister.d: New file.
2468 * testsuite/gas/arc/textauxregister.s: Likewise.
2469 * testsuite/gas/arc/textcondcode.d: Likewise.
2470 * testsuite/gas/arc/textcondcode.s: Likewise.
2471 * testsuite/gas/arc/textcoreregister.d: Likewise.
2472 * testsuite/gas/arc/textcoreregister.s: Likewise.
2473 * testsuite/gas/arc/textpseudoop.d: Likewise.
2474 * testsuite/gas/arc/textpseudoop.s: Likewise.
2475 * testsuite/gas/arc/ld2.d: Update test.
2476 * testsuite/gas/arc/st.d: Likewise.
2477 * testsuite/gas/arc/taux.d: Likewise.
2478 * doc/c-arc.texi (ARC Directives): Add .extCondCode,
2479 .extCoreRegister and .extAuxRegister documentation.
2480 * config/tc-arc.c (arc_extcorereg): New function.
2481 (md_pseudo_table): Add .extCondCode, .extCoreRegister and
2482 .extAuxRegister pseudo-ops.
2483 (extRegister_t): New type.
2484 (ext_condcode, arc_aux_hash): New global variable.
2485 (find_opcode_match): Check for extensions.
2486 (preprocess_operands): Likewise.
2487 (md_begin): Add aux registers in a hash.
2488 (assemble_insn): Update use arc_flags member.
2489 (tokenize_extregister): New function.
2490 (create_extcore_section): Likewise.
2491 * config/tc-arc.h (arc_flags): Delete code, add flgp.
2492
1c2e355e
CZ
24932016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
2494
2495 * testsuite/gas/arc/noargs_a7.d: New file.
2496 * testsuite/gas/arc/noargs_a7.s: Likewise.
2497 * testsuite/gas/arc/noargs_hs.d: Likewise.
2498 * testsuite/gas/arc/noargs_hs.s: Likewise.
2499
b99747ae
CZ
25002016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
2501
2502 * testsuite/gas/arc/textinsn-errors.d: New File.
2503 * testsuite/gas/arc/textinsn-errors.err: Likewise.
2504 * testsuite/gas/arc/textinsn-errors.s: Likewise.
2505 * testsuite/gas/arc/textinsn2op.d: Likewise.
2506 * testsuite/gas/arc/textinsn2op.s: Likewise.
2507 * testsuite/gas/arc/textinsn2op01.d: Likewise.
2508 * testsuite/gas/arc/textinsn2op01.s: Likewise.
2509 * testsuite/gas/arc/textinsn3op.d: Likewise.
2510 * testsuite/gas/arc/textinsn3op.s: Likewise.
2511 * doc/c-arc.texi (ARC Directives): Add .extInstruction
2512 documentation.
2513 * config/tc-arc.c (arcext_section): New variable.
2514 (arc_extinsn): New function.
2515 (md_pseudo_table): Add .extInstruction pseudo op.
2516 (attributes_t): New type.
2517 (suffixclass, syntaxclass, syntaxclassmod): New constant
2518 structures.
2519 (find_opcode_match): Remove arc_num_opcodes.
2520 (md_begin): Likewise.
2521 (tokenize_extinsn): New function.
2522 (arc_set_ext_seg): Likewise.
2523 (create_extinst_section): Likewise.
2524
37ab9779
CZ
25252016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
2526
2527 * config/tc-arc.c (preprocess_operands): Mark AUX symbol.
2528 (arc_adjust_symtab): New function.
2529 * config/tc-arc.h (ARC_FLAG_AUX): Define.
2530 (obj_adjust_symtab): Likewise.
2531 * testsuite/gas/arc/taux.d: New file.
2532 * testsuite/gas/arc/taux.s: Likewise.
2533
41a1578e
MR
25342016-04-09 Maciej W. Rozycki <macro@imgtec.com>
2535
2536 * config/tc-mips.c (s_option): Sanitize `.option picX'
2537 pseudo-op.
2538 * testsuite/gas/mips/option-pic-1.d: New test.
2539 * testsuite/gas/mips/option-pic-2.l: New list test.
2540 * testsuite/gas/mips/option-pic-1.s: New test source.
2541 * testsuite/gas/mips/option-pic-2.s: New test source.
2542 * testsuite/gas/mips/mips.exp: Run the new tests.
2543
668c5ebc
MR
25442016-04-09 Maciej W. Rozycki <macro@imgtec.com>
2545
2546 * config/tc-mips.c (s_option): Reject `.option picX' if VxWorks
2547 PIC.
2548 * testsuite/gas/mips/option-pic-vxworks-1.l: New list test.
2549 * testsuite/gas/mips/option-pic-vxworks-2.l: New list test.
2550 * testsuite/gas/mips/option-pic-vxworks-1.s: New test source.
2551 * testsuite/gas/mips/option-pic-vxworks-2.s: New test source.
2552 * testsuite/gas/mips/mips.exp: Run the new tests.
2553
41065f5e
MR
25542016-04-09 Maciej W. Rozycki <macro@imgtec.com>
2555
2556 * config/tc-mips.c (can_swap_branch_p): Correct call formatting.
2557
08918cc8
MR
25582016-04-09 Maciej W. Rozycki <macro@imgtec.com>
2559
2560 * messages.c (as_bad): Fix a typo in description.
2561
1357373c
MR
25622016-04-09 Maciej W. Rozycki <macro@imgtec.com>
2563
2564 * config/tc-mips.c (mips_check_options): Unify messages.
2565
5f4678bb
MR
25662016-04-09 Maciej W. Rozycki <macro@imgtec.com>
2567
2568 * config/tc-mips.c (mips_check_options): Use `opts->isa'
2569 consistently.
2570
992dc2c4
NC
25712016-04-08 Nick Clifton <nickc@redhat.com>
2572
2573 PR target/19910
2574 * testsuite/gas/sparc/pr19910-1.d: Adjust regexps to work with
2575 COFF and AOUT sparc targets.
2576
a42a4f84
AB
25772016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
2578
2579 * config/tc-arc.h (MAX_FLAG_NAME_LENGTH): Increase to 7.
2580 * testsuite/gas/arc/nps400-2.d: New file.
2581 * testsuite/gas/arc/nps400-2.s: New file.
2582
1328504b
AB
25832016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
2584
2585 * config/tc-arc.c (struct arc_opcode_hash_entry_iterator): New
2586 structure.
2587 (arc_opcode_hash_entry_iterator_init): New function.
2588 (arc_opcode_hash_entry_iterator_next): New function.
2589 (find_opcode_match): Iterate over all arc_opcode entries
2590 referenced by the arc_opcode_hash_entry passed in as a parameter.
2591
b9b47ab7
AB
25922016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
2593
2594 * config/tc-arc.c (arc_find_opcode): Now returns
2595 arc_opcode_hash_entry pointer.
2596 (find_opcode_match): Update argument type, extract arc_opcode from
2597 incoming arc_opcode_hash_entry.
2598 (find_special_case_pseudo): Update return type.
2599 (find_special_case_flag): Update return type.
2600 (find_special_case): Update return type.
2601 (assemble_tokens): Lookup arc_opcode_hash_entry based on
2602 instruction mnemonic, then use find_opcode_match to identify
2603 specific arc_opcode.
2604
da5be039
AB
26052016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
2606
2607 * config/tc-arc.c (struct arc_opcode_hash_entry): New structure.
2608 (arc_find_opcode): New function.
2609 (find_special_case_pseudo): Use arc_find_opcode.
2610 (find_special_case_flag): Likewise.
2611 (assemble_tokens): Likewise.
2612 (md_begin): Build hash using struct arc_opcode_hash_entry.
2613
e6ba1cba
CZ
26142016-04-07 Claudiu Zissulescu <claziss@synopsys.com>
2615
abe051ba
AM
2616 * config/tc-arc.c (arc_option): Prepare string for automatic
2617 translation.
2618 (declare_register): Likewise.
e6ba1cba 2619
b607cde1
JG
26202016-04-06 James Greenhalgh <james.greenhalgh@arm.com>
2621
2622 * doc/c-aarch64.texi (Architecture Extensions): Add entry for LSE.
2623 Correct entry for RDMA. Alpha sort entries.
2624
692166c2
AB
26252016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
2626
2627 * config/tc-arc.c (tokenize_flags): Allow greater range of
2628 characters into flag names.
2629
22b92fc4
AB
26302016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
2631
2632 * config/tc-arc.c (find_opcode_match): Handle O_symbol case, add
2633 new de_fault label.
2634 (preprocess_operands): Delete.
2635 (assemble_tokens): Remove call to preprocess_operands.
2636
e140100a
NC
26372016-04-07 Nick Clifton <nickc@redhat.com>
2638
2639 PR gas/19910
2640 * config/tc-sparc.c (sparc_ip): Report an error if the expression
2641 inside a %-macro could not be fully parsed.
2642 * expr.c (integer_constant): Accept and ignore U suffixes to
2643 integers.
2644 (operand): When a missing closing parenthesis is encountered,
2645 report the character that was found instead.
2646 * testsuite/gas/mips/tls-ill.l: Update expected error message.
2647 * testsuite/gas/sparc/pr19910-1.d: New test driver.
2648 * testsuite/gas/sparc/pr19910-1.s: New test.
2649 * testsuite/gas/sparc/pr19910-2.l: Expected error output.
2650 * testsuite/gas/sparc/pr19910-2.s: New test.
2651 * testsuite/gas/sparc/sparc.exp: Run the new tests.
2652
927f2d25
NC
26532016-04-06 Nick Clifton <nickc@redhat.com>
2654
2655 * config/tc-msp430.c (msp430_operands): Check for a NOP preceding
2656 an EINT instruction. Warn/fix as necessary.
2657 * testsuite/gas/msp430/bad.s: Add test of EINT without preceding NOP.
2658 * testsuite/gas/msp430/bad.l: Update expected messages.
2659
820f03ff
AB
26602016-04-05 Andrew Burgess <andrew.burgess@embecosm.com>
2661
2662 * testsuite/gas/arc/nps400-1.d: Update expected results.
2663 * testsuite/gas/arc/nps400-1.s: Additional test cases.
2664
8ddf6b2a
CZ
26652016-04-05 Claudiu Zissulescu <claziss@synopsys.com>
2666
abe051ba
AM
2667 * config/tc-arc.c (is_code_density_p): Compare directly the
2668 subclass field.
2669 (is_spfp_p, is_dpfp_p, is_spfp_p): Define.
2670 (check_cpu_feature): New function.
2671 (find_opcode_match): Use check_cpu_feature function.
2672 (preprocess_operands): Likewise.
2673 (md_parse_option): Use mfpuda, mdpfp, mspfp options.
2674 * testsuite/gas/arc/tdpfp.d: New file.
2675 * testsuite/gas/arc/tfpuda.d: Likewise.
2676 * testsuite/gas/arc/tfpx.s: Likewise.
8ddf6b2a 2677
589a7d88
JW
26782016-04-05 Jiong Wang <jiong.wang@arm.com>
2679
2680 * config/tc-arm.c (do_neon_mac_maybe_scalar): Allow F16.
2681 * testsuite/gas/arm/armv8-2-fp16-simd.s: New tests.
2682 * testsuite/gas/arm/armv8-2-fp16-simd.d: New expected results.
2683 * testsuite/gas/arm/armv8-2-fp16-simd-thum.d: Likewise for Thumb.
2684 * testsuite/gas/arm/armv8-2-fp16-simd-warning.l: New warning results.
2685 * testsuite/gas/arm/simd_by_scalar_low_regbank.s: New test source.
2686 * testsuite/gas/arm/simd_by_scalar_low_regbank.d: New testcase.
abe051ba
AM
2687 * testsuite/gas/arm/simd_by_scalar_low_regbank_thumb.d: Likewise
2688 for Thumb.
589a7d88
JW
2689 * testsuite/gas/arm/simd_by_scalar_low_regbank.l: New warning results.
2690
6ec1f282
CZ
26912016-04-05 Claudiu Zissulescu <claziss@synopsys.com>
2692
abe051ba 2693 * config/tc-arc.c (assemble_insn): Prohibit pc-rel relocations for
6ec1f282 2694 JUMP instructions type.
abe051ba
AM
2695 * testsuite/gas/arc/relocs-errors.d: New file.
2696 * testsuite/gas/arc/relocs-errors.err: Likewise.
2697 * testsuite/gas/arc/relocs-errors.s: Likewise.
6ec1f282 2698
0796a629
L
26992016-04-04 H.J. Lu <hongjiu.lu@intel.com>
2700
2701 PR gas/19909
2702 * config/tc-i386.c (check_VecOperands): Try vec_disp8 encoding
2703 only if i.disp_encoding != disp_encoding_32bit.
2704 * gas/testsuite/gas/i386/disp32.s: Add tests for vmovdqu64.d32.
2705 * gas/testsuite/gas/i386/x86-64-disp32.s: Likewise.
2706 * gas/testsuite/gas/i386/disp32.d: Updated.
2707 * gas/testsuite/gas/i386/x86-64-disp32.d: Likewise.
2708
df41fdf4
L
27092016-04-04 H.J. Lu <hongjiu.lu@intel.com>
2710
2711 PR gas/19498
2712 * testsuite/gas/i386/i386.exp: Run pr19498.
2713 * testsuite/gas/i386/pr19498.d: New file.
2714 * testsuite/gas/i386/pr19498.s: Likewise.
2715
26cdfd92
AB
27162016-04-04 Andrew Burgess <andrew.burgess@embecosm.com>
2717
2718 * config/tc-arc.h: Include 'opcode/arc.h'.
2719 (MAX_INSN_ARGS): Delete.
2720 (MAX_INSN_FLGS): Delete.
2721
22987cec
AM
27222016-04-04 Alan Modra <amodra@gmail.com>
2723
2724 PR 19498
2725 * symbols.c (resolve_symbol_value): Clear sy_resolving on exit
2726 from function on all paths that set sy_resolving.
2727
325801bd
TS
27282016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2729
2730 * app.c (app_push): use XNEW macro.
2731 * as.c: Likewise.
2732 * config/obj-elf.c (obj_elf_change_section): Likewise.
2733 (elf_copy_symbol_attributes): Likewise.
2734 (obj_elf_size): Likewise.
2735 (build_group_lists): Likewise.
2736 * config/tc-aarch64.c (add_operand_error_record): Likewise.
2737 (md_assemble): Likewise.
2738 (tc_gen_reloc): Likewise.
2739 (get_upper_str): Likewise.
2740 (aarch64_parse_features): Likewise.
2741 * config/tc-arm.c (insert_reg_alias): Likewise.
2742 (insert_neon_reg_alias): Likewise.
2743 (find_or_make_literal_pool): Likewise.
2744 (s_arm_elf_cons): Likewise.
2745 (add_unwind_opcode): Likewise.
2746 (arm_parse_extension): Likewise.
2747 * config/tc-avr.c (create_record_for_frag): Likewise.
2748 * config/tc-crx.c: Likewise.
2749 * config/tc-d30v.c: Likewise.
2750 * config/tc-dlx.c (s_proc): Likewise.
2751 * config/tc-ft32.c: Likewise.
2752 * config/tc-h8300.c: Likewise.
2753 * config/tc-hppa.c (pa_proc): Likewise.
2754 (create_new_space): Likewise.
2755 (create_new_subspace): Likewise.
2756 * config/tc-i860.c: Likewise.
2757 * config/tc-i960.c: Likewise.
2758 * config/tc-ia64.c: Likewise.
2759 * config/tc-iq2000.c (iq2000_add_macro): Likewise.
2760 (iq2000_record_hi16): Likewise.
2761 * config/tc-m32c.c (m32c_indirect_operand): Likewise.
2762 * config/tc-m32r.c (debug_sym): Likewise.
2763 (m32r_record_hi16): Likewise.
2764 * config/tc-m68k.c (m68k_ip): Likewise.
2765 (md_begin): Likewise.
2766 * config/tc-mcore.c: Likewise.
2767 * config/tc-microblaze.c (check_got): Likewise.
2768 * config/tc-mips.c (append_insn): Likewise.
2769 (s_mipsset): Likewise.
2770 (mips_record_label): Likewise.
2771 (s_mips_end): Likewise.
2772 * config/tc-mmix.c (mmix_frob_file): Likewise.
2773 * config/tc-mn10200.c: Likewise.
2774 * config/tc-mn10300.c: Likewise.
2775 * config/tc-moxie.c: Likewise.
2776 * config/tc-msp430.c: Likewise.
2777 * config/tc-nds32.c (nds32_elf_save_pseudo_pattern): Likewise.
2778 * config/tc-ns32k.c: Likewise.
2779 * config/tc-or1k.c: Likewise.
2780 * config/tc-pdp11.c: Likewise.
2781 * config/tc-pj.c (fake_opcode): Likewise.
2782 * config/tc-ppc.c (ppc_apuinfo_section_add): Likewise.
2783 (ppc_macro): Likewise.
2784 (ppc_dwsect): Likewise.
2785 (ppc_machine): Likewise.
2786 * config/tc-rl78.c (rl78_frag_init): Likewise.
2787 * config/tc-rx.c (rx_frag_init): Likewise.
2788 * config/tc-s390.c (s390_lit_suffix): Likewise.
2789 (s390_machine): Likewise.
2790 (s390_machinemode): Likewise.
2791 * config/tc-score.c (s3_insert_reg): Likewise.
2792 (s3_gen_reloc): Likewise.
2793 * config/tc-score7.c (s7_insert_reg): Likewise.
2794 (s7_gen_reloc): Likewise.
2795 * config/tc-tic30.c (tic30_operand): Likewise.
2796 * config/tc-tic4x.c (tic4x_inst_make): Likewise.
2797 * config/tc-tic54x.c (stag_add_field): Likewise.
2798 (tic54x_struct): Likewise.
2799 (tic54x_space): Likewise.
2800 (tic54x_field): Likewise.
2801 (tic54x_mlib): Likewise.
2802 (subsym_substitute): Likewise.
2803 * config/tc-tic6x.c (tic6x_frob_label): Likewise.
2804 * config/tc-vax.c: Likewise.
2805 * config/tc-xc16x.c: Likewise.
2806 * config/tc-xtensa.c (xtensa_add_insn_label): Likewise.
2807 (directive_push): Likewise.
2808 (xtensa_begin_directive): Likewise.
2809 (tokenize_arguments): Likewise.
2810 (xtensa_add_literal_sym): Likewise.
2811 (new_resource_table): Likewise.
2812 (resize_resource_table): Likewise.
2813 (emit_single_op): Likewise.
2814 (xtensa_create_trampoline_frag): Likewise.
2815 (xtensa_maybe_create_literal_pool_frag): Likewise.
2816 (xtensa_add_config_info): Likewise.
2817 (xtensa_realloc_fixup_cache): Likewise.
2818 (add_subseg_info): Likewise.
2819 (cache_literal_section): Likewise.
2820 (add_xt_block_frags): Likewise.
2821 (add_xt_prop_frags): Likewise.
2822 (init_op_placement_info_table): Likewise.
2823 (build_section_rename): Likewise.
2824 * config/tc-z80.c: Likewise.
2825 * config/tc-z8k.c: Likewise.
2826 * depend.c (register_dependency): Likewise.
2827 * dwarf2dbg.c (get_line_subseg): Likewise.
2828 (dwarf2_gen_line_info_1): Likewise.
2829 (get_filenum): Likewise.
2830 * ecoff.c (allocate_scope): Likewise.
2831 (allocate_vlinks): Likewise.
2832 (allocate_shash): Likewise.
2833 (allocate_thash): Likewise.
2834 (allocate_tag): Likewise.
2835 (allocate_forward): Likewise.
2836 (allocate_thead): Likewise.
2837 (allocate_lineno_list): Likewise.
2838 * expr.c (make_expr_symbol): Likewise.
2839 * hash.c (hash_new_sized): Likewise.
2840 * input-file.c (input_file_push): Likewise.
2841 * listing.c (file_info): Likewise.
2842 (listing_newline): Likewise.
2843 * macro.c (new_formal): Likewise.
2844 (define_macro): Likewise.
2845 * remap.c (add_debug_prefix_map): Likewise.
2846 * symbols.c (symbol_find_noref): Likewise.
2847 (define_dollar_label): Likewise.
2848 (fb_label_instance_inc): Likewise.
2849 (symbol_relc_make_value): Likewise.
2850
a44e2901
TS
28512016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2852
2853 * config/obj-elf.c (obj_elf_vendor_attribute): Use xstrdup.
2854 * config/tc-ppc.c (ppc_frob_file_before_adjust): Likewise.
2855 (ppc_znop): Likewise.
2856 (ppc_pe_section): Likewise.
2857 (ppc_frob_symbol): Likewise.
2858 * config/tc-tic30.c (tic30_operand): Likewise.
2859 * config/tc-tic4x.c (tic4x_sect): Likewise.
2860 (tic4x_usect): Likewise.
2861
ae2689b0
TS
28622016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2863
2864 * config/tc-alpha.c: Const qualify FLT_CHARS.
2865 * config/atof-ieee.c: Remove declarations of FLT_CHARS and EXP_CHARS.
2866 * config/tc-cris.h: Likewise.
2867 * expr.c: Likewise.
2868 * config/tc-mmix.c (md_atof): Adjust comment.
2869 * config/tc-mmix.h: Stop defining FLT_CHARS and EXP_CHARS as macros.
2870 * tc.h: Declare FLT_CHARS and EXP_CHARS.
2871
a51ef392
TS
28722016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2873
2874 * config/tc-score.c (s3_gen_reloc): Add const qualifiers.
2875 * config/tc-score7.c (s7_gen_reloc): Likewise.
2876
2fe88214
TS
28772016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2878
2879 * config/tc-arm.c (do_t_branch): Change the type of reloc to
2880 bfd_reloc_code_real_type.
2881
e1ec8109
TS
28822016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2883
2884 * config/bfin-parse.y (current_inputline): Remove definition.
2885 * config/tc-bfin.c (md_assemble): Simplify use of current_inputline.
2886
f73e41ef
TS
28872016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2888
2889 * config/tc-avr.c (md_parse_option): Use strcasecmp () to compare
2890 strings.
2891
62bd6b5f
AM
28922016-04-02 Alan Modra <amodra@gmail.com>
2893
2894 PR 19896
2895 * read.c (assign_symbol): Consume rest of line after an error
2896 rather than continuing to process the line.
2897
83cda17b
AB
28982016-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
2899
2900 * config/tc-arc.h (MAX_FLAG_NAME_LENGHT): Rename to...
2901 (MAX_FLAG_NAME_LENGTH): ...this.
2902 (struct arc_flags): Update to use MAX_FLAG_NAME_LENGTH.
2903 * config/tc-arc.c (tokenize_flags): Likewise.
2904
6d4af3c2
AM
29052016-04-01 Alan Modra <amodra@gmail.com>
2906
2907 * cgen.c (weak_operand_overflow_check): Return const char*.
2908 * messages.c (as_internal_value_out_of_range): Formatting.
2909 (as_warn_value_out_of_range): Consify prefix param.
2910 (as_bad_value_out_of_range): Likewise.
2911 * read.c (s_errwarn): Constify msg..
2912 (s_float_space, float_cons): ..and err.
2913 * as.h (as_warn_value_out_of_range, as_bad_value_out_of_range,
2914 ieee_md_atof, vax_md_atof): Update prototypes.
2915 * tc.h (md_atof): Update prototype.
2916 * config/atof-ieee.c (ieee_md_atof): Return const char*.
2917 * config/atof-vax.c (vax_md_atof): Likewise.
2918 * config/obj-elf.c (obj_elf_parse_section_letters): Constify bad_msg.
2919 * config/tc-aarch64.c (md_atof): Return const char*.
2920 * config/tc-alpha.c (s_alpha_section_name): Likewise.
2921 (s_alpha_comm): Constify sec_name.
2922 (section_name): Constify.
2923 (s_alpha_section): Consify name..
2924 (alpha_elf_section_letter): ..and ptr_msg param..
2925 (md_atof): ..and return.
2926 * config/tc-alpha.h (alpha_elf_section_letter): Update prototype.
2927 * config/tc-arc.c (md_atof): Return const char*.
2928 * config/tc-arm.c (md_atof): Likewise.
2929 * config/tc-avr.c (md_atof): Likewise.
2930 * config/tc-bfin.c (md_atof): Likewise.
2931 * config/tc-cr16.c (md_atof): Likewise.
2932 * config/tc-cris.c (md_atof): Likewise.
2933 * config/tc-crx.c (md_atof): Likewise.
2934 * config/tc-d10v.c (md_atof): Likewise.
2935 * config/tc-d30v.c (md_atof): Likewise.
2936 * config/tc-dlx.c (md_atof): Likewise.
2937 * config/tc-epiphany.c (md_atof): Likewise.
2938 * config/tc-fr30.c (md_atof): Likewise.
2939 * config/tc-frv.c (md_atof): Likewise.
2940 * config/tc-ft32.c (md_atof): Likewise.
2941 * config/tc-h8300.c (md_atof): Likewise.
2942 * config/tc-hppa.c (struct default_subspace_dict): Constify name.
2943 (struct default_space_dict): Likewise.
2944 (create_new_space): Constify name param.
2945 (create_new_subspace): Likewise.
2946 (is_defined_space, is_defined_subspace): Likewise.
2947 (pa_parse_space_stmt): Constify space_name param.
2948 (md_atof): Return const char*.
2949 (pa_spaces_begin): Constify name.
2950 * config/tc-i370.c (md_atof): Return const char*.
2951 * config/tc-i386.c (md_atof): Likewise.
2952 (x86_64_section_letter): Constify ptr_msg param.
2953 * config/tc-i386.h (x86_64_section_letter): Update prototype.
2954 * config/tc-i860.c (struct i860_it): Constify error.
2955 (md_atof): Return const char*.
2956 * config/tc-i960.c (md_atof): Likewise.
2957 * config/tc-ia64.c (md_atof): Likewise.
2958 (ia64_elf_section_letter): Constify ptr_msg param.
2959 * config/tc-ia64.h (ia64_elf_section_letter): Update prototype.
2960 * config/tc-ip2k.c (md_atof): Return const char*.
2961 * config/tc-iq2000.c (md_atof): Likewise.
2962 * config/tc-lm32.c (md_atof): Likewise.
2963 * config/tc-m32c.c (md_atof): Likewise.
2964 * config/tc-m32r.c (md_atof): Likewise.
2965 * config/tc-m68hc11.c (md_atof): Likewise.
2966 * config/tc-m68k.c (md_atof): Likewise.
2967 * config/tc-mcore.c (md_atof): Likewise.
2968 * config/tc-mep.c (md_atof): Likewise.
2969 (mep_elf_section_letter): Constify ptr_msg param.
2970 * config/tc-mep.h (mep_elf_section_letter): Update prototype.
2971 * config/tc-metag.c (md_atof): Return const char*.
2972 * config/tc-microblaze.c (md_atof): Likewise.
2973 * config/tc-microblaze.h (md_atof): Delete prototype.
2974 * config/tc-mips.c (mips_parse_argument_token): Constify err.
2975 (md_atof): Return const char*.
2976 * config/tc-mmix.c (md_atof): Likewise.
2977 * config/tc-mn10200.c (md_atof): Likewise.
2978 * config/tc-mn10300.c (md_atof): Likewise.
2979 * config/tc-moxie.c (md_atof): Likewise.
2980 * config/tc-msp430.c (md_atof): Likewise.
2981 * config/tc-mt.c (md_atof): Likewise.
2982 * config/tc-nds32.c (md_atof): Likewise.
2983 * config/tc-nios2.c (md_atof): Likewise.
2984 (nios2_elf_section_letter): Constify ptr_msg param.
2985 * config/tc-nios2.h (nios2_elf_section_letter): Update prototype.
2986 * config/tc-ns32k.c (md_atof): Return const char*.
2987 * config/tc-or1k.c (md_atof): Likewise.
2988 * config/tc-pdp11.c (struct pdp11_code): Constify error.
2989 (md_atof): Return const char*.
2990 * config/tc-pj.c (md_atof): Likewise.
2991 * config/tc-ppc.c (md_atof): Likewise.
2992 * config/tc-rl78.c (md_atof): Likewise.
2993 * config/tc-rx.c (md_atof): Likewise.
2994 * config/tc-s390.c (md_atof): Likewise.
2995 * config/tc-score.c (s3_atof, md_atof): Likewise.
2996 * config/tc-sh.c (md_atof): Likewise.
2997 * config/tc-sparc.c (struct sparc_it): Constify error.
2998 (md_atof): Return const char*.
2999 * config/tc-spu.c (md_atof): Likewise.
3000 * config/tc-tic30.c (md_atof): Likewise.
3001 * config/tc-tic4x.c (md_atof): Likewise.
3002 * config/tc-tic54x.c (md_atof): Likewise.
3003 * config/tc-tic6x.c (md_atof): Likewise.
3004 * config/tc-tilegx.c (md_atof): Likewise.
3005 * config/tc-tilepro.c (md_atof): Likewise.
3006 * config/tc-v850.c (parse_register_list, md_atof): Likewise.
3007 * config/tc-vax.c (md_atof): Likewise.
3008 * config/tc-visium.c (md_atof): Likewise.
3009 * config/tc-xc16x.c (md_atof): Likewise.
3010 * config/tc-xgate.c (md_atof): Likewise.
3011 * config/tc-xstormy16.c (md_atof): Likewise.
3012 * config/tc-xtensa.c (md_atof): Likewise.
3013 * config/tc-z80.c (md_atof): Likewise.
3014 * config/tc-z8k.c (md_atof): Likewise.
3015
e4a0c708
TS
30162016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3017
3018 * config/tc-xtensa.c (struct rename_section_struct): Make old_name
3019 const.
3020 (xtensa_section_rename): Make argument type const char *.
3021 * config/tc-xtensa.h (xtensa_section_rename): Adjust.
3022
e2c7dcae
TS
30232016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3024
3025 * config/tc-i960.c (parse_ldconst): Cast to char * when assigning to
3026 args[0].
3027
f854977c
TS
30282016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3029
3030 * config/tc-m32c.c (m32c_md_end): cast the argument to md_assemble to
3031 char *.
3032 (m32c_indirect_operand): Likewise.
3033 * config/tc-nds32.c (do_pseudo_b): Likewise.
3034 (do_pseudo_bal): Likewise.
3035 (do_pseudo_ls_bhw): Likewise.
3036
97830986
TS
30372016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3038
3039 * as.c (parse_args): Cast literal to char * when assigning to optarg.
3040
e87de513
TS
30412016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3042
3043 * config/tc-ia64.c (md_assemble): Add temporary variable to pass to
3044 get_symbol_name ().
3045 * config/tc-sparc.c (s_register): Cast a literal to char * in
3046 assignment.
3047
47990a6a
TS
30482016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3049
3050 * config/tc-i960.c (parse_expr): Cast to char * when assigning to
3051 input_line_pointer.
3052 * config/tc-m32r.c (expand_debug_syms): Likewise.
3053 * config/tc-msp430.c (msp430_dstoperand): Likewise.
3054 * config/tc-z80.c (md_begin): Likewise.
3055 * stabs.c (stabs_generate_asm_func): Likewise.
3056
e046cf80
TS
30572016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3058
3059 * cgen.c: Modernize the way functions declare arguments.
3060 * config/tc-bfin.c: Likewise.
3061 * config/tc-pdp11.c: Likewise.
3062 * literal.c: Likewise.
3063 * read.c: Likewise.
3064 * stabs.c: Likewise.
3065
d9235011
TS
30662016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3067
3068 * config/tc-aarch64.c (aarch64_handle_align): Make the type of some
3069 variables unsigned char[].
3070 * config/tc-alpha.c (alpha_handle_align): Likewise.
3071 * config/tc-arm.c (arm_handle_align): Likewise.
3072 * config/tc-z80.c: Likewise.
3073
c6025a80
NC
30742016-03-30 Nick Clifton <nickc@redhat.com>
3075
3076 PR target/19880
3077 * config/tc-arm.c (do_t_push_pop): Cast bitmask to unsigned before
3078 shifting.
3079
f89a23cf
CZ
30802016-03-30 Claudiu Zissulescu <claziss@synopsys.com>
3081
abe051ba
AM
3082 * testsuite/gas/all/gas.exp: Don't xfail on ARC.
3083 * testsuite/gas/elf/elf.exp: Likewise.
3084 * testsuite/gas/all/redef3.d: Allow execution for ARC.
f89a23cf 3085
f621ad3c
CZ
30862016-03-30 Claudiu Zissulescu <claziss@synopsys.com>
3087
abe051ba 3088 * testsuite/gas/arc/warn.exp: Fix matching pattern.
f621ad3c 3089
f2dd8838
CZ
30902016-03-29 Claudiu Zissulescu <claziss@synopsys.com>
3091
abe051ba
AM
3092 * testsuite/gas/arc/ext2op.d: New file.
3093 * testsuite/gas/arc/ext2op.s: Likewise.
3094 * testsuite/gas/arc/ext3op.d: Likewise.
3095 * testsuite/gas/arc/ext3op.s: Likewise.
f2dd8838 3096
17b9d67d
TS
30972016-03-29 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3098
3099 * config/tc-aarch64.c (struct aarch64_long_option_table): Ad const
3100 qualifier.
3101 * config/tc-alpha.c (md_parse_option): Likewise.
3102 * config/tc-arc.c (md_parse_option): Likewise.
3103 * config/tc-arm.c (struct arm_long_option_table): Likewise.
3104 (md_parse_option): Likewise.
3105 * config/tc-avr.c (md_parse_option): Likewise.
3106 * config/tc-bfin.c (md_parse_option): Likewise.
3107 * config/tc-cr16.c (md_parse_option): Likewise.
3108 * config/tc-cris.c (s_cris_arch): Likewise.
3109 (md_parse_option): Likewise.
3110 * config/tc-crx.c (md_parse_option): Likewise.
3111 * config/tc-d10v.c (md_parse_option): Likewise.
3112 * config/tc-d30v.c (md_parse_option): Likewise.
3113 * config/tc-dlx.c (md_parse_option): Likewise.
3114 * config/tc-epiphany.c (md_parse_option): Likewise.
3115 * config/tc-fr30.c (md_parse_option): Likewise.
3116 * config/tc-frv.c (md_parse_option): Likewise.
3117 * config/tc-ft32.c (md_parse_option): Likewise.
3118 * config/tc-h8300.c (md_parse_option): Likewise.
3119 * config/tc-hppa.c (md_parse_option): Likewise.
3120 * config/tc-i370.c (md_parse_option): Likewise.
3121 * config/tc-i386.c (md_parse_option): Likewise.
3122 * config/tc-i860.c (md_parse_option): Likewise.
3123 * config/tc-i960.c (md_parse_option): Likewise.
3124 * config/tc-ia64.c (md_parse_option): Likewise.
3125 * config/tc-ip2k.c (md_parse_option): Likewise.
3126 * config/tc-iq2000.c (md_parse_option): Likewise.
3127 * config/tc-lm32.c (md_parse_option): Likewise.
3128 * config/tc-m32c.c (md_parse_option): Likewise.
3129 * config/tc-m32r.c (md_parse_option): Likewise.
3130 * config/tc-m68hc11.c (md_parse_option): Likewise.
3131 * config/tc-m68k.c (md_parse_option): Likewise.
3132 * config/tc-mcore.c (md_parse_option): Likewise.
3133 * config/tc-mep.c (md_parse_option): Likewise.
3134 * config/tc-metag.c (struct metag_long_option): Likewise.
3135 (md_parse_option): Likewise.
3136 * config/tc-microblaze.c (md_parse_option): Likewise.
3137 * config/tc-microblaze.h (md_parse_option): Remove prototype.
3138 * config/tc-mips.c (md_parse_option): Adjust.
3139 * config/tc-mmix.c (md_parse_option): Likewise.
3140 * config/tc-mn10200.c (md_parse_option): Likewise.
3141 * config/tc-mn10300.c (md_parse_option): Likewise.
3142 * config/tc-moxie.c (md_parse_option): Likewise.
3143 * config/tc-msp430.c (md_parse_option): Likewise.
3144 * config/tc-mt.c (md_parse_option): Likewise.
3145 * config/tc-nds32.c (md_parse_option): Likewise.
3146 * config/tc-nds32.h (nds32_parse_option): Likewise.
3147 * config/tc-nios2.c (md_parse_option): Likewise.
3148 * config/tc-ns32k.c (md_parse_option): Likewise.
3149 * config/tc-or1k.c (md_parse_option): Likewise.
3150 * config/tc-pdp11.c (md_parse_option): Likewise.
3151 * config/tc-pj.c (md_parse_option): Likewise.
3152 * config/tc-ppc.c (md_parse_option): Likewise.
3153 * config/tc-rl78.c (md_parse_option): Likewise.
3154 * config/tc-rx.c (md_parse_option): Likewise.
3155 * config/tc-s390.c (s390_parse_cpu): Likewise.
3156 * config/tc-score.c (md_parse_option): Likewise.
3157 * config/tc-sh.c (md_parse_option): Likewise.
3158 * config/tc-sparc.c (md_parse_option): Likewise.
3159 * config/tc-spu.c (md_parse_option): Likewise.
3160 * config/tc-tic30.c (md_parse_option): Likewise.
3161 * config/tc-tic4x.c (md_parse_option): Likewise.
3162 * config/tc-tic54x.c (md_parse_option): Likewise.
3163 * config/tc-tic6x.c (md_parse_option): Likewise.
3164 * config/tc-tilegx.c (md_parse_option): Likewise.
3165 * config/tc-tilepro.c (md_parse_option): Likewise.
3166 * config/tc-v850.c (md_parse_option): Likewise.
3167 * config/tc-vax.c (md_parse_option): Likewise.
3168 * config/tc-visium.c (struct visium_long_option_table): Likewise.
3169 * config/tc-xc16x.c (md_parse_option): Likewise.
3170 * config/tc-xgate.c (md_parse_option): Likewise.
3171 * config/tc-xstormy16.c (md_parse_option): Likewise.
3172 * config/tc-xtensa.c (md_parse_option): Likewise.
3173 * config/tc-z80.c (md_parse_option): Likewise.
3174 * config/tc-z8k.c (md_parse_option): Likewise.
3175 * tc.h (md_parse_option): Likewise.
3176
30bd735c
TS
31772016-03-29 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3178
3179 * config/tc-bfin.c (gencode): Use XOBNEW obstack_alloc () wrapper.
3180 * config/tc-hppa.c (fix_new_hppa): Likewise.
3181 (pa_vtable_entry): Likewise.
3182 (pa_vtable_inherit): Likewise.
3183 * config/tc-m68k.c (md_begin): Likewise.
3184
82b8a785
TS
31852016-03-28 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3186
3187 * config/obj-elf.c (obj_elf_section_name): Return const char *.
3188 * config/obj-elf.h (obj_elf_section_name): Adjust.
3189 * config/tc-aarch64.c (aarch64_parse_features): Likewise.
3190 (aarch64_parse_cpu): Likewise.
3191 (aarch64_parse_arch): Likewise.
3192 * config/tc-arm.c (arm_parse_extension): Likewise.
3193 (arm_parse_cpu): Likewise.
3194 (arm_parse_arch): Likewise.
3195 * config/tc-nds32.c: Likewise.
3196 * config/xtensa-relax.c (parse_special_fn): Likewise.
3197 * stabs.c (generate_asm_file): Likewise.
3198
9202e88a
TS
31992016-03-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3200
3201 * config/tc-cr16.c (cr16_assemble): New function.
3202 (md_assemble): Call cr16_assemble.
3203
a90fb5e3
TS
32042016-03-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3205
3206 * as.c (parse_args): Adjust.
3207 * as.h (flag_size_check): Rename to flag_allow_nonconst_size.
3208 * config/obj-elf.c (elf_frob_symbol): Adjust.
3209
f65c3d1b
JM
32102016-03-24 Jose E. Marchesi <jose.marchesi@oracle.com>
3211
3212 * config/tc-sparc.c (sparc_ip): Remove the V9 restriction on ASR
3213 registers to be in the 16..31 range.
3214
e742e119
TS
32152016-03-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3216
3217 * config/tc-microblaze.c (md_assemble): Cast opc to char * when calling
3218 frag_var ().
3219
eda6e9a4
TS
32202016-03-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3221
3222 * config/tc-visium.c (md_atof): Localize the string returned on
3223 failure.
3224
b9bb4a93
TS
32252016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3226
3227 * config/tc-h8300.c (h8300_elf_section): Add const qualifiers.
3228 * config/tc-ia64.c (obj_elf_vms_common): Likewise.
3229 * config/tc-m68hc11.c (md_begin): Likewise.
3230 (print_opcode_list): Likewise.
3231 * config/tc-msp430.c (msp430_section): Likewise.
3232 * config/tc-score.c (struct s3_insn_to_dependency): Likewise.
3233 (s3_build_dependency_insn_hsh): Likewise.
3234 * config/tc-score7.c (struct s7_insn_to_dependency): Likewise.
3235 (s7_build_dependency_insn_hsh): Likewise.
3236 * config/tc-tic4x.c: Likewise.
3237 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
3238 (subsym_get_arg): Likewise.
3239 * config/tc-xtensa.c (struct suffix_reloc_map): Likewise.
3240 (get_directive): Likewise.
3241 (cache_literal_section): Likewise.
3242 * config/xtensa-relax.c: Likewise.
3243 * symbols.c (symbol_create): Likewise.
3244 (local_symbol_make): Likewise.
3245 (symbol_relc_make_expr): Likewise.
3246
986d894b
TS
32472016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3248
3249 * config/tc-pdp11.c (md_assemble): Remove useless if and assignment to
3250 str.
3251
74b4e47a
TS
32522016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3253
3254 * config/tc-sparc.c (sparc_regname_to_dw2regnum): Replace strchr ()
3255 call with a switch.
3256
0a433ebc
TS
32572016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3258
3259 * config/tc-ia64.c (ia64_do_align): Remove.
3260 (ia64_cons_align): Call do_align () directly.
3261 (dot_proc): Likewise.
3262 (stmt_float_cons): Likewise.
3263
8860a416
TS
32642016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3265
3266 * listing.c (listing_message): Use XNEW style allocation macros.
3267 * read.c (read_a_source_file): Likewise.
3268 (read_symbol_name): Likewise.
3269 (s_mri_common): Likewise.
3270 (assign_symbol): Likewise.
3271 (s_reloc): Likewise.
3272 (emit_expr_with_reloc): Likewise.
3273 (s_incbin): Likewise.
3274 (s_include): Likewise.
3275 * sb.c (sb_build): Likewise.
3276 (sb_check): Likewise.
3277
49636823
AM
32782016-03-22 Alan Modra <amodra@gmail.com>
3279
3280 * write.c (record_alignment): Revert 2016-02-18 change.
3281
39a0d071
AM
32822016-03-22 Alan Modra <amodra@gmail.com>
3283
3284 * config/tc-alpha.c (load_expression): Replace alloca with xmalloc.
3285 (emit_jsrjmp, tc_gen_reloc): Likewise.
3286 * config/tc-i370.c (i370_macro): Likewise.
3287
9780e045
NC
32882016-03-22 Nick Clifton <nickc@redhat.com>
3289
3290 * configure: Regenerate.
3291
e23e8ebe
AB
32922016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
3293
3294 * testsuite/gas/arc/nps400-0.d: New file.
3295 * testsuite/gas/arc/nps400-0.s: New file.
3296 * testsuite/gas/arc/nps400-1.d: New file.
3297 * testsuite/gas/arc/nps400-1.s: New file.
3298
1ae8ab47
AB
32992016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
3300
3301 * config/tc-arc.c (find_opcode_match): Move lnflg, and i
3302 declarations to start of block. Reset code on all flags before
3303 attempting to match them. Handle multiple hits on the same flag.
3304 Handle flag class.
3305 * testsuite/gas/arc/asm-errors.d: New file.
3306 * testsuite/gas/arc/asm-errors.err: New file.
3307 * testsuite/gas/arc/asm-errors.s: New file.
3308
8699fc3e
AB
33092016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
3310
3311 * config/tc-arc.c (cpu_types): Add nps400 entry.
3312 (check_zol): Handle nps400.
3313
a9522a21
AB
33142016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
3315
3316 * config/tc-arc.c (arc_select_cpu): Remove use of
3317 EF_ARC_CPU_GENERIC.
3318
24740d83
AB
33192016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
3320
3321 * config/tc-arc.c (arc_target): Delay initialisation until
3322 arc_select_cpu.
3323 (arc_target_name): Likewise.
3324 (arc_features): Likewise.
3325 (arc_mach_type): Likewise.
3326 (cpu_types): Remove "all" entry.
3327 (arc_select_cpu): New function, most of the content is from...
3328 (md_parse_option): ... here. Call new arc_select_cpu.
3329 (md_begin): Call arc_select_cpu if needed, default is now arc700.
3330
62f6f9c2
AB
33312016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
3332
3333 * testsuite/gas/arc/inline-data-1.d: Add target restriction.
3334 * testsuite/gas/arc/inline-data-2.d: New file.
3335
e1fa0163
NC
33362016-03-21 Nick Clifton <nickc@redhat.com>
3337
3338 * atof-generic.c: Replace use of alloca with call to xmalloc.
3339 * cgen.c: Likewise.
3340 * dwarf2dbg.c: Likewise.
3341 * macro.c: Likewise.
3342 * remap.c: Likewise.
3343 * stabs.c: Likewise.
3344 * symbols.c: Likewise.
3345 * config/obj-elf.c: Likewise.
3346 * config/tc-aarch64.c: Likewise.
3347 * config/tc-arc.c: Likewise.
3348 * config/tc-arm.c: Likewise.
3349 * config/tc-avr.c: Likewise.
3350 * config/tc-ia64.c: Likewise.
3351 * config/tc-mips.c: Likewise.
3352 * config/tc-msp430.c: Likewise.
3353 * config/tc-nds32.c: Likewise.
3354 * config/tc-ppc.c: Likewise.
3355 * config/tc-sh.c: Likewise.
3356 * config/tc-tic30.c: Likewise.
3357 * config/tc-tic54x.c: Likewise.
3358 * config/tc-xstormy16.c: Likewise.
3359 * config/te-vms.c: Likewise.
3360 * configure: Regenerate.
3361
bad6e36d
TS
33622016-03-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3363
3364 * tc-i386.c (f32_1): Change type to unsigned char[].
3365 (f32_2): Likewise.
3366 (f32_3): Likewise.
3367 (f32_4): Likewise.
3368 (f32_5): Likewise.
3369 (f32_6): Likewise.
3370 (f32_7): Likewise.
3371 (f32_8): Likewise.
3372 (f32_9): Likewise.
3373 (f32_10): Likewise.
3374 (f32_11): Likewise.
3375 (f32_12): Likewise.
3376 (f32_13): Likewise.
3377 (f32_14): Likewise.
3378 (f16_3): Likewise.
3379 (f16_4): Likewise.
3380 (f16_5): Likewise.
3381 (f16_6): Likewise.
3382 (f16_7): Likewise.
3383 (f16_8): Likewise.
3384 (jump_31): Likewise.
3385 (f32_patt): Likewise.
3386 (f16_patt): Likewise.
3387 (alt_3): Likewise.
3388 (alt_4): Likewise.
3389 (alt_5): Likewise.
3390 (alt_6): Likewise.
3391 (alt_7): Likewise.
3392 (alt_8): Likewise.
3393 (alt_9): Likewise.
3394 (alt_10): Likewise.
3395 (alt_patt): Likewise.
3396
6387924a
NC
33972016-03-18 Nick Clifton <nickc@redhat.com>
3398
30fab421
NC
3399 * doc/c-aarch64.texi (AArch64 Directives): Add descriptions of
3400 .cpu, .dword, .even, .inst. .tlsdescadd, .tlsdesccall,
3401 .tlsdescldr and .xword directives.
3402
8678914f
NC
3403 PR target/19721
3404 * testsuite/gas/aarch64/pr19721.s: New test source file.
3405 * testsuite/gas/aarch64/pr19721.d: New test driver file.
3406
6387924a
NC
3407 * doc/as.texinfo: Place the target specific command line options
3408 into their own man page section.
3409
cc933301
JW
34102016-03-16 Jiong Wang <jiong.wang@arm.com>
3411
3412 * config/tc-arm.c (N_S_32): New.
3413 (N_F_16_32): Likewise.
3414 (N_SUF_32): Support N_F16.
3415 (N_IF_32): Likewise.
3416 (neon_dyadic_misc): Likewise.
3417 (do_neon_cmp): Likewise.
3418 (do_neon_cmp_inv): Likewise.
3419 (do_neon_mul): Likewise.
3420 (do_neon_fcmp_absolute): Likewise.
3421 (do_neon_step): Likewise.
3422 (do_neon_abs_neg): Likewise.
3423 (CVT_FLAVOR_VAR): Likewise.
3424 (do_neon_cvt_1): Likewise.
3425 (do_neon_recip_est): Likewise.
3426 (do_vmaxnm): Likewise.
3427 (do_vrint_1): Likewise.
3428 (neon_check_type): Check architecture support for FP16 extension.
3429 (insns): Update comments.
3430 * testsuite/gas/arm/armv8-2-fp16-simd.s: New test source.
3431 * testsuite/gas/arm/armv8-2-fp16-simd.d: New testcase for arm mode.
3432 * testsuite/gas/arm/armv8-2-fp16-simd-thumb.d: Likewise for thumb mode.
3433 * testsuite/gas/arm/armv8-2-fp16-simd-warning.d: New rejection test for
3434 arm mode.
3435 * testsuite/gas/arm/armv8-2-fp16-simd-warning-thumb.d: Likewise for
3436 thumb mode.
3437 * testsuite/gas/arm/armv8-2-fp16-simd-warning.l: New expected rejection
3438 error file.
3439
5f2b6bc9
NC
34402016-03-16 Nick Clifton <nickc@redhat.com>
3441
3442 * read.c (emit_expr_with_reloc): Add code check a bignum with
3443 nbytes == 1.
3444 * config/rx/rx-parse.y (rx_intop): Accept bignum values for sizes
3445 other than 32-bits.
3446 * testsuite/gas/elf/bignum.s: New test source file.
3447 * testsuite/gas/elf/bignum.d: New test driver file.
3448 * testsuite/gas/elf/elf.exp: Run the new test.
3449
4bde3cdd
UD
34502016-03-15 Ulrich Drepper <drepper@gmail.com>
3451
3452 * doc/c-i386.texi (Register Naming): Update to details of the
abe051ba 3453 latest architecture version.
4bde3cdd 3454
a9f02af8
MG
34552016-03-10 Mickael Guene <mickael.guene@st.com>
3456
3457 PR gas/19744
3458 * config/tc-arm.c (do_arit): Protect against bad relocations usage.
3459 (do_mov): Likewise.
3460 (do_t_add_sub): Allow pcrop relocations for Thumb-2 targets.
3461 (do_t_mov_cmp): Likewise.
3462 (do_t_add_sub): Protect against bad relocations usage.
3463 (do_t_mov_cmp): Likewise.
5dafb246
AM
3464 * testsuite/gas/arm/adds-thumb1-reloc-local-armv7-m.s: New.
3465 * testsuite/gas/arm/adds-thumb1-reloc-local-armv7-m.d: New.
3466 * testsuite/gas/arm/movs-thumb1-reloc-local-armv7-m.s: New.
3467 * testsuite/gas/arm/movs-thumb1-reloc-local-armv7-m.d: New.
a9f02af8 3468
aa8a0863
TS
34692016-03-09 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3470
3471 * config/tc-arm.c (neon_alignment_bit): Rename do_align to
3472 do_alignment.
3473 (do_neon_ld_st_lane): Likewise.
3474 (do_neon_ld_dup): Likewise.
3475
72f3b6aa
CZ
34762016-03-08 Andrew Burgess <andrew.burgess@embecosm.com>
3477
3478 * testsuite/gas/arc/inline-data-1.d: New file.
3479 * testsuite/gas/arc/inline-data-1.s: New file.
3480
5f474010
TP
34812016-03-07 Andre Vieira <andre.simoesdiasvieira@arm.com>
3482
3483 * config/tc-arm.c (arm_cpus): Add cortex-r8.
3484 * doc/c-arm.texi: Add cortex-r8.
3485
f86f5863
TS
34862016-03-07 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3487
3488 * config/tc-arc.c: Add const qualifiers.
3489 * config/tc-h8300.c (md_begin): Likewise.
3490 * config/tc-ia64.c (print_prmask): Likewise.
3491 * config/tc-msp430.c (msp430_operands): Likewise.
3492 * config/tc-nds32.c (struct suffix_name): Likewise.
3493 (struct nds32_parse_option_table): Likewise.
3494 (struct nds32_set_option_table): Likewise.
3495 (do_pseudo_pushpopm): Likewise.
3496 (do_pseudo_pushpop_stack): Likewise.
3497 (nds32_relax_relocs): Likewise.
3498 (nds32_flag): Likewise.
3499 (struct nds32_hint_map): Likewise.
3500 (nds32_find_reloc_table): Likewise.
3501 (nds32_match_hint_insn): Likewise.
3502 * config/tc-s390.c: Likewise.
3503 * config/tc-sh.c (get_specific): Likewise.
3504 * config/tc-tic30.c: Likewise.
3505 * config/tc-tic4x.c (tic4x_inst_add): Likewise.
3506 (tic4x_indirect_parse): Likewise.
3507 * config/tc-vax.c (vax_cons): Likewise.
3508 * config/tc-z80.c (struct reg_entry): Likewise.
3509 * config/tc-epiphany.c (md_assemble): Adjust.
3510 (epiphany_assemble): New function.
3511 (epiphany_elf_section_rtn): Call do_align directly.
3512 (epiphany_elf_section_text): Likewise.
3513 * config/tc-ip2k.c (ip2k_elf_section_rtn): Likewise.
3514 (ip2k_elf_section_text): Likewise.
3515 * read.c (do_align): Make it not static.
3516 * read.h (do_align): New prototype.
3517
9411fd44
MW
35182016-03-04 Matthew Wahab <matthew.wahab@arm.com>
3519
3520 * config/tc-arm.c (aeabi_set_public_attributes): Emit attribute
3521 for ARMv8.1 AdvSIMD use.
3522 * testsuite/gas/arm/attr-march-armv8-a+rdma.d: New.
3523 * testsuite/gas/arm/attr-march-armv8_1-a+simd.d: New.
3524
643afb90
MW
35252016-03-04 Matthew Wahab <matthew.wahab@arm.com>
3526
3527 * config/gas/tc-arm.c (fpu_neon_ext_v8_1): Restrict to the ARMv8.1 RDMA
3528 feature.
3529 (record_feature_use): New.
3530 (mark_feature_used): Use record_feature_use.
3531 (do_neon_qrdmlah): New.
3532 (insns): Use do_neon_qrdmlah for vqrdmlah and vqrdmlsh and
3533 variants.
3534 (arm_extensions): Put into alphabetical order. Re-indent "simd"
3535 and "rdma" entries. Fix the incorrect merge value for "+rdma".
3536 * testsuite/gas/arm/armv8-a+rdma-warning.d: New.
3537 * testsuite/gas/arm/armv8-a+rdma.d: Add assembler command line options.
3538 Make source file explicit.
3539 * testsuite/gas/arm/armv8-a+rdma.l: New.
3540 * testsuite/gas/arm/armv8-a+rdma.s: Remove .arch and .arch_extension
3541 directives. Fix white-space.
3542 * testsuite/gas/arm/armv8_1-a+simd.d: New.
3543
25aa3689
L
35442016-03-02 H.J. Lu <hongjiu.lu@intel.com>
3545
3546 * testsuite/gas/i386/x86_64-intel.d: Adjusted for COFF.
3547
841fdfcd
CZ
35482016-02-29 Cupertino Miranda <cmiranda@synopsys.com>
3549 Claudiu Zissulescu <Claudiu.Zissulescu@synopsys.com>
3550
abe051ba
AM
3551 * config/tc-arc.c (arc_extra_reloc): Change size to 0.
3552 (tc_arc_fix_adjustable): Changed default return value to 1.
3553 * testsuite/gas/arc/j.d: Updated expected symbol
3554 * testsuite/gas/arc/jl.d: Likewise
3555 * testsuite/gas/arc/relax-avoid1.d: Likewise
3556 * testsuite/gas/arc/st.d: Likewise
841fdfcd 3557
7e458899
CZ
35582016-02-29 Claudiu Zissulescu <Claudiu.Zissulescu@synopsys.com>
3559
3560 * config/tc-arc.c: Enable code density instructions for ARC EM.
3561
11e5f1ec
L
35622016-02-26 H.J. Lu <hongjiu.lu@intel.com>
3563
3564 PR ld/19645
3565 * NEWS: Mention --enable-elf-stt-common and --elf-stt-common=
3566 for ELF assemblers.
3567 * as.c (flag_use_elf_stt_common): New.
3568 (show_usage): Add --elf-stt-common=.
3569 (option_values): Add OPTION_ELF_STT_COMMON.
3570 (std_longopts): Add --elf-stt-common=.
3571 (parse_args): Handle --elf-stt-common=.
3572 * as.h (flag_use_elf_stt_common): New.
3573 * config.in: Regenerated.
3574 * configure: Likewise.
3575 * configure.ac: Add --enable-elf-stt-common and define
3576 DEFAULT_GENERATE_ELF_STT_COMMON.
3577 * gas/write.c (write_object_file): Set BFD_CONVERT_ELF_COMMON
3578 and BFD_USE_ELF_STT_COMMON if flag_use_elf_stt_common is set.
3579 * doc/as.texinfo: Document --elf-stt-common=.
3580 * testsuite/gas/elf/common3.s: New file.
3581 * testsuite/gas/elf/common3a.d: Likewise.
3582 * testsuite/gas/elf/common3b.d: Likewise.
3583 * testsuite/gas/elf/common4.s: Likewise.
3584 * testsuite/gas/elf/common4a.d: Likewise.
3585 * testsuite/gas/elf/common4b.d: Likewise.
3586 * testsuite/gas/i386/dw2-compress-3b.d: Likewise.
3587 * testsuite/gas/i386/dw2-compressed-3b.d: Likewise.
3588 * testsuite/gas/elf/elf.exp: Run common3a, common3b, common4a
3589 and common4b.
3590 * testsuite/gas/i386/dw2-compress-3.d: Renamed to ...
3591 * testsuite/gas/i386/dw2-compress-3a.d: This. Pass
3592 --elf-stt-common=no to as.
3593 * testsuite/gas/i386/dw2-compressed-3.d: Renamed to ...
3594 * testsuite/gas/i386/dw2-compressed-3a.d: This. Pass
3595 --elf-stt-common=no to as.
3596 * testsuite/gas/i386/i386.exp: Run dw2-compress-3a,
3597 dw2-compress-3b, dw2-compressed-3a and dw2-compressed-3b instead
3598 of dw2-compress-3 and dw2-compressed-3.
3599
e0471c16
TS
36002016-02-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3601
3602 * as.c (select_emulation_mode): Add const qualifiers.
3603 * as.h: Likewise.
3604 * config/bfin-defs.h: Likewise.
3605 * config/bfin-parse.y: Likewise.
3606 * config/rx-parse.y: Likewise.
3607 * config/tc-aarch64.c (struct aarch64_option_table): Likewise.
3608 (struct aarch64_cpu_option_table): Likewise.
3609 (struct aarch64_arch_option_table): Likewise.
3610 (struct aarch64_option_cpu_value_table): Likewise.
3611 (struct aarch64_long_option_table): Likewise.
3612 (struct aarch64_option_abi_value_table): Likewise.
3613 * config/tc-arm.c (struct reloc_entry): Likewise.
3614 (tc_gen_reloc): Likewise.
3615 (struct arm_option_table): Likewise.
3616 (struct arm_legacy_option_table): Likewise.
3617 (struct arm_cpu_option_table): Likewise.
3618 (struct arm_arch_option_table): Likewise.
3619 (struct arm_option_extension_value_table): Likewise.
3620 (struct arm_option_fpu_value_table): Likewise.
3621 (struct arm_option_value_table): Likewise.
3622 (struct arm_long_option_table): Likewise.
3623 * config/tc-avr.c (struct avr_opcodes_s): Likewise.
3624 (struct mcu_type_s): Likewise.
3625 (struct exp_mod_s): Likewise.
3626 (avr_operand): Likewise.
3627 (avr_operands): Likewise.
3628 * config/tc-d10v.c (md_begin): Likewise.
3629 * config/tc-dlx.c: Likewise.
3630 * config/tc-fr30.c (fr30_is_colon_insn): Likewise.
3631 * config/tc-ft32.c (parse_condition): Likewise.
3632 * config/tc-h8300.c (do_a_fix_imm): Likewise.
3633 * config/tc-hppa.c (pa_ip): Likewise.
3634 (hppa_regname_to_dw2regnum): Likewise.
3635 * config/tc-i370.c (i370_elf_suffix): Likewise.
3636 * config/tc-i960.c (struct tabentry): Likewise.
3637 * config/tc-m32r.c: Likewise.
3638 * config/tc-m68k.c: Likewise.
3639 * config/tc-m68k.h: Likewise.
3640 * config/tc-mcore.c (parse_psrmod): Likewise.
3641 * config/tc-metag.c (struct metag_core_option): Likewise.
3642 (struct metag_long_option): Likewise.
3643 * config/tc-microblaze.c: Likewise.
3644 * config/tc-mips.c (macro): Likewise.
3645 * config/tc-mn10200.c: Likewise.
3646 * config/tc-mn10300.c: Likewise.
3647 * config/tc-msp430.c (struct rcodes_s): Likewise.
3648 (struct hcodes_s): Likewise.
3649 (md_parse_option): Likewise.
3650 * config/tc-ns32k.c (struct ns32k_option): Likewise.
3651 (optlist): Likewise.
3652 * config/tc-ppc.c (ppc_elf_suffix): Likewise.
3653 (tc_ppc_regname_to_dw2regnum): Likewise.
3654 * config/tc-ppc.h: Likewise.
3655 * config/tc-rl78.c: Likewise.
3656 * config/tc-rx.c (struct cpu_type): Likewise.
3657 * config/tc-sh.c (sh_regname_to_dw2regnum): Likewise.
3658 * config/tc-sparc.c (struct priv_reg_entry): Likewise.
3659 (sparc_ip): Likewise.
3660 * config/tc-spu.c (insn_fmt_string): Likewise.
3661 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
3662 * config/tc-v850.c: Likewise.
3663 * config/tc-visium.c (struct visium_arch_option_table): Likewise.
3664 (struct visium_long_option_table): Likewise.
3665 * config/tc-xgate.c: Likewise.
3666 * config/tc-z8k.c: Likewise.
3667 * read.c (add_include_dir): Likewise.
3668 * read.h: Likewise.
3669
e6e7b7c4
AB
36702016-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
3671
3672 * testsuite/gas/all/gas.exp: Change target pattern to cover
3673 arceb-*.
3674 * testsuite/gas/all/redef3.d: Likewise.
3675 * testsuite/gas/elf/elf.exp: Likewise.
3676
9db2f6b4
RL
36772016-02-24 Renlin Li <renlin.li@arm.com>
3678
3679 * config/tc-arm.c (BAD_FP16): New error message macro.
3680 (do_scalar_fp16_v82_encode): Change the coproc field to 9 for armv8.2
3681 fp16 scalar instructions.
3682 (neon_check_type): Allow different size from key.
3683 (do_vfp_nsyn_add_sub): Add support SE_H shape support.
3684 (try_vfp_nsyn): Likewise.
3685 (do_vfp_nsyn_mla_mls): Likewise.
3686 (do_vfp_nsyn_fma_fms): Likewise.
3687 (do_vfp_nsyn_ldm_stm): Likewise
3688 (do_vfp_nsyn_sqrt): Likewise
3689 (do_vfp_nsyn_div): Likewise
3690 (do_vfp_nsyn_nmul): Likewise.
3691 (do_vfp_nsyn_cmp): Likewise.
3692 (do_neon_shll): Likewise.
3693 (do_vfp_nsyn_cvt_fpv8): Likewise.
3694 (do_neon_cvttb_2): Likewise.
3695 (do_neon_mov): Likewise.
3696 (do_neon_rshift_round_imm): Likewise.
3697 (do_neon_ldr_str): Likewise.
3698 (do_vfp_nsyn_fpv8): Likewise.
3699 (do_vmaxnm): Likewise.
3700 (do_vrint_1): Likewise.
3701 (insns): New entry for vins, vmovx.
3702 (md_apply_fix): Left shift 1 bit for fp16 vldr/vstr.
3703 * testsuite/gas/arm/armv8-2-fp16-scalar-thumb.d: New.
3704 * testsuite/gas/arm/armv8-2-fp16-scalar.d: New.
3705 * testsuite/gas/arm/armv8-2-fp16-scalar.s: New.
3706 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.s: New
3707 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.d: New
3708 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.l: New
3709
d54af2d0
RL
37102016-02-24 Renlin Li <renlin.li@arm.com>
3711
3712 * config/tc-arm.c (NEON_ENC_TAB): Add fp16 instruction shape.
3713 (neon_shape_class): New SC_HALF.
3714 (neon_shape_el): New SE_H.
3715 (neon_shape_el_size): New size for SE_H.
3716 (N_F_ALL): New macro to aggregate N_F16, N_F32, N_64.
3717 (neon_select_shape): Add SE_H support code.
3718 (el_type_of_type_chk): Use N_F_ALL.
3719 (do_vfp_nsyn_cvt): Add SE_H shape support.
3720 (do_neon_cvtz): Likewise.
3721 (do_neon_cvt_1): Likewise.
3722 (do_neon_cvttb_1): Likewise.
3723
b0c11777
RL
37242016-02-24 Renlin Li <renlin.li@arm.com>
3725
3726 * testsuite/gas/arm/copro.d: Adjust output.
3727 * testsuite/gas/arm/copro.s: Adjust co-processor num.
3728
3e309328
RL
37292016-02-24 Renlin Li <renlin.li@arm.com>
3730
3731 * testsuite/gas/arm/mask_1.d: New.
3732 * testsuite/gas/arm/mask_1.s: New.
3733
8afc7bea
RL
37342016-02-24 Renlin Li <renlin.li@arm.com>
3735
3736 * testsuite/gas/arm/copro.s: Use coprocessor other than 10, 11.
3737 * testsuite/gas/arm/copro.d: Update.
3738
6735952f
KT
37392016-02-24 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
3740
3741 * config/tc-arm.c (arm_cpus): Add entry for cortex-a32.
3742 * doc/c-arm.texi (ARM Options): Document cortex-a32.
3743
ed5491b9
KT
37442016-02-24 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
3745
abe051ba 3746 * doc/c-arm.texi (ARM Options): Document cortex-a17.
ed5491b9 3747
742e5034
L
37482016-02-23 H.J. Lu <hongjiu.lu@intel.com>
3749
3750 * testsuite/gas/elf/elf.exp: Skip tests for common directive on
3751 hpux.
3752
3b4dbbbf
TS
37532016-02-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3754
3755 * output-file.c (output_file_create): Make file name argument const.
3756 (output_file_close): Likewise.
3757 * output-file.h (output_file_create): Adjust.
3758 (output_file_close): Likewise.
3759 * depend.c (quote_string_for_make): Make src argument const char *.
3760 (register_dependency): Likewise.
3761 (wrap_output): Likewise.
3762 * as.h (register_dependency): Adjust.
3763 * config/tc-xtensa.c (finish_vinsn): Remove unnecessary calls to
3764 as_where ();
3765 * symbols.c (S_SET_EXTERNAL): Likewise.
3766 * input-scrub.c (as_where): Return the file name.
3767 * as.h (as_where): Adjust prototype.
3768 * app.c (do_scrub_chars): Adjust.
3769 * cond.c (s_elseif): Likewise.
3770 (s_else): Likewise.
3771 (initialize_cframe): Likewise.
3772 * config/obj-coff.c (obj_coff_init_stab_section): Likewise.
3773 * config/obj-elf.c (obj_elf_init_stab_section): Likewise.
3774 * config/obj-som.c (obj_som_init_stab_section): Likewise.
3775 * config/tc-aarch64.c (output_info): Likewise.
3776 * config/tc-ia64.c (md_assemble): Likewise.
3777 (dot_alias): Likewise.
3778 * config/tc-m68k.c (m68k_frob_label): Likewise.
3779 * config/tc-mmix.c (s_bspec): Likewise.
3780 (mmix_handle_mmixal): Likewise.
3781 * config/tc-rx.c (rx_include): Likewise.
3782 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
3783 (tic54x_adjust_symtab): Likewise.
3784 * config/tc-xtensa.c (directive_push): Likewise.
3785 (xtensa_sanity_check): Likewise.
3786 (xtensa_relax_frag): Likewise.
3787 (md_convert_frag): Likewise.
3788 (tinsn_to_slotbuf): Likewise.
3789 * dwarf2dbg.c (dwarf2_where): Likewise.
3790 * ecoff.c (add_file): Likewise.
3791 (ecoff_generate_asm_lineno): Likewise.
3792 * expr.c (make_expr_symbol): Likewise.
3793 * frags.c (frag_new): Likewise.
3794 (frag_var_init): Likewise.
3795 * listing.c (listing_newline): Likewise.
3796 * messages.c (identify): Likewise.
3797 (as_show_where): Likewise.
3798 (as_warn_internal): Likewise.
3799 (as_bad_internal): Likewise.
3800 * read.c (s_irp): Likewise.
3801 (s_macro): Likewise.
3802 (s_reloc): Likewise.
3803 * stabs.c (stabs_generate_asm_file): Likewise.
3804 (stabs_generate_asm_lineno): Likewise.
3805 (stabs_generate_asm_func): Likewise.
3806 * write.c (fix_new_internal): Likewise.
3807 * as.h (PRINTF_WHERE_LIKE): Make file name argument const.
3808 (as_warn_value_out_of_range): Adjust prototype.
3809 (as_bad_value_out_of_range): Adjust prototype.
3810 * messages.c (identify): Make file name argument const char *.
3811 (as_warn_internal): Likewise.
3812 (as_warn_where): Likewise.
3813 (as_bad_internal): Likewise.
3814 (as_bad_where): Likewise.
3815 (as_internal_value_out_of_range): Likewise.
3816 (as_warn_value_out_of_range): Likewise.
3817 (as_bad_value_out_of_range): Likewise.
3818 * as.h (found_comment_file): Change type to const char *.
3819 * cond.c (file_line::file): Likewise.
3820 * config/obj-coff.c (obj_coff_init_stab_section): Make variable const.
3821 * config/obj-elf.c (obj_elf_init_stab_section): Likewise.
3822 * config/obj-som.c (obj_som_init_stab_section): Likewise.
3823 * config/tc-aarch64.c (output_info): Likewise.
3824 * config/tc-alpha.c (insert_operand): Likewise.
3825 * config/tc-arc.c (insert_operand): Likewise.
3826 * config/tc-d30v.c (check_size): Likewise.
3827 * config/tc-ia64.c (struct alias): Likewise.
3828 * config/tc-m68k.c (struct label_line): Likewise.
3829 * config/tc-mcore.c (md_apply_fix): Likewise.
3830 * config/tc-microblaze.c (md_estimate_size_before_relax): Likewise.
3831 * config/tc-mips.c (mips16_immed): Likewise.
3832 * config/tc-mmix.c (mmix_handle_mmixal): Likewise.
3833 * config/tc-ppc.c (ppc_insert_operand): Likewise.
3834 * config/tc-rx.c (rx_include): Likewise.
3835 * config/tc-s390.c (s390_insert_operand): Likewise.
3836 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
3837 (tic54x_adjust_symtab): Likewise.
3838 * config/tc-tilegx.c (insert_operand): Likewise.
3839 (apply_special_operator): Likewise.
3840 * config/tc-tilepro.c (insert_operand): Likewise.
3841 * config/tc-xtensa.c (directive_push): Likewise.
3842 * ecoff.c (add_file): Likewise.
3843 (ecoff_generate_asm_lineno): Likewise.
3844 * listing.c (listing_newline): Likewise.
3845 * read.c (s_irp): Likewise.
3846 * write.c (install_reloc): Likewise.
3847 * write.h (struct fix): Likewise.
3848 * input-file.c (file_name): Change type to const char *.
3849 (saved_file::file_name): Likewise.
3850 (input_file_open): Change type of argument to const char *.
3851 * input-file.h (input_file_open): Adjust.
3852 * input-scrub.c (logical_input_file): change type to const char *.
3853 (physical_input_file): Likewise.
abe051ba 3854 (struct input_save): Adjust.
3b4dbbbf
TS
3855 (input_scrub_push): Adjust.
3856 (input_scrub_begin): Adjust.
3857 (as_where): Adjust.
3858 * input-scrub.c (input_scrub_new_file): Make file name argument const.
3859 (input_scrub_include_file): Likewise.
3860 (new_logical_line_flags): Likewise.
3861 (new_logical_line): Likewise.
3862 * as.h: Adjust.
3863 * frags.h (struct frag): Change type of fr_file to const char *.
3864 * expr.c (expr_symbol_where): Change type of file argument to
3865 const char **.
3866 * expr.h (expr_symbol_where): Likewise.
3867 * config/tc-i370.c (md_apply_fix): adjust.
3868 * config/tc-mmix.c (mmix_md_end): Likewise.
3869 * config/tc-ppc.c (md_apply_fix): Likewise.
3870 * config/tc-s390.c (md_apply_fix): Likewise.
3871 * symbols.c (report_op_error): Likewise.
3872 (resolve_symbol_value): Likewise.
3873 * config/tc-ia64.c (slot::src_file): Change type to const char *.
3874 (rsrc::file): Likewise.
3875 * config/tc-xtensa.c (xtensa_sanity_check): Change type of variable to
3876 const char *.
3877 (xtensa_relax_frag): Likewise.
3878 (md_convert_frag): Likewise.
3879 (tinsn_to_slotbuf): Likewise.
3880 * expr.c (expr_symbol_line): Likewise.
3881 * macro.c (define_macro): Likewise.
3882 * macro.h (macro_struct): Likewise.
3883 * messages.c (as_show_where): Likewise.
3884 * read.c (s_macro): Likewise.
3885 * stabs.c (stabs_generate_asm_file): Likewise.
3886 (generate_asm_file): Likewise.
3887 (stabs_generate_asm_lineno): Likewise.
3888 * write.h (struct reloc_list): Likewise.
3889 * input-scrub.c (as_where): Change return type to const char *.
3890 * as.h (as_wheree): Adjust.
3891
8ecb73dd
L
38922016-02-21 H.J. Lu <hongjiu.lu@intel.com>
3893
3894 * write.c (compress_debug): Move BFD compression bits setting
3895 to ...
3896 (write_object_file): Here.
3897
200cbe0f
L
38982016-02-20 H.J. Lu <hongjiu.lu@intel.com>
3899
3900 * config/tc-i386.c (register_number): Check RegVRex.
3901 * testsuite/gas/i386/x86-64-avx512f.s: Add a test for vgatherqpd
3902 with %zmm19 and %zmm3.
3903 * testsuite/gas/i386/x86-64-avx512f-intel.d: Updated.
3904 * testsuite/gas/i386/x86-64-avx512f.d: Likewise.
3905
b8ec4e87
JW
39062016-02-19 Matthew Wahab <matthew.wahab@arm.com>
3907 Jiong Wang <jiong.wang@arm.com>
3908
3909 * config/tc-arm.c (arm_ext_fp16): New.
3910 (arm_extensions): New entry for "fp16".
3911
3be64886
NC
39122016-02-19 Nick Clifton <nickc@redhat.com>
3913
3914 PR 19630
3915 * read.c (read_a_source_file): Check for assemble_one returning
3916 with input_line_pointer set to NULL.
3917
3b4dbbbf 39182016-02-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
cd0bbe6e 3919
3d13c647
TS
3920 * listing.c (rebuffer_line): Change return type to void.
3921
cd0bbe6e
TS
3922 * symbols.c (decode_local_label_name): Make type a const char *.
3923 * listing.c (print_source): Make type of p const char *.
3924 (print_line): Make type of string const char *.
3925 (buffer_line): Return const char *.
3926 (title): Make type const char *.
3927 (subtitle): Likewise.
3928 (listing_listing): Make type of p const char *.
3929 * messages.c (as_internal_value_out_of_range): Make type of prefix
3930 const char *.
3931 * stabs.c (s_stab_generic): make type of stab_secname, stabstr_secname
3932 and string const char *.
3933 * read.c (_bfd_rel): Make type of name const char *.
3934 * app.c (out_string): Change type to const char *.
abe051ba 3935 (struct app_save::out_string): Likewise.
cd0bbe6e 3936
9136aa49
DG
39372016-02-18 Dan Gisselquist <dgisselq@verizon.net>
3938 Nick Clifton <nickc@redhat.com>
3939
3940 * read.c (finish_bundle): Avoid recording a negative alignment.
3941 (do_align): Use unsigned values for n, len and max. Only create
3942 a frag if the alignment requirement is greater than the minimum
3943 byte alignment. Avoid recording a negative alignment.
3944 (s_align): Use unsigned values where appropriate.
3945 (bss_alloc): Use an unsigned value for the alignment.
3946 (sizeof_sleb128): Add a comment noting that we encode one octet
3947 per byte, regardless of the value of OCTETS_PER_BYTE_POWER.
3948 (emit_leb129_expr): Abort if the emitted encoding was longer than
3949 expected.
3950 * read.h (output_leb128): Update prototype.
3951 (sizeof_leb128): Update prototype.
3952 (bss_alloc): Update prototype.
3953 * write.c (record_alignment): Use an unsigned value for the
3954 alignment. Do not record alignments less than the minimum
3955 alignment for a byte.
3956 * write.h (record_alignment): Update prototype.
3957
4111950f
MF
39582016-02-17 Max Filippov <jcmvbkbc@gmail.com>
3959
3960 * config/tc-xtensa.c (xtensa_move_literals): Fix check for
3961 .init.literal/.fini.literal section name.
3962 * testsuite/gas/xtensa/all.exp: Add init-fini-literals to the
3963 list of xtensa tests.
3964 * testsuite/gas/xtensa/init-fini-literals.d: New file:
3965 init-fini-literals test result patterns.
3966 * testsuite/gas/xtensa/init-fini-literals.s: New file:
3967 init-fini-literals test.
3968
b27c40ec
NC
39692016-02-17 Nick Clifton <nickc@redhat.com>
3970
3971 * config/tc-msp430.c (msp430_mcu_data): Sync with data from TI's
3972 devices.csv file as of March 2016.
3973
726c18e1
CZ
39742016-02-16 Claudiu Zissulescu <claziss@synopsys.com>
3975
3976 * config/tc-arc.c (tc_arc_frame_initial_instructions): New
3977 function.
3978 (tc_arc_regname_to_dw2regnum): Likewise.
3979 * config/tc-arc.h (TARGET_USE_CFIPOP): Define
3980 (tc_cfi_frame_initial_instructions): Likewise.
3981 (tc_regname_to_dw2regnum): Likewise.
5dafb246
AM
3982 * testsuite/gas/cfi/cfi-arc-1.d: New file.
3983 * testsuite/gas/cfi/cfi-arc-1.s: Likewise.
3984 * testsuite/gas/cfi/cfi.exp: Allow running tests for arc.
726c18e1 3985
9406ee73
TS
39862016-02-16 Trevor Saunders <tbsaunde@tbsaunde.org>
3987
3988 * doc/internals.texi (S_IS_EXTERN): Remove.
3989
eda683bb
NC
39902016-02-16 Nick Clifton <nickc@redhat.com>
3991
3992 * doc/as.texinfo (Section): Fix up texinfo snafus in previous
3993 update.
3994
671eeb28
RL
39952016-02-16 Renlin Li <renlin.li@arm.com>
3996
3997 PR gas/19620
3998 * config/tc-aarch64.c (parse_half): Remove restrictions on symbol name.
3999 * testsuite/gas/aarch64/movw_label.d: New.
4000 * testsuite/gas/aarch64/movw_label.s: New.
4001
804021fb 40022016-02-15 Vinay Kumar G. <Vinay.G@kpit.com>
6439ea1a 4003
58cda018 4004 PR gas/19556
6439ea1a
VK
4005 * config/rx-parse.y (MOV): Opcode generation for index
4006 register addressing mode.
4007 * testsuite/gas/rx/rx.exp: Updated for new testcase.
4008 * testsuite/gas/rx/pr19665.s: New file.
4009 * testsuite/gas/rx/pr19665.s: New file.
4010 * testsuite/gas/rx/mov.d: Update expected output.
4011
804021fb 40122016-02-15 Nick Clifton <nickc@redhat.com>
9fb71ee4
NC
4013
4014 * doc/as.texinfo (.section): Document that numeric values can now
4015 be used for the flags and type fields of the ELF target's .section
4016 directive. Add notes about the restrictions on setting flags and
4017 types.
4018 * config/obj-elf.c (obj_elf_change_section): Allow known sections
4019 to be given processor specific section types. Allow processor and
4020 application specific flags of a section to be set after
4021 definition.
4022 (obj_elf_parse_section_letters): Handle parsing numeric values.
4023 (obj_elf_section_type): Handle parsing numeric values.
4024 (obj_elf_section): Allow numeric type values.
4025 * config/obj-elf.h (obj_elf_change_section): Update prototype.
4026 * testsuite/gas/elf/section10.d: New test.
4027 * testsuite/gas/elf/section10.s: Source file for new test.
4028 * testsuite/gas/elf/elf.exp: Run the new test.
4029 * testsuite/gas/i386/ilp32/x86-64-unwind.d: Remove dependency upon
4030 the description of the flags produced by readelf.
4031 * testsuite/gas/tic6x/scomm-directive-4.d: Likewise.
4032 * NEWS: Mention the new feature.
4033
bd5608dc
NC
40342016-02-11 Nick Clifton <nickc@redhat.com>
4035
4036 PR gas/19614
4037 * dw2gencfi.c (cfi_sections_set): Delay setting this variable
4038 until it is actually used.
4039 (cfi_set_sections): Set cfi_sections_set to true.
4040 (dot_cfi_startproc): Likewise.
4041 (dot_cfi_endproc): Likewise.
4042 (dot_cfi_fde_data): Likewise.
4043 (cfi_finish): Likewise.
4044 (dot_cfi_sections): Do not set cfi_sections_set.
4045 * doc/as.texinfo (.cfi_sections): Note that targets can provide
4046 their own cfi section name. Also note that the directive can be
4047 reissued provided that CFI generation has not started.
4048 * testsuite/gas/mips/compact-eh-err2.s: Add .cfi_startproc and
4049 .cfi_endproc directives so that the redefinition of .cfi_sections
4050 will trigger the generation of the error message.
4051 * testsuite/gas/mips/compact-eh-err2.l: Update expected line
4052 number of error message.
4053
4670103e
CZ
40542016-02-10 Claudiu Zissulescu <claziss@synopsys.com>
4055 Janek van Oirschot <jvanoirs@synopsys.com>
4056
4057 * config/tc-arc.h (TC_FRAG_TYPE, TC_PCREL_ADJUST, MAX_INSN_ARGS)
4058 (MAX_INSN_FLGS, MAX_FLAG_NAME_LENGHT, TC_GENERIC_RELAX_TABLE):
4059 Define.
4060 (arc_flags, arc_relax_type): New structure.
4061 * config/tc-arc.c (FRAG_MAX_GROWTH, RELAX_TABLE_ENTRY)
4062 (RELAX_TABLE_ENTRY_MAX): New define.
4063 (relaxation_state, md_relax_table, arc_relaxable_insns)
4064 (arc_num_relaxable_ins): New variable.
4065 (rlx_operand_type, arc_rlx_types): New enums.
4066 (arc_relaxable_ins): New structure.
4067 (OPTION_RELAX): New option.
4068 (arc_insn): New relax member.
4069 (arc_flags): Remove.
4070 (relax_insn_p): New function.
4071 (apply_fixups): Likewise.
4072 (relaxable_operand): Likewise.
4073 (may_relax_expr): Likewise.
4074 (relaxable_flag): Likewise.
4075 (arc_pcrel_adjust): Likewise.
4076 (md_estimate_size_before_relax): Implement.
4077 (md_convert_frag): Likewise.
4078 (md_parse_option): Handle new mrelax option.
4079 (md_show_usage): Likewise.
4080 (assemble_insn): Set relax member.
4081 (emit_insn0): New function.
4082 (emit_insn1): Likewise.
4083 (emit_insn): Handle relaxation case.
4084 * NEWS: Mention the new relaxation option.
4085 * doc/c-arc.texi (ARC Options): Document new mrelax option.
4086 * doc/as.texinfo (Target ARC Options): Likewise.
4087 * testsuite/gas/arc/relax-avoid1.d: New file.
4088 * testsuite/gas/arc/relax-avoid1.s: Likewise.
4089 * testsuite/gas/arc/relax-avoid2.d: Likewise.
4090 * testsuite/gas/arc/relax-avoid2.s: Likewise.
4091 * testsuite/gas/arc/relax-avoid3.d: Likewise.
4092 * testsuite/gas/arc/relax-avoid3.s: Likewise.
4093 * testsuite/gas/arc/relax-b.d: Likewise.
4094 * testsuite/gas/arc/relax-b.s: Likewise.
4095
9264d325
NC
40962016-02-08 Nick Clifton <nickc@redhat.com>
4097
4098 * config/tc-ia64.c (dot_prologue): Fix formatting.
4099
39306124
NC
41002016-02-04 Nick Clifton <nickc@redhat.com>
4101
4102 * config/obj-elf.c (obj_elf_change_section): Remove support for
4103 ARM NOREAD sections.
4104 * config/tc-arm.c (arm_elf_section_letter): Delete.
4105 * config/tc-arm.h (md_elf_section_letter): Delete.
4106 * doc/c-arm.texi (ARM Section Attribute): Delete section.
4107 * testsuite/gas/arm/section-execute-only.d: Delete.
4108 * testsuite/gas/arm/section-execute-only.s: Delete.
4109
c1d9289f
NC
41102016-02-04 Nick Clifton <nickc@redhat.com>
4111
4112 PR target/19561
4113 * config/tc-msp430.c (msp430_operands): Remove case 7. Use case 2
4114 to handle encoding of RRUX instruction.
4115 * testsuite/gas/msp430/msp430x.s: Add more tests of the extended
4116 shift instructions.
4117 * testsuite/gas/msp430/msp430x.d: Update expected disassembly.
4118
ea173078
MF
41192016-02-03 Max Filippov <jcmvbkbc@gmail.com>
4120
4121 * config/tc-xtensa.c (md_apply_fix): Mark BFD_RELOC_XTENSA_DIFF*
4122 substitutions for BFD_RELOC_* as unsigned.
c1d9289f
NC
4123 * testsuite/gas/xtensa/all.exp: Add loc to list of xtensa tests.
4124 * testsuite/gas/xtensa/loc.d: New file: loc test result patterns.
4125 * testsuite/gas/xtensa/loc.s: New file: loc test.
ea173078 4126
3d8efabf
KB
41272016-02-03 Kevin Buettner <kevinb@redhat.com>
4128
abe051ba 4129 * config/tc-msp430.h (DWARF2_ADDR_SIZE): Set to 4.
3d8efabf 4130
0cb4071e
L
41312016-02-03 H.J. Lu <hongjiu.lu@intel.com>
4132
4133 PR gas/19520
4134 * NEWS: Mention new command line option -mrelax-relocations and
4135 new configure option --enable-x86-relax-relocations for x86
4136 target.
4137 * config.in: Regenerated.
4138 * configure.ac: Add --enable-x86-relax-relocations.
4139 (ac_default_x86_relax_relocations): New. Default to 1 except
4140 for x86 Solaris targets older than Solaris 12.
4141 (DEFAULT_GENERATE_X86_RELAX_RELOCATIONS): Define.
4142 * configure: Likewise.
4143 * config/tc-i386.c (generate_relax_relocations): New.
4144 (OPTION_MRELAX_RELOCATIONS): Likewise.
4145 (output_disp): Don't generate relax relocations if
4146 generate_relax_relocations is 0.
4147 (md_longopts): Add -mrelax-relocations.
4148 (md_show_usage): Likewise.
4149 (md_parse_option): Handle OPTION_MRELAX_RELOCATIONS.
4150 * doc/c-i386.texi: Document -mrelax-relocations=.
4151 * testsuite/gas/i386/got-no-relax.d: New file.
4152 * testsuite/gas/i386/x86-64-gotpcrel-no-relax.d: Likewise.
4153 * testsuite/gas/i386/got.d: Pass -mrelax-relocations=yes to as.
4154 * testsuite/gas/i386/localpic.d: Likewise.
4155 * testsuite/gas/i386/mixed-mode-reloc32.d: Likewise.
4156 * testsuite/gas/i386/reloc32.d: Likewise.
4157 * testsuite/gas/i386/x86-64-gotpcrel.d: Likewise.
4158 * testsuite/gas/i386/x86-64-localpic.d: Likewise.
4159 * testsuite/gas/i386/ilp32/x86-64-gotpcrel.d: Likewise.
4160 * testsuite/gas/i386/ilp32/x86-64-localpic.d: Likewise.
4161 * testsuite/gas/i386/i386.exp: Run got-no-relax and
4162 x86-64-gotpcrel-no-relax.
4163
9d3fc4e1
L
41642016-02-03 H.J. Lu <hongjiu.lu@intel.com>
4165
4166 * NEWS: Mention new command line option -mfence-as-lock-add=yes
4167 for x86 target.
4168
ab71ce86
L
41692016-02-03 H.J. Lu <hongjiu.lu@intel.com>
4170
4171 * NEWS: Remove duplicated marker for 2.26.
4172
46d70d04
RL
41732016-02-02 Renlin Li <renlin.li@arm.com>
4174
4175 * testsuite/gas/arm/thumb2_it_search.d: Skip non-elf targets.
4176
0f99255d
AB
41772016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
4178
4179 * testsuite/gas/ip2k/allinsn.d: New file.
4180 * testsuite/gas/ip2k/allinsn.s: New file.
4181 * testsuite/gas/ip2k/ip2k-allinsn.exp: New file.
4182
5d7a9011
AB
41832016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
4184
4185 * testsuite/gas/epiphany/addr-syntax.d: Add explicit 0 offset to
4186 some load instructions.
4187 * testsuite/gas/epiphany/allinsn.d: Likewise.
4188 * testsuite/gas/epiphany/regression.d: Likewise.
4189
a012b298
AB
41902016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
4191
4192 * testsuite/gas/epiphany/addr-syntax.d: Remove unneeded '.l'
4193 suffixes from instruction mnemonics in expected output.
4194 * testsuite/gas/epiphany/allinsn.d: Likewise.
4195 * testsuite/gas/epiphany/regression.d: Likewise.
4196 * testsuite/gas/epiphany/sample.d: Likewise.
4197
2f74d480
AB
41982016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
4199
4200 * testsuite/gas/epiphany/addr-syntax.d: Update expected register
4201 names.
4202 * testsuite/gas/epiphany/allinsn.d: Likewise.
4203 * testsuite/gas/epiphany/sample.d: Likewise.
4204
b89807c6
AB
42052016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
4206
4207 * testsuite/gas/epiphany/sample.d: Update expected output.
4208
b125bd17
CZ
42092016-01-26 Claudiu Zissulescu <claziss@synopsys.com>
4210
abe051ba
AM
4211 * config/tc-arc.c (md_apply_fix): Allow addendum.
4212 (arc_reloc_op): Allow complex expressions for tpoff.
4213 (md_apply_fix): Handle resolved TLS local symbol.
b125bd17
CZ
4214 * testsuite/gas/arc/tls-relocs1.d: New file.
4215 * testsuite/gas/arc/tls-relocs1.s: Likewise.
4216
4f1d6205
L
42172016-02-01 Loria <Loria@phantasia.org>
4218
4219 PR target/19311
4220 * config/tc-arm.c (encode_arm_immediate): Recode to improve
4221 efficiency and avoid an LLVM loop optimization bug.
4222
ac0d427f
NC
42232016-02-01 Nick Clifton <nickc@redhat.com>
4224
4225 * config/tc-microblaze.c (parse_imm): Fix compile time warning
4226 message extending a negative 32-bit value into a larger signed
4227 value on a 32-bit host.
4228
348ef89a
L
42292016-01-29 H.J. Lu <hongjiu.lu@intel.com>
4230
4231 PR gas/19532
4232 * configure.ac (compressed_debug_sections): Replace == with =.
4233 * configure: Regenerated.
4234
e4e00185
AS
42352016-01-29 Andrew Senkevich <andrew.senkevich@intel.com>
4236 H.J. Lu <hongjiu.lu@intel.com>
4237
4238 * config/tc-i386.c (avoid_fence): New.
4239 (output_insn): Encode as lock addl $0x0, (%{r,e}sp) if avoid_fence
4240 is true.
4241 (OPTION_FENCE_AS_LOCK_ADD): New.
4242 (md_longopts): Add -mfence-as-lock-add.
4243 (md_parse_option): Handle -mfence-as-lock-add.
4244 (md_show_usage): Add -mfence-as-lock-add=[no|yes].
4245 * doc/c-i386.texi (-mfence-as-lock-add): Document.
ac2789d7
L
4246 * testsuite/gas/i386/i386.exp: Run new tests.
4247 * testsuite/gas/i386/fence-as-lock-add.s: New.
4248 * testsuite/gas/i386/fence-as-lock-add-yes.d: Likewise.
4249 * testsuite/gas/i386/fence-as-lock-add-no.d: Likewise.
4250 * testsuite/gas/i386/x86-64-fence-as-lock-add-yes.d: Likewise.
4251 * testsuite/gas/i386/x86-64-fence-as-lock-add-no.d: Likewise.
e4e00185 4252
27ba7c94
L
42532016-01-27 H.J. Lu <hongjiu.lu@intel.com>
4254
4255 * configure.ac (compressed_debug_sections): Remove trailing `]'.
4256 * configure: Regenerated.
4257
d1982f93
L
42582016-01-25 H.J. Lu <hongjiu.lu@intel.com>
4259
4260 * config/tc-i386.c (OPTION_OMIT_LOCK_PREFIX): Renamed to ...
4261 (OPTION_MOMIT_LOCK_PREFIX): This.
4262 (md_longopts): Updated.
4263 (md_parse_option): Likewise.
4264
00acd688
CM
42652016-01-25 Catherine Moore <clm@codesourcery.com>
4266
4267 * config/mips/tc-mips.c (md_begin): Avoid gp-relative addressing
4268 if abicalls are in effect.
4269 * testsuite/gas/mips/sdata-gp.s: New test.
4270 * testsuite/gas/mips/sdata-gp.d: New expected output
4271 * testsuite/gas/mips/mips.exp: Run new test.
4272
5bc5ae88
RL
42732016-01-25 Renlin Li <renlin.li@arm.com>
4274
4275 * testsuite/gas/arm/thumb2_it_search.d: New.
4276 * testsuite/gas/arm/thumb2_it_search.s: New.
4277
61e137e2
NC
42782016-01-21 Nick Clifton <nickc@redhat.com>
4279
4280 PR gas/19454
4281 * testsuite/gas/arm/mapshort-elf.d: Fix expected output to cope
4282 with arm-netbsdelf target.
4283 * testsuite/gas/arm/blx-bl-convert.d: Skip for netbsdelf.
4284
aed5fc75
NC
42852016-01-20 Nick Clifton <nickc@redhat.com>
4286
74b92a5c
NC
4287 PR 19456
4288 * testsuite/gas/arm/weakdef-1.d: Skip for VxWorks.
4289 * testsuite/gas/arm/blx-bl-convert.d
4290 * testsuite/gas/arm/plt-1.d: Likewise.
4291 * testsuite/gas/arm/reloc-bad.d: Likewise.
4292 * testsuite/gas/arm/thumb-w-good.d: Likewise.
4293 * testsuite/gas/arm/thumb2_pool.d: Likewise.
4294 * testsuite/gas/arm/ldconst.d: Adjust so that it works with VxWorks
4295 * testsuite/gas/arm/tls_vxworks.d: Update expected output.
4296
72e0b254
NC
4297 PR 19499
4298 * doc/as.texinfo (Errors): Correct documentation describing the
4299 interaction of .file and .line with warning and error messages.
4300
aed5fc75
NC
4301 PR 19458
4302 * testsuite/gas/arm/armv8_2-a.d: Skip for COFF based targets.
4303 * testsuite/gas/arm/archv8m-main.d: Likewise.
4304 * testsuite/gas/arm/archv8m-base.d: Likewise.
4305
0bff6e2d
MW
43062016-01-20 Matthew Wahab <matthew.wahab@arm.com>
4307
4308 * testsuite/gas/aarch64/armv8_2-a-illegal.d: New.
4309 * testsuite/gas/aarch64/armv8_2-a-illegal.l: New.
4310 * testsuite/gas/aarch64/armv8_2-a-illegal.s: New.
4311
91f68a68
MG
43122016-01-20 Mickael Guene <mickael.guene@st.com>
4313 Terry Guo <terry.guo@arm.com>
4314
4315 * config/obj-elf.c (obj_elf_change_section) : Allow arm section with
4316 SHF_ARM_NOREAD section flag.
4317 * config/tc-arm.h (md_elf_section_letter) : Implement this hook to
4318 handle letter 'y'.
4319 (arm_elf_section_letter) : Declare it.
4320 * config/tc-arm.c (arm_elf_section_letter): Handle letter 'y' to set
4321 SHF_ARM_NOREAD section flag.
4322 * doc/c-arm.texi (ARM section attribute): Document the 'y' attribute.
4323
4324 * testsuite/gas/arm/section-execute-only.s: New test case.
4325 * testsuite/gas/arm/section-execute-only.d: Expected output.
4326
100b4f2e
MR
43272016-01-18 Maciej W. Rozycki <macro@imgtec.com>
4328
4329 * config/tc-mips.c (micromips_insn_length): Remove the mention
4330 of 48-bit microMIPS instructions.
4331
3d961d0d
AM
43322016-01-18 Alan Modra <amodra@gmail.com>
4333
4334 * configure: Regenerate.
4335
5c14705f
AM
43362016-01-17 Alan Modra <amodra@gmail.com>
4337
4338 * configure: Regenerate.
4339
b3066ae8
AM
43402016-01-17 Alan Modra <amodra@gmail.com>
4341
4342 * testsuite/gas/cfi/cfi.exp: Exclude m68hc11/12 from m68k test.
4343
4d82fe66
NC
43442016-01-14 Nick Clifton <nickc@redhat.com>
4345
4346 * testsuite/gas/rl78/sp-relative-movw.s: New test.
4347 * testsuite/gas/rl78/sp-relative-movw.d: Expected disassembly.
4348 * testsuite/gas/rl78/rl78.exp: Run the new test.
4349
651657fa
MW
43502016-01-14 Matthew Wahab <matthew.wahab@arm.com>
4351
4352 * testsuite/gas/aarch64/illegal-sysreg-2.l: New.
4353 * testsuite/gas/aarch64/illegal-sysreg-2.d: New.
4354
3facb0e9
MR
43552016-01-13 Maciej W. Rozycki <macro@imgtec.com>
4356
4357 * config/tc-nios2.c (output_movia): Preset `code' to 0.
4358
8a4c2869
YS
43592016-01-13 Yoshinori Sato <ysato@users.sourceforge.jp>
4360
4361 * config/tc-h8300.c (get_operand): Remove spurious condition in
4362 test for closing parenthesis.
4363
105bde57
MW
43642016-01-12 Matthew Wahab <matthew.wahab@arm.com>
4365
4366 * config/tc-arm.c (arm_ext_v8_2): New.
4367 (insns): Add "esb".
4368 * testsuite/gas/arm/armv8_2-a.d: New.
4369 * testsuite/gas/arm/armv8_2-a.s: New.
4370
5230aa4d
AM
43712016-01-12 Alan Modra <amodra@gmail.com>
4372
4373 * testsuite/gas/ppc/vsx3.d: Accept nop padding.
4374
afa8d405
PB
43752016-01-11 Peter Bergner <bergner@vnet.ibm.com>
4376
4377 * testsuite/gas/ppc/power9.d <xscmpnedp, xvcmpnedp, xvcmpnedp.,
4378 xvcmpnesp, xvcmpnesp.>: Delete tests.
4379 * testsuite/gas/ppc/power9.s: Likewise.
4380 * testsuite/gas/ppc/vsx3.d: Likewise.
4381 * testsuite/gas/ppc/vsx3.s: Likewise.
4382
83c3256e
AS
43832016-01-08 Andreas Schwab <schwab@linux-m68k.org>
4384
4385 PR gas/13050
4386 * testsuite/gas/m68k/all.exp: Add tests p13050-1 and p13050-2.
4387 * testsuite/gas/m68k/p13050-1.s: New file.
4388 * testsuite/gas/m68k/p13050-2.d: New file.
4389 * testsuite/gas/m68k/p13050-2.s: New file.
4390
b05a65d0
AB
43912016-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
4392
4393 * testsuite/gas/arc/adc.d: Add 'R_' prefix to relocation names.
4394 * testsuite/gas/arc/add.d: Likewise.
4395 * testsuite/gas/arc/and.d: Likewise.
4396 * testsuite/gas/arc/asl.d: Likewise.
4397 * testsuite/gas/arc/asr.d: Likewise.
4398 * testsuite/gas/arc/bic.d: Likewise.
4399 * testsuite/gas/arc/extb.d: Likewise.
4400 * testsuite/gas/arc/extw.d: Likewise.
4401 * testsuite/gas/arc/j.d: Likewise.
4402 * testsuite/gas/arc/jl.d: Likewise.
4403 * testsuite/gas/arc/ld2.d: Likewise.
4404 * testsuite/gas/arc/lsr.d: Likewise.
4405 * testsuite/gas/arc/mov.d: Likewise.
4406 * testsuite/gas/arc/or.d: Likewise.
4407 * testsuite/gas/arc/pcl-relocs.d: Likewise.
4408 * testsuite/gas/arc/pcrel-relocs.d: Likewise.
4409 * testsuite/gas/arc/pic-relocs.d: Likewise.
4410 * testsuite/gas/arc/plt-relocs.d: Likewise.
4411 * testsuite/gas/arc/rlc.d: Likewise.
4412 * testsuite/gas/arc/ror.d: Likewise.
4413 * testsuite/gas/arc/rrc.d: Likewise.
4414 * testsuite/gas/arc/sbc.d: Likewise.
4415 * testsuite/gas/arc/sda-relocs.d: Likewise.
4416 * testsuite/gas/arc/sda-relocs2.d: Likewise.
4417 * testsuite/gas/arc/sexb.d: Likewise.
4418 * testsuite/gas/arc/sexw.d: Likewise.
4419 * testsuite/gas/arc/st.d: Likewise.
4420 * testsuite/gas/arc/sub.d: Likewise.
4421 * testsuite/gas/arc/tls-relocs.d: Likewise.
4422 * testsuite/gas/arc/xor.d: Likewise.
4423
6f2750fe
AM
44242016-01-01 Alan Modra <amodra@gmail.com>
4425
4426 Update year range in copyright notice of all files.
4427
3499769a
AM
4428For older changes see ChangeLog-2015 and testsuite/ChangeLog-2015
4429\f
4430Copyright (C) 2016 Free Software Foundation, Inc.
4431
4432Copying and distribution of this file, with or without modification,
4433are permitted in any medium without royalty provided the copyright
4434notice and this notice are preserved.
4435
4436Local Variables:
4437mode: change-log
4438left-margin: 8
4439fill-column: 74
4440version-control: never
4441End:
This page took 0.26499 seconds and 4 git commands to generate.