make the type of nds32_pseudo_opcode::pseudo_val unsigned
[deliverable/binutils-gdb.git] / gas / ChangeLog
CommitLineData
065251a0
TS
12016-07-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2
3 * config/tc-nds32.c (struct nds32_pseudo_opcode): Make pseudo_val
4 unsigned int.
5 (do_pseudo_b): Adjust.
6 (do_pseudo_bal): Likewise.
7 (do_pseudo_bge): Likewise.
8 (do_pseudo_bges): Likewise.
9 (do_pseudo_bgt): Likewise.
10 (do_pseudo_bgts): Likewise.
11 (do_pseudo_ble): Likewise.
12 (do_pseudo_bles): Likewise.
13 (do_pseudo_blt): Likewise.
14 (do_pseudo_blts): Likewise.
15 (do_pseudo_br): Likewise.
16 (do_pseudo_bral): Likewise.
17 (do_pseudo_la): Likewise.
18 (do_pseudo_li): Likewise.
19 (do_pseudo_ls_bhw): Likewise.
20 (do_pseudo_ls_bhwp): Likewise.
21 (do_pseudo_ls_bhwpc): Likewise.
22 (do_pseudo_ls_bhwi): Likewise.
23 (do_pseudo_move): Likewise.
24 (do_pseudo_neg): Likewise.
25 (do_pseudo_not): Likewise.
26 (do_pseudo_pushpopm): Likewise.
27 (do_pseudo_pushpop): Likewise.
28 (do_pseudo_v3push): Likewise.
29 (do_pseudo_v3pop): Likewise.
30 (do_pseudo_pushpop_stack): Likewise.
31 (do_pseudo_push_bhwd): Likewise.
32 (do_pseudo_pop_bhwd): Likewise.
33 (do_pseudo_pusha): Likewise.
34 (do_pseudo_pushi): Likewise.
35
9bceab41
TS
362016-07-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
37
38 * config/tc-sparc.c (struct pop_entry): Make the type of reloc
39 bfd_reloc_code_real_type.
40
cf80913a
TS
412016-07-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
42
43 * config/tc-sparc.c (pop_table): Remove sentinel.
44 (NUM_PERC_ENTRIES): Use ARRAY_SIZE on pop_table.
45 (md_begin): Adjust.
46
35fec4ff
TS
472016-07-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
48
49 * config/tc-z8k.c (newfix): Make type of type argument
50 bfd_reloc_code_real_type.
51 (apply_fix): Likewise.
52
00dad9a4
AM
532016-07-16 Alan Modra <amodra@gmail.com>
54
55 * config/tc-epiphany.c: Don't include libbfd.h.
56 * config/tc-frv.c: Likewise.
57 * config/tc-ip2k.c: Likewise.
58 * config/tc-iq2000.c: Likewise.
59 * config/tc-m32c.c: Likewise.
60 * config/tc-mep.c: Likewise.
61 * config/tc-mt.c: Likewise.
62 * config/tc-nios2.c: Likewise.
63
76e7a751
AM
642016-07-16 Alan Modra <amodra@gmail.com>
65
66 * config/bfin-parse.y: Don't include libbfd.h.
67 * config/tc-bfin.c: Likewise.
68 * config/tc-rl78.c: Likewise.
69 * config/tc-rx.c: Likewise.
70 * config/tc-metag.c: Likewise.
71 (create_dspreg_htabs, create_scond_htab): Use gas_assert not BFD_ASSERT.
72 * Makefile.am: Update dependencies.
73 * Makefile.in: Regenerate.
74
b416ba9b
MR
752016-07-14 Maciej W. Rozycki <macro@imgtec.com>
76
77 * config/tc-mips.h (TC_FORCE_RELOCATION_ABS): New macro.
78 (mips_force_relocation_abs): New prototype.
79 * config/tc-mips.c (mips_force_relocation_abs): New function.
80 * testsuite/gas/mips/branch-absolute.d: Adjust dump patterns.
81 * testsuite/gas/mips/mips16-branch-absolute.d: Likewise.
82 * testsuite/gas/mips/micromips-branch-absolute-n32.d: Likewise.
83 * testsuite/gas/mips/micromips-branch-absolute-n64.d: Likewise.
84 * testsuite/gas/mips/micromips-branch-absolute-addend-n32.d:
85 Likewise.
86 * testsuite/gas/mips/micromips-branch-absolute-addend-n64.d:
87 Likewise.
88 * testsuite/gas/mips/branch-absolute-addend.d: New test.
89 * testsuite/gas/mips/mips16-branch-absolute-addend.d: New test.
90 * testsuite/gas/mips/micromips-branch-absolute-addend.d: New
91 test.
92 * testsuite/gas/mips/mips.exp: Run the new tests.
93
96e9ba5f
MR
942016-07-14 Maciej W. Rozycki <macro@imgtec.com>
95
96 * config/tc-mips.c (md_apply_fix) <BFD_RELOC_MIPS16_16_PCREL_S1>
97 <BFD_RELOC_MICROMIPS_7_PCREL_S1, BFD_RELOC_MICROMIPS_10_PCREL_S1>
98 <BFD_RELOC_MICROMIPS_16_PCREL_S1>: Keep the ISA bit in the
99 addend calculated.
100 * testsuite/gas/mips/mips16-branch-absolute.s: Set the ISA bit
101 in `bar', export `foo'.
102 * testsuite/gas/mips/mips16-branch-absolute.d: Adjust
103 accordingly.
104 * testsuite/gas/mips/mips16-branch-absolute-n32.d: Likewise.
105 * testsuite/gas/mips/mips16-branch-absolute-n64.d: Likewise.
106 * testsuite/gas/mips/mips16-branch-absolute-addend-n32.d:
107 Likewise.
108 * testsuite/gas/mips/mips16-branch-absolute-addend-n64.d:
109 Likewise.
110
0c117286
MR
1112016-07-14 Maciej W. Rozycki <macro@imgtec.com>
112
113 * testsuite/gas/mips/mips16-branch-absolute.d: Update patterns.
114 * testsuite/gas/mips/branch-absolute.d: New test.
115 * testsuite/gas/mips/branch-absolute-n32.d: New test.
116 * testsuite/gas/mips/branch-absolute-n64.d: New test.
117 * testsuite/gas/mips/branch-absolute-addend-n32.d: New test.
118 * testsuite/gas/mips/branch-absolute-addend-n64.d: New test.
119 * testsuite/gas/mips/mips16-branch-absolute-n32.d: New test.
120 * testsuite/gas/mips/mips16-branch-absolute-n64.d: New test.
121 * testsuite/gas/mips/mips16-branch-absolute-addend-n32.d: New
122 test.
123 * testsuite/gas/mips/mips16-branch-absolute-addend-n64.d: New
124 test.
125 * testsuite/gas/mips/micromips-branch-absolute.d: New test.
126 * testsuite/gas/mips/micromips-branch-absolute-n32.d: New test.
127 * testsuite/gas/mips/micromips-branch-absolute-n64.d: New test.
128 * testsuite/gas/mips/micromips-branch-absolute-addend-n32.d: New
129 test.
130 * testsuite/gas/mips/micromips-branch-absolute-addend-n64.d: New
131 test.
132 * testsuite/gas/mips/branch-absolute.s: New test source.
133 * testsuite/gas/mips/branch-absolute-addend.s: New test source.
134 * testsuite/gas/mips/mips16-branch-absolute-addend.s: New test
135 source.
136 * testsuite/gas/mips/micromips-branch-absolute.s: New test
137 source.
138 * testsuite/gas/mips/micromips-branch-absolute-addend.s: New
139 test source.
140 * testsuite/gas/mips/mips.exp: Run the new tests.
141
92281a5b
MR
1422016-07-13 Maciej W. Rozycki <macro@imgtec.com>
143
144 * testsuite/gas/mips/nal-1.d: New test.
145 * testsuite/gas/mips/mipsr6@nal-1.d: New test.
146 * testsuite/gas/mips/nal-2.d: New test.
147 * testsuite/gas/mips/mipsr6@nal-2.d: New test.
148 * testsuite/gas/mips/nal.s: New test source.
149 * testsuite/gas/mips/mips.exp: Run the new tests.
150
6e7ced37
JM
1512016-07-12 Jose E. Marchesi <jose.marchesi@oracle.com>
152
153 * testsuite/gas/sparc/ldtxa.s: New file.
154 * testsuite/gas/sparc/ldtxa.d: Likewise.
155 * testsuite/gas/sparc/sparc.exp: Execute the ldtxa test.
156
05bbf016
CZ
1572016-07-11 Claudiu Zissulescu <claziss@synopsys.com>
158
159 * config/tc-arc.c (arc_reloc_op_tag): Allow complex ops for dtpoff.
160 (tc_gen_reloc): Remove passing DTPOFF base info into reloc addendum
161 as it is no longer needed.
162
d9dcf8c6
MR
1632016-07-08 Maciej W. Rozycki <macro@imgtec.com>
164
165 * config/tc-mips.c (append_insn): Remove extraneous
166 `install_insn' call.
167
33d0ab95
JB
1682016-07-04 Jan Beulich <jbeulich@suse.com>
169
170 * config/tc-i386.c (check_qword_reg): Correct register kind
171 checked.
172 * testsuite/gas/i386/x86-64-suffix-bad.s: Add q-suffix with
173 16-bit register cases.
174 * testsuite/gas/i386/x86-64-suffix-bad.l: Adjust expectations.
175
176
fcedb9f3
MR
1772016-07-02 Maciej W. Rozycki <macro@imgtec.com>
178
179 * testsuite/gas/mips/ecoff@ld.d: Remove test.
180 * testsuite/gas/mips/ecoff@ld-forward.d: Remove test.
181 * testsuite/gas/mips/ecoff@ld-zero-3.d: Remove test.
182 * testsuite/gas/mips/ecoff@sd.d: Remove test.
183 * testsuite/gas/mips/ecoff@sd-forward.d: Remove test.
184 * testsuite/gas/mips/beq.d: Remove a.out and ECOFF support from
185 reloc patterns.
186 * testsuite/gas/mips/mipsr6@beq.d: Likewise.
187 * testsuite/gas/mips/bge.d: Likewise.
188 * testsuite/gas/mips/mipsr6@bge.d: Likewise.
189 * testsuite/gas/mips/bgeu.d: Likewise.
190 * testsuite/gas/mips/mipsr6@bgeu.d: Likewise.
191 * testsuite/gas/mips/blt.d: Likewise.
192 * testsuite/gas/mips/mipsr6@blt.d: Likewise.
193 * testsuite/gas/mips/bltu.d: Likewise.
194 * testsuite/gas/mips/mipsr6@bltu.d: Likewise.
195 * testsuite/gas/mips/branch-likely.d: Likewise.
196 * testsuite/gas/mips/la.d: Likewise.
197 * testsuite/gas/mips/lb.d: Likewise.
198 * testsuite/gas/mips/lifloat.d: Likewise.
199 * testsuite/gas/mips/sb.d: Likewise.
200 * testsuite/gas/mips/uld.d: Likewise.
201 * testsuite/gas/mips/ulh.d: Likewise.
202 * testsuite/gas/mips/ulw.d: Likewise.
203 * testsuite/gas/mips/usd.d: Likewise.
204 * testsuite/gas/mips/ush.d: Likewise.
205 * testsuite/gas/mips/usw.d: Likewise.
206
00437d3b
MR
2072016-07-02 Maciej W. Rozycki <macro@imgtec.com>
208
209 * testsuite/gas/mips/branch-misc-2.s: Move non
210 locally-defined-global symbol tests...
211 * testsuite/gas/mips/branch-misc-5.s: ... to this new test.
212 * testsuite/gas/mips/branch-misc-2.d: Update accordingly.
213 * testsuite/gas/mips/branch-misc-2-64.d: Likewise.
214 * testsuite/gas/mips/branch-misc-2pic.d: Likewise.
215 * testsuite/gas/mips/branch-misc-2pic-64.d: Likewise.
216 * testsuite/gas/mips/mipsr6@branch-misc-2-64.d: Likewise.
217 * testsuite/gas/mips/mipsr6@branch-misc-2pic-64.d: Likewise.
218 * testsuite/gas/mips/micromips@branch-misc-2.d: Likewise.
219 * testsuite/gas/mips/micromips@branch-misc-2-64.d: Likewise.
220 * testsuite/gas/mips/micromips@branch-misc-2pic.d: Likewise.
221 * testsuite/gas/mips/micromips@branch-misc-2pic-64.d: Likewise.
222 * testsuite/gas/mips/branch-misc-5.d: New test.
223 * testsuite/gas/mips/branch-misc-5pic.d: New test.
224 * testsuite/gas/mips/branch-misc-5-64.d: New test.
225 * testsuite/gas/mips/branch-misc-5pic-64.d: New test.
226 * testsuite/gas/mips/mipsr6@branch-misc-5-64.d: New test.
227 * testsuite/gas/mips/mipsr6@branch-misc-5pic-64.d: New test.
228 * testsuite/gas/mips/micromips@branch-misc-5.d: New test.
229 * testsuite/gas/mips/micromips@branch-misc-5pic.d: New test.
230 * testsuite/gas/mips/micromips@branch-misc-5-64.d: New test.
231 * testsuite/gas/mips/micromips@branch-misc-5pic-64.d: New test.
232 * testsuite/gas/mips/mips.exp: Run the new tests.
233
f26c9c2e
MR
2342016-07-02 Maciej W. Rozycki <macro@imgtec.com>
235
236 * testsuite/gas/mips/beq.s: Uncomment branches to undefined
237 symbols.
238 * testsuite/gas/mips/beq.d: Update accordingly.
239 * testsuite/gas/mips/mipsr6@beq.d: Likewise.
240 * testsuite/gas/mips/micromips@beq.d: Likewise.
241
d7f20d66
MR
2422016-07-02 Maciej W. Rozycki <macro@imgtec.com>
243
244 * testsuite/gas/mips/mips.exp: Restrict 64-bit `branch-mips'
245 tests to NewABI targets.
246
e51af157
MR
2472016-07-02 Maciej W. Rozycki <macro@imgtec.com>
248
249 * testsuite/gas/mips/mips.exp: Group `branch-misc' tests
250 together.
251
93d8990c
SN
2522016-07-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
253
254 * config/tc-aarch64.c (struct aarch64_option_cpu_value_table): Add
255 require field.
256 (aarch64_features): Initialize require fields.
257 (aarch64_parse_features): Handle dependencies.
258 (aarch64_feature_enable_set, aarch64_feature_disable_set): New.
259 (md_assemble): Use AARCH64_CPU_HAS_ALL_FEATURES.
260 * testsuite/gas/aarch64/illegal-nofp16.s: New.
261 * testsuite/gas/aarch64/illegal-nofp16.l: New.
262 * testsuite/gas/aarch64/illegal-nofp16.d: New.
263
98a4fc78
NC
2642016-07-01 Nick Clifton <nickc@redhat.com>
265
266 * macro.c (macro_expand_body): Use a buffer big enough to hold an
267 extremely large integer.
268
248feb2f
JB
2692016-07-01 Jan Beulich <jbeulich@suse.com>
270
271 * testsuite/gas/i386/mpx-inval-2.l: Relax for COFF targets.
272
96a84ea3
TG
2732016-07-01 Tristan Gingold <gingold@adacore.com>
274
275 * NEWS: Add marker for 2.27.
276
8178be5b
JB
2772016-07-01 Jan Beulich <jbeulich@suse.com>
278
279 * tc-i386.c (i386_index_check): Add special checks for bndmk,
280 bndldx, and bndstx.
281 * testsuite/gas/i386/mpx-inval-2.s: Add %rip and %eip relative
282 as well as scaling by other than 1 tests.
283 * testsuite/gas/i386/mpx-inval-2.l: Adjust accordingly.
284
327e8c42
JB
2852016-07-01 Jan Beulich <jbeulich@suse.com>
286
287 * tc-i386.c (md_assemble): Alter address size checking for MPX
288 instructions.
289 * testsuite/gas/i386/mpx-inval-2.s: New.
290 * testsuite/gas/i386/mpx-inval-2.l: New.
291 * testsuite/gas/i386/i386.exp: Run new test.
292
83b16ac6
JB
2932016-07-01 Jan Beulich <jbeulich@suse.com>
294
295 PR gas/20318
296 * config/tc-i386.c (match_template): Add char parameter,
297 consumed in Intel mode for an extra suffix check.
298 (md_assemble): New local variable mnem_suffix.
299 * testsuite/gas/i386/suffix-bad.s: New.
300 * testsuite/gas/i386/suffix-bad.l: New.
301 * testsuite/gas/i386/i386.exp: Run new test (twice).
302
c07315e0
JB
3032016-07-01 Jan Beulich <jbeulich@suse.com>
304
305 * testsuite/gas/i386/movz.s: New.
306 * testsuite/gas/i386/movz32.d: New.
307 * testsuite/gas/i386/movz64.d: New.
308 * testsuite/gas/i386/i386.exp: Run new tests.
309
8325cc63
JB
3102016-07-01 Jan Beulich <jbeulich@suse.com>
311
312 * config/tc-i386.c (struct _i386_insn): New field memop1_string.
313 (md_assemble): Free first memory operand string.
314 (i386_index_check): Use repprefixok to distingush xlat from
315 other (real) string ops.
316 (maybe_adjust_templates): New.
317 (i386_att_operand). Call it. Store first memory operand string.
318 * config/tc-i386-intel.c (i386_intel_operand): Likewise.
319 * testsuite/gas/i386/intel-movs.s: New.
320 * testsuite/gas/i386/intel-movs32.d: New.
321 * testsuite/gas/i386/intel-movs64.d: New.
322 * testsuite/gas/i386/i386.exp: Run new tests. Invoke as for
323 64-bits tests with "--defsym x86_64=1 --strip-local-absolute".
324
3b821a28
MR
3252016-06-30 Maciej W. Rozycki <macro@imgtec.com>
326
327 * config/tc-mips.c (get_append_method): Fix a comment typo.
328
99e7978b
MF
3292016-06-30 Matthew Fortune <Matthew.Fortune@imgtec.com>
330 Maciej W. Rozycki <macro@imgtec.com>
331
332 * config/tc-mips.c (append_insn) <APPEND_SWAP>: Do not special
333 case MIPS16 handling.
334 * testsuite/gas/mips/branch-swap-3.d: New test.
335 * testsuite/gas/mips/branch-swap-4.d: New test.
336 * testsuite/gas/mips/mips16@branch-swap-3.d: New test.
337 * testsuite/gas/mips/mips16@branch-swap-4.d: New test.
338 * testsuite/gas/mips/micromips@branch-swap-3.d: New test.
339 * testsuite/gas/mips/micromips@branch-swap-4.d: New test.
340 * testsuite/gas/mips/branch-swap-3.s: New test source.
341 * testsuite/gas/mips/mips.exp: Run the new tests.
342
5e35670b
MR
3432016-06-30 Maciej W. Rozycki <macro@imgtec.com>
344
345 * config/tc-mips.c (append_insn): Simplify non-MIPS16 branch
346 swapping sequence.
347
93a24ba7
MR
3482016-06-30 Maciej W. Rozycki <macro@imgtec.com>
349
350 PR gas/20312
351 * write.c (subsegs_finish_section): Force no section padding to
352 alignment on failed assembly, always set last frag's alignment
353 from section.
354 * testsuite/gas/all/pr20312.l: New list test.
355 * testsuite/gas/all/pr20312.s: New test source.
356 * testsuite/gas/all/gas.exp: Run the new test
357
8d6f5ac3
AB
3582016-06-30 Andrew Burgess <andrew.burgess@embecosm.com>
359
360 * config.in (TARGET_WITH_CPU): Undefine.
361 * configure.ac: Add --with-cpu support, and define in config.h.
362 * configure: Regenerate.
363 * config/tc-arc.c: Use TARGET_WITH_CPU to select default CPU.
364 * NEWS: Mention new configure option.
365
534dbe46
MW
3662016-06-30 Matthew Wahab <matthew.wahab@arm.com>
367
368 * testsuite/gas/arm/armv8_2+rdma.d: New.
369
4e3e1fdf
L
3702016-06-29 H.J. Lu <hongjiu.lu@intel.com>
371
372 * NEWS: Mention --enable-compressed-debug-sections=gas is the
373 default for Linux/x86 targets.
374 * configure.tgt (ac_default_compressed_debug_sections): Default
375 to yes for Linux/x86 targets.
376
6d44f09a
MR
3772016-06-29 Maciej W. Rozycki <macro@imgtec.com>
378
379 * write.c: Remove "libbfd.h" inclusion.
380
eb9bb5b4
MR
3812016-06-28 Maciej W. Rozycki <macro@imgtec.com>
382
383 * testsuite/gas/elf/elf.exp: Use `supports_gnu_unique' with the
384 `type' test.
385
d48796b5
AM
3862016-06-28 Alan Modra <amodra@gmail.com>
387
388 PR gas/20247
389 * testsuite/gas/elf/section11.s: Don't start directives in first column.
390
dab26bf4
RS
3912016-06-28 Richard Sandiford <richard.sandiford@arm.com>
392
393 * testsuite/gas/aarch64/diagnostic.s,
394 testsuite/gas/aarch64/diagnostic.l: Add tests for out-of-range indices.
395
c9775dde
MR
3962016-06-28 Maciej W. Rozycki <macro@imgtec.com>
397
398 * config/tc-mips.c (mips16_reloc_p): Handle
399 BFD_RELOC_MIPS16_16_PCREL_S1.
400 (b_reloc_p): Likewise.
401 (limited_pcrel_reloc_p): Likewise.
402 (md_pcrel_from): Likewise.
403 (md_apply_fix): Likewise.
404 (tc_gen_reloc): Likewise.
405 (md_convert_frag): Likewise.
406 (mips_fix_adjustable): Update comment.
407 * testsuite/gas/mips/mips16-branch-reloc-2.d: Remove error
408 output, add dump patterns.
409 * testsuite/gas/mips/mips16-branch-reloc-3.d: Remove error
410 output, add dump patterns.
411 * testsuite/gas/mips/mips16-branch-addend-2.d: Remove error
412 output, add dump patterns.
413 * testsuite/gas/mips/mips16-branch-addend-3.d: Remove error
414 output, add dump patterns.
415 * testsuite/gas/mips/mips16-branch-absolute.d: Remove error
416 output, add dump patterns.
417 * testsuite/gas/mips/mips16-branch-reloc-2.l: Remove file.
418 * testsuite/gas/mips/mips16-branch-reloc-3.l: Remove file.
419 * testsuite/gas/mips/mips16-branch-addend-2.l: Remove file.
420 * testsuite/gas/mips/mips16-branch-addend-3.l: Remove file.
421 * testsuite/gas/mips/mips16-branch-absolute.l: Remove file.
422 * testsuite/gas/mips/mips16-branch-addend-2.s: Add padding.
423 * testsuite/gas/mips/branch-weak.s: Adjust alignment, avoid
424 implicit instruction padding, avoid MIPS16 JR->JRC conversion.
425 * testsuite/gas/mips/branch-weak-6.d: New test.
426 * testsuite/gas/mips/branch-weak-7.d: New test.
427 * testsuite/gas/mips/mips.exp: Run the new tests.
428
45a54ee5
VG
4292016-06-27 Vineet Gupta <vgupta@synopsys.com>
430
431 * config//tc-arc.c (tc_arc_frame_initial_instructions): Use
432 cfi_add_CFA_def_cfa to generate default CFA with offset
433 * testsuite/gas/cfi/cfi-arc-1.d: Update expected output.
434
95daf210
NC
4352016-06-27 Nick Clifton <nickc@redhat.com>
436
437 PR gas/20247
438 * as.h (do_not_pad_sections_to_alignment): New global variable.
439 * as.c (show_usage): Add --no-pad-sections.
440 (parse_args): Likewise.
441 * write.c (size_seg): Skip padding the end of the section if
442 requested from the command line.
443 (SUB_SEGMENT_ALIGN): Likewise.
444 * doc/as.texinfo: Document the new option.
445 * NEWS: Mention the new feature.
446 * testsuite/gas/elf/section11.s: New test.
447 * testsuite/gas/elf/section11.d: New test driver.
448 * testsuite/gas/elf/elf.exp: Run the new test.
449
3cd72572
TS
4502016-06-27 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
451
452 * config/tc-dlx.c: Include bfd/elf32-dlx.h.
453 * config/tc-dlx.h: Remove prototype of dlx_set_skip_hi16.
454
e066bf5f
TS
4552016-06-27 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
456
457 * config/tc-xtensa.c (xtensa_elf_suffix): Use ARRAY_SIZE instead of a
458 sentinal element.
459 (map_suffix_reloc_to_operator): Likewise.
460 (map_operator_to_reloc): Likewise.
461
0708347f
TS
4622016-06-27 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
463
464 * config/tc-nds32.c (md_begin): Use ARRAY_SIZE instead of a sentinal
465 element in relax_table.
466
8a0b252a
TS
4672016-06-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
468
469 * config/tc-aarch64.c: Make the type of reg_entry::type
470 aarch_reg_type.
471
5703197e
TS
4722016-06-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
473
474 * config/tc-bfin.c (bfin_cpus): Remove sentinal.
475 (md_parse_option): Adjust.
476 * config/tc-aarch64.c (aarch64_parse_abi): Replace use of a sentinal
477 with iteration from 0 to ARRAY_SIZE.
478 * config/tc-mcore.c (md_begin): Likewise.
479 * config/tc-visium.c (visium_parse_arch): Likewise.
480
4b92e388
TS
4812016-06-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
482
483 * config/tc-tic54x.c (tic54x_set_default_include): remove argument
484 and simplify accordingly.
485 (tic54x_include): Adjust.
486 (tic54x_mlib): Likewise.
487
7c2c4aa1
TS
4882016-06-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
489
490 * config/tc-xtensa.c (xtensa_make_property_section): Remove prototype.
491
88a7ef16
MR
4922016-06-24 Maciej W. Rozycki <macro@imgtec.com>
493
494 * config/tc-mips.c (append_insn): Use any `O_symbol' expression
495 unchanged with relaxed MIPS16 instructions.
496 (mips16_extended_frag): Adjust accordingly. Return 1 right
497 away if a relocation will be required for the symbol requested.
498 Remove dead first relaxation pass code.
499 (mips_relax_frag): Pass `sec' down to `mips16_extended_frag'.
500 (md_convert_frag): Adjust symbol value calculation. Raise an
501 error if a relocation is required for the symbol requested.
502 * testsuite/gas/mips/mips16@relax-swap3.d: Remove dump patterns,
503 add error output.
504 * testsuite/gas/mips/mips16@relax-swap3.l: New error output.
505 * testsuite/gas/mips/mips16-pcrel-relax-0.d: New test.
506 * testsuite/gas/mips/mips16-pcrel-relax-1.d: New test.
507 * testsuite/gas/mips/mips16-pcrel-relax-2.d: New test.
508 * testsuite/gas/mips/mips16-pcrel-relax-3.d: New test.
509 * testsuite/gas/mips/mips16-pcrel-reloc-0.d: New test.
510 * testsuite/gas/mips/mips16-pcrel-reloc-1.d: New test.
511 * testsuite/gas/mips/mips16-pcrel-reloc-2.d: New test.
512 * testsuite/gas/mips/mips16-pcrel-reloc-3.d: New test.
513 * testsuite/gas/mips/mips16-pcrel-reloc-4.d: New test.
514 * testsuite/gas/mips/mips16-pcrel-reloc-5.d: New test.
515 * testsuite/gas/mips/mips16-pcrel-reloc-6.d: New test.
516 * testsuite/gas/mips/mips16-pcrel-reloc-7.d: New test.
517 * testsuite/gas/mips/mips16-pcrel-addend-0.d: New test.
518 * testsuite/gas/mips/mips16-pcrel-addend-1.d: New test.
519 * testsuite/gas/mips/mips16-pcrel-addend-2.d: New test.
520 * testsuite/gas/mips/mips16-pcrel-addend-3.d: New test.
521 * testsuite/gas/mips/mips16-pcrel-absolute.d: New test.
522 * testsuite/gas/mips/mips16-branch-reloc-0.d: New test.
523 * testsuite/gas/mips/mips16-branch-reloc-1.d: New test.
524 * testsuite/gas/mips/mips16-branch-reloc-2.d: New test.
525 * testsuite/gas/mips/mips16-branch-reloc-3.d: New test.
526 * testsuite/gas/mips/mips16-branch-addend-0.d: New test.
527 * testsuite/gas/mips/mips16-branch-addend-1.d: New test.
528 * testsuite/gas/mips/mips16-branch-addend-2.d: New test.
529 * testsuite/gas/mips/mips16-branch-addend-3.d: New test.
530 * testsuite/gas/mips/mips16-branch-absolute.d: New test.
531 * testsuite/gas/mips/mips16-absolute-reloc-0.d: New test.
532 * testsuite/gas/mips/mips16-absolute-reloc-1.d: New test.
533 * testsuite/gas/mips/mips16-absolute-reloc-2.d: New test.
534 * testsuite/gas/mips/mips16-absolute-reloc-3.d: New test.
535 * testsuite/gas/mips/mips16-pcrel-reloc-2.l: New error output.
536 * testsuite/gas/mips/mips16-pcrel-reloc-3.l: New error output.
537 * testsuite/gas/mips/mips16-pcrel-reloc-6.l: New error output.
538 * testsuite/gas/mips/mips16-pcrel-reloc-7.l: New error output.
539 * testsuite/gas/mips/mips16-pcrel-addend-2.l: New error output.
540 * testsuite/gas/mips/mips16-pcrel-addend-3.l: New error output.
541 * testsuite/gas/mips/mips16-pcrel-absolute.l: New error output.
542 * testsuite/gas/mips/mips16-branch-reloc-2.l: New error output.
543 * testsuite/gas/mips/mips16-branch-reloc-3.l: New error output.
544 * testsuite/gas/mips/mips16-branch-addend-2.l: New error output.
545 * testsuite/gas/mips/mips16-branch-addend-3.l: New error output.
546 * testsuite/gas/mips/mips16-branch-absolute.l: New error output.
547 * testsuite/gas/mips/mips16-absolute-reloc-2.l: New error output.
548 * testsuite/gas/mips/mips16-absolute-reloc-3.l: New error output.
549 * testsuite/gas/mips/mips16-pcrel-relax-0.s: New test source.
550 * testsuite/gas/mips/mips16-pcrel-relax-2.s: New test source.
551 * testsuite/gas/mips/mips16-pcrel-reloc-0.s: New test source.
552 * testsuite/gas/mips/mips16-pcrel-reloc-1.s: New test source.
553 * testsuite/gas/mips/mips16-pcrel-reloc-2.s: New test source.
554 * testsuite/gas/mips/mips16-pcrel-reloc-3.s: New test source.
555 * testsuite/gas/mips/mips16-pcrel-reloc-4.s: New test source.
556 * testsuite/gas/mips/mips16-pcrel-reloc-5.s: New test source.
557 * testsuite/gas/mips/mips16-pcrel-reloc-6.s: New test source.
558 * testsuite/gas/mips/mips16-pcrel-reloc-7.s: New test source.
559 * testsuite/gas/mips/mips16-pcrel-addend-0.s: New test source.
560 * testsuite/gas/mips/mips16-pcrel-addend-1.s: New test source.
561 * testsuite/gas/mips/mips16-pcrel-addend-2.s: New test source.
562 * testsuite/gas/mips/mips16-pcrel-addend-3.s: New test source.
563 * testsuite/gas/mips/mips16-pcrel-absolute.s: New test source.
564 * testsuite/gas/mips/mips16-branch-reloc-0.s: New test source.
565 * testsuite/gas/mips/mips16-branch-reloc-1.s: New test source.
566 * testsuite/gas/mips/mips16-branch-reloc-2.s: New test source.
567 * testsuite/gas/mips/mips16-branch-reloc-3.s: New test source.
568 * testsuite/gas/mips/mips16-branch-addend-0.s: New test source.
569 * testsuite/gas/mips/mips16-branch-addend-1.s: New test source.
570 * testsuite/gas/mips/mips16-branch-addend-2.s: New test source.
571 * testsuite/gas/mips/mips16-branch-addend-3.s: New test source.
572 * testsuite/gas/mips/mips16-branch-absolute.s: New test source.
573 * testsuite/gas/mips/mips16-absolute-reloc-0.s: New test source.
574 * testsuite/gas/mips/mips16-absolute-reloc-1.s: New test source.
575 * testsuite/gas/mips/mips16-absolute-reloc-2.s: New test source.
576 * testsuite/gas/mips/mips16-absolute-reloc-3.s: New test source.
577 * testsuite/gas/mips/mips.exp: Run the new tests.
578
5c0ff163
AM
5792016-06-24 Alan Modra <amodra@gmail.com>
580
581 * configure.tgt (alpha-*-openbsd*): Use em=nbsd.
582
0e9c5a5c
MR
5832016-06-23 Maciej W. Rozycki <macro@imgtec.com>
584
585 * config/tc-mips.c (b_reloc_p): New function.
586 (mips_fix_adjustable): Also keep the original microMIPS symbol
587 referred from branch relocations.
588 * testsuite/gas/mips/branch-local-1.d: New test.
589 * testsuite/gas/mips/branch-local-n32-1.d: New test.
590 * testsuite/gas/mips/branch-local-n64-1.d: New test.
591 * testsuite/gas/mips/micromips@branch-misc-4-64.d: Update
592 relocations.
593 * testsuite/gas/mips/branch-local-1.s: New test source.
594 * testsuite/gas/mips/mips.exp: Run the new cases.
595
ce440d63
GM
5962016-06-23 Graham Markall <graham.markall@embecosm.com>
597
598 * config/tc-arc.c (options, md_longopts, md_parse_option): Move
599 -mspfp, -mdpfp and -mfpuda out of the sections for dummy
600 options. Correct erroneous enabling of SPFP instructions when
601 using -mnps400.
602
6fd3a02d
PB
6032016-06-22 Peter Bergner <bergner@vnet.ibm.com>
604
605 * testsuite/gas/ppc/power9.d <brd, brh, brw, mffs, mffs., mffsce,
606 mffscdrn, mffscdrni, mffscrn, mffscrni, mffsl, nandxor, rldixor,
607 setbool, xor3>: New tests.
608 * testsuite/gas/ppc/power9.s: Likewise.
609
b0b79343
TS
6102016-06-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
611
612 * config/tc-xtensa.c: Include elf/xtensa.h.
613
8cec2cfe
MR
6142016-06-21 Maciej W. Rozycki <macro@imgtec.com>
615
616 * config/tc-mips.c (calculate_reloc) <BFD_RELOC_HI16_S_PCREL>
617 <BFD_RELOC_LO16_PCREL>: New switch cases.
618 (md_apply_fix) <BFD_RELOC_HI16_S_PCREL, BFD_RELOC_LO16_PCREL>:
619 Move switch cases along `BFD_RELOC_MIPS_JMP'.
620 <BFD_RELOC_MIPS_21_PCREL_S2, BFD_RELOC_MIPS_26_PCREL_S2>
621 <BFD_RELOC_MIPS_18_PCREL_S3, BFD_RELOC_MIPS_19_PCREL_S2>: Handle
622 the resolved case.
623 * testsuite/gas/mips/pcrel-reloc-4.d: New test.
624 * testsuite/gas/mips/pcrel-reloc-4-r6.d: New test.
625 * testsuite/gas/mips/pcrel-reloc-5.d: New test.
626 * testsuite/gas/mips/pcrel-reloc-5-r6.d: New test.
627 * testsuite/gas/mips/pcrel-reloc-6.d: New test.
628 * testsuite/gas/mips/pcrel-reloc-6.l: New list test.
629 * testsuite/gas/mips/pcrel-reloc-4.s: New test source.
630 * testsuite/gas/mips/pcrel-reloc-6.s: New test source.
631 * testsuite/gas/mips/mips.exp: Run the new tests.
632
717ba204
MR
6332016-06-21 Maciej W. Rozycki <macro@imgtec.com>
634
635 * config/tc-mips.c (md_apply_fix) <BFD_RELOC_MIPS_18_PCREL_S3>
636 <BFD_RELOC_MIPS_19_PCREL_S2>: Avoid null pointer dereferences
637 via `fixP->fx_addsy'.
638
51f6035b
MR
6392016-06-21 Maciej W. Rozycki <macro@imgtec.com>
640
641 * config/tc-mips.c (md_pcrel_from) <BFD_RELOC_MIPS_18_PCREL_S3>:
642 Calculate relocation from the containing aligned doubleword.
643 (tc_gen_reloc) <BFD_RELOC_MIPS_18_PCREL_S3>: Calculate the
644 addend from the containing aligned doubleword.
645
912815f0
MR
6462016-06-21 Maciej W. Rozycki <macro@imgtec.com>
647
648 * config/tc-mips.c (mips_force_relocation): Use `file_mips_opts'
649 rather than `mips_opts' for the R6 ISA check.
650 (mips_fix_adjustable): Likewise.
651 * testsuite/gas/mips/pcrel-reloc-1.d: New test.
652 * testsuite/gas/mips/pcrel-reloc-1-r6.d: New test.
653 * testsuite/gas/mips/pcrel-reloc-2.d: New test.
654 * testsuite/gas/mips/pcrel-reloc-2-r6.d: New test.
655 * testsuite/gas/mips/pcrel-reloc-3.d: New test.
656 * testsuite/gas/mips/pcrel-reloc-3-r6.d: New test.
657 * testsuite/gas/mips/pcrel-reloc-1.s: New test source.
658 * testsuite/gas/mips/mips.exp: Run the new tests.
659
bdd582db
GM
6602016-06-21 Graham Markall <graham.markall@embecosm.com>
661
662 * config/tc-arc.c (check_cpu_feature, md_parse_option):
663 Add nps400 option and feature. Add check for nps400
664 feature. Refactor existing checks to check subclass before
665 feature enablement.
666 (md_show_usage): Document flags for NPS-400 and add some other
667 undocumented flags.
668 (cpu_type): Remove nps400 CPU type entry
669 (check_zol): Remove bfd_mach_arc_nps400 case.
670 (md_show_usage): Add help on -mcpu=nps400.
671 (cpu_types): Add entry for nps400 as arc700 plus nps400 extension
672 set.
673 * doc/c-arc.texi: Document the -mnps400, -mspfp, -mdpfp, and
674 -fpuda flags. Document -mcpu=nps400.
675 * testsuite/gas/arc/nps-400-0.d: Use -mcpu=arc700 -mnps400. Change
676 expected flags to match ARC700 instead of NPS400.
677 * testsuite/gas/arc/nps-400-1.d: Use -mcpu=arc700 -mnps400.
678 * testsuite/gas/arc/nps-400-2.d: Likewise.
679 * testsuite/gas/arc/nps-400-3.d: Likewise.
680 * testsuite/gas/arc/nps-400-4.d: Likewise.
681 * testsuite/gas/arc/nps-400-5.d: Likewise.
682 * testsuite/gas/arc/nps-400-6.d: Likewise.
683 * testsuite/gas/arc/nps-400-7.d: Likewise.
684 * testsuite/gas/arc/textinsn2op01.s: Change opcode of myinsn to
685 avoid clash with cbba instruction.
686 * testsuite/gas/arc/textinsn2op01.d: Likewise.
687 * testsuite/gas/arc/textinsn3op.d: Likewise.
688 * testsuite/gas/arc/textinsn3op.s: Likewise.
689 * testsuite/gas/arc/nps-400-0.d: Test using NPS-400 using
690 -mcpu=nps400 as an alternative to -mcpu=arc700 -mnps400 flags.
691
ff03d62a
MR
6922016-06-20 Maciej W. Rozycki <macro@imgtec.com>
693
694 * testsuite/gas/mips/r6-64-n32.d: Change the `name' tag.
695 * testsuite/gas/mips/r6-64-n64.d: Likewise.
696
507dcb32
MR
6972016-06-20 Maciej W. Rozycki <macro@imgtec.com>
698
699 * config/tc-mips.c (mips_fix_adjustable): Update comment on jump
700 reloc conversion.
701
9f99c22e
VP
7022016-06-20 Virendra Pathak <virendra.pathak@broadcom.com>
703
704 * config/tc-aarch64.c (aarch64_cpus): Update vulcan feature set.
705
96074adc
JM
7062016-06-17 Jose E. Marchesi <jose.marchesi@oracle.com>
707
708 * config/tc-sparc.c (hpriv_reg_table): Add registers %hmcdper,
709 %hmcddfr and %hva_mask_nz.
710 (sparc_ip): New handling of asr/privileged/hyperprivileged
711 registers, adapted to the new form of the sparc opcodes table.
712 * testsuite/gas/sparc/rdasr.s: New file.
713 * testsuite/gas/sparc/rdasr.d: Likewise.
714 * testsuite/gas/sparc/wrasr.s: Likewise.
715 * testsuite/gas/sparc/wrasr.d: Likewise.
716 * testsuite/gas/sparc/sparc.exp (sparc_elf_setup): Add rdasr and
717 wrasr tests.
718 * testsuite/gas/sparc/rdpr.d: Use -Av9m, as some privileged
719 registers require it.
720 * testsuite/gas/sparc/wrpr.s: Complete to cover all privileged
721 registers and write instruction modalities.
722 * testsuite/gas/sparc/wrpr.d: Likewise.
723 * testsuite/gas/sparc/rdhpr.s: Likewise for hyperprivileged
724 registers.
725 * testsuite/gas/sparc/rdhpr.d: Likewise.
726 * testsuite/gas/sparc/wrhpr.s: Likewise.
727 * testsuite/gas/sparc/wrhpr.d: Likewise.
728
7a10c22f
JM
7292016-06-17 Jose E. Marchesi <jose.marchesi@oracle.com>
730
731 * config/tc-sparc.c (sparc_arch_table): adjust the GAS
732 architectures to use the right opcode architecture.
733 (sparc_md_end): Handle v9{c,d,e,v,m}.
734 (sparc_ip): Fix some comments.
735 * testsuite/gas/sparc/ldx_efsr.d: Fix the architecture of this
736 instruction, which is v9d.
737 * testsuite/gas/sparc/mwait.s: Remove the `rd %mwait,%g1'
738 instruction from the test, as %mwait is not readable.
739 * testsuite/gas/sparc/mwait.d: Likewise.
740 * testsuite/gas/sparc/mism-1.s: Expand to check v9b and v9e
741 mismatch architecture errors.
742 * testsuite/gas/sparc/mism-2.s: New file.
743
8b8c7c9f
JM
7442016-06-17 Jose E. Marchesi <jose.marchesi@oracle.com>
745
746 * config/tc-sparc.c (priv_reg_table): Use NULL instead of the
747 empty string to mark the end of the array.
748 (hpriv_reg_table): Likewise.
749 (v9a_asr_table): Likewise.
750 (cmp_reg_entry): Handle entries with NULL names.
751 (F_POP_V9): Define.
752 (F_POP_PCREL): Likewise.
753 (F_POP_TLS_CALL): Likewise.
754 (F_POP_POSTFIX): Likewise.
755 (struct pop_entry): New type.
756 (pop_table): New variable.
757 (enum pop_entry_type): New type.
758 (struct perc_entry): Likewise.
759 (NUM_PERC_ENTRIES): Define.
760 (perc_table): New variable.
761 (cmp_perc_entry): New function.
762 (md_begin): Sort hpriv_reg_table and v9a_asr_table, and initialize
763 perc_table.
764 (sparc_ip): Handle entries with NULL names in priv_reg_table,
765 hpriv_reg_table and v9a_asr_table. Use perc_table to handle
766 %-pseudo-ops.
767
3ee6e4fb
NC
7682016-06-15 Nick Clifton <nickc@redhat.com>
769
770 * config/tc-ft32.c (md_assemble): Call dwarf2_emit_insn with the
771 instruction size.
772 * config/tc-mcore.c (md_assemble): Likewise.
773 * config/tc-mn10200.c (md_assemble): Likewise.
774 * config/tc-moxie.c (md_assemble): Likewise.
775 * config/tc-pj.c (md_apply_fix): Handle BFD_RELOC_PJ_CODE_REL32.
776 * testsuite/gas/all/gas.exp (diff1 test): Alpha sort list of
777 exception targets. Add alpha, hppa, microblaze and rl78 to list
778 of exceptions.
779 (forward): Add microblaze to list of exceptions.
780 (fwdexp): Add alpha to list of exceptions.
781 (redef2): Add arm-epoc-pe and rl78 to list of exceptions.
782 (redef3): Add rl78 and x86_64 cygwin to list of exceptions.
783 (do_930509a): Alpha sort list of exception targets. Add h8300 and
784 mn10200 to list of exceptions.
785 (align2): Expect to fail for nds32.
786 (cond): Add alpha and rl78 to list of exceptions.
787 * testsuite/gas/all/none.d: Skip for ft32 and hppa.
788 * testsuite/gas/all/string.d: Skip for tic4x.
789 * testsuite/gas/alpha/alpha.exp: Note that the alpha-linuxecoff
790 target does not support ELF.
791 * testsuite/gas/arm/blx-bl-convert.dL Skip for the nto target.
792 * testsuite/gas/cfi/cfi-alpha-2.d: All extended format names.
793 * testsuite/gas/cfi/cfi.exp: Alpha sort list of targets. Skip SH
794 tests for sh-pe and sh-rtemscoff targets.
795 * testsuite/gas/elf/elf.exp (redef): Add rl78, xgate and vax to
796 list of exceptions.
797 (type): Run the noifunc version for alpha-freebsd and visium.
798 * testsuite/gas/elf/warn-2.s: Do not expect to fail on the mcore,
799 mn10200 or moxie targets.
800 * testsuite/gas/ft32/insn.d: Update expected disassembly.
801 * testsuite/gas/i386/i386.exp (x86-64-pcrel): Skip for cygwin
802 targets.
803 * testsuite/gas/lns/lns.exp (lns-common-1): No longer skip for
804 mcore and rx targets.
805 * testsuite/gas/macros/macros.exp (dot): Add exceptions for ns32k,
806 rl78 and vax.
807 (purge): Expect to fail on the ns32k and vax.
808 * testsuite/gas/nds32/alu-2.d: Update expected disassembly.
809 * testsuite/gas/nds32/ls.d: Likewise.
810 * testsuite/gas/nds32/sys-reg.d: Likewise.
811 * testsuite/gas/nds32/usr-spe-reg.d: Likewise.
812 * testsuite/gas/pe/aligncomm-d.d: Skip for the sh.
813 * testsuite/gas/pe/section-align-3.d: Likewise.
814 * testsuite/gas/pe/section-exclude.d: Likewise.
815 * testsuite/gas/ppc/test2xcoff32.d: Pass once all the required
816 data has been seen.
817 * testsuite/gas/ppc/textalign-xcoff-001.d: Fix up regexp to allow
818 for variations in whitespace.
819 * testsuite/gas/tilepro/t_constants.d: Pass once all the required
820 data has been seen.
821 * testsuite/gas/tilepro/t_constants.s (.safe_word): New macro.
822 Installs a 32-bit value without generating warnings on 64-bit
823 hosts.
824 Use the new macro to replace the .word directives.
825
02f3be19
AB
8262016-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
827
828 * testsuite/gas/arc/add_s.d: New file.
829 * testsuite/gas/arc/add_s.s: New file.
830
6f9f37ed 8312016-06-14 Graham Markall <graham.markall@embecosm.com>
28215275
GM
832
833 * testsuite/gas/arc/nps400-6.s: Add tests of ldbit.
834 * testsuite/gas/arc/nps400-6.d: Likewise.
835
6f9f37ed 8362016-06-14 Graham Markall <graham.markall@embecosm.com>
9ba75c88
GM
837
838 * testsuite/gas/arc/nps400-6.s: Add tests of hash, tr, utf8, e4by, and
839 addf.
840 * testsuite/gas/arc/nps400-6.d: Likewise.
841
6f9f37ed 8422016-06-14 Graham Markall <graham.markall@embecosm.com>
14053c19
GM
843
844 * testsuite/gas/arc/nps400-6.s: Add tests of calcbsd, calcbxd,
845 calckey, calcxkey, mxb, imxb, addl, subl, andl, orl, xorl, andab, orab,
846 lbdsize, bdlen, csms, csma, cbba, zncv, and hofs.
847 * testsuite/gas/arc/nps400-6.d: Likewise.
848
d2dfe54d
NC
8492016-06-14 Nick Clifton <nickc@redhat.com>
850
851 * config/tc-nds32.c (nds32_get_align): Avoid left shifting a
852 signed constant.
853
97f50151
MR
8542016-06-13 Maciej W. Rozycki <macro@imgtec.com>
855
856 * config/tc-mips.c (mips_fix_adjustable): Don't convert RELA
857 JALR relocations on R6.
858 * testsuite/gas/mips/jal-svr4pic-local.d: New test.
859 * testsuite/gas/mips/mips1@jal-svr4pic-local.d: New test.
860 * testsuite/gas/mips/r3000@jal-svr4pic-local.d: New test.
861 * testsuite/gas/mips/micromips@jal-svr4pic-local.d: New test.
862 * testsuite/gas/mips/jal-svr4pic-local-n32.d: New test.
863 * testsuite/gas/mips/micromips@jal-svr4pic-local-n32.d: New
864 test.
865 * testsuite/gas/mips/jal-svr4pic-local-n64.d: New test.
866 * testsuite/gas/mips/micromips@jal-svr4pic-local-n64.d: New
867 test.
868 * testsuite/gas/mips/jal-svr4pic-local.s: New test source.
869 * testsuite/gas/mips/jal-svr4pic-local-newabi.s: New test
870 source.
871 * testsuite/gas/mips/mips.exp: Run the new tests.
872
0a8be2fe
VP
8732016-06-13 Virendra Pathak <virendra.pathak@broadcom.com>
874
875 * config/tc-aarch64.c (aarch64_cpus): Add Broadcom Vulcan.
876 * doc/c-aarch64.texi: Document that vulcan is a valid processor
877 name.
878
69c9e028
NC
8792016-06-13 Nick Clifton <nickc@redhat.com>
880
881 * config/tc-arm.c: For non-ELF based targets skip ARM feature sets
882 that are not supported.
883
884 * config/tc-arc.c (md_apply_fix): Avoid left shifting a signed
885 constant.
886 * config/tc-cr16.c (check_range): Likewise.
887 * config/tc-nios2.c (nios2_check_overflow): Likewise.
888
08d3b0cc
RL
8892016-06-08 Renlin Li <renlin.li@arm.com>
890
891 * config/tc-aarch64.c (print_operands): Substitute size.
892 (output_operand_error_record): Likewise.
893
14b57c7c
AM
8942016-06-07 Alan Modra <amodra@gmail.com>
895
896 * config/tc-ppc.c (PPC_APUINFO_ISEL, PPC_APUINFO_PMR,
897 PPC_APUINFO_RFMCI, PPC_APUINFO_CACHELCK, PPC_APUINFO_SPE,
898 PPC_APUINFO_EFS, PPC_APUINFO_BRLOCK, PPC_APUINFO_VLE): Don't define.
899 (ppc_setup_opcodes): Check vle disables powerpc_opcodes overridden
900 by vle_opcodes, and that vle flag doesn't enable opcodes. Don't
901 add vle_opcodes twice.
902 (ppc_cleanup): Use APUINFO_SECTION_NAME and APUINFO_LABEL.
903
4d1464f2
MW
9042016-06-07 Matthew Wahab <matthew.wahab@arm.com>
905
906 * config/tc-arm.c (arm_ext_v8_2): Rename to arm_ext_ras.
907 (arm_ext_ras): Renamed from arm_ext_v8_2.
908 (insns): Update for arm_ext_v8_2 renaming.
909 (arm_extensions): Add "ras".
910 * doc/c-arm.texi (ARM Options): Add an entry for "ras".
911 * testsuite/gas/arm/armv8-a+ras.d: New.
912 * testsuite/gas/arm/armv8_2-a.d: Add explicit command line
913 options.
914
852a1d49
TS
9152016-06-05 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
916
917 * itbl-parse.y (yyerror): Use modern argument declaration style.
918
c4212e11
TS
9192016-06-05 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
920
921 * config/tc-sh.c (parse_reg): Change type of mode argument to
922 sh_arg_type.
923 (get_operand): Adjust.
924 (insert): Change type of how to bfd_reloc_code_real_type.
925 (insert4): Likewise.
926 * config/tc-sh64.c (shmedia_get_operand): Adjust.
927 (shmedia_parse_reg): Change type of mode to shmedia_arg_type.
928
73a229c7
TS
9292016-06-05 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
930
931 * config/tc-nds32.c (nds32_parse_option): Make the type of ptr_arg
932 const char *.
933
026122a6
PB
9342016-06-03 Peter Bergner <bergner@vnet.ibm.com>
935
936 PR binutils/20196
937 * gas/testsuite/gas/ppc/e6500.s <lbarx, lharx, lwarx, ldarx,
938 stbcx., sthcx., stwcx., stdcx.>: Add tests.
939 * gas/testsuite/gas/ppc/e6500.d: Likewise.
940 * gas/testsuite/gas/ppc/power8.s: Likewise.
941 * gas/testsuite/gas/ppc/power8.d: Likewise.
942 * gas/testsuite/gas/ppc/power4.s <lwarx, ldarx, stwcx.,
943 stdcx.>: Add tests.
944 * gas/testsuite/gas/ppc/power4.d: Likewise.
945
07f5af7d
L
9462016-06-03 H.J. Lu <hongjiu.lu@intel.com>
947
948 PR binutis/18386
949 * testsuite/gas/i386/i386.exp: Run x86-64-branch-4.
950 * testsuite/gas/i386/x86-64-branch.d: Updated.
951 * testsuite/gas/i386/ilp32/x86-64-branch.d: Likewise.
952 * testsuite/gas/i386/x86-64-branch-4.l: New file.
953 * testsuite/gas/i386/x86-64-branch-4.s: Likewise.
954
1aa70332
KT
9552016-06-03 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
956
957 * config/tc-aarch64.c (aarch64_cpus): Add cortex-a73 entry.
958 * doc/c-aarch64.texi (-mcpu): Document cortex-a73 value.
959
362a3eba
KT
9602016-06-03 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
961
962 * config/tc-arm.c (arm_cpus): Add cortex-a73 entry.
963 * doc/c-arm.texi (-mcpu=): Document cortex-a73 value.
964
4ad0bb5f
VG
9652016-06-02 Vineet Gupta <Vineet.Gupta1@synopsys.com>
966
967 * configure.tgt: Replace -uclibc with *.
968
4eb6f892
AB
9692016-06-02 Andrew Burgess <andrew.burgess@embecosm.com>
970
971 * config/tc-arc.c (parse_opcode_flags): New function.
972 (find_opcode_match): Move flag parsing code out to new function.
973 Ignore operands marked IGNORE.
974 (build_fake_opcode_hash_entry): New function.
975 (find_special_case_long_opcode): New function.
976 (find_special_case): Lookup long opcodes.
977 * testsuite/gas/arc/nps400-7.d: New file.
978 * testsuite/gas/arc/nps400-7.s: New file.
979
c273521c
TS
9802016-06-01 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
981
982 * config/tc-ns32k.c: Remove definition of input_line_pointer.
983
814f1489
TS
9842016-06-01 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
985
986 * config/tc-avr.c (avr_parse_cons_expression): Replace iteration to
987 sentinal with iteration to array size.
988
d05584d3
TS
9892016-06-01 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
990
991 * config/xtensa-relax.h: Move typedefs of enums to the enums
992 definition.
993
5e429f4c
TS
9942016-06-01 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
995
996 * config/tc-ns32k.c (bit_fix_new): Replace obstack-alloc with XOBNEW
997 macro.
998
315f180f
GM
9992016-06-01 Graham Markall <graham.markall@embecosm.com>
1000
1001 * testsuite/gas/arc/nps-400-1.s: Add rflt variants with
1002 operands of types a,b,u6, 0,b,u6, and 0,b,limm.
1003 * testsuite/gas/arc/nps-400-1.d: Likewise.
1004
0cbd0046
L
10052016-05-29 H.J. Lu <hongjiu.lu@intel.com>
1006
1007 PR gas/20145
1008 * config/tc-i386.c (cpu_noarch): Add noavx512f, noavx512cd,
1009 noavx512er, noavx512pf, noavx512dq, noavx512bw, noavx512vl,
1010 noavx512ifma and noavx512vbmi.
1011 * doc/c-i386.texi: Mention noavx512f, noavx512cd, noavx512er,
1012 noavx512pf, noavx512dq, noavx512bw, noavx512vl, noavx512ifma
1013 and noavx512vbmi.
1014 * testsuite/gas/i386/i386.exp: Run noavx512-1 and noavx512-2.
1015 * testsuite/gas/i386/noavx512-1.l: New file.
1016 * testsuite/gas/i386/noavx512-1.s: Likewise.
1017 * testsuite/gas/i386/noavx512-2.l: Likewise.
1018 * testsuite/gas/i386/noavx512-2.s: Likewise.
1019
1848e567
L
10202016-05-27 H.J. Lu <hongjiu.lu@intel.com>
1021
1022 PR gas/20145
1023 * config/tc-i386.c (cpu_arch): Add 687.
1024 (cpu_noarch): Add no287, no387, no687, nosse2, nosse3, nossse3,
1025 nosse4.1, nosse4.2, nosse4 and noavx2.
1026 (parse_real_register): Check cpuregmmx instead of cpummx for MMX
1027 register. Check cpuregxmm instead of cpusse for XMM register.
1028 Check cpuregymm instead of cpuavx for YMM register. Check
1029 cpuregzmm/cpuregmask instead of cpuavx512f for ZMMM/mask register.
1030 * doc/c-i386.texi: Mention 687, no287, no387, no687, nosse2,
1031 nosse3, nossse3, nosse4.1, nosse4.2, nosse4 and noavx2.
1032 * testsuite/gas/i386/arch-10-prefetchw.d (as): Add mmx.
1033 * testsuite/gas/i386/arch-10.d (as): Likewise.
1034 * testsuite/gas/i386/arch-11.s: Add ".arch .mmx".
1035 * testsuite/gas/i386/i386.exp: Pass mmx to assembler for
1036 arch-10-3 and arch-10-4. Run no87-3, nosse-4, nosse-5, noavx-3
1037 and noavx-4.
1038 * testsuite/gas/i386/no87-3.l: New file.
1039 * testsuite/gas/i386/no87-3.s: Likewise.
1040 * testsuite/gas/i386/noavx-3.l: Likewise.
1041 * testsuite/gas/i386/noavx-3.s: Likewise.
1042 * testsuite/gas/i386/noavx-4.d: Likewise.
1043 * testsuite/gas/i386/noavx-4.s: Likewise.
1044 * testsuite/gas/i386/nosse-4.l: Likewise.
1045 * testsuite/gas/i386/nosse-4.s: Likewise.
1046 * testsuite/gas/i386/nosse-5.d: Likewise.
1047 * testsuite/gas/i386/nosse-5.s: Likewise.
1048
e92bae62
L
10492016-05-27 H.J. Lu <hongjiu.lu@intel.com>
1050
1051 PR gas/20154
1052 * config/tc-i386.c (cpu_flags_match): Don't set cpuamd64 nor
1053 cpuintel64.
1054 (match_template): Check Intel64/AMD64 ISA.
1055
e89c5eaa
L
10562016-05-27 H.J. Lu <hongjiu.lu@intel.com>
1057
1058 PR gas/20154
1059 * config/tc-i386.c (intel64): New.
1060 (cpu_flags_match): Set cpuamd64 and cpuintel64.
1061 (md_parse_option): Set intel64 instead of cpuamd64 and
1062 cpuintel64.
1063
9d07ebe1
L
10642016-05-27 H.J. Lu <hongjiu.lu@intel.com>
1065
1066 * config/tc-i386.c (cpu_flags_match): Don't clear cpu64 nor
1067 cpuno64.
1068
19dfcc89
PB
10692016-05-26 Peter Bergner <bergner@vnet.ibm.com>
1070
1071 * testsuite/gas/ppc/altivec3.d <vmsumudm>: Add test.
1072 * testsuite/gas/ppc/altivec3.s: Likewise.
1073 * testsuite/gas/ppc/power9.d <addex[.], lwzmx, vmsumudm>: Add tests.
1074 * testsuite/gas/ppc/power9.s: Likewise.
1075
8d5b9a5a
L
10762016-05-26 H.J. Lu <hongjiu.lu@intel.com>
1077
1078 * testsuite/gas/i386/avx512vl-2.l: Append "#pass".
1079 * testsuite/gas/i386/noavx-1.l: Likewise.
1080 * testsuite/gas/i386/nommx-1.l: Likewise.
1081 * testsuite/gas/i386/nosse-1.l: Likewise.
1082 * testsuite/gas/i386/x86-64-avx512vl-2.l: Likewise.
1083 * testsuite/gas/i386/avx512vl-2.s: Append ".p2align 4".
1084 * testsuite/gas/i386/noavx-1.s: Likewise.
1085 * testsuite/gas/i386/nommx-1.s: Likewise.
1086 * testsuite/gas/i386/nosse-1.s: Likewise.
1087 * testsuite/gas/i386/x86-64-avx512vl-2.s: Likewise.
1088
81cead6f
TS
10892016-05-26 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1090
1091 * config/tc-metag.c (metag_handle_align): Make the type of noop
1092 unsigned char.
1093
79052aae
TS
10942016-05-26 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1095
1096 * config/tc-rx.c (md_convert_frag): Make the type of reloc_type
1097 bfd_reloc_code_real_type.
1098
73b090a9
L
10992016-05-25 H.J. Lu <hongjiu.lu@intel.com>
1100
1101 PR gas/20140
1102 * config/tc-i386.c (cpu_flags_match): Require another match
1103 for AVX512VL.
1104 * testsuite/gas/i386/i386.exp: Run avx512vl-1, avx512vl-2,
1105 x86-64-avx512vl-1 and x86-64-avx512vl-2.
1106 * testsuite/gas/i386/avx512vl-1.l: New file.
1107 * testsuite/gas/i386/avx512vl-1.s: Likewise.
1108 * testsuite/gas/i386/avx512vl-2.l: Likewise.
1109 * testsuite/gas/i386/avx512vl-2.s: Likewise.
1110 * testsuite/gas/i386/x86-64-avx512vl-1.l: Likewise.
1111 * testsuite/gas/i386/x86-64-avx512vl-1.s: Likewise.
1112 * testsuite/gas/i386/x86-64-avx512vl-2.l: Likewise.
1113 * testsuite/gas/i386/x86-64-avx512vl-2.s: Likewise.
1114
f1360d58
L
11152016-05-25 H.J. Lu <hongjiu.lu@intel.com>
1116
1117 PR gas/20141
1118 * testsuite/gas/i386/i386.exp: Run x86-64-pr20141.
1119 * testsuite/gas/i386/x86-64-pr20141.d: New file.
1120 * testsuite/gas/i386/x86-64-pr20141.s: Likewise.
1121
293f5f65
L
11222016-05-25 H.J. Lu <hongjiu.lu@intel.com>
1123
1124 * config/tc-i386.c (arch_entry): Remove negated.
1125 (noarch_entry): New struct.
1126 (cpu_arch): Updated. Remove .no87, .nommx, .nosse and .noavx.
1127 (cpu_noarch): New.
1128 (set_cpu_arch): Check cpu_noarch after cpu_arch.
1129 (md_parse_option): Allow -march=+nosse. Check cpu_noarch after
1130 cpu_arch.
1131 (output_message): New function.
1132 (show_arch): Use it. Handle cpu_noarch.
1133 * testsuite/gas/i386/i386.exp: Run nommx-1, nommx-2, nommx-3,
1134 nosse-1, nosse-2, nosse-3, noavx-1 and noavx-2.
1135 * testsuite/gas/i386/noavx-1.l: New file.
1136 * testsuite/gas/i386/noavx-1.s: Likewise.
1137 * testsuite/gas/i386/noavx-2.s: Likewise.
1138 * testsuite/gas/i386/noavx-2.l: Likewise.
1139 * testsuite/gas/i386/nommx-1.s: Likewise.
1140 * testsuite/gas/i386/nommx-1.l: Likewise.
1141 * testsuite/gas/i386/nommx-2.s: Likewise.
1142 * testsuite/gas/i386/nommx-2.l: Likewise.
1143 * testsuite/gas/i386/nommx-3.s: Likewise.
1144 * testsuite/gas/i386/nommx-3.l: Likewise.
1145 * testsuite/gas/i386/nosse-1.s: Likewise.
1146 * testsuite/gas/i386/nosse-1.l: Likewise.
1147 * testsuite/gas/i386/nosse-2.s: Likewise.
1148 * testsuite/gas/i386/nosse-2.l: Likewise.
1149 * testsuite/gas/i386/nosse-3.s: Likewise.
1150 * testsuite/gas/i386/nosse-3.l: Likewise.
1151
934c2632
CZL
11522016-05-25 Chua Zheng Leong <chuazl@comp.nus.edu.sg>
1153
ee4d7613 1154 PR target/20067
934c2632
CZL
1155 * config/tc-arm.c (move_or_literal_pool): Only generate a VMOV.I64
1156 instruction if supported by the currently selected fpu variant.
1157 * testsuite/gas/arm/vfpv3-ldr_immediate.s: Add test of this PR.
1158 * testsuite/gas/arm/vfpv3-ldr_immediate.d: Update expected disassembly.
1159
44d3da23 11602016-05-24 Maciej W. Rozycki <macro@imgtec.com>
934c2632 1161
44d3da23
MR
1162 * config/tc-mips.c (mips_fix_adjustable): Also return 0 for
1163 jump relocations against MIPS16 or microMIPS symbols on RELA
1164 targets.
1165 * testsuite/gas/mips/jalx-local.d: New test.
1166 * testsuite/gas/mips/jalx-local-n32.d: New test.
1167 * testsuite/gas/mips/jalx-local-n64.d: New test.
1168 * testsuite/gas/mips/jalx-local.s: New test source.
1169 * testsuite/gas/mips/mips.exp: Run the new tests.
1170
4512dafa
MR
11712016-05-24 Maciej W. Rozycki <macro@imgtec.com>
1172
1173 * config/tc-mips.c (md_apply_fix)
1174 <BFD_RELOC_MIPS16_TLS_TPREL_LO16>: Remove fall-through, adjust
1175 code accordingly.
1176
cc34adb2
TS
11772016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1178
1179 * config/tc-xtensa.c (struct suffix_reloc_map): Change type of field
1180 operator to operatorT.
1181 (map_suffix_reloc_to_operator): Change return type to operatorT.
1182
c023823f
TS
11832016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1184
1185 * config/tc-d30v.c (find_format): Change type of X_op to operatorT.
1186
049efc64
TS
11872016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1188
1189 * config/tc-mmix.c (mmix_parse_predefined_name): Change type of
1190 handler_charp to const char *.
1191
b19e0aeb
TS
11922016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1193
1194 * config/tc-ft32.h (DEFAULT_TARGET_FORMAT): Remove.
1195 (ft32_target_format): Likewise.
1196 (TARGET_FORMAT): Adjust.
1197
e5e27b07
TS
11982016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1199
1200 * config/tc-ia64.c (dot_rot): simplify allocations from obstacks.
1201 (ia64_frob_label): Likewise.
1202
6610dc6d
TS
12032016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1204
1205 * config/tc-cr16.c (check_range): Make type of retval op_err.
1206 * config/tc-crx.c: Likewise.
1207
87789e08
CZ
12082016-05-23 Claudiu Zissulescu <claziss@synopsys.com>
1209
1210 * config/tc-arc.c (md_begin): Add XY registers.
1211 (cpu_types): Code density is default off for ARC EM.
1212
c810e0b8
CZ
12132016-05-23 Cupertino Miranda <cmiranda@synopsys.com>
1214
1215 * config/tc-arc.c (attributes_t): Renamed attribute class to
1216 attr_class.
1217 (find_opcode_match, assemble_insn, tokenize_extinsn): Changed.
1218
d26a14db
NC
12192016-05-23 Kuba Sejdak <jakub.sejdak@phoesys.com>
1220
1221 * configuse.tgt: Add entry for arm-phoenix.
1222
f10e0aef
TS
12232016-05-23 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1224
1225 * config/tc-tic54x.c (tic54x_sect): simplify string creation.
1226
2900e701
TS
12272016-05-23 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1228
1229 * config/tc-spu.c (APUOP): Use OPCODE as an unsigned constant.
1230
3d207518
TS
12312016-05-23 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1232
1233 * config/tc-tic54x.c (tic54x_mmregs): Adjust.
1234 (md_begin): Likewise.
1235 (encode_condition): Likewise.
1236 (encode_cc3): Likewise.
1237 (encode_cc2): Likewise.
1238 (encode_operand): Likewise.
1239 (tic54x_undefined_symbol): Likewise.
1240
a4968f42
MF
12412016-05-20 Matthew Fortune <matthew.fortune@imgtec.com>
1242
1243 * config/tc-mips.c (mips_cpu_info_table): Update comment. Add
1244 p6600 entry.
1245 * doc/c-mips.texi: Document p6600 -march option.
1246
4e21640f
L
12472016-05-20 H.J. Lu <hongjiu.lu@intel.com>
1248
1249 PR gas/19600
1250 * config/tc-i386.c (md_apply_fix): Preserve addend for
1251 BFD_RELOC_386_GOT32 and BFD_RELOC_X86_64_GOT32.
1252 * testsuite/gas/i386/addend.d: New file.
1253 * testsuite/gas/i386/addend.s: Likewise.
1254 * testsuite/gas/i386/x86-64-addend.d: Likewise.
1255 * testsuite/gas/i386/x86-64-addend.s: Likewise.
1256 * testsuite/gas/i386/i386.exp: Run addend and x86-64-addend.
1257 * testsuite/gas/i386/reloc32.d: Updated.
1258
17c6c9d9
MR
12592016-05-20 Maciej W. Rozycki <macro@imgtec.com>
1260
1261 * config/tc-mips.c (append_insn): Correct the encoding of a
1262 constant argument for microMIPS JALX.
1263 (tc_gen_reloc): Correct the encoding of an in-place addend for
1264 microMIPS JALX.
1265 * testsuite/gas/mips/jalx-addend.d: New test.
1266 * testsuite/gas/mips/jalx-addend-n32.d: New test.
1267 * testsuite/gas/mips/jalx-addend-n64.d: New test.
1268 * testsuite/gas/mips/jalx-imm.d: New test.
1269 * testsuite/gas/mips/jalx-imm-n32.d: New test.
1270 * testsuite/gas/mips/jalx-imm-n64.d: New test.
1271 * testsuite/gas/mips/jalx-addend.s: New test source.
1272 * testsuite/gas/mips/jalx-imm.s: New test source.
1273 * testsuite/gas/mips/mips.exp: Run the new tests.
1274
134c0c8b
MR
12752016-05-20 Maciej W. Rozycki <macro@imgtec.com>
1276
1277 * config/tc-mips.c: Correct tab-after-space formatting mistakes
1278 throughout.
1279
38cd8a0d
AB
12802016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
1281
1282 * config/tc-arc.c (find_opcode_match): Remove casting away of
1283 const.
1284 * config/tc-arc.h (struct arc_flags): Make flgp field const.
1285
9e32d9ae
AB
12862016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
1287
1288 * config/tc-arc.c (md_pcrel_from_section): Use BFD_VMA_FMT where
1289 appropriate.
1290 (md_convert_frag): Likewise.
1291
fe779266
AB
12922016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
1293
1294 * config/tc-arc.c (arc_opcode_hash_entry_iterator_next): Set
1295 cached opcode to NULL when we reach a non-matching opcode.
1296 * testsuite/gas/arc/asm-errors-2.d: New file.
1297 * testsuite/gas/arc/asm-errors-2.err: New file.
1298 * testsuite/gas/arc/asm-errors-2.s: New file.
1299
3b889a78
AB
13002016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
1301
1302 * config/tc-arc.c (tokenize_arguments): Add checks for array
1303 overflow.
1304 * testsuite/gas/arc/asm-errors.s: Addition test line added.
1305 * testsuite/gas/arc/asm-errors.err: Update expected results.
1306
42e58860
TS
13072016-05-18 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1308
1309 * config/tc-rx.c (struct cpu_type): Change the type of a field from
1310 int to enum rx_cpu_types.
1311
4bfaa1ca
TS
13122016-05-18 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1313
1314 * config/tc-dlx.c (struct machine_it): change the type of a field from
1315 int to bfd_reloc_code_real_type.
1316 * config/tc-tic4x.c: Likewise.
1317
eb408eaa
TS
13182016-05-18 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1319
1320 * config/tc-v850.c (v850_target_arch): change type to enum
1321 bfd_architecture.
1322 * config/tc-v850.h (v850_target_arch): Likewise.
1323
a255f00a
AM
13242016-05-18 Alan Modra <amodra@gmail.com>
1325
1326 * config/tc-ppc.c (ppc_insert_operand): Trim PPC_OPERAND_SIGNOPT
1327 allowed negative range.
1328 * testsuite/gas/ppc/power9.s: Test xxspltib of -128, not -256.
1329 * testsuite/gas/ppc/power9.d: Update.
1330
659f032c
TP
13312016-05-17 Thomas Preud'homme <thomas.preudhomme@arm.com>
1332
1333 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Force Thumb when
1334 disassembling and stop skipping targets.
1335 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
1336 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
1337 * testsuite/gas/arm/archv8m-base.d: Also allow nops after the last
1338 instruction for targets that have stronger alignment requirement.
1339 * testsuite/gas/arm/archv8m-cmse-base.d: Likewise.
1340 * testsuite/gas/arm/archv8m-cmse-main-1.d: Likewise.
1341 * testsuite/gas/arm/archv8m-cmse-main-2.d: Likewise.
1342 * testsuite/gas/arm/archv8m-main-dsp-1.d: Likewise.
1343 * testsuite/gas/arm/archv8m-main-dsp-2.d: Likewise.
1344 * testsuite/gas/arm/archv8m-main-dsp-3.d: Likewise.
1345 * testsuite/gas/arm/archv8m-main.d: Likewise.
1346 * testsuite/gas/arm/archv8m.s: Add label.
1347 * testsuite/gas/arm/archv8m-cmse.s: Likewise.
1348 * testsuite/gas/arm/archv8m-cmse-msr.s: Likewise.
1349 * testsuite/gas/arm/archv8m-cmse-main.s: Likewise.
1350
7b14583e
TS
13512016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1352
1353 * config/tc-m32r.c (mach_table): Make static and const.
1354
0591130a
TS
13552016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1356
1357 * config/tc-vax.c (flonum_gen2vax): Adjust prototype to match
1358 definition.
1359
9117cd3e
TS
13602016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1361
1362 * config/tc-mn10300.c (md_begin): set linkrelax here instead of
1363 defining it.
1364 * config/tc-msp430.c (md_begin): Likewise.
1365
e1838240
TS
13662016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1367
1368 * config/tc-m68hc11.c (fixup8): Change variables type from int to
1369 bfd_reloc_code_real_type where appropriate.
1370 (fixup16): Likewise.
1371 (fixup8_xg): Likewise.
1372
9dfa3e63
MR
13732016-05-15 Maciej W. Rozycki <macro@imgtec.com>
1374
1375 * config/tc-sh64.c (shmedia_check_limits): Constify `msg'.
1376
1178da44
PB
13772016-05-13 Peter Bergner <bergner@vnet.ibm.com>
1378
1379 * testsuite/gas/ppc/power9.d <xxspltib>: Add additional operand tests.
1380 * testsuite/gas/ppc/power9.s: Likewise.
1381
d2edc834
AM
13822016-05-13 Alan Modra <amodra@gmail.com>
1383
1384 * config/obj-coff.c (weak_uniquify): Delete unused var.
1385
add39d23
TS
13862016-05-13 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1387
1388 * app.c (app_push): Use XNEW and related macros.
1389 * as.c (parse_args): Likewise.
1390 * cgen.c (make_right_shifted_expr): Likewise.
1391 (gas_cgen_tc_gen_reloc): Likewise.
1392 * config/bfin-defs.h: Likewise.
1393 * config/bfin-parse.y: Likewise.
1394 * config/obj-coff.c (stack_init): Likewise.
1395 (stack_push): Likewise.
1396 (coff_obj_symbol_new_hook): Likewise.
1397 (coff_obj_symbol_clone_hook): Likewise.
1398 (add_lineno): Likewise.
1399 (coff_frob_symbol): Likewise.
1400 * config/obj-elf.c (obj_elf_section_name): Likewise.
1401 (build_group_lists): Likewise.
1402 * config/obj-evax.c (evax_symbol_new_hook): Likewise.
1403 * config/obj-macho.c (obj_mach_o_indirect_symbol): Likewise.
1404 * config/tc-aarch64.c (insert_reg_alias): Likewise.
1405 (find_or_make_literal_pool): Likewise.
1406 (add_to_lit_pool): Likewise.
1407 (fill_instruction_hash_table): Likewise.
1408 * config/tc-alpha.c (load_expression): Likewise.
1409 (emit_jsrjmp): Likewise.
1410 (s_alpha_ent): Likewise.
1411 (s_alpha_end): Likewise.
1412 (s_alpha_linkage): Likewise.
1413 (md_begin): Likewise.
1414 (tc_gen_reloc): Likewise.
1415 * config/tc-arc.c (arc_insert_opcode): Likewise.
1416 (arc_extcorereg): Likewise.
1417 * config/tc-bfin.c: Likewise.
1418 * config/tc-cr16.c: Likewise.
1419 * config/tc-cris.c: Likewise.
1420 * config/tc-crx.c (preprocess_reglist): Likewise.
1421 * config/tc-d10v.c: Likewise.
1422 * config/tc-frv.c (frv_insert_vliw_insn): Likewise.
1423 (frv_tomcat_shuffle): Likewise.
1424 * config/tc-h8300.c: Likewise.
1425 * config/tc-i370.c (i370_macro): Likewise.
1426 * config/tc-i386.c (lex_got): Likewise.
1427 (md_parse_option): Likewise.
1428 * config/tc-ia64.c (alloc_record): Likewise.
1429 (set_imask): Likewise.
1430 (save_prologue_count): Likewise.
1431 (dot_proc): Likewise.
1432 (dot_endp): Likewise.
1433 (ia64_frob_label): Likewise.
1434 (add_qp_imply): Likewise.
1435 (add_qp_mutex): Likewise.
1436 (mark_resource): Likewise.
1437 (dot_alias): Likewise.
1438 * config/tc-m68hc11.c: Likewise.
1439 * config/tc-m68k.c (m68k_frob_label): Likewise.
1440 (s_save): Likewise.
1441 (mri_control_label): Likewise.
1442 (push_mri_control): Likewise.
1443 (build_mri_control_operand): Likewise.
1444 (s_mri_else): Likewise.
1445 (s_mri_break): Likewise.
1446 (s_mri_next): Likewise.
1447 (s_mri_for): Likewise.
1448 (s_mri_endw): Likewise.
1449 * config/tc-metag.c (create_mnemonic_htab): Likewise.
1450 * config/tc-microblaze.c: Likewise.
1451 * config/tc-mmix.c (s_loc): Likewise.
1452 * config/tc-nds32.c (nds32_relax_hint): Likewise.
1453 * config/tc-nios2.c (nios2_insn_reloc_new): Likewise.
1454 * config/tc-rl78.c: Likewise.
1455 * config/tc-rx.c (rx_include): Likewise.
1456 * config/tc-sh.c: Likewise.
1457 * config/tc-sh64.c (shmedia_frob_section_type): Likewise.
1458 * config/tc-sparc.c: Likewise.
1459 * config/tc-spu.c: Likewise.
1460 * config/tc-tic6x.c (static tic6x_unwind_info *tic6x_get_unwind): Likewise.
1461 (tic6x_start_unwind_section): Likewise.
1462 * config/tc-tilegx.c: Likewise.
1463 * config/tc-tilepro.c: Likewise.
1464 * config/tc-v850.c: Likewise.
1465 * config/tc-visium.c: Likewise.
1466 * config/tc-xgate.c: Likewise.
1467 * config/tc-xtensa.c (xtensa_translate_old_userreg_ops): Likewise.
1468 (new_resource_table): Likewise.
1469 (resize_resource_table): Likewise.
1470 (xtensa_create_trampoline_frag): Likewise.
1471 (xtensa_maybe_create_literal_pool_frag): Likewise.
1472 (cache_literal_section): Likewise.
1473 * config/xtensa-relax.c (append_transition): Likewise.
1474 (append_condition): Likewise.
1475 (append_value_condition): Likewise.
1476 (append_constant_value_condition): Likewise.
1477 (append_literal_op): Likewise.
1478 (append_label_op): Likewise.
1479 (append_constant_op): Likewise.
1480 (append_field_op): Likewise.
1481 (append_user_fn_field_op): Likewise.
1482 (enter_opname_n): Likewise.
1483 (enter_opname): Likewise.
1484 (split_string): Likewise.
1485 (parse_insn_templ): Likewise.
1486 (clone_req_or_option_list): Likewise.
1487 (clone_req_option_list): Likewise.
1488 (parse_option_cond): Likewise.
1489 (parse_insn_pattern): Likewise.
1490 (parse_insn_repl): Likewise.
1491 (build_transition): Likewise.
1492 (build_transition_table): Likewise.
1493 * dw2gencfi.c (alloc_fde_entry): Likewise.
1494 (alloc_cfi_insn_data): Likewise.
1495 (cfi_add_CFA_remember_state): Likewise.
1496 (dot_cfi_escape): Likewise.
1497 (dot_cfi_fde_data): Likewise.
1498 (select_cie_for_fde): Likewise.
1499 * dwarf2dbg.c (dwarf2_directive_loc): Likewise.
1500 * ecoff.c (ecoff_add_bytes): Likewise.
1501 (ecoff_build_debug): Likewise.
1502 * input-scrub.c (input_scrub_push): Likewise.
1503 (input_scrub_begin): Likewise.
1504 (input_scrub_next_buffer): Likewise.
1505 * itbl-ops.c (append_insns_as_macros): Likewise.
1506 (alloc_entry): Likewise.
1507 (alloc_field): Likewise.
1508 * listing.c (listing_newline): Likewise.
1509 (listing_listing): Likewise.
1510 * macro.c (get_any_string): Likewise.
1511 (delete_macro): Likewise.
1512 * stabs.c (generate_asm_file): Likewise.
1513 (stabs_generate_asm_lineno): Likewise.
1514 * subsegs.c (subseg_change): Likewise.
1515 (subseg_get): Likewise.
1516 * symbols.c (define_dollar_label): Likewise.
1517 (symbol_relc_make_sym): Likewise.
1518 * write.c (write_relocs): Likewise.
1519
29a2809e
TS
15202016-05-13 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1521
1522 * config/obj-coff.c (obj_coff_def): Simplify string copying.
1523 (weak_name2altname): Likewise.
1524 (weak_uniquify): Likewise.
1525 (obj_coff_section): Likewise.
1526 (obj_coff_init_stab_section): Likewise.
1527 * config/obj-elf.c (obj_elf_section_name): Likewise.
1528 (obj_elf_init_stab_section): Likewise.
1529 * config/obj-evax.c (evax_shorten_name): Likewise.
1530 * config/obj-macho.c (obj_mach_o_make_or_get_sect): Likewise.
1531 * config/tc-aarch64.c (create_register_alias): Likewise.
1532 * config/tc-alpha.c (load_expression): Likewise.
1533 (s_alpha_file): Likewise.
1534 (s_alpha_section_name): Likewise.
1535 (tc_gen_reloc): Likewise.
1536 * config/tc-arc.c (md_assemble): Likewise.
1537 * config/tc-arm.c (create_neon_reg_alias): Likewise.
1538 (start_unwind_section): Likewise.
1539 * config/tc-hppa.c (pa_build_unwind_subspace): Likewise.
1540 (hppa_elf_mark_end_of_function): Likewise.
1541 * config/tc-nios2.c (nios2_modify_arg): Likewise.
1542 (nios2_negate_arg): Likewise.
1543 * config/tc-rx.c (rx_section): Likewise.
1544 * config/tc-sh64.c (sh64_consume_datalabel): Likewise.
1545 * config/tc-tic30.c (tic30_find_parallel_insn): Likewise.
1546 * config/tc-tic54x.c (tic54x_include): Likewise.
1547 (tic54x_macro_info): Likewise.
1548 (subsym_get_arg): Likewise.
1549 (subsym_substitute): Likewise.
1550 (tic54x_start_line_hook): Likewise.
1551 * config/tc-xtensa.c (xtensa_literal_prefix): Likewise.
1552 (xg_reverse_shift_count): Likewise.
1553 * config/xtensa-relax.c (enter_opname_n): Likewise.
1554 (split_string): Likewise.
1555 * dwarf2dbg.c (get_filenum): Likewise.
1556 (process_entries): Likewise.
1557 * expr.c (operand): Likewise.
1558 * itbl-ops.c (alloc_entry): Likewise.
1559 * listing.c (listing_message): Likewise.
1560 (listing_title): Likewise.
1561 * macro.c (check_macro): Likewise.
1562 * stabs.c (s_xstab): Likewise.
1563 * symbols.c (symbol_relc_make_expr): Likewise.
1564 * write.c (compress_debug): Likewise.
1565
58c7f094
NC
15662016-05-12 Nick Clifton <nickc@redhat.com>
1567
1568 PR target/20068
1569 * testsuite/gas/arm/pr20068.d: Use correct regexp syntax.
1570
d5e74e8d
NC
15712016-05-11 Nick Clifton <nickc@redhat.com>
1572
1573 PR target/20068
1574 * testsuite/gas/arm/pr20068.d: Adjust expected output to allow for
1575 big endian ARM configurations.
1576
8f4f9071
MF
15772016-05-11 Andrew Bennett <andrew.bennett@imgtec.com>
1578 Matthew Fortune <matthew.fortune@imgtec.com>
1579
1580 * config/tc-mips.c (options): Add OPTION_DSPR3 and
1581 OPTION_NO_DSPR3.
1582 (md_longopts): Likewise.
1583 (md_show_usage): Add help for -mdspr3 and -mno-dspr3.
1584 (mips_ases): Define availability for DSPr3.
1585 (mips_ase_groups): Add ASE_DSPR3 to the DSP group.
1586 (mips_convert_ase_flags): Map ASE_DSPR3 to AFL_ASE_DSPR3.
1587 * doc/as.texinfo: Document -mdspr3, -mno-dspr3. Fix -mdspr2
1588 formatting.
1589 * doc/c-mips.texi: Document -mdspr3, -mno-dspr3, .set dspr3 and
1590 .set nodspr3. Fix -mdspr2 formatting.
1591 * testsuite/gas/mips/mips32-dspr3.d: New file.
1592 * testsuite/gas/mips/mips32-dspr3.s: Likewise.
1593 * testsuite/gas/mips/mips.exp: Run mips32-dspr3 test.
1594
a6684f0d
NC
15952016-05-11 Nick Clifton <nickc@redhat.com>
1596
1597 PR target/20068
1598 * config/tc-arm.c (add_to_lit_pool): Ensure that the padding added
1599 to the pool uses O_constant.
1600 * testsuite/gas/arm/pr20068.s: New test.
1601 * testsuite/gas/arm/pr20068.d: Test driver.
1602
be5c445b
NC
16032016-05-11 Nick Clifton <nickc@redhat.com>
1604
4179a6a2
NC
1605 * testsuite/gas/arm/archv8m-cmse-base.d: Skip for non-ELF ARM targets.
1606 * testsuite/gas/arm/archv8m-cmse-main-1.d: Likewise.
1607 * testsuite/gas/arm/archv8m-cmse-main-2.d: Likewise.
1608 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Likewise.
1609 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
1610 * testsuite/gas/arm/archv8m-main-dsp-1.d: Likewise.
1611 * testsuite/gas/arm/archv8m-main-dsp-2.d: Likewise.
1612 * testsuite/gas/arm/archv8m-main-dsp-3.d: Likewise.
1613 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
be5c445b
NC
1614
16152016-05-10 Alexander Fomin <alexander.fomin@intel.com>
1616
1617 * testsuite/gas/i386/i386.exp: Run RDPID tests.
1618 * testsuite/gas/i386/prefix.d: Adjust.
1619 * testsuite/gas/i386/rdpid.s: New test.
1620 * testsuite/gas/i386/rdpid.d: Ditto.
1621 * testsuite/gas/i386/rdpid-intel.d: Ditto.
1622 * testsuite/gas/i386/x86-64-rdpid.s: Ditto.
1623 * testsuite/gas/i386/x86-64-rdpid.d: Ditto.
1624 * testsuite/gas/i386/x86-64-rdpid-intel.d: Ditto.
1625
8bc52696
AF
16262016-05-10 Alexander Fomin <alexander.fomin@intel.com>
1627
1628 * config/tc-i386.c (cpu_arch): Add RDPID.
1629 * doc/c-i386.texi: Document RDPID.
1630
39d911fc
TP
16312016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
1632
1633 * config/tc-arm.c (arm_adjust_symtab): Use ARM_SET_SYM_BRANCH_TYPE to
1634 set branch type of a symbol.
1635
15afaa63
TP
16362016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
1637
1638 * NEWS: Document ARMv8-M and ARMv8-M Security and DSP Extensions.
1639 * config/tc-arm.c (arm_ext_dsp): New feature for Thumb DSP
1640 instructions.
1641 (arm_extensions): Add dsp extension for ARMv8-M Mainline.
1642 (aeabi_set_public_attributes): Memorize the feature bits of the
1643 architecture selected for Tag_CPU_arch. Use it to set
1644 Tag_DSP_extension to 1 for ARMv8-M Mainline with DSP extension.
1645 (arm_convert_symbolic_attribute): Define Tag_DSP_extension.
1646 * testsuite/gas/arm/arch7em-bad.d: Rename to ...
1647 * testsuite/gas/arm/arch7em-bad-1.d: This.
1648 * testsuite/gas/arm/arch7em-bad-2.d: New file.
1649 * testsuite/gas/arm/arch7em-bad-3.d: Likewise.
1650 * testsuite/gas/arm/archv8m-main-dsp-1.d: Likewise.
1651 * testsuite/gas/arm/archv8m-main-dsp-2.d: Likewise.
1652 * testsuite/gas/arm/archv8m-main-dsp-3.d: Likewise.
1653 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
1654 * testsuite/gas/arm/archv8m-main-dsp-5.d: Likewise.
1655 * testsuite/gas/arm/attr-march-armv8m.main.dsp.d: Likewise.
1656
d942732e
TP
16572016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
1658
1659 * config/tc-arm.c (struct arm_option_extension_value_table): Make
1660 allowed_archs an array with 2 entries.
1661 (ARM_EXT_OPT): Adapt to only fill the first entry of allowed_archs.
1662 (ARM_EXT_OPT2): New macro filling the two entries of allowed_archs.
1663 (arm_extensions): Use separate entries in allowed_archs when several
1664 archs are allowed to use an extension and change ARCH_ANY in
1665 ARM_ARCH_NONE in allowed_archs.
1666 (arm_parse_extension): Check that, for each allowed_archs entry, all
1667 bits are set in the current architecture, ignoring ARM_ANY entries.
1668 (s_arm_arch_extension): Likewise.
1669
16a1fa25
TP
16702016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
1671
1672 * config/tc-arm.c (arm_ext_m): Add feature bit ARM_EXT2_V8M_MAIN.
1673 (arm_ext_v8m_main): New feature set for bit ARM_EXT2_V8M_MAIN.
1674 (arm_ext_v8m_m_only): New feature set for instructions in ARMv8-M not
1675 shared with a non M profile architecture.
1676 (do_rn): New function.
1677 (known_t32_only_insn): Check opcode against arm_ext_v8m_m_only rather
1678 than arm_ext_v8m.
1679 (v7m_psrs): Add ARMv8-M security extensions new special registers.
1680 (insns): Add ARMv8-M Security Extensions instructions.
1681 (aeabi_set_public_attributes): Use arm_ext_v8m_m_only instead of
1682 arm_ext_v8m_m to decide the profile and the Thumb ISA.
1683 * testsuite/gas/arm/archv8m-cmse.s: New file.
1684 * testsuite/gas/arm/archv8m-cmse-main.s: Likewise..
1685 * testsuite/gas/arm/archv8m-cmse-msr.s: Likewise.
1686 * testsuite/gas/arm/any-cmse.d: Likewise.
1687 * testsuite/gas/arm/any-cmse-main.d: Likewise.
1688 * testsuite/gas/arm/archv8m-cmse-base.d: Likewise.
1689 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Likewise.
1690 * testsuite/gas/arm/archv8m-cmse-main-1.d: Likewise.
1691 * testsuite/gas/arm/archv8m-cmse-main-2.d: Likewise.
1692 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
1693
d751b79e
JM
16942016-05-09 Jose E. Marchesi <jose.marchesi@oracle.com>
1695
1696 * testsuite/gas/sparc/sparc5vis4.s: Fix mnemonic of faligndatai.
1697 * testsuite/gas/sparc/sparc5vis4.d: Likewise.
1698
f85d59c3
KT
16992016-05-04 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1700
1701 * config/tc-arm.c (fpu_arch_vfp_v1): Mark with ATTRIBUTE_UNUSED.
1702 (fpu_arch_vfp_v3): Likewise.
1703 (fpu_arch_neon_v1): Likewise.
1704 (arm_arch_full): Likewise.
1705 (parse_neon_el_struct_list): Initialize fields of firsttype.
1706
945e0f82
CZ
17072016-05-03 Claudiu Zissulescu <claziss@synopsys.com>
1708
1709 * config/tc-arc.c (syntaxclass): Add SYNTAX_NOP and SYNTAX_1OP.
1710 (arc_extinsn): Handle new introduced syntax.
1711 * testsuite/gas/arc/textinsn1op.d: New file.
1712 * testsuite/gas/arc/textinsn1op.s: Likewise.
1713 * doc/c-arc.texi: Document SYNTAX_NOP and SYNTAX_1OP.
1714
b782c63d
PS
17152016-05-03 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
1716
1717 * testsuite/gas/lns/lns.exp: Add avr to list of targets using
1718 DW_LNS_fixed_advance_pc.
1719
25771140
AM
17202016-04-27 Alan Modra <amodra@gmail.com>
1721
1722 * as.h (inline, __PTR_TO_INT, __INT_TO_PTR): Don't define.
1723 (xmemdup0): New inline function.
1724
22522f88
MR
17252016-04-22 Maciej W. Rozycki <macro@imgtec.com>
1726
1727 * config/tc-mips.c (code_option_type): New enum.
1728 (parse_code_option): Return status indicating option type.
1729 (s_mipsset): Update `parse_code_option' call site accordingly.
1730 Always set register sizes from the ISA with ISA overrides.
1731 (s_module): Update `parse_code_option' call site.
1732 * testsuite/gas/mips/isa-override-1.d: New test.
1733 * testsuite/gas/mips/micromips@isa-override-1.d: New test.
1734 * testsuite/gas/mips/mips1@isa-override-1.d: New test.
1735 * testsuite/gas/mips/mips2@isa-override-1.d: New test.
1736 * testsuite/gas/mips/mips32@isa-override-1.d: New test.
1737 * testsuite/gas/mips/mips32r2@isa-override-1.d: New test.
1738 * testsuite/gas/mips/mips32r3@isa-override-1.d: New test.
1739 * testsuite/gas/mips/mips32r5@isa-override-1.d: New test.
1740 * testsuite/gas/mips/mips32r6@isa-override-1.d: New test.
1741 * testsuite/gas/mips/mips64r2@isa-override-1.d: New test.
1742 * testsuite/gas/mips/mips64r3@isa-override-1.d: New test.
1743 * testsuite/gas/mips/mips64r5@isa-override-1.d: New test.
1744 * testsuite/gas/mips/mips64r6@isa-override-1.d: New test.
1745 * testsuite/gas/mips/r3000@isa-override-1.d: New test.
1746 * testsuite/gas/mips/r3900@isa-override-1.d: New test.
1747 * testsuite/gas/mips/r5900@isa-override-1.d: New test.
1748 * testsuite/gas/mips/octeon@isa-override-1.d: New test.
1749 * testsuite/gas/mips/octeon3@isa-override-1.d: New test.
1750 * testsuite/gas/mips/isa-override-2.l: New list test.
1751 * testsuite/gas/mips/mips1@isa-override-2.l: New list test.
1752 * testsuite/gas/mips/mips2@isa-override-2.l: New list test.
1753 * testsuite/gas/mips/mips32@isa-override-2.l: New list test.
1754 * testsuite/gas/mips/mips32r2@isa-override-2.l: New list test.
1755 * testsuite/gas/mips/mips32r3@isa-override-2.l: New list test.
1756 * testsuite/gas/mips/mips32r5@isa-override-2.l: New list test.
1757 * testsuite/gas/mips/mips32r6@isa-override-2.l: New list test.
1758 * testsuite/gas/mips/r3000@isa-override-2.l: New list test.
1759 * testsuite/gas/mips/r3900@isa-override-2.l: New list test.
1760 * testsuite/gas/mips/octeon3@isa-override-2.l: New list test.
1761 * testsuite/gas/mips/octeon3@isa-override-1.l: New stderr
1762 output.
1763 * testsuite/gas/mips/isa-override-1.s: New test source.
1764 * testsuite/gas/mips/r5900@isa-override-1.s: New test source.
1765 * testsuite/gas/mips/isa-override-2.s: New test source.
1766 * testsuite/gas/mips/mips1@isa-override-2.s: New test source.
1767 * testsuite/gas/mips/mips2@isa-override-2.s: New test source.
1768 * testsuite/gas/mips/mips32@isa-override-2.s: New test source.
1769 * testsuite/gas/mips/mips32r2@isa-override-2.s: New test source.
1770 * testsuite/gas/mips/mips32r3@isa-override-2.s: New test source.
1771 * testsuite/gas/mips/mips32r5@isa-override-2.s: New test source.
1772 * testsuite/gas/mips/mips32r6@isa-override-2.s: New test source.
1773 * testsuite/gas/mips/r3000@isa-override-2.s: New test source.
1774 * testsuite/gas/mips/r3900@isa-override-2.s: New test source.
1775 * testsuite/gas/mips/octeon3@isa-override-2.s: New test source.
1776 * testsuite/gas/mips/mips.exp: Run the new tests.
1777
e6c7cdec
TS
17782016-04-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1779
1780 * cgen.c: Likewise.
1781 * config/tc-bfin.c: Likewise.
1782 * config/tc-ia64.c: Likewise.
1783 * config/tc-mep.c: Likewise.
1784 * config/tc-metag.c: Likewise.
1785 * config/tc-nios2.c: Likewise.
1786 * config/tc-rl78.c: Likewise.
1787
2533af11
AB
17882016-04-20 Andrew Burgess <andrew.burgess@embecosm.com>
1789
1790 * doc/c-arc.texi (ARC Options): Add nps400 to list of valus for
1791 -mcpu. Add cross reference to .cpu directive from -mcpu option.
1792 (ARC Directives): Add NPS400 to .cpu directive list.
1793
50cc854c
MW
17942016-04-20 Matthew Wahab <matthew.wahab@arm.com>
1795
1796 * config/tc-aarch64.c (aarch64_features): Add "ras".
1797 * doc/c-aarch64.texi (AArch64 Extensions): Add "ras".
1798 * testsuite/gas/aarch64/armv8-ras-1.d: New.
1799 * testsuite/gas/aarch64/armv8-ras-1.s: New.
1800 * testsuite/gas/aarch64/illegal-ras-1.d: New.
1801 * testsuite/gas/aarch64/illegal-ras-1.s: New.
1802
537aefaf
AB
18032016-04-19 Andrew Burgess <andrew.burgess@embecosm.com>
1804
1805 * testsuite/gas/arc/nps400-6.d: New file.
1806 * testsuite/gas/arc/nps400-6.s: New file.
1807
c8f785f2
AB
18082016-04-19 Andrew Burgess <andrew.burgess@embecosm.com>
1809
1810 * testsuite/gas/arc/nps400-4.d: New file.
1811 * testsuite/gas/arc/nps400-4.s: New file.
1812 * testsuite/gas/arc/nps400-5.d: New file.
1813 * testsuite/gas/arc/nps400-5.s: New file.
1814
48eac74c
MG
18152016-04-19 Martin Galvan <martin.galvan@tallertechnologies.com>
1816
1817 * doc/as.texinfo (.cfi_remember_state, .cfi_restore_state): Improve
1818 documentation.
1819
644aca26
AB
18202016-04-17 Andrew Burgess <andrew.burgess@embecosm.com>
1821
1822 Revert prevous change.
1823 * config/tc-arc.c (arc_option): Make .cpu directive
1824 case-sensitive again.
1825
9a452709
AB
18262016-04-16 Andrew Burgess <andrew.burgess@embecosm.com>
1827
1828 * config/tc-arc.c (arc_option): Make .cpu directive
1829 case-insensitive.
1830
5e001f26
AB
18312016-04-16 Andrew Burgess <andrew.burgess@embecosm.com>
1832
1833 * config/tc-arc.c (arc_option): Allow NPS400 in .cpu directive.
1834
92fce9bd
TS
18352016-04-15 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1836
1837 * config/tc-mips.c (md_begin): Remove useless assignment.
1838
6fd8e7c2
L
18392016-04-15 H.J. Lu <hongjiu.lu@intel.com>
1840
1841 * Makefile.in: Regenerated with automake 1.11.6.
1842 * aclocal.m4: Likewise.
1843 * doc/Makefile.in: Likewise.
1844
05f7541e
AM
18452016-04-15 Alan Modra <amodra@gmail.com>
1846
1847 * config/tc-ppc.c (toc_reloc_types): Wrap in #ifdef OBJ_ELF
1848
4f2a7b51
TS
18492016-04-14 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1850
1851 * config/tc-nios2.c (nios2_as_options): Make file static.
1852 * config/tc-ppc.c (toc_reloc_ypes): Likewise.
1853 * config/tc-sparc.c (native_op_table): Likewise.
1854
85e53f62
TS
18552016-04-14 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1856
1857 * config/tc-m32c.c (M32C_Macros): Remove.
1858 * config/tc-msp430.c (option_numbers): Likewise.
1859
4b0c052e
AB
18602016-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
1861
1862 * testsuite/gas/arc/nps400-3.d: New file.
1863 * testsuite/gas/arc/nps400-3.s: New file.
1864
d105775e
AB
18652016-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
1866
1867 * testsuite/gas/arc/add_s-err.s: Update target pattern.
1868 * testsuite/gas/arc/warn.s: Likewise.
1869 * testsuite/gas/elf/elf.exp: Run test for arc.
1870
84865015
NC
18712016-04-14 Nick Clifton <nickc@redhat.com>
1872
1873 PR target/19938
1874 * testsuite/gas/i386/ilp32/x86-64-unwind.d: Allow for the string
1875 sections possibly having the SHF_STRINGS flag bit set.
1876 * testsuite/gas/i386/x86-64-unwind.d: Likewise.
1877
1adc8a9a
CZ
18782016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
1879
1880 * config/tc-arc.c (mach_type_specified_p): Change type to
1881 bfd_boolean.
1882 (arc_option): Set private flags when parsing cpu pseudo-op.
1883 (md_parse_option): Set mach_type_specified_p to TRUE.
1884
e4449be8
NC
18852016-04-13 Nick Clifton <nickc@redhat.com>
1886
1887 PR target/19937
1888 * testsuite/gas/v850/pr19937.s: New test.
1889 * testsuite/gas/v850/pr19937.d: New test control file.
1890 * testsuite/gas/v850/basic.exp: Run the new test.
1891
991f40a9
MR
18922016-04-13 Maciej W. Rozycki <macro@imgtec.com>
1893 Andrew Bennett <andrew.bennett@imgtec.com>
1894
1895 * config/tc-mips.c (relaxed_branch_length): Use the long
1896 sequence where the target is a weak symbol.
1897 (relaxed_micromips_32bit_branch_length): Likewise.
1898 (relaxed_micromips_16bit_branch_length): Likewise.
1899 * testsuite/gas/mips/branch-weak-1.d: New test.
1900 * testsuite/gas/mips/branch-weak-2.d: New test.
1901 * testsuite/gas/mips/branch-weak-3.d: New test.
1902 * testsuite/gas/mips/branch-weak-4.d: New test.
1903 * testsuite/gas/mips/branch-weak-5.d: New test.
1904 * testsuite/gas/mips/branch-weak.l: New stderr output.
1905 * testsuite/gas/mips/branch-weak.s: New test source.
1906 * testsuite/gas/mips/mips.exp: Run the new tests.
1907
c1f61bd2
MR
19082016-04-13 Maciej W. Rozycki <macro@imgtec.com>
1909
1910 * config/tc-mips.c (relaxed_branch_length): Use the long
1911 sequence where the distance cannot be determined.
1912 (relaxed_micromips_32bit_branch_length): Likewise.
1913 * testsuite/gas/mips/branch-extern-1.d: New test.
1914 * testsuite/gas/mips/branch-extern-2.d: New test.
1915 * testsuite/gas/mips/branch-extern-3.d: New test.
1916 * testsuite/gas/mips/branch-extern-4.d: New test.
1917 * testsuite/gas/mips/branch-extern.l: New stderr output.
1918 * testsuite/gas/mips/branch-extern.s: New test source.
1919 * testsuite/gas/mips/branch-section-1.d: New test.
1920 * testsuite/gas/mips/branch-section-2.d: New test.
1921 * testsuite/gas/mips/branch-section-3.d: New test.
1922 * testsuite/gas/mips/branch-section-4.d: New test.
1923 * testsuite/gas/mips/branch-section.l: New stderr output.
1924 * testsuite/gas/mips/branch-section.s: New test source.
1925 * testsuite/gas/mips/mips.exp: Run the new tests.
1926
f36e33da
CZ
19272016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
1928
1929 * testsuite/gas/arc/textauxregister.d: New file.
1930 * testsuite/gas/arc/textauxregister.s: Likewise.
1931 * testsuite/gas/arc/textcondcode.d: Likewise.
1932 * testsuite/gas/arc/textcondcode.s: Likewise.
1933 * testsuite/gas/arc/textcoreregister.d: Likewise.
1934 * testsuite/gas/arc/textcoreregister.s: Likewise.
1935 * testsuite/gas/arc/textpseudoop.d: Likewise.
1936 * testsuite/gas/arc/textpseudoop.s: Likewise.
1937 * testsuite/gas/arc/ld2.d: Update test.
1938 * testsuite/gas/arc/st.d: Likewise.
1939 * testsuite/gas/arc/taux.d: Likewise.
1940 * doc/c-arc.texi (ARC Directives): Add .extCondCode,
1941 .extCoreRegister and .extAuxRegister documentation.
1942 * config/tc-arc.c (arc_extcorereg): New function.
1943 (md_pseudo_table): Add .extCondCode, .extCoreRegister and
1944 .extAuxRegister pseudo-ops.
1945 (extRegister_t): New type.
1946 (ext_condcode, arc_aux_hash): New global variable.
1947 (find_opcode_match): Check for extensions.
1948 (preprocess_operands): Likewise.
1949 (md_begin): Add aux registers in a hash.
1950 (assemble_insn): Update use arc_flags member.
1951 (tokenize_extregister): New function.
1952 (create_extcore_section): Likewise.
1953 * config/tc-arc.h (arc_flags): Delete code, add flgp.
1954
1c2e355e
CZ
19552016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
1956
1957 * testsuite/gas/arc/noargs_a7.d: New file.
1958 * testsuite/gas/arc/noargs_a7.s: Likewise.
1959 * testsuite/gas/arc/noargs_hs.d: Likewise.
1960 * testsuite/gas/arc/noargs_hs.s: Likewise.
1961
b99747ae
CZ
19622016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
1963
1964 * testsuite/gas/arc/textinsn-errors.d: New File.
1965 * testsuite/gas/arc/textinsn-errors.err: Likewise.
1966 * testsuite/gas/arc/textinsn-errors.s: Likewise.
1967 * testsuite/gas/arc/textinsn2op.d: Likewise.
1968 * testsuite/gas/arc/textinsn2op.s: Likewise.
1969 * testsuite/gas/arc/textinsn2op01.d: Likewise.
1970 * testsuite/gas/arc/textinsn2op01.s: Likewise.
1971 * testsuite/gas/arc/textinsn3op.d: Likewise.
1972 * testsuite/gas/arc/textinsn3op.s: Likewise.
1973 * doc/c-arc.texi (ARC Directives): Add .extInstruction
1974 documentation.
1975 * config/tc-arc.c (arcext_section): New variable.
1976 (arc_extinsn): New function.
1977 (md_pseudo_table): Add .extInstruction pseudo op.
1978 (attributes_t): New type.
1979 (suffixclass, syntaxclass, syntaxclassmod): New constant
1980 structures.
1981 (find_opcode_match): Remove arc_num_opcodes.
1982 (md_begin): Likewise.
1983 (tokenize_extinsn): New function.
1984 (arc_set_ext_seg): Likewise.
1985 (create_extinst_section): Likewise.
1986
37ab9779
CZ
19872016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
1988
1989 * config/tc-arc.c (preprocess_operands): Mark AUX symbol.
1990 (arc_adjust_symtab): New function.
1991 * config/tc-arc.h (ARC_FLAG_AUX): Define.
1992 (obj_adjust_symtab): Likewise.
1993 * testsuite/gas/arc/taux.d: New file.
1994 * testsuite/gas/arc/taux.s: Likewise.
1995
41a1578e
MR
19962016-04-09 Maciej W. Rozycki <macro@imgtec.com>
1997
1998 * config/tc-mips.c (s_option): Sanitize `.option picX'
1999 pseudo-op.
2000 * testsuite/gas/mips/option-pic-1.d: New test.
2001 * testsuite/gas/mips/option-pic-2.l: New list test.
2002 * testsuite/gas/mips/option-pic-1.s: New test source.
2003 * testsuite/gas/mips/option-pic-2.s: New test source.
2004 * testsuite/gas/mips/mips.exp: Run the new tests.
2005
668c5ebc
MR
20062016-04-09 Maciej W. Rozycki <macro@imgtec.com>
2007
2008 * config/tc-mips.c (s_option): Reject `.option picX' if VxWorks
2009 PIC.
2010 * testsuite/gas/mips/option-pic-vxworks-1.l: New list test.
2011 * testsuite/gas/mips/option-pic-vxworks-2.l: New list test.
2012 * testsuite/gas/mips/option-pic-vxworks-1.s: New test source.
2013 * testsuite/gas/mips/option-pic-vxworks-2.s: New test source.
2014 * testsuite/gas/mips/mips.exp: Run the new tests.
2015
41065f5e
MR
20162016-04-09 Maciej W. Rozycki <macro@imgtec.com>
2017
2018 * config/tc-mips.c (can_swap_branch_p): Correct call formatting.
2019
08918cc8
MR
20202016-04-09 Maciej W. Rozycki <macro@imgtec.com>
2021
2022 * messages.c (as_bad): Fix a typo in description.
2023
1357373c
MR
20242016-04-09 Maciej W. Rozycki <macro@imgtec.com>
2025
2026 * config/tc-mips.c (mips_check_options): Unify messages.
2027
5f4678bb
MR
20282016-04-09 Maciej W. Rozycki <macro@imgtec.com>
2029
2030 * config/tc-mips.c (mips_check_options): Use `opts->isa'
2031 consistently.
2032
992dc2c4
NC
20332016-04-08 Nick Clifton <nickc@redhat.com>
2034
2035 PR target/19910
2036 * testsuite/gas/sparc/pr19910-1.d: Adjust regexps to work with
2037 COFF and AOUT sparc targets.
2038
a42a4f84
AB
20392016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
2040
2041 * config/tc-arc.h (MAX_FLAG_NAME_LENGTH): Increase to 7.
2042 * testsuite/gas/arc/nps400-2.d: New file.
2043 * testsuite/gas/arc/nps400-2.s: New file.
2044
1328504b
AB
20452016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
2046
2047 * config/tc-arc.c (struct arc_opcode_hash_entry_iterator): New
2048 structure.
2049 (arc_opcode_hash_entry_iterator_init): New function.
2050 (arc_opcode_hash_entry_iterator_next): New function.
2051 (find_opcode_match): Iterate over all arc_opcode entries
2052 referenced by the arc_opcode_hash_entry passed in as a parameter.
2053
b9b47ab7
AB
20542016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
2055
2056 * config/tc-arc.c (arc_find_opcode): Now returns
2057 arc_opcode_hash_entry pointer.
2058 (find_opcode_match): Update argument type, extract arc_opcode from
2059 incoming arc_opcode_hash_entry.
2060 (find_special_case_pseudo): Update return type.
2061 (find_special_case_flag): Update return type.
2062 (find_special_case): Update return type.
2063 (assemble_tokens): Lookup arc_opcode_hash_entry based on
2064 instruction mnemonic, then use find_opcode_match to identify
2065 specific arc_opcode.
2066
da5be039
AB
20672016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
2068
2069 * config/tc-arc.c (struct arc_opcode_hash_entry): New structure.
2070 (arc_find_opcode): New function.
2071 (find_special_case_pseudo): Use arc_find_opcode.
2072 (find_special_case_flag): Likewise.
2073 (assemble_tokens): Likewise.
2074 (md_begin): Build hash using struct arc_opcode_hash_entry.
2075
e6ba1cba
CZ
20762016-04-07 Claudiu Zissulescu <claziss@synopsys.com>
2077
abe051ba
AM
2078 * config/tc-arc.c (arc_option): Prepare string for automatic
2079 translation.
2080 (declare_register): Likewise.
e6ba1cba 2081
b607cde1
JG
20822016-04-06 James Greenhalgh <james.greenhalgh@arm.com>
2083
2084 * doc/c-aarch64.texi (Architecture Extensions): Add entry for LSE.
2085 Correct entry for RDMA. Alpha sort entries.
2086
692166c2
AB
20872016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
2088
2089 * config/tc-arc.c (tokenize_flags): Allow greater range of
2090 characters into flag names.
2091
22b92fc4
AB
20922016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
2093
2094 * config/tc-arc.c (find_opcode_match): Handle O_symbol case, add
2095 new de_fault label.
2096 (preprocess_operands): Delete.
2097 (assemble_tokens): Remove call to preprocess_operands.
2098
e140100a
NC
20992016-04-07 Nick Clifton <nickc@redhat.com>
2100
2101 PR gas/19910
2102 * config/tc-sparc.c (sparc_ip): Report an error if the expression
2103 inside a %-macro could not be fully parsed.
2104 * expr.c (integer_constant): Accept and ignore U suffixes to
2105 integers.
2106 (operand): When a missing closing parenthesis is encountered,
2107 report the character that was found instead.
2108 * testsuite/gas/mips/tls-ill.l: Update expected error message.
2109 * testsuite/gas/sparc/pr19910-1.d: New test driver.
2110 * testsuite/gas/sparc/pr19910-1.s: New test.
2111 * testsuite/gas/sparc/pr19910-2.l: Expected error output.
2112 * testsuite/gas/sparc/pr19910-2.s: New test.
2113 * testsuite/gas/sparc/sparc.exp: Run the new tests.
2114
927f2d25
NC
21152016-04-06 Nick Clifton <nickc@redhat.com>
2116
2117 * config/tc-msp430.c (msp430_operands): Check for a NOP preceding
2118 an EINT instruction. Warn/fix as necessary.
2119 * testsuite/gas/msp430/bad.s: Add test of EINT without preceding NOP.
2120 * testsuite/gas/msp430/bad.l: Update expected messages.
2121
820f03ff
AB
21222016-04-05 Andrew Burgess <andrew.burgess@embecosm.com>
2123
2124 * testsuite/gas/arc/nps400-1.d: Update expected results.
2125 * testsuite/gas/arc/nps400-1.s: Additional test cases.
2126
8ddf6b2a
CZ
21272016-04-05 Claudiu Zissulescu <claziss@synopsys.com>
2128
abe051ba
AM
2129 * config/tc-arc.c (is_code_density_p): Compare directly the
2130 subclass field.
2131 (is_spfp_p, is_dpfp_p, is_spfp_p): Define.
2132 (check_cpu_feature): New function.
2133 (find_opcode_match): Use check_cpu_feature function.
2134 (preprocess_operands): Likewise.
2135 (md_parse_option): Use mfpuda, mdpfp, mspfp options.
2136 * testsuite/gas/arc/tdpfp.d: New file.
2137 * testsuite/gas/arc/tfpuda.d: Likewise.
2138 * testsuite/gas/arc/tfpx.s: Likewise.
8ddf6b2a 2139
589a7d88
JW
21402016-04-05 Jiong Wang <jiong.wang@arm.com>
2141
2142 * config/tc-arm.c (do_neon_mac_maybe_scalar): Allow F16.
2143 * testsuite/gas/arm/armv8-2-fp16-simd.s: New tests.
2144 * testsuite/gas/arm/armv8-2-fp16-simd.d: New expected results.
2145 * testsuite/gas/arm/armv8-2-fp16-simd-thum.d: Likewise for Thumb.
2146 * testsuite/gas/arm/armv8-2-fp16-simd-warning.l: New warning results.
2147 * testsuite/gas/arm/simd_by_scalar_low_regbank.s: New test source.
2148 * testsuite/gas/arm/simd_by_scalar_low_regbank.d: New testcase.
abe051ba
AM
2149 * testsuite/gas/arm/simd_by_scalar_low_regbank_thumb.d: Likewise
2150 for Thumb.
589a7d88
JW
2151 * testsuite/gas/arm/simd_by_scalar_low_regbank.l: New warning results.
2152
6ec1f282
CZ
21532016-04-05 Claudiu Zissulescu <claziss@synopsys.com>
2154
abe051ba 2155 * config/tc-arc.c (assemble_insn): Prohibit pc-rel relocations for
6ec1f282 2156 JUMP instructions type.
abe051ba
AM
2157 * testsuite/gas/arc/relocs-errors.d: New file.
2158 * testsuite/gas/arc/relocs-errors.err: Likewise.
2159 * testsuite/gas/arc/relocs-errors.s: Likewise.
6ec1f282 2160
0796a629
L
21612016-04-04 H.J. Lu <hongjiu.lu@intel.com>
2162
2163 PR gas/19909
2164 * config/tc-i386.c (check_VecOperands): Try vec_disp8 encoding
2165 only if i.disp_encoding != disp_encoding_32bit.
2166 * gas/testsuite/gas/i386/disp32.s: Add tests for vmovdqu64.d32.
2167 * gas/testsuite/gas/i386/x86-64-disp32.s: Likewise.
2168 * gas/testsuite/gas/i386/disp32.d: Updated.
2169 * gas/testsuite/gas/i386/x86-64-disp32.d: Likewise.
2170
df41fdf4
L
21712016-04-04 H.J. Lu <hongjiu.lu@intel.com>
2172
2173 PR gas/19498
2174 * testsuite/gas/i386/i386.exp: Run pr19498.
2175 * testsuite/gas/i386/pr19498.d: New file.
2176 * testsuite/gas/i386/pr19498.s: Likewise.
2177
26cdfd92
AB
21782016-04-04 Andrew Burgess <andrew.burgess@embecosm.com>
2179
2180 * config/tc-arc.h: Include 'opcode/arc.h'.
2181 (MAX_INSN_ARGS): Delete.
2182 (MAX_INSN_FLGS): Delete.
2183
22987cec
AM
21842016-04-04 Alan Modra <amodra@gmail.com>
2185
2186 PR 19498
2187 * symbols.c (resolve_symbol_value): Clear sy_resolving on exit
2188 from function on all paths that set sy_resolving.
2189
325801bd
TS
21902016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2191
2192 * app.c (app_push): use XNEW macro.
2193 * as.c: Likewise.
2194 * config/obj-elf.c (obj_elf_change_section): Likewise.
2195 (elf_copy_symbol_attributes): Likewise.
2196 (obj_elf_size): Likewise.
2197 (build_group_lists): Likewise.
2198 * config/tc-aarch64.c (add_operand_error_record): Likewise.
2199 (md_assemble): Likewise.
2200 (tc_gen_reloc): Likewise.
2201 (get_upper_str): Likewise.
2202 (aarch64_parse_features): Likewise.
2203 * config/tc-arm.c (insert_reg_alias): Likewise.
2204 (insert_neon_reg_alias): Likewise.
2205 (find_or_make_literal_pool): Likewise.
2206 (s_arm_elf_cons): Likewise.
2207 (add_unwind_opcode): Likewise.
2208 (arm_parse_extension): Likewise.
2209 * config/tc-avr.c (create_record_for_frag): Likewise.
2210 * config/tc-crx.c: Likewise.
2211 * config/tc-d30v.c: Likewise.
2212 * config/tc-dlx.c (s_proc): Likewise.
2213 * config/tc-ft32.c: Likewise.
2214 * config/tc-h8300.c: Likewise.
2215 * config/tc-hppa.c (pa_proc): Likewise.
2216 (create_new_space): Likewise.
2217 (create_new_subspace): Likewise.
2218 * config/tc-i860.c: Likewise.
2219 * config/tc-i960.c: Likewise.
2220 * config/tc-ia64.c: Likewise.
2221 * config/tc-iq2000.c (iq2000_add_macro): Likewise.
2222 (iq2000_record_hi16): Likewise.
2223 * config/tc-m32c.c (m32c_indirect_operand): Likewise.
2224 * config/tc-m32r.c (debug_sym): Likewise.
2225 (m32r_record_hi16): Likewise.
2226 * config/tc-m68k.c (m68k_ip): Likewise.
2227 (md_begin): Likewise.
2228 * config/tc-mcore.c: Likewise.
2229 * config/tc-microblaze.c (check_got): Likewise.
2230 * config/tc-mips.c (append_insn): Likewise.
2231 (s_mipsset): Likewise.
2232 (mips_record_label): Likewise.
2233 (s_mips_end): Likewise.
2234 * config/tc-mmix.c (mmix_frob_file): Likewise.
2235 * config/tc-mn10200.c: Likewise.
2236 * config/tc-mn10300.c: Likewise.
2237 * config/tc-moxie.c: Likewise.
2238 * config/tc-msp430.c: Likewise.
2239 * config/tc-nds32.c (nds32_elf_save_pseudo_pattern): Likewise.
2240 * config/tc-ns32k.c: Likewise.
2241 * config/tc-or1k.c: Likewise.
2242 * config/tc-pdp11.c: Likewise.
2243 * config/tc-pj.c (fake_opcode): Likewise.
2244 * config/tc-ppc.c (ppc_apuinfo_section_add): Likewise.
2245 (ppc_macro): Likewise.
2246 (ppc_dwsect): Likewise.
2247 (ppc_machine): Likewise.
2248 * config/tc-rl78.c (rl78_frag_init): Likewise.
2249 * config/tc-rx.c (rx_frag_init): Likewise.
2250 * config/tc-s390.c (s390_lit_suffix): Likewise.
2251 (s390_machine): Likewise.
2252 (s390_machinemode): Likewise.
2253 * config/tc-score.c (s3_insert_reg): Likewise.
2254 (s3_gen_reloc): Likewise.
2255 * config/tc-score7.c (s7_insert_reg): Likewise.
2256 (s7_gen_reloc): Likewise.
2257 * config/tc-tic30.c (tic30_operand): Likewise.
2258 * config/tc-tic4x.c (tic4x_inst_make): Likewise.
2259 * config/tc-tic54x.c (stag_add_field): Likewise.
2260 (tic54x_struct): Likewise.
2261 (tic54x_space): Likewise.
2262 (tic54x_field): Likewise.
2263 (tic54x_mlib): Likewise.
2264 (subsym_substitute): Likewise.
2265 * config/tc-tic6x.c (tic6x_frob_label): Likewise.
2266 * config/tc-vax.c: Likewise.
2267 * config/tc-xc16x.c: Likewise.
2268 * config/tc-xtensa.c (xtensa_add_insn_label): Likewise.
2269 (directive_push): Likewise.
2270 (xtensa_begin_directive): Likewise.
2271 (tokenize_arguments): Likewise.
2272 (xtensa_add_literal_sym): Likewise.
2273 (new_resource_table): Likewise.
2274 (resize_resource_table): Likewise.
2275 (emit_single_op): Likewise.
2276 (xtensa_create_trampoline_frag): Likewise.
2277 (xtensa_maybe_create_literal_pool_frag): Likewise.
2278 (xtensa_add_config_info): Likewise.
2279 (xtensa_realloc_fixup_cache): Likewise.
2280 (add_subseg_info): Likewise.
2281 (cache_literal_section): Likewise.
2282 (add_xt_block_frags): Likewise.
2283 (add_xt_prop_frags): Likewise.
2284 (init_op_placement_info_table): Likewise.
2285 (build_section_rename): Likewise.
2286 * config/tc-z80.c: Likewise.
2287 * config/tc-z8k.c: Likewise.
2288 * depend.c (register_dependency): Likewise.
2289 * dwarf2dbg.c (get_line_subseg): Likewise.
2290 (dwarf2_gen_line_info_1): Likewise.
2291 (get_filenum): Likewise.
2292 * ecoff.c (allocate_scope): Likewise.
2293 (allocate_vlinks): Likewise.
2294 (allocate_shash): Likewise.
2295 (allocate_thash): Likewise.
2296 (allocate_tag): Likewise.
2297 (allocate_forward): Likewise.
2298 (allocate_thead): Likewise.
2299 (allocate_lineno_list): Likewise.
2300 * expr.c (make_expr_symbol): Likewise.
2301 * hash.c (hash_new_sized): Likewise.
2302 * input-file.c (input_file_push): Likewise.
2303 * listing.c (file_info): Likewise.
2304 (listing_newline): Likewise.
2305 * macro.c (new_formal): Likewise.
2306 (define_macro): Likewise.
2307 * remap.c (add_debug_prefix_map): Likewise.
2308 * symbols.c (symbol_find_noref): Likewise.
2309 (define_dollar_label): Likewise.
2310 (fb_label_instance_inc): Likewise.
2311 (symbol_relc_make_value): Likewise.
2312
a44e2901
TS
23132016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2314
2315 * config/obj-elf.c (obj_elf_vendor_attribute): Use xstrdup.
2316 * config/tc-ppc.c (ppc_frob_file_before_adjust): Likewise.
2317 (ppc_znop): Likewise.
2318 (ppc_pe_section): Likewise.
2319 (ppc_frob_symbol): Likewise.
2320 * config/tc-tic30.c (tic30_operand): Likewise.
2321 * config/tc-tic4x.c (tic4x_sect): Likewise.
2322 (tic4x_usect): Likewise.
2323
ae2689b0
TS
23242016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2325
2326 * config/tc-alpha.c: Const qualify FLT_CHARS.
2327 * config/atof-ieee.c: Remove declarations of FLT_CHARS and EXP_CHARS.
2328 * config/tc-cris.h: Likewise.
2329 * expr.c: Likewise.
2330 * config/tc-mmix.c (md_atof): Adjust comment.
2331 * config/tc-mmix.h: Stop defining FLT_CHARS and EXP_CHARS as macros.
2332 * tc.h: Declare FLT_CHARS and EXP_CHARS.
2333
a51ef392
TS
23342016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2335
2336 * config/tc-score.c (s3_gen_reloc): Add const qualifiers.
2337 * config/tc-score7.c (s7_gen_reloc): Likewise.
2338
2fe88214
TS
23392016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2340
2341 * config/tc-arm.c (do_t_branch): Change the type of reloc to
2342 bfd_reloc_code_real_type.
2343
e1ec8109
TS
23442016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2345
2346 * config/bfin-parse.y (current_inputline): Remove definition.
2347 * config/tc-bfin.c (md_assemble): Simplify use of current_inputline.
2348
f73e41ef
TS
23492016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2350
2351 * config/tc-avr.c (md_parse_option): Use strcasecmp () to compare
2352 strings.
2353
62bd6b5f
AM
23542016-04-02 Alan Modra <amodra@gmail.com>
2355
2356 PR 19896
2357 * read.c (assign_symbol): Consume rest of line after an error
2358 rather than continuing to process the line.
2359
83cda17b
AB
23602016-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
2361
2362 * config/tc-arc.h (MAX_FLAG_NAME_LENGHT): Rename to...
2363 (MAX_FLAG_NAME_LENGTH): ...this.
2364 (struct arc_flags): Update to use MAX_FLAG_NAME_LENGTH.
2365 * config/tc-arc.c (tokenize_flags): Likewise.
2366
6d4af3c2
AM
23672016-04-01 Alan Modra <amodra@gmail.com>
2368
2369 * cgen.c (weak_operand_overflow_check): Return const char*.
2370 * messages.c (as_internal_value_out_of_range): Formatting.
2371 (as_warn_value_out_of_range): Consify prefix param.
2372 (as_bad_value_out_of_range): Likewise.
2373 * read.c (s_errwarn): Constify msg..
2374 (s_float_space, float_cons): ..and err.
2375 * as.h (as_warn_value_out_of_range, as_bad_value_out_of_range,
2376 ieee_md_atof, vax_md_atof): Update prototypes.
2377 * tc.h (md_atof): Update prototype.
2378 * config/atof-ieee.c (ieee_md_atof): Return const char*.
2379 * config/atof-vax.c (vax_md_atof): Likewise.
2380 * config/obj-elf.c (obj_elf_parse_section_letters): Constify bad_msg.
2381 * config/tc-aarch64.c (md_atof): Return const char*.
2382 * config/tc-alpha.c (s_alpha_section_name): Likewise.
2383 (s_alpha_comm): Constify sec_name.
2384 (section_name): Constify.
2385 (s_alpha_section): Consify name..
2386 (alpha_elf_section_letter): ..and ptr_msg param..
2387 (md_atof): ..and return.
2388 * config/tc-alpha.h (alpha_elf_section_letter): Update prototype.
2389 * config/tc-arc.c (md_atof): Return const char*.
2390 * config/tc-arm.c (md_atof): Likewise.
2391 * config/tc-avr.c (md_atof): Likewise.
2392 * config/tc-bfin.c (md_atof): Likewise.
2393 * config/tc-cr16.c (md_atof): Likewise.
2394 * config/tc-cris.c (md_atof): Likewise.
2395 * config/tc-crx.c (md_atof): Likewise.
2396 * config/tc-d10v.c (md_atof): Likewise.
2397 * config/tc-d30v.c (md_atof): Likewise.
2398 * config/tc-dlx.c (md_atof): Likewise.
2399 * config/tc-epiphany.c (md_atof): Likewise.
2400 * config/tc-fr30.c (md_atof): Likewise.
2401 * config/tc-frv.c (md_atof): Likewise.
2402 * config/tc-ft32.c (md_atof): Likewise.
2403 * config/tc-h8300.c (md_atof): Likewise.
2404 * config/tc-hppa.c (struct default_subspace_dict): Constify name.
2405 (struct default_space_dict): Likewise.
2406 (create_new_space): Constify name param.
2407 (create_new_subspace): Likewise.
2408 (is_defined_space, is_defined_subspace): Likewise.
2409 (pa_parse_space_stmt): Constify space_name param.
2410 (md_atof): Return const char*.
2411 (pa_spaces_begin): Constify name.
2412 * config/tc-i370.c (md_atof): Return const char*.
2413 * config/tc-i386.c (md_atof): Likewise.
2414 (x86_64_section_letter): Constify ptr_msg param.
2415 * config/tc-i386.h (x86_64_section_letter): Update prototype.
2416 * config/tc-i860.c (struct i860_it): Constify error.
2417 (md_atof): Return const char*.
2418 * config/tc-i960.c (md_atof): Likewise.
2419 * config/tc-ia64.c (md_atof): Likewise.
2420 (ia64_elf_section_letter): Constify ptr_msg param.
2421 * config/tc-ia64.h (ia64_elf_section_letter): Update prototype.
2422 * config/tc-ip2k.c (md_atof): Return const char*.
2423 * config/tc-iq2000.c (md_atof): Likewise.
2424 * config/tc-lm32.c (md_atof): Likewise.
2425 * config/tc-m32c.c (md_atof): Likewise.
2426 * config/tc-m32r.c (md_atof): Likewise.
2427 * config/tc-m68hc11.c (md_atof): Likewise.
2428 * config/tc-m68k.c (md_atof): Likewise.
2429 * config/tc-mcore.c (md_atof): Likewise.
2430 * config/tc-mep.c (md_atof): Likewise.
2431 (mep_elf_section_letter): Constify ptr_msg param.
2432 * config/tc-mep.h (mep_elf_section_letter): Update prototype.
2433 * config/tc-metag.c (md_atof): Return const char*.
2434 * config/tc-microblaze.c (md_atof): Likewise.
2435 * config/tc-microblaze.h (md_atof): Delete prototype.
2436 * config/tc-mips.c (mips_parse_argument_token): Constify err.
2437 (md_atof): Return const char*.
2438 * config/tc-mmix.c (md_atof): Likewise.
2439 * config/tc-mn10200.c (md_atof): Likewise.
2440 * config/tc-mn10300.c (md_atof): Likewise.
2441 * config/tc-moxie.c (md_atof): Likewise.
2442 * config/tc-msp430.c (md_atof): Likewise.
2443 * config/tc-mt.c (md_atof): Likewise.
2444 * config/tc-nds32.c (md_atof): Likewise.
2445 * config/tc-nios2.c (md_atof): Likewise.
2446 (nios2_elf_section_letter): Constify ptr_msg param.
2447 * config/tc-nios2.h (nios2_elf_section_letter): Update prototype.
2448 * config/tc-ns32k.c (md_atof): Return const char*.
2449 * config/tc-or1k.c (md_atof): Likewise.
2450 * config/tc-pdp11.c (struct pdp11_code): Constify error.
2451 (md_atof): Return const char*.
2452 * config/tc-pj.c (md_atof): Likewise.
2453 * config/tc-ppc.c (md_atof): Likewise.
2454 * config/tc-rl78.c (md_atof): Likewise.
2455 * config/tc-rx.c (md_atof): Likewise.
2456 * config/tc-s390.c (md_atof): Likewise.
2457 * config/tc-score.c (s3_atof, md_atof): Likewise.
2458 * config/tc-sh.c (md_atof): Likewise.
2459 * config/tc-sparc.c (struct sparc_it): Constify error.
2460 (md_atof): Return const char*.
2461 * config/tc-spu.c (md_atof): Likewise.
2462 * config/tc-tic30.c (md_atof): Likewise.
2463 * config/tc-tic4x.c (md_atof): Likewise.
2464 * config/tc-tic54x.c (md_atof): Likewise.
2465 * config/tc-tic6x.c (md_atof): Likewise.
2466 * config/tc-tilegx.c (md_atof): Likewise.
2467 * config/tc-tilepro.c (md_atof): Likewise.
2468 * config/tc-v850.c (parse_register_list, md_atof): Likewise.
2469 * config/tc-vax.c (md_atof): Likewise.
2470 * config/tc-visium.c (md_atof): Likewise.
2471 * config/tc-xc16x.c (md_atof): Likewise.
2472 * config/tc-xgate.c (md_atof): Likewise.
2473 * config/tc-xstormy16.c (md_atof): Likewise.
2474 * config/tc-xtensa.c (md_atof): Likewise.
2475 * config/tc-z80.c (md_atof): Likewise.
2476 * config/tc-z8k.c (md_atof): Likewise.
2477
e4a0c708
TS
24782016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2479
2480 * config/tc-xtensa.c (struct rename_section_struct): Make old_name
2481 const.
2482 (xtensa_section_rename): Make argument type const char *.
2483 * config/tc-xtensa.h (xtensa_section_rename): Adjust.
2484
e2c7dcae
TS
24852016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2486
2487 * config/tc-i960.c (parse_ldconst): Cast to char * when assigning to
2488 args[0].
2489
f854977c
TS
24902016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2491
2492 * config/tc-m32c.c (m32c_md_end): cast the argument to md_assemble to
2493 char *.
2494 (m32c_indirect_operand): Likewise.
2495 * config/tc-nds32.c (do_pseudo_b): Likewise.
2496 (do_pseudo_bal): Likewise.
2497 (do_pseudo_ls_bhw): Likewise.
2498
97830986
TS
24992016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2500
2501 * as.c (parse_args): Cast literal to char * when assigning to optarg.
2502
e87de513
TS
25032016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2504
2505 * config/tc-ia64.c (md_assemble): Add temporary variable to pass to
2506 get_symbol_name ().
2507 * config/tc-sparc.c (s_register): Cast a literal to char * in
2508 assignment.
2509
47990a6a
TS
25102016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2511
2512 * config/tc-i960.c (parse_expr): Cast to char * when assigning to
2513 input_line_pointer.
2514 * config/tc-m32r.c (expand_debug_syms): Likewise.
2515 * config/tc-msp430.c (msp430_dstoperand): Likewise.
2516 * config/tc-z80.c (md_begin): Likewise.
2517 * stabs.c (stabs_generate_asm_func): Likewise.
2518
e046cf80
TS
25192016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2520
2521 * cgen.c: Modernize the way functions declare arguments.
2522 * config/tc-bfin.c: Likewise.
2523 * config/tc-pdp11.c: Likewise.
2524 * literal.c: Likewise.
2525 * read.c: Likewise.
2526 * stabs.c: Likewise.
2527
d9235011
TS
25282016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2529
2530 * config/tc-aarch64.c (aarch64_handle_align): Make the type of some
2531 variables unsigned char[].
2532 * config/tc-alpha.c (alpha_handle_align): Likewise.
2533 * config/tc-arm.c (arm_handle_align): Likewise.
2534 * config/tc-z80.c: Likewise.
2535
c6025a80
NC
25362016-03-30 Nick Clifton <nickc@redhat.com>
2537
2538 PR target/19880
2539 * config/tc-arm.c (do_t_push_pop): Cast bitmask to unsigned before
2540 shifting.
2541
f89a23cf
CZ
25422016-03-30 Claudiu Zissulescu <claziss@synopsys.com>
2543
abe051ba
AM
2544 * testsuite/gas/all/gas.exp: Don't xfail on ARC.
2545 * testsuite/gas/elf/elf.exp: Likewise.
2546 * testsuite/gas/all/redef3.d: Allow execution for ARC.
f89a23cf 2547
f621ad3c
CZ
25482016-03-30 Claudiu Zissulescu <claziss@synopsys.com>
2549
abe051ba 2550 * testsuite/gas/arc/warn.exp: Fix matching pattern.
f621ad3c 2551
f2dd8838
CZ
25522016-03-29 Claudiu Zissulescu <claziss@synopsys.com>
2553
abe051ba
AM
2554 * testsuite/gas/arc/ext2op.d: New file.
2555 * testsuite/gas/arc/ext2op.s: Likewise.
2556 * testsuite/gas/arc/ext3op.d: Likewise.
2557 * testsuite/gas/arc/ext3op.s: Likewise.
f2dd8838 2558
17b9d67d
TS
25592016-03-29 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2560
2561 * config/tc-aarch64.c (struct aarch64_long_option_table): Ad const
2562 qualifier.
2563 * config/tc-alpha.c (md_parse_option): Likewise.
2564 * config/tc-arc.c (md_parse_option): Likewise.
2565 * config/tc-arm.c (struct arm_long_option_table): Likewise.
2566 (md_parse_option): Likewise.
2567 * config/tc-avr.c (md_parse_option): Likewise.
2568 * config/tc-bfin.c (md_parse_option): Likewise.
2569 * config/tc-cr16.c (md_parse_option): Likewise.
2570 * config/tc-cris.c (s_cris_arch): Likewise.
2571 (md_parse_option): Likewise.
2572 * config/tc-crx.c (md_parse_option): Likewise.
2573 * config/tc-d10v.c (md_parse_option): Likewise.
2574 * config/tc-d30v.c (md_parse_option): Likewise.
2575 * config/tc-dlx.c (md_parse_option): Likewise.
2576 * config/tc-epiphany.c (md_parse_option): Likewise.
2577 * config/tc-fr30.c (md_parse_option): Likewise.
2578 * config/tc-frv.c (md_parse_option): Likewise.
2579 * config/tc-ft32.c (md_parse_option): Likewise.
2580 * config/tc-h8300.c (md_parse_option): Likewise.
2581 * config/tc-hppa.c (md_parse_option): Likewise.
2582 * config/tc-i370.c (md_parse_option): Likewise.
2583 * config/tc-i386.c (md_parse_option): Likewise.
2584 * config/tc-i860.c (md_parse_option): Likewise.
2585 * config/tc-i960.c (md_parse_option): Likewise.
2586 * config/tc-ia64.c (md_parse_option): Likewise.
2587 * config/tc-ip2k.c (md_parse_option): Likewise.
2588 * config/tc-iq2000.c (md_parse_option): Likewise.
2589 * config/tc-lm32.c (md_parse_option): Likewise.
2590 * config/tc-m32c.c (md_parse_option): Likewise.
2591 * config/tc-m32r.c (md_parse_option): Likewise.
2592 * config/tc-m68hc11.c (md_parse_option): Likewise.
2593 * config/tc-m68k.c (md_parse_option): Likewise.
2594 * config/tc-mcore.c (md_parse_option): Likewise.
2595 * config/tc-mep.c (md_parse_option): Likewise.
2596 * config/tc-metag.c (struct metag_long_option): Likewise.
2597 (md_parse_option): Likewise.
2598 * config/tc-microblaze.c (md_parse_option): Likewise.
2599 * config/tc-microblaze.h (md_parse_option): Remove prototype.
2600 * config/tc-mips.c (md_parse_option): Adjust.
2601 * config/tc-mmix.c (md_parse_option): Likewise.
2602 * config/tc-mn10200.c (md_parse_option): Likewise.
2603 * config/tc-mn10300.c (md_parse_option): Likewise.
2604 * config/tc-moxie.c (md_parse_option): Likewise.
2605 * config/tc-msp430.c (md_parse_option): Likewise.
2606 * config/tc-mt.c (md_parse_option): Likewise.
2607 * config/tc-nds32.c (md_parse_option): Likewise.
2608 * config/tc-nds32.h (nds32_parse_option): Likewise.
2609 * config/tc-nios2.c (md_parse_option): Likewise.
2610 * config/tc-ns32k.c (md_parse_option): Likewise.
2611 * config/tc-or1k.c (md_parse_option): Likewise.
2612 * config/tc-pdp11.c (md_parse_option): Likewise.
2613 * config/tc-pj.c (md_parse_option): Likewise.
2614 * config/tc-ppc.c (md_parse_option): Likewise.
2615 * config/tc-rl78.c (md_parse_option): Likewise.
2616 * config/tc-rx.c (md_parse_option): Likewise.
2617 * config/tc-s390.c (s390_parse_cpu): Likewise.
2618 * config/tc-score.c (md_parse_option): Likewise.
2619 * config/tc-sh.c (md_parse_option): Likewise.
2620 * config/tc-sparc.c (md_parse_option): Likewise.
2621 * config/tc-spu.c (md_parse_option): Likewise.
2622 * config/tc-tic30.c (md_parse_option): Likewise.
2623 * config/tc-tic4x.c (md_parse_option): Likewise.
2624 * config/tc-tic54x.c (md_parse_option): Likewise.
2625 * config/tc-tic6x.c (md_parse_option): Likewise.
2626 * config/tc-tilegx.c (md_parse_option): Likewise.
2627 * config/tc-tilepro.c (md_parse_option): Likewise.
2628 * config/tc-v850.c (md_parse_option): Likewise.
2629 * config/tc-vax.c (md_parse_option): Likewise.
2630 * config/tc-visium.c (struct visium_long_option_table): Likewise.
2631 * config/tc-xc16x.c (md_parse_option): Likewise.
2632 * config/tc-xgate.c (md_parse_option): Likewise.
2633 * config/tc-xstormy16.c (md_parse_option): Likewise.
2634 * config/tc-xtensa.c (md_parse_option): Likewise.
2635 * config/tc-z80.c (md_parse_option): Likewise.
2636 * config/tc-z8k.c (md_parse_option): Likewise.
2637 * tc.h (md_parse_option): Likewise.
2638
30bd735c
TS
26392016-03-29 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2640
2641 * config/tc-bfin.c (gencode): Use XOBNEW obstack_alloc () wrapper.
2642 * config/tc-hppa.c (fix_new_hppa): Likewise.
2643 (pa_vtable_entry): Likewise.
2644 (pa_vtable_inherit): Likewise.
2645 * config/tc-m68k.c (md_begin): Likewise.
2646
82b8a785
TS
26472016-03-28 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2648
2649 * config/obj-elf.c (obj_elf_section_name): Return const char *.
2650 * config/obj-elf.h (obj_elf_section_name): Adjust.
2651 * config/tc-aarch64.c (aarch64_parse_features): Likewise.
2652 (aarch64_parse_cpu): Likewise.
2653 (aarch64_parse_arch): Likewise.
2654 * config/tc-arm.c (arm_parse_extension): Likewise.
2655 (arm_parse_cpu): Likewise.
2656 (arm_parse_arch): Likewise.
2657 * config/tc-nds32.c: Likewise.
2658 * config/xtensa-relax.c (parse_special_fn): Likewise.
2659 * stabs.c (generate_asm_file): Likewise.
2660
9202e88a
TS
26612016-03-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2662
2663 * config/tc-cr16.c (cr16_assemble): New function.
2664 (md_assemble): Call cr16_assemble.
2665
a90fb5e3
TS
26662016-03-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2667
2668 * as.c (parse_args): Adjust.
2669 * as.h (flag_size_check): Rename to flag_allow_nonconst_size.
2670 * config/obj-elf.c (elf_frob_symbol): Adjust.
2671
f65c3d1b
JM
26722016-03-24 Jose E. Marchesi <jose.marchesi@oracle.com>
2673
2674 * config/tc-sparc.c (sparc_ip): Remove the V9 restriction on ASR
2675 registers to be in the 16..31 range.
2676
e742e119
TS
26772016-03-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2678
2679 * config/tc-microblaze.c (md_assemble): Cast opc to char * when calling
2680 frag_var ().
2681
eda6e9a4
TS
26822016-03-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2683
2684 * config/tc-visium.c (md_atof): Localize the string returned on
2685 failure.
2686
b9bb4a93
TS
26872016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2688
2689 * config/tc-h8300.c (h8300_elf_section): Add const qualifiers.
2690 * config/tc-ia64.c (obj_elf_vms_common): Likewise.
2691 * config/tc-m68hc11.c (md_begin): Likewise.
2692 (print_opcode_list): Likewise.
2693 * config/tc-msp430.c (msp430_section): Likewise.
2694 * config/tc-score.c (struct s3_insn_to_dependency): Likewise.
2695 (s3_build_dependency_insn_hsh): Likewise.
2696 * config/tc-score7.c (struct s7_insn_to_dependency): Likewise.
2697 (s7_build_dependency_insn_hsh): Likewise.
2698 * config/tc-tic4x.c: Likewise.
2699 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
2700 (subsym_get_arg): Likewise.
2701 * config/tc-xtensa.c (struct suffix_reloc_map): Likewise.
2702 (get_directive): Likewise.
2703 (cache_literal_section): Likewise.
2704 * config/xtensa-relax.c: Likewise.
2705 * symbols.c (symbol_create): Likewise.
2706 (local_symbol_make): Likewise.
2707 (symbol_relc_make_expr): Likewise.
2708
986d894b
TS
27092016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2710
2711 * config/tc-pdp11.c (md_assemble): Remove useless if and assignment to
2712 str.
2713
74b4e47a
TS
27142016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2715
2716 * config/tc-sparc.c (sparc_regname_to_dw2regnum): Replace strchr ()
2717 call with a switch.
2718
0a433ebc
TS
27192016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2720
2721 * config/tc-ia64.c (ia64_do_align): Remove.
2722 (ia64_cons_align): Call do_align () directly.
2723 (dot_proc): Likewise.
2724 (stmt_float_cons): Likewise.
2725
8860a416
TS
27262016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2727
2728 * listing.c (listing_message): Use XNEW style allocation macros.
2729 * read.c (read_a_source_file): Likewise.
2730 (read_symbol_name): Likewise.
2731 (s_mri_common): Likewise.
2732 (assign_symbol): Likewise.
2733 (s_reloc): Likewise.
2734 (emit_expr_with_reloc): Likewise.
2735 (s_incbin): Likewise.
2736 (s_include): Likewise.
2737 * sb.c (sb_build): Likewise.
2738 (sb_check): Likewise.
2739
49636823
AM
27402016-03-22 Alan Modra <amodra@gmail.com>
2741
2742 * write.c (record_alignment): Revert 2016-02-18 change.
2743
39a0d071
AM
27442016-03-22 Alan Modra <amodra@gmail.com>
2745
2746 * config/tc-alpha.c (load_expression): Replace alloca with xmalloc.
2747 (emit_jsrjmp, tc_gen_reloc): Likewise.
2748 * config/tc-i370.c (i370_macro): Likewise.
2749
9780e045
NC
27502016-03-22 Nick Clifton <nickc@redhat.com>
2751
2752 * configure: Regenerate.
2753
e23e8ebe
AB
27542016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
2755
2756 * testsuite/gas/arc/nps400-0.d: New file.
2757 * testsuite/gas/arc/nps400-0.s: New file.
2758 * testsuite/gas/arc/nps400-1.d: New file.
2759 * testsuite/gas/arc/nps400-1.s: New file.
2760
1ae8ab47
AB
27612016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
2762
2763 * config/tc-arc.c (find_opcode_match): Move lnflg, and i
2764 declarations to start of block. Reset code on all flags before
2765 attempting to match them. Handle multiple hits on the same flag.
2766 Handle flag class.
2767 * testsuite/gas/arc/asm-errors.d: New file.
2768 * testsuite/gas/arc/asm-errors.err: New file.
2769 * testsuite/gas/arc/asm-errors.s: New file.
2770
8699fc3e
AB
27712016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
2772
2773 * config/tc-arc.c (cpu_types): Add nps400 entry.
2774 (check_zol): Handle nps400.
2775
a9522a21
AB
27762016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
2777
2778 * config/tc-arc.c (arc_select_cpu): Remove use of
2779 EF_ARC_CPU_GENERIC.
2780
24740d83
AB
27812016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
2782
2783 * config/tc-arc.c (arc_target): Delay initialisation until
2784 arc_select_cpu.
2785 (arc_target_name): Likewise.
2786 (arc_features): Likewise.
2787 (arc_mach_type): Likewise.
2788 (cpu_types): Remove "all" entry.
2789 (arc_select_cpu): New function, most of the content is from...
2790 (md_parse_option): ... here. Call new arc_select_cpu.
2791 (md_begin): Call arc_select_cpu if needed, default is now arc700.
2792
62f6f9c2
AB
27932016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
2794
2795 * testsuite/gas/arc/inline-data-1.d: Add target restriction.
2796 * testsuite/gas/arc/inline-data-2.d: New file.
2797
e1fa0163
NC
27982016-03-21 Nick Clifton <nickc@redhat.com>
2799
2800 * atof-generic.c: Replace use of alloca with call to xmalloc.
2801 * cgen.c: Likewise.
2802 * dwarf2dbg.c: Likewise.
2803 * macro.c: Likewise.
2804 * remap.c: Likewise.
2805 * stabs.c: Likewise.
2806 * symbols.c: Likewise.
2807 * config/obj-elf.c: Likewise.
2808 * config/tc-aarch64.c: Likewise.
2809 * config/tc-arc.c: Likewise.
2810 * config/tc-arm.c: Likewise.
2811 * config/tc-avr.c: Likewise.
2812 * config/tc-ia64.c: Likewise.
2813 * config/tc-mips.c: Likewise.
2814 * config/tc-msp430.c: Likewise.
2815 * config/tc-nds32.c: Likewise.
2816 * config/tc-ppc.c: Likewise.
2817 * config/tc-sh.c: Likewise.
2818 * config/tc-tic30.c: Likewise.
2819 * config/tc-tic54x.c: Likewise.
2820 * config/tc-xstormy16.c: Likewise.
2821 * config/te-vms.c: Likewise.
2822 * configure: Regenerate.
2823
bad6e36d
TS
28242016-03-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2825
2826 * tc-i386.c (f32_1): Change type to unsigned char[].
2827 (f32_2): Likewise.
2828 (f32_3): Likewise.
2829 (f32_4): Likewise.
2830 (f32_5): Likewise.
2831 (f32_6): Likewise.
2832 (f32_7): Likewise.
2833 (f32_8): Likewise.
2834 (f32_9): Likewise.
2835 (f32_10): Likewise.
2836 (f32_11): Likewise.
2837 (f32_12): Likewise.
2838 (f32_13): Likewise.
2839 (f32_14): Likewise.
2840 (f16_3): Likewise.
2841 (f16_4): Likewise.
2842 (f16_5): Likewise.
2843 (f16_6): Likewise.
2844 (f16_7): Likewise.
2845 (f16_8): Likewise.
2846 (jump_31): Likewise.
2847 (f32_patt): Likewise.
2848 (f16_patt): Likewise.
2849 (alt_3): Likewise.
2850 (alt_4): Likewise.
2851 (alt_5): Likewise.
2852 (alt_6): Likewise.
2853 (alt_7): Likewise.
2854 (alt_8): Likewise.
2855 (alt_9): Likewise.
2856 (alt_10): Likewise.
2857 (alt_patt): Likewise.
2858
6387924a
NC
28592016-03-18 Nick Clifton <nickc@redhat.com>
2860
30fab421
NC
2861 * doc/c-aarch64.texi (AArch64 Directives): Add descriptions of
2862 .cpu, .dword, .even, .inst. .tlsdescadd, .tlsdesccall,
2863 .tlsdescldr and .xword directives.
2864
8678914f
NC
2865 PR target/19721
2866 * testsuite/gas/aarch64/pr19721.s: New test source file.
2867 * testsuite/gas/aarch64/pr19721.d: New test driver file.
2868
6387924a
NC
2869 * doc/as.texinfo: Place the target specific command line options
2870 into their own man page section.
2871
cc933301
JW
28722016-03-16 Jiong Wang <jiong.wang@arm.com>
2873
2874 * config/tc-arm.c (N_S_32): New.
2875 (N_F_16_32): Likewise.
2876 (N_SUF_32): Support N_F16.
2877 (N_IF_32): Likewise.
2878 (neon_dyadic_misc): Likewise.
2879 (do_neon_cmp): Likewise.
2880 (do_neon_cmp_inv): Likewise.
2881 (do_neon_mul): Likewise.
2882 (do_neon_fcmp_absolute): Likewise.
2883 (do_neon_step): Likewise.
2884 (do_neon_abs_neg): Likewise.
2885 (CVT_FLAVOR_VAR): Likewise.
2886 (do_neon_cvt_1): Likewise.
2887 (do_neon_recip_est): Likewise.
2888 (do_vmaxnm): Likewise.
2889 (do_vrint_1): Likewise.
2890 (neon_check_type): Check architecture support for FP16 extension.
2891 (insns): Update comments.
2892 * testsuite/gas/arm/armv8-2-fp16-simd.s: New test source.
2893 * testsuite/gas/arm/armv8-2-fp16-simd.d: New testcase for arm mode.
2894 * testsuite/gas/arm/armv8-2-fp16-simd-thumb.d: Likewise for thumb mode.
2895 * testsuite/gas/arm/armv8-2-fp16-simd-warning.d: New rejection test for
2896 arm mode.
2897 * testsuite/gas/arm/armv8-2-fp16-simd-warning-thumb.d: Likewise for
2898 thumb mode.
2899 * testsuite/gas/arm/armv8-2-fp16-simd-warning.l: New expected rejection
2900 error file.
2901
5f2b6bc9
NC
29022016-03-16 Nick Clifton <nickc@redhat.com>
2903
2904 * read.c (emit_expr_with_reloc): Add code check a bignum with
2905 nbytes == 1.
2906 * config/rx/rx-parse.y (rx_intop): Accept bignum values for sizes
2907 other than 32-bits.
2908 * testsuite/gas/elf/bignum.s: New test source file.
2909 * testsuite/gas/elf/bignum.d: New test driver file.
2910 * testsuite/gas/elf/elf.exp: Run the new test.
2911
4bde3cdd
UD
29122016-03-15 Ulrich Drepper <drepper@gmail.com>
2913
2914 * doc/c-i386.texi (Register Naming): Update to details of the
abe051ba 2915 latest architecture version.
4bde3cdd 2916
a9f02af8
MG
29172016-03-10 Mickael Guene <mickael.guene@st.com>
2918
2919 PR gas/19744
2920 * config/tc-arm.c (do_arit): Protect against bad relocations usage.
2921 (do_mov): Likewise.
2922 (do_t_add_sub): Allow pcrop relocations for Thumb-2 targets.
2923 (do_t_mov_cmp): Likewise.
2924 (do_t_add_sub): Protect against bad relocations usage.
2925 (do_t_mov_cmp): Likewise.
5dafb246
AM
2926 * testsuite/gas/arm/adds-thumb1-reloc-local-armv7-m.s: New.
2927 * testsuite/gas/arm/adds-thumb1-reloc-local-armv7-m.d: New.
2928 * testsuite/gas/arm/movs-thumb1-reloc-local-armv7-m.s: New.
2929 * testsuite/gas/arm/movs-thumb1-reloc-local-armv7-m.d: New.
a9f02af8 2930
aa8a0863
TS
29312016-03-09 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2932
2933 * config/tc-arm.c (neon_alignment_bit): Rename do_align to
2934 do_alignment.
2935 (do_neon_ld_st_lane): Likewise.
2936 (do_neon_ld_dup): Likewise.
2937
72f3b6aa
CZ
29382016-03-08 Andrew Burgess <andrew.burgess@embecosm.com>
2939
2940 * testsuite/gas/arc/inline-data-1.d: New file.
2941 * testsuite/gas/arc/inline-data-1.s: New file.
2942
5f474010
TP
29432016-03-07 Andre Vieira <andre.simoesdiasvieira@arm.com>
2944
2945 * config/tc-arm.c (arm_cpus): Add cortex-r8.
2946 * doc/c-arm.texi: Add cortex-r8.
2947
f86f5863
TS
29482016-03-07 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2949
2950 * config/tc-arc.c: Add const qualifiers.
2951 * config/tc-h8300.c (md_begin): Likewise.
2952 * config/tc-ia64.c (print_prmask): Likewise.
2953 * config/tc-msp430.c (msp430_operands): Likewise.
2954 * config/tc-nds32.c (struct suffix_name): Likewise.
2955 (struct nds32_parse_option_table): Likewise.
2956 (struct nds32_set_option_table): Likewise.
2957 (do_pseudo_pushpopm): Likewise.
2958 (do_pseudo_pushpop_stack): Likewise.
2959 (nds32_relax_relocs): Likewise.
2960 (nds32_flag): Likewise.
2961 (struct nds32_hint_map): Likewise.
2962 (nds32_find_reloc_table): Likewise.
2963 (nds32_match_hint_insn): Likewise.
2964 * config/tc-s390.c: Likewise.
2965 * config/tc-sh.c (get_specific): Likewise.
2966 * config/tc-tic30.c: Likewise.
2967 * config/tc-tic4x.c (tic4x_inst_add): Likewise.
2968 (tic4x_indirect_parse): Likewise.
2969 * config/tc-vax.c (vax_cons): Likewise.
2970 * config/tc-z80.c (struct reg_entry): Likewise.
2971 * config/tc-epiphany.c (md_assemble): Adjust.
2972 (epiphany_assemble): New function.
2973 (epiphany_elf_section_rtn): Call do_align directly.
2974 (epiphany_elf_section_text): Likewise.
2975 * config/tc-ip2k.c (ip2k_elf_section_rtn): Likewise.
2976 (ip2k_elf_section_text): Likewise.
2977 * read.c (do_align): Make it not static.
2978 * read.h (do_align): New prototype.
2979
9411fd44
MW
29802016-03-04 Matthew Wahab <matthew.wahab@arm.com>
2981
2982 * config/tc-arm.c (aeabi_set_public_attributes): Emit attribute
2983 for ARMv8.1 AdvSIMD use.
2984 * testsuite/gas/arm/attr-march-armv8-a+rdma.d: New.
2985 * testsuite/gas/arm/attr-march-armv8_1-a+simd.d: New.
2986
643afb90
MW
29872016-03-04 Matthew Wahab <matthew.wahab@arm.com>
2988
2989 * config/gas/tc-arm.c (fpu_neon_ext_v8_1): Restrict to the ARMv8.1 RDMA
2990 feature.
2991 (record_feature_use): New.
2992 (mark_feature_used): Use record_feature_use.
2993 (do_neon_qrdmlah): New.
2994 (insns): Use do_neon_qrdmlah for vqrdmlah and vqrdmlsh and
2995 variants.
2996 (arm_extensions): Put into alphabetical order. Re-indent "simd"
2997 and "rdma" entries. Fix the incorrect merge value for "+rdma".
2998 * testsuite/gas/arm/armv8-a+rdma-warning.d: New.
2999 * testsuite/gas/arm/armv8-a+rdma.d: Add assembler command line options.
3000 Make source file explicit.
3001 * testsuite/gas/arm/armv8-a+rdma.l: New.
3002 * testsuite/gas/arm/armv8-a+rdma.s: Remove .arch and .arch_extension
3003 directives. Fix white-space.
3004 * testsuite/gas/arm/armv8_1-a+simd.d: New.
3005
25aa3689
L
30062016-03-02 H.J. Lu <hongjiu.lu@intel.com>
3007
3008 * testsuite/gas/i386/x86_64-intel.d: Adjusted for COFF.
3009
841fdfcd
CZ
30102016-02-29 Cupertino Miranda <cmiranda@synopsys.com>
3011 Claudiu Zissulescu <Claudiu.Zissulescu@synopsys.com>
3012
abe051ba
AM
3013 * config/tc-arc.c (arc_extra_reloc): Change size to 0.
3014 (tc_arc_fix_adjustable): Changed default return value to 1.
3015 * testsuite/gas/arc/j.d: Updated expected symbol
3016 * testsuite/gas/arc/jl.d: Likewise
3017 * testsuite/gas/arc/relax-avoid1.d: Likewise
3018 * testsuite/gas/arc/st.d: Likewise
841fdfcd 3019
7e458899
CZ
30202016-02-29 Claudiu Zissulescu <Claudiu.Zissulescu@synopsys.com>
3021
3022 * config/tc-arc.c: Enable code density instructions for ARC EM.
3023
11e5f1ec
L
30242016-02-26 H.J. Lu <hongjiu.lu@intel.com>
3025
3026 PR ld/19645
3027 * NEWS: Mention --enable-elf-stt-common and --elf-stt-common=
3028 for ELF assemblers.
3029 * as.c (flag_use_elf_stt_common): New.
3030 (show_usage): Add --elf-stt-common=.
3031 (option_values): Add OPTION_ELF_STT_COMMON.
3032 (std_longopts): Add --elf-stt-common=.
3033 (parse_args): Handle --elf-stt-common=.
3034 * as.h (flag_use_elf_stt_common): New.
3035 * config.in: Regenerated.
3036 * configure: Likewise.
3037 * configure.ac: Add --enable-elf-stt-common and define
3038 DEFAULT_GENERATE_ELF_STT_COMMON.
3039 * gas/write.c (write_object_file): Set BFD_CONVERT_ELF_COMMON
3040 and BFD_USE_ELF_STT_COMMON if flag_use_elf_stt_common is set.
3041 * doc/as.texinfo: Document --elf-stt-common=.
3042 * testsuite/gas/elf/common3.s: New file.
3043 * testsuite/gas/elf/common3a.d: Likewise.
3044 * testsuite/gas/elf/common3b.d: Likewise.
3045 * testsuite/gas/elf/common4.s: Likewise.
3046 * testsuite/gas/elf/common4a.d: Likewise.
3047 * testsuite/gas/elf/common4b.d: Likewise.
3048 * testsuite/gas/i386/dw2-compress-3b.d: Likewise.
3049 * testsuite/gas/i386/dw2-compressed-3b.d: Likewise.
3050 * testsuite/gas/elf/elf.exp: Run common3a, common3b, common4a
3051 and common4b.
3052 * testsuite/gas/i386/dw2-compress-3.d: Renamed to ...
3053 * testsuite/gas/i386/dw2-compress-3a.d: This. Pass
3054 --elf-stt-common=no to as.
3055 * testsuite/gas/i386/dw2-compressed-3.d: Renamed to ...
3056 * testsuite/gas/i386/dw2-compressed-3a.d: This. Pass
3057 --elf-stt-common=no to as.
3058 * testsuite/gas/i386/i386.exp: Run dw2-compress-3a,
3059 dw2-compress-3b, dw2-compressed-3a and dw2-compressed-3b instead
3060 of dw2-compress-3 and dw2-compressed-3.
3061
e0471c16
TS
30622016-02-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3063
3064 * as.c (select_emulation_mode): Add const qualifiers.
3065 * as.h: Likewise.
3066 * config/bfin-defs.h: Likewise.
3067 * config/bfin-parse.y: Likewise.
3068 * config/rx-parse.y: Likewise.
3069 * config/tc-aarch64.c (struct aarch64_option_table): Likewise.
3070 (struct aarch64_cpu_option_table): Likewise.
3071 (struct aarch64_arch_option_table): Likewise.
3072 (struct aarch64_option_cpu_value_table): Likewise.
3073 (struct aarch64_long_option_table): Likewise.
3074 (struct aarch64_option_abi_value_table): Likewise.
3075 * config/tc-arm.c (struct reloc_entry): Likewise.
3076 (tc_gen_reloc): Likewise.
3077 (struct arm_option_table): Likewise.
3078 (struct arm_legacy_option_table): Likewise.
3079 (struct arm_cpu_option_table): Likewise.
3080 (struct arm_arch_option_table): Likewise.
3081 (struct arm_option_extension_value_table): Likewise.
3082 (struct arm_option_fpu_value_table): Likewise.
3083 (struct arm_option_value_table): Likewise.
3084 (struct arm_long_option_table): Likewise.
3085 * config/tc-avr.c (struct avr_opcodes_s): Likewise.
3086 (struct mcu_type_s): Likewise.
3087 (struct exp_mod_s): Likewise.
3088 (avr_operand): Likewise.
3089 (avr_operands): Likewise.
3090 * config/tc-d10v.c (md_begin): Likewise.
3091 * config/tc-dlx.c: Likewise.
3092 * config/tc-fr30.c (fr30_is_colon_insn): Likewise.
3093 * config/tc-ft32.c (parse_condition): Likewise.
3094 * config/tc-h8300.c (do_a_fix_imm): Likewise.
3095 * config/tc-hppa.c (pa_ip): Likewise.
3096 (hppa_regname_to_dw2regnum): Likewise.
3097 * config/tc-i370.c (i370_elf_suffix): Likewise.
3098 * config/tc-i960.c (struct tabentry): Likewise.
3099 * config/tc-m32r.c: Likewise.
3100 * config/tc-m68k.c: Likewise.
3101 * config/tc-m68k.h: Likewise.
3102 * config/tc-mcore.c (parse_psrmod): Likewise.
3103 * config/tc-metag.c (struct metag_core_option): Likewise.
3104 (struct metag_long_option): Likewise.
3105 * config/tc-microblaze.c: Likewise.
3106 * config/tc-mips.c (macro): Likewise.
3107 * config/tc-mn10200.c: Likewise.
3108 * config/tc-mn10300.c: Likewise.
3109 * config/tc-msp430.c (struct rcodes_s): Likewise.
3110 (struct hcodes_s): Likewise.
3111 (md_parse_option): Likewise.
3112 * config/tc-ns32k.c (struct ns32k_option): Likewise.
3113 (optlist): Likewise.
3114 * config/tc-ppc.c (ppc_elf_suffix): Likewise.
3115 (tc_ppc_regname_to_dw2regnum): Likewise.
3116 * config/tc-ppc.h: Likewise.
3117 * config/tc-rl78.c: Likewise.
3118 * config/tc-rx.c (struct cpu_type): Likewise.
3119 * config/tc-sh.c (sh_regname_to_dw2regnum): Likewise.
3120 * config/tc-sparc.c (struct priv_reg_entry): Likewise.
3121 (sparc_ip): Likewise.
3122 * config/tc-spu.c (insn_fmt_string): Likewise.
3123 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
3124 * config/tc-v850.c: Likewise.
3125 * config/tc-visium.c (struct visium_arch_option_table): Likewise.
3126 (struct visium_long_option_table): Likewise.
3127 * config/tc-xgate.c: Likewise.
3128 * config/tc-z8k.c: Likewise.
3129 * read.c (add_include_dir): Likewise.
3130 * read.h: Likewise.
3131
e6e7b7c4
AB
31322016-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
3133
3134 * testsuite/gas/all/gas.exp: Change target pattern to cover
3135 arceb-*.
3136 * testsuite/gas/all/redef3.d: Likewise.
3137 * testsuite/gas/elf/elf.exp: Likewise.
3138
9db2f6b4
RL
31392016-02-24 Renlin Li <renlin.li@arm.com>
3140
3141 * config/tc-arm.c (BAD_FP16): New error message macro.
3142 (do_scalar_fp16_v82_encode): Change the coproc field to 9 for armv8.2
3143 fp16 scalar instructions.
3144 (neon_check_type): Allow different size from key.
3145 (do_vfp_nsyn_add_sub): Add support SE_H shape support.
3146 (try_vfp_nsyn): Likewise.
3147 (do_vfp_nsyn_mla_mls): Likewise.
3148 (do_vfp_nsyn_fma_fms): Likewise.
3149 (do_vfp_nsyn_ldm_stm): Likewise
3150 (do_vfp_nsyn_sqrt): Likewise
3151 (do_vfp_nsyn_div): Likewise
3152 (do_vfp_nsyn_nmul): Likewise.
3153 (do_vfp_nsyn_cmp): Likewise.
3154 (do_neon_shll): Likewise.
3155 (do_vfp_nsyn_cvt_fpv8): Likewise.
3156 (do_neon_cvttb_2): Likewise.
3157 (do_neon_mov): Likewise.
3158 (do_neon_rshift_round_imm): Likewise.
3159 (do_neon_ldr_str): Likewise.
3160 (do_vfp_nsyn_fpv8): Likewise.
3161 (do_vmaxnm): Likewise.
3162 (do_vrint_1): Likewise.
3163 (insns): New entry for vins, vmovx.
3164 (md_apply_fix): Left shift 1 bit for fp16 vldr/vstr.
3165 * testsuite/gas/arm/armv8-2-fp16-scalar-thumb.d: New.
3166 * testsuite/gas/arm/armv8-2-fp16-scalar.d: New.
3167 * testsuite/gas/arm/armv8-2-fp16-scalar.s: New.
3168 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.s: New
3169 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.d: New
3170 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.l: New
3171
d54af2d0
RL
31722016-02-24 Renlin Li <renlin.li@arm.com>
3173
3174 * config/tc-arm.c (NEON_ENC_TAB): Add fp16 instruction shape.
3175 (neon_shape_class): New SC_HALF.
3176 (neon_shape_el): New SE_H.
3177 (neon_shape_el_size): New size for SE_H.
3178 (N_F_ALL): New macro to aggregate N_F16, N_F32, N_64.
3179 (neon_select_shape): Add SE_H support code.
3180 (el_type_of_type_chk): Use N_F_ALL.
3181 (do_vfp_nsyn_cvt): Add SE_H shape support.
3182 (do_neon_cvtz): Likewise.
3183 (do_neon_cvt_1): Likewise.
3184 (do_neon_cvttb_1): Likewise.
3185
b0c11777
RL
31862016-02-24 Renlin Li <renlin.li@arm.com>
3187
3188 * testsuite/gas/arm/copro.d: Adjust output.
3189 * testsuite/gas/arm/copro.s: Adjust co-processor num.
3190
3e309328
RL
31912016-02-24 Renlin Li <renlin.li@arm.com>
3192
3193 * testsuite/gas/arm/mask_1.d: New.
3194 * testsuite/gas/arm/mask_1.s: New.
3195
8afc7bea
RL
31962016-02-24 Renlin Li <renlin.li@arm.com>
3197
3198 * testsuite/gas/arm/copro.s: Use coprocessor other than 10, 11.
3199 * testsuite/gas/arm/copro.d: Update.
3200
6735952f
KT
32012016-02-24 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
3202
3203 * config/tc-arm.c (arm_cpus): Add entry for cortex-a32.
3204 * doc/c-arm.texi (ARM Options): Document cortex-a32.
3205
ed5491b9
KT
32062016-02-24 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
3207
abe051ba 3208 * doc/c-arm.texi (ARM Options): Document cortex-a17.
ed5491b9 3209
742e5034
L
32102016-02-23 H.J. Lu <hongjiu.lu@intel.com>
3211
3212 * testsuite/gas/elf/elf.exp: Skip tests for common directive on
3213 hpux.
3214
3b4dbbbf
TS
32152016-02-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3216
3217 * output-file.c (output_file_create): Make file name argument const.
3218 (output_file_close): Likewise.
3219 * output-file.h (output_file_create): Adjust.
3220 (output_file_close): Likewise.
3221 * depend.c (quote_string_for_make): Make src argument const char *.
3222 (register_dependency): Likewise.
3223 (wrap_output): Likewise.
3224 * as.h (register_dependency): Adjust.
3225 * config/tc-xtensa.c (finish_vinsn): Remove unnecessary calls to
3226 as_where ();
3227 * symbols.c (S_SET_EXTERNAL): Likewise.
3228 * input-scrub.c (as_where): Return the file name.
3229 * as.h (as_where): Adjust prototype.
3230 * app.c (do_scrub_chars): Adjust.
3231 * cond.c (s_elseif): Likewise.
3232 (s_else): Likewise.
3233 (initialize_cframe): Likewise.
3234 * config/obj-coff.c (obj_coff_init_stab_section): Likewise.
3235 * config/obj-elf.c (obj_elf_init_stab_section): Likewise.
3236 * config/obj-som.c (obj_som_init_stab_section): Likewise.
3237 * config/tc-aarch64.c (output_info): Likewise.
3238 * config/tc-ia64.c (md_assemble): Likewise.
3239 (dot_alias): Likewise.
3240 * config/tc-m68k.c (m68k_frob_label): Likewise.
3241 * config/tc-mmix.c (s_bspec): Likewise.
3242 (mmix_handle_mmixal): Likewise.
3243 * config/tc-rx.c (rx_include): Likewise.
3244 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
3245 (tic54x_adjust_symtab): Likewise.
3246 * config/tc-xtensa.c (directive_push): Likewise.
3247 (xtensa_sanity_check): Likewise.
3248 (xtensa_relax_frag): Likewise.
3249 (md_convert_frag): Likewise.
3250 (tinsn_to_slotbuf): Likewise.
3251 * dwarf2dbg.c (dwarf2_where): Likewise.
3252 * ecoff.c (add_file): Likewise.
3253 (ecoff_generate_asm_lineno): Likewise.
3254 * expr.c (make_expr_symbol): Likewise.
3255 * frags.c (frag_new): Likewise.
3256 (frag_var_init): Likewise.
3257 * listing.c (listing_newline): Likewise.
3258 * messages.c (identify): Likewise.
3259 (as_show_where): Likewise.
3260 (as_warn_internal): Likewise.
3261 (as_bad_internal): Likewise.
3262 * read.c (s_irp): Likewise.
3263 (s_macro): Likewise.
3264 (s_reloc): Likewise.
3265 * stabs.c (stabs_generate_asm_file): Likewise.
3266 (stabs_generate_asm_lineno): Likewise.
3267 (stabs_generate_asm_func): Likewise.
3268 * write.c (fix_new_internal): Likewise.
3269 * as.h (PRINTF_WHERE_LIKE): Make file name argument const.
3270 (as_warn_value_out_of_range): Adjust prototype.
3271 (as_bad_value_out_of_range): Adjust prototype.
3272 * messages.c (identify): Make file name argument const char *.
3273 (as_warn_internal): Likewise.
3274 (as_warn_where): Likewise.
3275 (as_bad_internal): Likewise.
3276 (as_bad_where): Likewise.
3277 (as_internal_value_out_of_range): Likewise.
3278 (as_warn_value_out_of_range): Likewise.
3279 (as_bad_value_out_of_range): Likewise.
3280 * as.h (found_comment_file): Change type to const char *.
3281 * cond.c (file_line::file): Likewise.
3282 * config/obj-coff.c (obj_coff_init_stab_section): Make variable const.
3283 * config/obj-elf.c (obj_elf_init_stab_section): Likewise.
3284 * config/obj-som.c (obj_som_init_stab_section): Likewise.
3285 * config/tc-aarch64.c (output_info): Likewise.
3286 * config/tc-alpha.c (insert_operand): Likewise.
3287 * config/tc-arc.c (insert_operand): Likewise.
3288 * config/tc-d30v.c (check_size): Likewise.
3289 * config/tc-ia64.c (struct alias): Likewise.
3290 * config/tc-m68k.c (struct label_line): Likewise.
3291 * config/tc-mcore.c (md_apply_fix): Likewise.
3292 * config/tc-microblaze.c (md_estimate_size_before_relax): Likewise.
3293 * config/tc-mips.c (mips16_immed): Likewise.
3294 * config/tc-mmix.c (mmix_handle_mmixal): Likewise.
3295 * config/tc-ppc.c (ppc_insert_operand): Likewise.
3296 * config/tc-rx.c (rx_include): Likewise.
3297 * config/tc-s390.c (s390_insert_operand): Likewise.
3298 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
3299 (tic54x_adjust_symtab): Likewise.
3300 * config/tc-tilegx.c (insert_operand): Likewise.
3301 (apply_special_operator): Likewise.
3302 * config/tc-tilepro.c (insert_operand): Likewise.
3303 * config/tc-xtensa.c (directive_push): Likewise.
3304 * ecoff.c (add_file): Likewise.
3305 (ecoff_generate_asm_lineno): Likewise.
3306 * listing.c (listing_newline): Likewise.
3307 * read.c (s_irp): Likewise.
3308 * write.c (install_reloc): Likewise.
3309 * write.h (struct fix): Likewise.
3310 * input-file.c (file_name): Change type to const char *.
3311 (saved_file::file_name): Likewise.
3312 (input_file_open): Change type of argument to const char *.
3313 * input-file.h (input_file_open): Adjust.
3314 * input-scrub.c (logical_input_file): change type to const char *.
3315 (physical_input_file): Likewise.
abe051ba 3316 (struct input_save): Adjust.
3b4dbbbf
TS
3317 (input_scrub_push): Adjust.
3318 (input_scrub_begin): Adjust.
3319 (as_where): Adjust.
3320 * input-scrub.c (input_scrub_new_file): Make file name argument const.
3321 (input_scrub_include_file): Likewise.
3322 (new_logical_line_flags): Likewise.
3323 (new_logical_line): Likewise.
3324 * as.h: Adjust.
3325 * frags.h (struct frag): Change type of fr_file to const char *.
3326 * expr.c (expr_symbol_where): Change type of file argument to
3327 const char **.
3328 * expr.h (expr_symbol_where): Likewise.
3329 * config/tc-i370.c (md_apply_fix): adjust.
3330 * config/tc-mmix.c (mmix_md_end): Likewise.
3331 * config/tc-ppc.c (md_apply_fix): Likewise.
3332 * config/tc-s390.c (md_apply_fix): Likewise.
3333 * symbols.c (report_op_error): Likewise.
3334 (resolve_symbol_value): Likewise.
3335 * config/tc-ia64.c (slot::src_file): Change type to const char *.
3336 (rsrc::file): Likewise.
3337 * config/tc-xtensa.c (xtensa_sanity_check): Change type of variable to
3338 const char *.
3339 (xtensa_relax_frag): Likewise.
3340 (md_convert_frag): Likewise.
3341 (tinsn_to_slotbuf): Likewise.
3342 * expr.c (expr_symbol_line): Likewise.
3343 * macro.c (define_macro): Likewise.
3344 * macro.h (macro_struct): Likewise.
3345 * messages.c (as_show_where): Likewise.
3346 * read.c (s_macro): Likewise.
3347 * stabs.c (stabs_generate_asm_file): Likewise.
3348 (generate_asm_file): Likewise.
3349 (stabs_generate_asm_lineno): Likewise.
3350 * write.h (struct reloc_list): Likewise.
3351 * input-scrub.c (as_where): Change return type to const char *.
3352 * as.h (as_wheree): Adjust.
3353
8ecb73dd
L
33542016-02-21 H.J. Lu <hongjiu.lu@intel.com>
3355
3356 * write.c (compress_debug): Move BFD compression bits setting
3357 to ...
3358 (write_object_file): Here.
3359
200cbe0f
L
33602016-02-20 H.J. Lu <hongjiu.lu@intel.com>
3361
3362 * config/tc-i386.c (register_number): Check RegVRex.
3363 * testsuite/gas/i386/x86-64-avx512f.s: Add a test for vgatherqpd
3364 with %zmm19 and %zmm3.
3365 * testsuite/gas/i386/x86-64-avx512f-intel.d: Updated.
3366 * testsuite/gas/i386/x86-64-avx512f.d: Likewise.
3367
b8ec4e87
JW
33682016-02-19 Matthew Wahab <matthew.wahab@arm.com>
3369 Jiong Wang <jiong.wang@arm.com>
3370
3371 * config/tc-arm.c (arm_ext_fp16): New.
3372 (arm_extensions): New entry for "fp16".
3373
3be64886
NC
33742016-02-19 Nick Clifton <nickc@redhat.com>
3375
3376 PR 19630
3377 * read.c (read_a_source_file): Check for assemble_one returning
3378 with input_line_pointer set to NULL.
3379
3b4dbbbf 33802016-02-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
cd0bbe6e 3381
3d13c647
TS
3382 * listing.c (rebuffer_line): Change return type to void.
3383
cd0bbe6e
TS
3384 * symbols.c (decode_local_label_name): Make type a const char *.
3385 * listing.c (print_source): Make type of p const char *.
3386 (print_line): Make type of string const char *.
3387 (buffer_line): Return const char *.
3388 (title): Make type const char *.
3389 (subtitle): Likewise.
3390 (listing_listing): Make type of p const char *.
3391 * messages.c (as_internal_value_out_of_range): Make type of prefix
3392 const char *.
3393 * stabs.c (s_stab_generic): make type of stab_secname, stabstr_secname
3394 and string const char *.
3395 * read.c (_bfd_rel): Make type of name const char *.
3396 * app.c (out_string): Change type to const char *.
abe051ba 3397 (struct app_save::out_string): Likewise.
cd0bbe6e 3398
9136aa49
DG
33992016-02-18 Dan Gisselquist <dgisselq@verizon.net>
3400 Nick Clifton <nickc@redhat.com>
3401
3402 * read.c (finish_bundle): Avoid recording a negative alignment.
3403 (do_align): Use unsigned values for n, len and max. Only create
3404 a frag if the alignment requirement is greater than the minimum
3405 byte alignment. Avoid recording a negative alignment.
3406 (s_align): Use unsigned values where appropriate.
3407 (bss_alloc): Use an unsigned value for the alignment.
3408 (sizeof_sleb128): Add a comment noting that we encode one octet
3409 per byte, regardless of the value of OCTETS_PER_BYTE_POWER.
3410 (emit_leb129_expr): Abort if the emitted encoding was longer than
3411 expected.
3412 * read.h (output_leb128): Update prototype.
3413 (sizeof_leb128): Update prototype.
3414 (bss_alloc): Update prototype.
3415 * write.c (record_alignment): Use an unsigned value for the
3416 alignment. Do not record alignments less than the minimum
3417 alignment for a byte.
3418 * write.h (record_alignment): Update prototype.
3419
4111950f
MF
34202016-02-17 Max Filippov <jcmvbkbc@gmail.com>
3421
3422 * config/tc-xtensa.c (xtensa_move_literals): Fix check for
3423 .init.literal/.fini.literal section name.
3424 * testsuite/gas/xtensa/all.exp: Add init-fini-literals to the
3425 list of xtensa tests.
3426 * testsuite/gas/xtensa/init-fini-literals.d: New file:
3427 init-fini-literals test result patterns.
3428 * testsuite/gas/xtensa/init-fini-literals.s: New file:
3429 init-fini-literals test.
3430
b27c40ec
NC
34312016-02-17 Nick Clifton <nickc@redhat.com>
3432
3433 * config/tc-msp430.c (msp430_mcu_data): Sync with data from TI's
3434 devices.csv file as of March 2016.
3435
726c18e1
CZ
34362016-02-16 Claudiu Zissulescu <claziss@synopsys.com>
3437
3438 * config/tc-arc.c (tc_arc_frame_initial_instructions): New
3439 function.
3440 (tc_arc_regname_to_dw2regnum): Likewise.
3441 * config/tc-arc.h (TARGET_USE_CFIPOP): Define
3442 (tc_cfi_frame_initial_instructions): Likewise.
3443 (tc_regname_to_dw2regnum): Likewise.
5dafb246
AM
3444 * testsuite/gas/cfi/cfi-arc-1.d: New file.
3445 * testsuite/gas/cfi/cfi-arc-1.s: Likewise.
3446 * testsuite/gas/cfi/cfi.exp: Allow running tests for arc.
726c18e1 3447
9406ee73
TS
34482016-02-16 Trevor Saunders <tbsaunde@tbsaunde.org>
3449
3450 * doc/internals.texi (S_IS_EXTERN): Remove.
3451
eda683bb
NC
34522016-02-16 Nick Clifton <nickc@redhat.com>
3453
3454 * doc/as.texinfo (Section): Fix up texinfo snafus in previous
3455 update.
3456
671eeb28
RL
34572016-02-16 Renlin Li <renlin.li@arm.com>
3458
3459 PR gas/19620
3460 * config/tc-aarch64.c (parse_half): Remove restrictions on symbol name.
3461 * testsuite/gas/aarch64/movw_label.d: New.
3462 * testsuite/gas/aarch64/movw_label.s: New.
3463
804021fb 34642016-02-15 Vinay Kumar G. <Vinay.G@kpit.com>
6439ea1a 3465
58cda018 3466 PR gas/19556
6439ea1a
VK
3467 * config/rx-parse.y (MOV): Opcode generation for index
3468 register addressing mode.
3469 * testsuite/gas/rx/rx.exp: Updated for new testcase.
3470 * testsuite/gas/rx/pr19665.s: New file.
3471 * testsuite/gas/rx/pr19665.s: New file.
3472 * testsuite/gas/rx/mov.d: Update expected output.
3473
804021fb 34742016-02-15 Nick Clifton <nickc@redhat.com>
9fb71ee4
NC
3475
3476 * doc/as.texinfo (.section): Document that numeric values can now
3477 be used for the flags and type fields of the ELF target's .section
3478 directive. Add notes about the restrictions on setting flags and
3479 types.
3480 * config/obj-elf.c (obj_elf_change_section): Allow known sections
3481 to be given processor specific section types. Allow processor and
3482 application specific flags of a section to be set after
3483 definition.
3484 (obj_elf_parse_section_letters): Handle parsing numeric values.
3485 (obj_elf_section_type): Handle parsing numeric values.
3486 (obj_elf_section): Allow numeric type values.
3487 * config/obj-elf.h (obj_elf_change_section): Update prototype.
3488 * testsuite/gas/elf/section10.d: New test.
3489 * testsuite/gas/elf/section10.s: Source file for new test.
3490 * testsuite/gas/elf/elf.exp: Run the new test.
3491 * testsuite/gas/i386/ilp32/x86-64-unwind.d: Remove dependency upon
3492 the description of the flags produced by readelf.
3493 * testsuite/gas/tic6x/scomm-directive-4.d: Likewise.
3494 * NEWS: Mention the new feature.
3495
bd5608dc
NC
34962016-02-11 Nick Clifton <nickc@redhat.com>
3497
3498 PR gas/19614
3499 * dw2gencfi.c (cfi_sections_set): Delay setting this variable
3500 until it is actually used.
3501 (cfi_set_sections): Set cfi_sections_set to true.
3502 (dot_cfi_startproc): Likewise.
3503 (dot_cfi_endproc): Likewise.
3504 (dot_cfi_fde_data): Likewise.
3505 (cfi_finish): Likewise.
3506 (dot_cfi_sections): Do not set cfi_sections_set.
3507 * doc/as.texinfo (.cfi_sections): Note that targets can provide
3508 their own cfi section name. Also note that the directive can be
3509 reissued provided that CFI generation has not started.
3510 * testsuite/gas/mips/compact-eh-err2.s: Add .cfi_startproc and
3511 .cfi_endproc directives so that the redefinition of .cfi_sections
3512 will trigger the generation of the error message.
3513 * testsuite/gas/mips/compact-eh-err2.l: Update expected line
3514 number of error message.
3515
4670103e
CZ
35162016-02-10 Claudiu Zissulescu <claziss@synopsys.com>
3517 Janek van Oirschot <jvanoirs@synopsys.com>
3518
3519 * config/tc-arc.h (TC_FRAG_TYPE, TC_PCREL_ADJUST, MAX_INSN_ARGS)
3520 (MAX_INSN_FLGS, MAX_FLAG_NAME_LENGHT, TC_GENERIC_RELAX_TABLE):
3521 Define.
3522 (arc_flags, arc_relax_type): New structure.
3523 * config/tc-arc.c (FRAG_MAX_GROWTH, RELAX_TABLE_ENTRY)
3524 (RELAX_TABLE_ENTRY_MAX): New define.
3525 (relaxation_state, md_relax_table, arc_relaxable_insns)
3526 (arc_num_relaxable_ins): New variable.
3527 (rlx_operand_type, arc_rlx_types): New enums.
3528 (arc_relaxable_ins): New structure.
3529 (OPTION_RELAX): New option.
3530 (arc_insn): New relax member.
3531 (arc_flags): Remove.
3532 (relax_insn_p): New function.
3533 (apply_fixups): Likewise.
3534 (relaxable_operand): Likewise.
3535 (may_relax_expr): Likewise.
3536 (relaxable_flag): Likewise.
3537 (arc_pcrel_adjust): Likewise.
3538 (md_estimate_size_before_relax): Implement.
3539 (md_convert_frag): Likewise.
3540 (md_parse_option): Handle new mrelax option.
3541 (md_show_usage): Likewise.
3542 (assemble_insn): Set relax member.
3543 (emit_insn0): New function.
3544 (emit_insn1): Likewise.
3545 (emit_insn): Handle relaxation case.
3546 * NEWS: Mention the new relaxation option.
3547 * doc/c-arc.texi (ARC Options): Document new mrelax option.
3548 * doc/as.texinfo (Target ARC Options): Likewise.
3549 * testsuite/gas/arc/relax-avoid1.d: New file.
3550 * testsuite/gas/arc/relax-avoid1.s: Likewise.
3551 * testsuite/gas/arc/relax-avoid2.d: Likewise.
3552 * testsuite/gas/arc/relax-avoid2.s: Likewise.
3553 * testsuite/gas/arc/relax-avoid3.d: Likewise.
3554 * testsuite/gas/arc/relax-avoid3.s: Likewise.
3555 * testsuite/gas/arc/relax-b.d: Likewise.
3556 * testsuite/gas/arc/relax-b.s: Likewise.
3557
9264d325
NC
35582016-02-08 Nick Clifton <nickc@redhat.com>
3559
3560 * config/tc-ia64.c (dot_prologue): Fix formatting.
3561
39306124
NC
35622016-02-04 Nick Clifton <nickc@redhat.com>
3563
3564 * config/obj-elf.c (obj_elf_change_section): Remove support for
3565 ARM NOREAD sections.
3566 * config/tc-arm.c (arm_elf_section_letter): Delete.
3567 * config/tc-arm.h (md_elf_section_letter): Delete.
3568 * doc/c-arm.texi (ARM Section Attribute): Delete section.
3569 * testsuite/gas/arm/section-execute-only.d: Delete.
3570 * testsuite/gas/arm/section-execute-only.s: Delete.
3571
c1d9289f
NC
35722016-02-04 Nick Clifton <nickc@redhat.com>
3573
3574 PR target/19561
3575 * config/tc-msp430.c (msp430_operands): Remove case 7. Use case 2
3576 to handle encoding of RRUX instruction.
3577 * testsuite/gas/msp430/msp430x.s: Add more tests of the extended
3578 shift instructions.
3579 * testsuite/gas/msp430/msp430x.d: Update expected disassembly.
3580
ea173078
MF
35812016-02-03 Max Filippov <jcmvbkbc@gmail.com>
3582
3583 * config/tc-xtensa.c (md_apply_fix): Mark BFD_RELOC_XTENSA_DIFF*
3584 substitutions for BFD_RELOC_* as unsigned.
c1d9289f
NC
3585 * testsuite/gas/xtensa/all.exp: Add loc to list of xtensa tests.
3586 * testsuite/gas/xtensa/loc.d: New file: loc test result patterns.
3587 * testsuite/gas/xtensa/loc.s: New file: loc test.
ea173078 3588
3d8efabf
KB
35892016-02-03 Kevin Buettner <kevinb@redhat.com>
3590
abe051ba 3591 * config/tc-msp430.h (DWARF2_ADDR_SIZE): Set to 4.
3d8efabf 3592
0cb4071e
L
35932016-02-03 H.J. Lu <hongjiu.lu@intel.com>
3594
3595 PR gas/19520
3596 * NEWS: Mention new command line option -mrelax-relocations and
3597 new configure option --enable-x86-relax-relocations for x86
3598 target.
3599 * config.in: Regenerated.
3600 * configure.ac: Add --enable-x86-relax-relocations.
3601 (ac_default_x86_relax_relocations): New. Default to 1 except
3602 for x86 Solaris targets older than Solaris 12.
3603 (DEFAULT_GENERATE_X86_RELAX_RELOCATIONS): Define.
3604 * configure: Likewise.
3605 * config/tc-i386.c (generate_relax_relocations): New.
3606 (OPTION_MRELAX_RELOCATIONS): Likewise.
3607 (output_disp): Don't generate relax relocations if
3608 generate_relax_relocations is 0.
3609 (md_longopts): Add -mrelax-relocations.
3610 (md_show_usage): Likewise.
3611 (md_parse_option): Handle OPTION_MRELAX_RELOCATIONS.
3612 * doc/c-i386.texi: Document -mrelax-relocations=.
3613 * testsuite/gas/i386/got-no-relax.d: New file.
3614 * testsuite/gas/i386/x86-64-gotpcrel-no-relax.d: Likewise.
3615 * testsuite/gas/i386/got.d: Pass -mrelax-relocations=yes to as.
3616 * testsuite/gas/i386/localpic.d: Likewise.
3617 * testsuite/gas/i386/mixed-mode-reloc32.d: Likewise.
3618 * testsuite/gas/i386/reloc32.d: Likewise.
3619 * testsuite/gas/i386/x86-64-gotpcrel.d: Likewise.
3620 * testsuite/gas/i386/x86-64-localpic.d: Likewise.
3621 * testsuite/gas/i386/ilp32/x86-64-gotpcrel.d: Likewise.
3622 * testsuite/gas/i386/ilp32/x86-64-localpic.d: Likewise.
3623 * testsuite/gas/i386/i386.exp: Run got-no-relax and
3624 x86-64-gotpcrel-no-relax.
3625
9d3fc4e1
L
36262016-02-03 H.J. Lu <hongjiu.lu@intel.com>
3627
3628 * NEWS: Mention new command line option -mfence-as-lock-add=yes
3629 for x86 target.
3630
ab71ce86
L
36312016-02-03 H.J. Lu <hongjiu.lu@intel.com>
3632
3633 * NEWS: Remove duplicated marker for 2.26.
3634
46d70d04
RL
36352016-02-02 Renlin Li <renlin.li@arm.com>
3636
3637 * testsuite/gas/arm/thumb2_it_search.d: Skip non-elf targets.
3638
0f99255d
AB
36392016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
3640
3641 * testsuite/gas/ip2k/allinsn.d: New file.
3642 * testsuite/gas/ip2k/allinsn.s: New file.
3643 * testsuite/gas/ip2k/ip2k-allinsn.exp: New file.
3644
5d7a9011
AB
36452016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
3646
3647 * testsuite/gas/epiphany/addr-syntax.d: Add explicit 0 offset to
3648 some load instructions.
3649 * testsuite/gas/epiphany/allinsn.d: Likewise.
3650 * testsuite/gas/epiphany/regression.d: Likewise.
3651
a012b298
AB
36522016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
3653
3654 * testsuite/gas/epiphany/addr-syntax.d: Remove unneeded '.l'
3655 suffixes from instruction mnemonics in expected output.
3656 * testsuite/gas/epiphany/allinsn.d: Likewise.
3657 * testsuite/gas/epiphany/regression.d: Likewise.
3658 * testsuite/gas/epiphany/sample.d: Likewise.
3659
2f74d480
AB
36602016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
3661
3662 * testsuite/gas/epiphany/addr-syntax.d: Update expected register
3663 names.
3664 * testsuite/gas/epiphany/allinsn.d: Likewise.
3665 * testsuite/gas/epiphany/sample.d: Likewise.
3666
b89807c6
AB
36672016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
3668
3669 * testsuite/gas/epiphany/sample.d: Update expected output.
3670
b125bd17
CZ
36712016-01-26 Claudiu Zissulescu <claziss@synopsys.com>
3672
abe051ba
AM
3673 * config/tc-arc.c (md_apply_fix): Allow addendum.
3674 (arc_reloc_op): Allow complex expressions for tpoff.
3675 (md_apply_fix): Handle resolved TLS local symbol.
b125bd17
CZ
3676 * testsuite/gas/arc/tls-relocs1.d: New file.
3677 * testsuite/gas/arc/tls-relocs1.s: Likewise.
3678
4f1d6205
L
36792016-02-01 Loria <Loria@phantasia.org>
3680
3681 PR target/19311
3682 * config/tc-arm.c (encode_arm_immediate): Recode to improve
3683 efficiency and avoid an LLVM loop optimization bug.
3684
ac0d427f
NC
36852016-02-01 Nick Clifton <nickc@redhat.com>
3686
3687 * config/tc-microblaze.c (parse_imm): Fix compile time warning
3688 message extending a negative 32-bit value into a larger signed
3689 value on a 32-bit host.
3690
348ef89a
L
36912016-01-29 H.J. Lu <hongjiu.lu@intel.com>
3692
3693 PR gas/19532
3694 * configure.ac (compressed_debug_sections): Replace == with =.
3695 * configure: Regenerated.
3696
e4e00185
AS
36972016-01-29 Andrew Senkevich <andrew.senkevich@intel.com>
3698 H.J. Lu <hongjiu.lu@intel.com>
3699
3700 * config/tc-i386.c (avoid_fence): New.
3701 (output_insn): Encode as lock addl $0x0, (%{r,e}sp) if avoid_fence
3702 is true.
3703 (OPTION_FENCE_AS_LOCK_ADD): New.
3704 (md_longopts): Add -mfence-as-lock-add.
3705 (md_parse_option): Handle -mfence-as-lock-add.
3706 (md_show_usage): Add -mfence-as-lock-add=[no|yes].
3707 * doc/c-i386.texi (-mfence-as-lock-add): Document.
ac2789d7
L
3708 * testsuite/gas/i386/i386.exp: Run new tests.
3709 * testsuite/gas/i386/fence-as-lock-add.s: New.
3710 * testsuite/gas/i386/fence-as-lock-add-yes.d: Likewise.
3711 * testsuite/gas/i386/fence-as-lock-add-no.d: Likewise.
3712 * testsuite/gas/i386/x86-64-fence-as-lock-add-yes.d: Likewise.
3713 * testsuite/gas/i386/x86-64-fence-as-lock-add-no.d: Likewise.
e4e00185 3714
27ba7c94
L
37152016-01-27 H.J. Lu <hongjiu.lu@intel.com>
3716
3717 * configure.ac (compressed_debug_sections): Remove trailing `]'.
3718 * configure: Regenerated.
3719
d1982f93
L
37202016-01-25 H.J. Lu <hongjiu.lu@intel.com>
3721
3722 * config/tc-i386.c (OPTION_OMIT_LOCK_PREFIX): Renamed to ...
3723 (OPTION_MOMIT_LOCK_PREFIX): This.
3724 (md_longopts): Updated.
3725 (md_parse_option): Likewise.
3726
00acd688
CM
37272016-01-25 Catherine Moore <clm@codesourcery.com>
3728
3729 * config/mips/tc-mips.c (md_begin): Avoid gp-relative addressing
3730 if abicalls are in effect.
3731 * testsuite/gas/mips/sdata-gp.s: New test.
3732 * testsuite/gas/mips/sdata-gp.d: New expected output
3733 * testsuite/gas/mips/mips.exp: Run new test.
3734
5bc5ae88
RL
37352016-01-25 Renlin Li <renlin.li@arm.com>
3736
3737 * testsuite/gas/arm/thumb2_it_search.d: New.
3738 * testsuite/gas/arm/thumb2_it_search.s: New.
3739
61e137e2
NC
37402016-01-21 Nick Clifton <nickc@redhat.com>
3741
3742 PR gas/19454
3743 * testsuite/gas/arm/mapshort-elf.d: Fix expected output to cope
3744 with arm-netbsdelf target.
3745 * testsuite/gas/arm/blx-bl-convert.d: Skip for netbsdelf.
3746
aed5fc75
NC
37472016-01-20 Nick Clifton <nickc@redhat.com>
3748
74b92a5c
NC
3749 PR 19456
3750 * testsuite/gas/arm/weakdef-1.d: Skip for VxWorks.
3751 * testsuite/gas/arm/blx-bl-convert.d
3752 * testsuite/gas/arm/plt-1.d: Likewise.
3753 * testsuite/gas/arm/reloc-bad.d: Likewise.
3754 * testsuite/gas/arm/thumb-w-good.d: Likewise.
3755 * testsuite/gas/arm/thumb2_pool.d: Likewise.
3756 * testsuite/gas/arm/ldconst.d: Adjust so that it works with VxWorks
3757 * testsuite/gas/arm/tls_vxworks.d: Update expected output.
3758
72e0b254
NC
3759 PR 19499
3760 * doc/as.texinfo (Errors): Correct documentation describing the
3761 interaction of .file and .line with warning and error messages.
3762
aed5fc75
NC
3763 PR 19458
3764 * testsuite/gas/arm/armv8_2-a.d: Skip for COFF based targets.
3765 * testsuite/gas/arm/archv8m-main.d: Likewise.
3766 * testsuite/gas/arm/archv8m-base.d: Likewise.
3767
0bff6e2d
MW
37682016-01-20 Matthew Wahab <matthew.wahab@arm.com>
3769
3770 * testsuite/gas/aarch64/armv8_2-a-illegal.d: New.
3771 * testsuite/gas/aarch64/armv8_2-a-illegal.l: New.
3772 * testsuite/gas/aarch64/armv8_2-a-illegal.s: New.
3773
91f68a68
MG
37742016-01-20 Mickael Guene <mickael.guene@st.com>
3775 Terry Guo <terry.guo@arm.com>
3776
3777 * config/obj-elf.c (obj_elf_change_section) : Allow arm section with
3778 SHF_ARM_NOREAD section flag.
3779 * config/tc-arm.h (md_elf_section_letter) : Implement this hook to
3780 handle letter 'y'.
3781 (arm_elf_section_letter) : Declare it.
3782 * config/tc-arm.c (arm_elf_section_letter): Handle letter 'y' to set
3783 SHF_ARM_NOREAD section flag.
3784 * doc/c-arm.texi (ARM section attribute): Document the 'y' attribute.
3785
3786 * testsuite/gas/arm/section-execute-only.s: New test case.
3787 * testsuite/gas/arm/section-execute-only.d: Expected output.
3788
100b4f2e
MR
37892016-01-18 Maciej W. Rozycki <macro@imgtec.com>
3790
3791 * config/tc-mips.c (micromips_insn_length): Remove the mention
3792 of 48-bit microMIPS instructions.
3793
3d961d0d
AM
37942016-01-18 Alan Modra <amodra@gmail.com>
3795
3796 * configure: Regenerate.
3797
5c14705f
AM
37982016-01-17 Alan Modra <amodra@gmail.com>
3799
3800 * configure: Regenerate.
3801
b3066ae8
AM
38022016-01-17 Alan Modra <amodra@gmail.com>
3803
3804 * testsuite/gas/cfi/cfi.exp: Exclude m68hc11/12 from m68k test.
3805
4d82fe66
NC
38062016-01-14 Nick Clifton <nickc@redhat.com>
3807
3808 * testsuite/gas/rl78/sp-relative-movw.s: New test.
3809 * testsuite/gas/rl78/sp-relative-movw.d: Expected disassembly.
3810 * testsuite/gas/rl78/rl78.exp: Run the new test.
3811
651657fa
MW
38122016-01-14 Matthew Wahab <matthew.wahab@arm.com>
3813
3814 * testsuite/gas/aarch64/illegal-sysreg-2.l: New.
3815 * testsuite/gas/aarch64/illegal-sysreg-2.d: New.
3816
3facb0e9
MR
38172016-01-13 Maciej W. Rozycki <macro@imgtec.com>
3818
3819 * config/tc-nios2.c (output_movia): Preset `code' to 0.
3820
8a4c2869
YS
38212016-01-13 Yoshinori Sato <ysato@users.sourceforge.jp>
3822
3823 * config/tc-h8300.c (get_operand): Remove spurious condition in
3824 test for closing parenthesis.
3825
105bde57
MW
38262016-01-12 Matthew Wahab <matthew.wahab@arm.com>
3827
3828 * config/tc-arm.c (arm_ext_v8_2): New.
3829 (insns): Add "esb".
3830 * testsuite/gas/arm/armv8_2-a.d: New.
3831 * testsuite/gas/arm/armv8_2-a.s: New.
3832
5230aa4d
AM
38332016-01-12 Alan Modra <amodra@gmail.com>
3834
3835 * testsuite/gas/ppc/vsx3.d: Accept nop padding.
3836
afa8d405
PB
38372016-01-11 Peter Bergner <bergner@vnet.ibm.com>
3838
3839 * testsuite/gas/ppc/power9.d <xscmpnedp, xvcmpnedp, xvcmpnedp.,
3840 xvcmpnesp, xvcmpnesp.>: Delete tests.
3841 * testsuite/gas/ppc/power9.s: Likewise.
3842 * testsuite/gas/ppc/vsx3.d: Likewise.
3843 * testsuite/gas/ppc/vsx3.s: Likewise.
3844
83c3256e
AS
38452016-01-08 Andreas Schwab <schwab@linux-m68k.org>
3846
3847 PR gas/13050
3848 * testsuite/gas/m68k/all.exp: Add tests p13050-1 and p13050-2.
3849 * testsuite/gas/m68k/p13050-1.s: New file.
3850 * testsuite/gas/m68k/p13050-2.d: New file.
3851 * testsuite/gas/m68k/p13050-2.s: New file.
3852
b05a65d0
AB
38532016-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
3854
3855 * testsuite/gas/arc/adc.d: Add 'R_' prefix to relocation names.
3856 * testsuite/gas/arc/add.d: Likewise.
3857 * testsuite/gas/arc/and.d: Likewise.
3858 * testsuite/gas/arc/asl.d: Likewise.
3859 * testsuite/gas/arc/asr.d: Likewise.
3860 * testsuite/gas/arc/bic.d: Likewise.
3861 * testsuite/gas/arc/extb.d: Likewise.
3862 * testsuite/gas/arc/extw.d: Likewise.
3863 * testsuite/gas/arc/j.d: Likewise.
3864 * testsuite/gas/arc/jl.d: Likewise.
3865 * testsuite/gas/arc/ld2.d: Likewise.
3866 * testsuite/gas/arc/lsr.d: Likewise.
3867 * testsuite/gas/arc/mov.d: Likewise.
3868 * testsuite/gas/arc/or.d: Likewise.
3869 * testsuite/gas/arc/pcl-relocs.d: Likewise.
3870 * testsuite/gas/arc/pcrel-relocs.d: Likewise.
3871 * testsuite/gas/arc/pic-relocs.d: Likewise.
3872 * testsuite/gas/arc/plt-relocs.d: Likewise.
3873 * testsuite/gas/arc/rlc.d: Likewise.
3874 * testsuite/gas/arc/ror.d: Likewise.
3875 * testsuite/gas/arc/rrc.d: Likewise.
3876 * testsuite/gas/arc/sbc.d: Likewise.
3877 * testsuite/gas/arc/sda-relocs.d: Likewise.
3878 * testsuite/gas/arc/sda-relocs2.d: Likewise.
3879 * testsuite/gas/arc/sexb.d: Likewise.
3880 * testsuite/gas/arc/sexw.d: Likewise.
3881 * testsuite/gas/arc/st.d: Likewise.
3882 * testsuite/gas/arc/sub.d: Likewise.
3883 * testsuite/gas/arc/tls-relocs.d: Likewise.
3884 * testsuite/gas/arc/xor.d: Likewise.
3885
6f2750fe
AM
38862016-01-01 Alan Modra <amodra@gmail.com>
3887
3888 Update year range in copyright notice of all files.
3889
3499769a
AM
3890For older changes see ChangeLog-2015 and testsuite/ChangeLog-2015
3891\f
3892Copyright (C) 2016 Free Software Foundation, Inc.
3893
3894Copying and distribution of this file, with or without modification,
3895are permitted in any medium without royalty provided the copyright
3896notice and this notice are preserved.
3897
3898Local Variables:
3899mode: change-log
3900left-margin: 8
3901fill-column: 74
3902version-control: never
3903End:
This page took 0.216878 seconds and 4 git commands to generate.