[AArch64] Add ARMv8.3 pointer authentication key registers
[deliverable/binutils-gdb.git] / gas / ChangeLog
CommitLineData
b0bfa7b5
SN
12016-11-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
2
3 * testsuite/gas/aarch64/sysreg-3.s: New.
4 * testsuite/gas/aarch64/sysreg-3.d: New.
5 * testsuite/gas/aarch64/illegal-sysreg-3.l: New.
6 * testsuite/gas/aarch64/illegal-sysreg-3.d: New.
7
8787d804
SN
82016-11-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
9
10 * testsuite/gas/aarch64/system-3.s: New.
11 * testsuite/gas/aarch64/system-3.d: New.
12 * testsuite/gas/aarch64/system.d: Update expected output.
13
1924ff75
SN
142016-11-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
15
16 * config/tc-aarch64.c (aarch64_archs): Add "armv8.3-a".
17 * doc/c-aarch64.texi (-march): Likewise.
18
fa09f4ea
SN
192016-11-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
20
21 * config/tc-aarch64.c (aarch64_features): Fix "simd" and "crypto".
22 * testsuite/gas/aarch64/illegal-crypto-nofp.d: New.
23 * testsuite/gas/aarch64/illegal-crypto-nofp.l: New.
24 * testsuite/gas/aarch64/illegal-fp16-nofp.d: New.
25 * testsuite/gas/aarch64/illegal-fp16-nofp.l: New.
26 * testsuite/gas/aarch64/illegal-fp16-nofp.s: New.
27
60227d64
L
282016-11-09 H.J. Lu <hongjiu.lu@intel.com>
29
30 PR binutils/20799
31 * testsuite/gas/i386/opcode.s: Add a test for EVEX vpextrw.
32 * testsuite/gas/i386/opcode-intel.d: Updated.
33 * testsuite/gas/i386/opcode-suffix.d: Likewise.
34 * testsuite/gas/i386/opcode.d: Likewise.
35 * testsuite/gas/i386/x86-64-avx512bw-opts.s: Remove vpextrw
36 tests.
37 * testsuite/gas/i386/x86-64-avx512bw-opts-intel.d: Updated.
38 * testsuite/gas/i386/x86-64-avx512bw-opts.d: Likewise.
39
7766fd10
L
402016-11-09 H.J. Lu <hongjiu.lu@intel.com>
41
42 PR binutils/20754
43 * testsuite/gas/i386/opcode-suffix.d: Updated.
44
48c97fa1
L
452016-11-07 H.J. Lu <hongjiu.lu@intel.com>
46
47 PR binutils/20775
48 * testsuite/gas/i386/i386.exp: Run fpu-bad.
49 * testsuite/gas/i386/fpu-bad.d: New file.
50 * testsuite/gas/i386/fpu-bad.s: Likewise.
51
9cee1c1e
NS
522016-11-04 Nathan Sidwell <nathan@acm.org>
53
54 gas/
55 * input-scrub.c (partial_size): Make size_t.
56 (buffer_length): Likewise. Adjust meaning.
57 (struct input_save): Adjust partial_size type.
58 (input_scrub_reinit): New.
59 (input_scrub_push, input_scrub_begin): Use it.
60 (input_scrub_next_buffer): Fix buffer extension logic. Only scan
61 newly read buffer for newline.
62
b437d035
AB
632016-11-04 Andrew Burgess <andrew.burgess@embecosm.com>
64
65 * config/tc-arc.c (find_opcode_match): Use insert function to
66 validate matching address type operands.
67 * testsuite/gas/arc/nps400-10.d: New file.
68 * testsuite/gas/arc/nps400-10.s: New file.
69
b19ea8d2
TP
702016-11-04 Thomas Preud'homme <thomas.preudhomme@arm.com>
71
72 * config/tc-arm.c (cortex-m33): Declare new processor.
73 * doc/c-arm.texi (-mcpu ARM command line option): Document new
74 Cortex-M33 processor.
75 * NEWS: Mention ARM Cortex-M33 support.
76
ce1b0a45
TP
772016-11-04 Thomas Preud'homme <thomas.preudhomme@arm.com>
78
79 * config/tc-arm.c (cortex-m23): Declare new processor.
80 * doc/c-arm.texi (-mcpu ARM command line option): Document new
81 Cortex-M23 processor.
82 * NEWS: Mention ARM Cortex-M23 support.
83
4f7eddc4
PD
842016-11-04 Palmer Dabbelt <palmer@dabbelt.com>
85 Andrew Waterman <andrew@sifive.com>
86
87 * Makefile.am (CPU_DOCS): Add c-riscv.texi.
88 * Makefile.in: Regenerate.
89 * doc/all.texi: Set RISCV.
90 * doc/as.texinfo: Add RISCV options.
91 Add RISC-V-Dependent node.
92 Include c-riscv.texi.
93 * doc/c-riscv.texi: Rename RISC-V Options to RISC-V-Opts.
94
98d0e90c
GM
952016-11-03 Graham Markall <graham.markall@embecosm.com>
96
97 * testsuite/gas/arc/nps400-6.s: Change ldbit tests so that limm
98 operands are out of the range of an s9, in order to fix the test.
99 * testsuite/gas/arc/nps400-6.d: Updated to match new expected output.
100
5a736821
GM
1012016-11-03 Graham Markall <graham.markall@embecosm.com>
102
103 * testsuite/gas/arc/nps-400-9.d: Added.
104 * testsuite/gas/arc/nps-400-9.s: Added.
105
bdfe53e3
AB
1062016-11-03 Andrew Burgess <andrew.burgess@embecosm.com>
107
108 * config/tc-arc.c (struct arc_insn): Change type of insn field.
109 (md_number_to_chars_midend): Support 6- and 8-byte values.
110 (emit_insn0): Update debug output.
111 (find_opcode_match): Likewise.
112 (build_fake_opcode_hash_entry): Delete.
113 (find_special_case_long_opcode): Delete.
114 (find_special_case): Remove long format special case handling.
115 (insert_operand): Change instruction type and update debug print
116 format.
117 (assemble_insn): Change instruction type, update debug print
118 formats, and remove unneeded assert.
119
06fe285f
GM
1202016-11-03 Graham Markall <graham.markall@embecosm.com>
121
122 * config/tc-arc.c (assemble_insn): Replace use of ARC_SHORT with
123 arc_opcode_len.
124
91fdca6f
GM
1252016-11-03 Graham Markall <graham.markall@embecosm.com>
126
127 * config/tc-arc.c (struct arc_insn): Replace short_insn flag with
128 len field.
129 (apply_fixups): Update to use len field.
130 (emit_insn0): Simplify code, making use of len field.
131 (md_convert_frag): Update to use len field.
132 (assemble_insn): Update to use len field.
133
2fe9c2a0
SP
1342016-11-03 Siddhesh Poyarekar <siddhesh.poyarekar@linaro.org>
135
136 * config/tc-aarch64.c (aarch64_cpus): Add falkor.
137 * config/tc-arm.c (arm_cpus): Likewise.
138 * doc/c-aarch64.texi: Likewise.
139 * doc/c-arm.texi: Likewise.
140
8b89fe14
L
1412016-11-03 H.J. Lu <hongjiu.lu@intel.com>
142
143 PR binutils/20754
144 * testsuite/gas/i386/opcode.s: Add tests for opcode 0x82.
145 * testsuite/gas/i386/opcode-intel.d: Updated.
146 * testsuite/gas/i386/opcode.d: Likewise.
147
bada4342
JW
1482016-11-02 Jiong Wang <jiong.wang@arm.com>
149
150 * config/tc-arm.c (SBIT_SHIFT): New.
151 (T2_SBIT_SHIFT): Likewise.
152 (t32_insn_ok): Return TRUE for MOV in ARMv8-M Baseline.
153 (md_apply_fix): Try UINT16 encoding when ARM/Thumb modified immediate
154 encoding failed.
155 * testsuite/gas/arm/archv6t2-bad.s: New error case.
156 * testsuite/gas/arm/archv6t2-bad.l: New error match.
157 * testsuite/gas/arm/archv6t2.s: New testcase.
158 * testsuite/gas/arm/archv6t2.d: New expected result.
159 * testsuite/gas/arm/archv8m.s: New testcase.
160 * testsuite/gas/arm/archv8m-base.d: New expected result.
161 * testsuite/gas/arm/archv8m-main.d: Likewise.
162 * testsuite/gas/arm/archv8m-main-dsp-1.d: Likewise.
163
47acf0bd
IT
1642016-11-02 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
165
166 * config/tc-i386.c: (cpu_arch) Add .avx512_4vnniw.
167 (cpu_noarch): Add noavx512_4vnniw.
168 * doc/c-i386.texi: Document avx512_4vnniw, noavx512_4vnniw.
169 * testsuite/gas/i386/i386.exp: Run AVX512_4VNNIW tests.
170 * testsuite/gas/i386/avx512_4vnniwd_vl-intel.d: New test.
171 * testsuite/gas/i386/avx512_4vnniwd_vl.d: Ditto.
172 * testsuite/gas/i386/avx512_4vnniwd_vl.s: Ditto.
173 * testsuite/gas/i386/avx512_4vnniwd-intel.d: Ditto.
174 * testsuite/gas/i386/avx512_4vnniwd.d: Ditto.
175 * testsuite/gas/i386/avx512_4vnniwd.s: Ditto.
176 * testsuite/gas/i386/x86-64-avx512_4vnniwd_vl-intel.d: Ditto.
177 * testsuite/gas/i386/x86-64-avx512_4vnniwd_vl.d: Ditto.
178 * testsuite/gas/i386/x86-64-avx512_4vnniwd_vl.s: Ditto.
179 * testsuite/gas/i386/x86-64-avx512_4vnniwd-intel.d: Ditto.
180 * testsuite/gas/i386/x86-64-avx512_4vnniwd.d: Ditto.
181 * testsuite/gas/i386/x86-64-avx512_4vnniwd.s: Ditto.
182
920d2ddc
IT
1832016-11-02 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
184
185 * config/tc-i386.c (cpu_arch): Add .avx512_4fmaps.
186 (cpu_noarch): Add noavx512_4fmaps.
187 (process_operands): Handle implicit quad group.
188 * doc/c-i386.texi: Document avx512_4fmaps, noavx512_4fmaps.
189 * testsuite/gas/i386/i386.exp: Add AVX512_4FMAPS tests.
190 * testsuite/gas/i386/avx512_4fmaps_vl-intel.d: New test.
191 * testsuite/gas/i386/avx512_4fmaps_vl.d: Ditto.
192 * testsuite/gas/i386/avx512_4fmaps_vl.s: Ditto.
193 * testsuite/gas/i386/avx512_4fmaps-intel.d: Ditto.
194 * testsuite/gas/i386/avx512_4fmaps.d: Ditto.
195 * testsuite/gas/i386/avx512_4fmaps.s: Ditto.
196 * testsuite/gas/i386/avx512_4fmaps-warn.l: Ditto.
197 * testsuite/gas/i386/avx512_4fmaps-warn.s: Ditto.
198 * testsuite/gas/i386/avx512_4fmaps_vl-warn.l: Ditto.
199 * testsuite/gas/i386/avx512_4fmaps_vl-warn.s: Ditto.
200 * testsuite/gas/i386/x86-64-avx512_4fmaps_vl-intel.d: Ditto.
201 * testsuite/gas/i386/x86-64-avx512_4fmaps_vl.d: Ditto.
202 * testsuite/gas/i386/x86-64-avx512_4fmaps_vl.s: Ditto.
203 * testsuite/gas/i386/x86-64-avx512_4fmaps-intel.d: Ditto.
204 * testsuite/gas/i386/x86-64-avx512_4fmaps.d: Ditto.
205 * testsuite/gas/i386/x86-64-avx512_4fmaps.s: Ditto.
206 * testsuite/gas/i386/x86-64-avx512_4fmaps-warn.l: Ditto.
207 * testsuite/gas/i386/x86-64-avx512_4fmaps-warn.s: Ditto.
208 * testsuite/gas/i386/x86-64-avx512_4fmaps_vl-warn.l: Ditto.
209 * testsuite/gas/i386/x86-64-avx512_4fmaps_vl-warn.s: Ditto.
210
e23eba97
NC
2112016-11-01 Palmer Dabbelt <palmer@dabbelt.com>
212 Andrew Waterman <andrew@sifive.com>
213
214 Add support for RISC-V architecture.
215 * Makefile.am: Add riscv files.
216 * Makefile.in: Regenerate.
217 * NEWS: Mention the support for this architecture.
218 * configure.in: Define a default architecture.
219 * configure: Regenerate.
220 * configure.tgt: Add entries for riscv.
221 * doc/as.texinfo: Likewise.
222 * testsuite/gas/all/gas.exp: Expect the redef tests to fail.
223 * testsuite/gas/elf/elf.exp: Expect the groupauto tests to fail.
224 * config/tc-riscv.c: New file.
225 * config/tc-riscv.h: New file.
226 * doc/c-riscv.texi: New file.
227 * testsuite/gas/riscv: New directory.
228 * testsuite/gas/riscv/riscv.exp: New file.
229 * testsuite/gas/riscv/t_insns.d: New file.
230 * testsuite/gas/riscv/t_insns.s: New file.
231
bb65a718
AB
2322016-10-27 Andrew Burgess <andrew.burgess@embecosm.com>
233
234 * config/tc-arc.c (arc_target): Delete.
235 (arc_target_name): Delete.
236 (arc_features): Delete.
237 (arc_mach_type): Delete.
238 (mach_type_specified_p): Delete.
239 (enum mach_selection_type): New enum.
240 (mach_selection_mode): New static global.
241 (selected_cpu): New static global.
242 (arc_eflag): Rename to ...
243 (arc_initial_eflag): ...this, and make const.
244 (arc_select_cpu): Update comment, new parameter, check how
245 previous machine type selection was made, and record this
246 selection. Use selected_cpu instead of old globals.
247 (arc_option): Remove use of arc_get_mach, instead use
248 arc_select_cpu to validate machine type selection. Use
249 selected_cpu over old globals.
250 (allocate_tok): Use selected_cpu over old globals.
251 (find_opcode_match): Likewise.
252 (assemble_tokens): Likewise.
253 (arc_cons_fix_new): Likewise.
254 (arc_extinsn): Likewise.
255 (arc_extcorereg): Likewise.
256 (md_begin): Update default machine type selection, use
257 selected_cpu over old globals.
258 (md_parse_option): Update machine type selection option handling,
259 use selected_cpu over old globals.
260 * testsuite/gas/arc/nps400-0.s: Add .cpu directive.
261
2a3a7490
AM
2622016-10-26 Alan Modra <amodra@gmail.com>
263
264 Revert 2016-10-06 Alan Modra <amodra@gmail.com>
265 * config/rl78-parse.y: Do use old %name-prefix syntax.
266 * config/rx-parse.y: Likewise.
267
b5cefcca
L
2682016-10-21 H.J. Lu <hongjiu.lu@intel.com>
269
270 * config/tc-i386.c (cpu_arch): Remove .pcommit.
271 * doc/c-i386.texi: Likewise.
272 * testsuite/gas/i386/i386.exp: Remove pcommit tests.
273 * testsuite/gas/i386/pcommit-intel.d: Removed.
274 * testsuite/gas/i386/pcommit.d: Likewise.
275 * testsuite/gas/i386/pcommit.s: Likewise.
276 * testsuite/gas/i386/x86-64-pcommit-intel.d: Likewise.
277 * testsuite/gas/i386/x86-64-pcommit.d: Likewise.
278 * testsuite/gas/i386/x86-64-pcommit.s: Likewise.
279
9889cbb1
L
2802016-10-20 H.J. Lu <hongjiu.lu@intel.com>
281
282 PR binutis/20705
283 * testsuite/gas/i386/i386.exp: Run x86-64-opcode-bad.
284 * testsuite/gas/i386/x86-64-opcode-bad.d: New file.
285 * testsuite/gas/i386/x86-64-opcode-bad.s: Likewise.
286
008a97ef
RL
2872016-10-19 Renlin Li <renlin.li@arm.com>
288
289 * config/tc-arm.c (encode_arm_shift): Generate unpredictable warning
290 for register-shifted register instructions.
291 * testsuite/gas/arm/shift-bad-pc.d: New.
292 * testsuite/gas/arm/shift-bad-pc.l: New.
293 * testsuite/gas/arm/shift-bad-pc.s: New.
294
8cae7a47
CM
2952016-10-17 Cupertino Miranda <cmiranda@synopsys.com>
296
297 * testsuite/arc/dis-inv.d: Fixed matching.
298
decf5bd1
CM
2992016-10-17 Cupertino Miranda <cmiranda@synopsys.com>
300
301 * testsuite/arc/dis-inv.s: Test to validate patch.
302 * testsuite/arc/dis-inv.d: Likewise.
303
e5b06ef0
CZ
3042016-10-14 Claudiu Zissulescu <claziss@synopsys.com>
305
306 * testsuite/gas/arc/shortlimm_a7.d: New file.
307 * testsuite/gas/arc/shortlimm_a7.s: Likewise.
308 * testsuite/gas/arc/shortlimm_hs.d: Likewise.
309 * testsuite/gas/arc/shortlimm_hs.s: Likewise.
310
a24bb4f0
NC
3112016-10-11 Nick Clifton <nickc@redhat.com>
312
313 * gas/arm/tls.d: Adjust output to match change in objdump.
314
93562a34
JW
3152016-10-11 Jiong Wang <jiong.wang@arm.com>
316
317 PR target/20666
318 * testsuite/gas/aarch64/alias-2.d: Update expected results.
319
969b385b
AK
3202016-10-10 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
321
322 * testsuite/gas/cfi/cfi-common-1.d: Adjust regexps for mips64.
323 * testsuite/gas/cfi/cfi-common-2.d: Likewise.
324 * testsuite/gas/cfi/cfi-common-3.d: Likewise.
325 * testsuite/gas/cfi/cfi-common-4.d: Likewise.
326 * testsuite/gas/cfi/cfi-common-5.d: Likewise.
327 * testsuite/gas/cfi/cfi-common-7.d: Likewise.
328 * testsuite/gas/cfi/cfi-common-8.d: Likewise.
329 * testsuite/gas/cfi/cfi-common-9.d: Likewise.
330 * testsuite/gas/cfi/cfi-mips-1.d: Likewise.
331
b6f80bb8
AM
3322016-10-08 Alan Modra <amodra@gmail.com>
333
334 * Makefile.am (EXTRA_as_new_SOURCES): Add config/rl78-parse.y and
335 config/rx-parse.y. Move config/bfin-parse.y.
336 (bfin-parse.@OBJEXT@, rl78-parse.@OBJEXT@, rx-parse.@OBJEXT@): Delete.
337 ($(srcdir)/config/rl78-defs.h): New rule.
338 * Makefile.in: Regenerate.
339
362c0c4d
JW
3402016-10-07 Jiong Wang <jiong.wang@arm.com>
341
342 PR target/20667
343 * testsuite/gas/aarch64/sys-rt-reg.s: Test source for instructions using
344 SYS_Rt reg.
345 * testsuite/gas/aarch64/sys-rt-reg.d: New testcase.
346
08ec958f
CZ
3472016-10-06 Claudiu Zissulescu <claziss@synopsys.com>
348
349 * testsuite/gas/arc/leave_enter.d: New file.
350 * testsuite/gas/arc/leave_enter.s: Likewise.
351 * testsuite/gas/arc/regnames.d: Likewise.
352 * testsuite/gas/arc/regnames.s: Likewise.
353 * config/tc-arc.c (arc_parse_name): Don't match reg names against
354 confirmed symbol names.
355
fcddde94
AM
3562016-10-06 Alan Modra <amodra@gmail.com>
357
358 * app.c (do_scrub_chars): Move fall through comment.
359 * expr.c (operand): Likewise.
360
3d3424e9
MF
3612016-10-06 Matthew Fortune <matthew.fortune@imgtec.com>
362
363 PR gas/20648
364 * dw2gencfi.c (dot_cfi_sections): Refine the check for
365 inconsistent .cfi_sections to only consider compact vs non
366 compact forms.
367 * testsuite/gas/cfi/cfi-common-9.d: New file.
368 * testsuite/gas/cfi/cfi-common-9.s: New file.
369 * testsuite/gas/cfi/cfi.exp: Run new test.
370
1a0670f3
AM
3712016-10-06 Alan Modra <amodra@gmail.com>
372
373 * app.c: Add missing fall through comments.
374 * dw2gencfi.c: Likewise.
375 * expr.c: Likewise.
376 * config/tc-alpha.c: Likewise.
377 * config/tc-arc.c: Likewise.
378 * config/tc-arm.c: Likewise.
379 * config/tc-cr16.c: Likewise.
380 * config/tc-crx.c: Likewise.
381 * config/tc-dlx.c: Likewise.
382 * config/tc-h8300.c: Likewise.
383 * config/tc-hppa.c: Likewise.
384 * config/tc-i370.c: Likewise.
385 * config/tc-i386.c: Likewise.
386 * config/tc-i960.c: Likewise.
387 * config/tc-ia64.c: Likewise.
388 * config/tc-m68hc11.c: Likewise.
389 * config/tc-m68k.c: Likewise.
390 * config/tc-mep.c: Likewise.
391 * config/tc-metag.c: Likewise.
392 * config/tc-microblaze.c: Likewise.
393 * config/tc-mips.c: Likewise.
394 * config/tc-ns32k.c: Likewise.
395 * config/tc-rx.c: Likewise.
396 * config/tc-score.c: Likewise.
397 * config/tc-score7.c: Likewise.
398 * config/tc-sh.c: Likewise.
399 * config/tc-tic4x.c: Likewise.
400 * config/tc-vax.c: Likewise.
401 * config/tc-xstormy16.c: Likewise.
402 * config/tc-z80.c: Likewise.
403 * config/tc-z8k.c: Likewise.
404 * config/obj-elf.c: Likewise.
405 * config/tc-i386.c: Likewise.
406 * depend.c: Spell fall through comments consistently.
407 * config/tc-arm.c: Likewise.
408 * config/tc-d10v.c: Likewise.
409 * config/tc-i960.c: Likewise.
410 * config/tc-ia64.c: Likewise.
411 * config/tc-m68k.c: Likewise.
412 * config/tc-mcore.c: Likewise.
413 * config/tc-mep.c: Likewise.
414 * config/tc-ns32k.c: Likewise.
415 * config/tc-visium.c: Likewise.
416 * config/tc-xstormy16.c: Likewise.
417 * config/tc-z8k.c: Likewise.
418
1e0f0b4d
AM
4192016-10-06 Alan Modra <amodra@gmail.com>
420
421 * as.h (as_assert): Add ATTRIBUTE_NORETURN.
422
2b804145
AM
4232016-10-06 Alan Modra <amodra@gmail.com>
424
425 * config/tc-arc.c (find_opcode_match): Add missing break.
426 * config/tc-i960.c (get_cdisp): Likewise.
427 * config/tc-metag.c (parse_swap, md_apply_fix): Likewise.
428 * config/tc-mt.c (md_parse_option): Likewise.
429 * config/tc-nds32.c (nds32_apply_fix): Likewise.
430 * config/tc-hppa.c (pa_ip): Assert rather than testing last
431 condition of multiple if statements.
432 * config/tc-s390.c (s390_exp_compare): Return 0 on error.
433 * config/tc-tic4x.c (tic4x_operand_parse): Add as_bad and break
434 out of case rather than falling into next case. Formatting.
435
95e61695
AM
4362016-10-06 Alan Modra <amodra@gmail.com>
437
438 * config/rl78-parse.y: Don't use deprecated %name-prefix.
439 * config/rx-parse.y: Likewise.
440
744ce302
JW
4412016-09-29 Jiong Wang <jiong.wang@arm.com>
442
443 PR target/20553
444 * testsuite/gas/aarch64/advsimd-fp16.s (indexed_elem): New high index
445 testcases for H and S variants. New low index testcases for D variant.
446 * testsuite/gas/aarch64/advsimd-fp16.d: Update expected results.
447
a5721ba2
AM
4482016-09-29 Alan Modra <amodra@gmail.com>
449
450 * config/tc-ppc.c (md_assemble): Handle PPC_OPERAND_OPTIONAL32.
451 * testsuite/gas/ppc/power8.s: Provide tbegin. operand.
452 * testsuite/gas/ppc/power9.d: Update cmprb disassembly.
453
78fb7e37
TS
4542016-09-26 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
455
456 * config/tc-xtensa.c (xg_reverse_shift_count): Pass cnt_arg instead of
457 cnt_argp to concat.
458
c5da1932
VZ
4592016-09-26 Vlad Zakharov <vzakhar@synopsys.com>
460
461 * Makefile.in: Regenerate.
462 * configure: Likewise.
463 * doc/Makefile.in: Likewise.
464
005d79fd
AM
4652016-09-26 Alan Modra <amodra@gmail.com>
466
467 * config/tc-ppc.c (ppc_elf_gnu_attribute): New function.
468 (md_pseudo_table <ELF>): Handle "gnu_attribute".
469
870dd155
TP
4702016-09-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
471
472 * config/tc-arm.c (v7m_psrs): Remove BASEPRI_MASK MRS/MSR special
473 register and redundant basepri_max.
474
ad43e107
RS
4752016-09-21 Richard Sandiford <richard.sandiford@arm.com>
476
477 * config/tc-aarch64.c (print_operands): Print spaces between
478 operands.
479 * testsuite/gas/aarch64/ilp32-basic.d: Expect spaces after ","
480 in addresses.
481 * testsuite/gas/aarch64/ldst-reg-imm-post-ind.d: Likewise.
482 * testsuite/gas/aarch64/ldst-reg-imm-pre-ind.d: Likewise.
483 * testsuite/gas/aarch64/ldst-reg-pair.d: Likewise.
484 * testsuite/gas/aarch64/ldst-reg-reg-offset.d: Likewise.
485 * testsuite/gas/aarch64/ldst-reg-uns-imm.d: Likewise.
486 * testsuite/gas/aarch64/ldst-reg-unscaled-imm.d: Likewise.
487 * testsuite/gas/aarch64/reloc-insn.d: Likewise.
488 * testsuite/gas/aarch64/sve.d: Likewise.
489 * testsuite/gas/aarch64/symbol.d: Likewise.
490 * testsuite/gas/aarch64/system.d: Likewise.
491 * testsuite/gas/aarch64/tls-desc.d: Likewise.
492 * testsuite/gas/aarch64/sve-invalid.l: Expect spaces after ","
493 in suggested alternatives.
494 * testsuite/gas/aarch64/verbose-error.l: Likewise.
495
ab3b8fcf
RS
4962016-09-21 Richard Sandiford <richard.sandiford@arm.com>
497
498 * config/tc-aarch64.c (output_operand_error_record): Use "must be"
499 rather than "should be" or "expected to be" in error messages.
500 (parse_operands): Likewise.
501 * testsuite/gas/aarch64/diagnostic.l: Likewise.
502 * testsuite/gas/aarch64/legacy_reg_names.l: Likewise.
503 * testsuite/gas/aarch64/sve-invalid.l: Likewise.
504 * testsuite/gas/aarch64/sve-reg-diagnostic.l: Likewise.
505
bb7eff52
RS
5062016-09-21 Richard Sandiford <richard.sandiford@arm.com>
507
508 * config/tc-aarch64.c (opcode_lookup): Search for the end of
509 a condition name, rather than assuming that it will have exactly
510 2 characters.
511 (parse_operands): Likewise.
512 * testsuite/gas/aarch64/alias.d: Add new condition-code comments
513 to the expected output.
514 * testsuite/gas/aarch64/beq_1.d: Likewise.
515 * testsuite/gas/aarch64/float-fp16.d: Likewise.
516 * testsuite/gas/aarch64/int-insns.d: Likewise.
517 * testsuite/gas/aarch64/no-aliases.d: Likewise.
518 * testsuite/gas/aarch64/programmer-friendly.d: Likewise.
519 * testsuite/gas/aarch64/reloc-insn.d: Likewise.
520 * testsuite/gas/aarch64/b_c_1.d, testsuite/gas/aarch64/b_c_1.s:
521 New test.
522
f2a5c4f5
RS
5232016-09-21 Richard Sandiford <richard.sandiford@arm.com>
524
525 * testsuite/gas/aarch64/diagnostic.s,
526 testsuite/gas/aarch64/diagnostic.l: Add tests for
527 invalid uses of MUL VL and MUL in base AArch64 instructions.
528 * testsuite/gas/aarch64/sve-add.s, testsuite/gas/aarch64/sve-add.d,
529 testsuite/gas/aarch64/sve-dup.s, testsuite/gas/aarch64/sve-dup.d,
530 testsuite/gas/aarch64/sve-invalid.s,
531 testsuite/gas/aarch64/sve-invalid.d,
532 testsuite/gas/aarch64/sve-invalid.l,
533 testsuite/gas/aarch64/sve-reg-diagnostic.s,
534 testsuite/gas/aarch64/sve-reg-diagnostic.d,
535 testsuite/gas/aarch64/sve-reg-diagnostic.l,
536 testsuite/gas/aarch64/sve.s, testsuite/gas/aarch64/sve.d: New tests.
537
c0890d26
RS
5382016-09-21 Richard Sandiford <richard.sandiford@arm.com>
539
540 * doc/c-aarch64.texi: Document the "sve" feature.
541 * config/tc-aarch64.c (REG_TYPE_R_Z_BHSDQ_VZP): New register type.
542 (get_reg_expected_msg): Handle it.
543 (parse_operands): When parsing operands of an SVE instruction,
544 disallow immediates that match REG_TYPE_R_Z_BHSDQ_VZP.
545 (aarch64_features): Add an entry for SVE.
546
047cd301
RS
5472016-09-21 Richard Sandiford <richard.sandiford@arm.com>
548
549 * config/tc-aarch64.c (parse_operands): Handle the new SVE core
550 and FP register operands.
551
165d4950
RS
5522016-09-21 Richard Sandiford <richard.sandiford@arm.com>
553
554 * config/tc-aarch64.c (double_precision_operand_p): New function.
555 (parse_operands): Use it to calculate the dp_p input to
556 parse_aarch64_imm_float. Handle the new SVE FP immediate operands.
557
e950b345
RS
5582016-09-21 Richard Sandiford <richard.sandiford@arm.com>
559
560 * config/tc-aarch64.c (parse_operands): Handle the new SVE integer
561 immediate operands.
562
98907a70
RS
5632016-09-21 Richard Sandiford <richard.sandiford@arm.com>
564
565 * config/tc-aarch64.c (SHIFTED_NONE, SHIFTED_MUL_VL): New
566 parse_shift_modes.
567 (parse_shift): Handle SHIFTED_MUL_VL.
568 (parse_address_main): Add an imm_shift_mode parameter.
569 (parse_address, parse_sve_address): Update accordingly.
570 (parse_operands): Handle MUL VL addressing modes.
571
4df068de
RS
5722016-09-21 Richard Sandiford <richard.sandiford@arm.com>
573
574 * config/tc-aarch64.c (REG_TYPE_SVE_BASE, REG_TYPE_SVE_OFFSET): New
575 register types.
576 (get_reg_expected_msg): Handle them.
577 (aarch64_addr_reg_parse): New function, split out from
578 aarch64_reg_parse_32_64. Handle Z registers too.
579 (aarch64_reg_parse_32_64): Call it.
580 (parse_address_main): Add base_qualifier, offset_qualifier,
581 base_type and offset_type parameters. Handle SVE base and offset
582 registers.
583 (parse_address): Update call to parse_address_main.
584 (parse_sve_address): New function.
585 (parse_operands): Parse the new SVE address operands.
586
2442d846
RS
5872016-09-21 Richard Sandiford <richard.sandiford@arm.com>
588
589 * config/tc-aarch64.c (SHIFTED_MUL): New parse_shift_mode.
590 (parse_shift): Handle it. Reject AARCH64_MOD_MUL for all other
591 shift modes. Skip range tests for AARCH64_MOD_MUL.
592 (process_omitted_operand): Handle AARCH64_OPND_SVE_PATTERN_SCALED.
593 (parse_operands): Likewise.
594
245d2e3f
RS
5952016-09-21 Richard Sandiford <richard.sandiford@arm.com>
596
597 * config/tc-aarch64.c (parse_enum_string): New function.
598 (po_enum_or_fail): New macro.
599 (parse_operands): Handle AARCH64_OPND_SVE_PATTERN and
600 AARCH64_OPND_SVE_PRFOP.
601
d50c751e
RS
6022016-09-21 Richard Sandiford <richard.sandiford@arm.com>
603
604 * config/tc-aarch64.c (vector_el_type): Add NT_zero and NT_merge.
605 (parse_vector_type_for_operand): Assert that the skipped character
606 is a '.'.
607 (parse_predication_for_operand): New function.
608 (parse_typed_reg): Parse /z and /m suffixes for predicate registers.
609 (vectype_to_qualifier): Handle NT_zero and NT_merge.
610
f11ad6bc
RS
6112016-09-21 Richard Sandiford <richard.sandiford@arm.com>
612
613 * config/tc-aarch64.c (NTA_HASVARWIDTH): New macro.
614 (AARCH64_REG_TYPES): Add ZN and PN.
615 (get_reg_expected_msg): Handle them.
616 (parse_vector_type_for_operand): Add a reg_type parameter.
617 Skip the width for Zn and Pn registers.
618 (parse_typed_reg): Extend vector handling to Zn and Pn. Update the
619 call to parse_vector_type_for_operand. Set HASVARTYPE for Zn and Pn,
620 expecting the width to be 0.
621 (parse_vector_reg_list): Restrict error about [BHSD]nn operands to
622 REG_TYPE_VN.
623 (vectype_to_qualifier): Use S_[BHSD] qualifiers for NTA_HASVARWIDTH.
624 (parse_operands): Handle the new Zn and Pn operands.
625 (REGSET16): New macro, split out from...
626 (REGSET31): ...here.
627 (reg_names): Add Zn and Pn entries.
628
0c608d6b
RS
6292016-09-21 Richard Sandiford <richard.sandiford@arm.com>
630
631 * config/tc-aarch64.c (output_operand_error_record): Handle
632 AARCH64_OPDE_UNTIED_OPERAND.
633
4989adac
RS
6342016-09-21 Richard Sandiford <richard.sandiford@arm.com>
635
636 * config/tc-aarch64.c (find_best_match): Simplify, allowing an
637 instruction with all-NIL qualifiers to fail to match.
638
73866052
RS
6392016-09-21 Richard Sandiford <richard.sandiford@arm.com>
640
641 * config/tc-aarch64.c (parse_address_main): Remove reloc and
642 accept_reg_post_index parameters. Parse relocations and register
643 post indexes unconditionally.
644 (parse_address): Remove accept_reg_post_index parameter.
645 Update call to parse_address_main.
646 (parse_address_reloc): Delete.
647 (parse_operands): Call parse_address instead of parse_address_main.
648 Update existing callers of parse_address and make them check
649 inst.reloc.type where appropriate.
650 * testsuite/gas/aarch64/diagnostic.s: Add tests for relocations
651 in ADDR_SIMPLE, SIMD_ADDR_SIMPLE, ADDR_SIMM7 and ADDR_SIMM9 addresses.
652 Also test for invalid uses of post-index register addressing.
653 * testsuite/gas/aarch64/diagnostic.l: Update accordingly.
654
e1b988bb
RS
6552016-09-21 Richard Sandiford <richard.sandiford@arm.com>
656
657 * config/tc-aarch64.c (REG_TYPE_R_Z, REG_TYPE_R_SP): New register
658 types.
659 (get_reg_expected_msg): Handle them and REG_TYPE_R64_SP.
660 (aarch64_check_reg_type): Simplify.
661 (aarch64_reg_parse_32_64): Return the reg_entry instead of the
662 register number. Return the type as a qualifier rather than an
663 "isreg32" boolean. Remove reject_sp, reject_rz and isregzero
664 parameters.
665 (parse_shifter_operand): Update call to aarch64_parse_32_64_reg.
666 Use get_reg_expected_msg.
667 (parse_address_main): Likewise. Use aarch64_check_reg_type.
668 (po_int_reg_or_fail): Replace reject_sp and reject_rz parameters
669 with a reg_type parameter. Update call to aarch64_parse_32_64_reg.
670 Use aarch64_check_reg_type to test the result.
671 (parse_operands): Update after the above changes. Parse ADDR_SIMPLE
672 addresses normally before enforcing the syntax restrictions.
673 * testsuite/gas/aarch64/diagnostic.s: Add tests for a post-index
674 zero register and for a stack pointer index.
675 * testsuite/gas/aarch64/diagnostic.l: Update accordingly.
676 Also update existing diagnostic messages after the above changes.
677 * testsuite/gas/aarch64/illegal-lse.l: Update the error message
678 for 32-bit register bases.
679
874d7e6e
RS
6802016-09-21 Richard Sandiford <richard.sandiford@arm.com>
681
682 * config/tc-aarch64.c (parse_aarch64_imm_float): Remove range check.
683 (parse_operands): Check the range of 8-bit FP immediates here instead.
684
6a9deabe
RS
6852016-09-21 Richard Sandiford <richard.sandiford@arm.com>
686
687 * config/tc-aarch64.c (parse_aarch64_imm_float): Report a specific
688 low-severity error for registers.
689 (parse_operands): Report an invalid floating point constant for
690 if parsing an FPIMM8 fails, and if no better error has been
691 recorded.
692 * testsuite/gas/aarch64/diagnostic.s,
693 testsuite/gas/aarch64/diagnostic.l: Add tests for integer operands
694 to FMOV.
695
04a3379a
RS
6962016-09-21 Richard Sandiford <richard.sandiford@arm.com>
697
698 * config/tc-aarch64.c (aarch64_double_precision_fmovable): Rename
699 to...
700 (can_convert_double_to_float): ...this. Accept any double-precision
701 value that converts to single precision without loss of precision.
702 (parse_aarch64_imm_float): Update accordingly.
703
1799c0d0
RS
7042016-09-21 Richard Sandiford <richard.sandiford@arm.com>
705
706 * config/tc-aarch64.c (parse_immediate_expression): Add a
707 reg_type parameter.
708 (parse_constant_immediate): Likewise, and update calls.
709 (parse_aarch64_imm_float): Likewise.
710 (parse_big_immediate): Likewise.
711 (po_imm_nc_or_fail): Update accordingly, passing down a new
712 imm_reg_type variable.
713 (po_imm_of_fail): Likewise.
714 (parse_operands): Likewise.
715
10d76650
RS
7162016-09-21 Richard Sandiford <richard.sandiford@arm.com>
717
718 * config/tc-aarch64.c (parse_neon_reg_list): Rename to...
719 (parse_vector_reg_list): ...this and take a register type
720 as input.
721 (parse_operands): Update accordingly.
722
53021dd1
RS
7232016-09-21 Richard Sandiford <richard.sandiford@arm.com>
724
725 * config/tc-aarch64.c (parse_neon_type_for_operand): Rename to...
726 (parse_vector_type_for_operand): ...this.
727 (parse_typed_reg): Update accordingly.
728
8f9a77af
RS
7292016-09-21 Richard Sandiford <richard.sandiford@arm.com>
730
731 * config/tc-aarch64.c (neon_type_el): Rename to...
732 (vector_type_el): ...this.
733 (parse_neon_type_for_operand): Update accordingly.
734 (parse_typed_reg): Likewise.
735 (aarch64_reg_parse): Likewise.
736 (vectype_to_qualifier): Likewise.
737 (parse_operands): Likewise.
738 (eq_neon_type_el): Likewise. Rename to...
739 (eq_vector_type_el): ...this.
740 (parse_neon_reg_list): Update accordingly.
741
f06935a5
RS
7422016-09-21 Richard Sandiford <richard.sandiford@arm.com>
743
744 * config/tc-aarch64.c (neon_el_type: Rename to...
745 (vector_el_type): ...this.
746 (neon_type_el): Update accordingly.
747 (parse_neon_type_for_operand): Likewise.
748 (vectype_to_qualifier): Likewise.
749
a235d3ae
RS
7502016-09-21 Richard Sandiford <richard.sandiford@arm.com>
751
752 * config/tc-aarch64.c (parse_neon_operand_type): Delete.
753 (parse_typed_reg): Call parse_neon_type_for_operand directly.
754
f807f43d
CZ
7552016-09-15 Claudiu Zissulescu <claziss@synopsys.com>
756
757 * testsuite/gas/arc/textinsnxop.d: New file.
758 * testsuite/gas/arc/textinsnxop.s: Likewise.
759
d7cd93a7
JM
7602016-09-15 Jose E. Marchesi <jose.marchesi@oracle.com>
761
762 * testsuite/gas/sparc/sparc.exp (gas_64_check): Run
763 dcti-couples-v9 only in ELF targets to avoid spurious failures in
764 sparc-aout and sparc-coff targets.
765
fd486b63
PB
7662016-09-14 Peter Bergner <bergner@vnet.ibm.com>
767
768 * testsuite/gas/ppc/power9.d <slbiag, cpabort> New tests.
769 <addex., brd, brh, brw, lwzmx, nandxor, rldixor, setbool,
770 xor3, cp_abort, copy_first, paste, paste_last, sync>: Remove tests.
771 <copy, paste.>: Update tests.
772 * testsuite/gas/ppc/power9.s: Likewise.
773
fc7514d6
JM
7742016-09-14 Jose E. Marchesi <jose.marchesi@oracle.com>
775
776 * config/tc-sparc.c (sparc_ip): Print the instruction arguments
777 in "architecture mismatch" error messages.
778
46a2d504
JM
7792016-09-14 Jose E. Marchesi <jose.marchesi@oracle.com>
780
781 * config/tc-sparc.c (md_assemble): Detect and warning on
782 unpredictable DCTI couples in certain arches.
783 (dcti_couples_detect): New global.
784 (md_longopts): Add command line option -dcti-couples-detect.
785 (md_show_usage): Document -dcti-couples-detect.
786 (md_parse_option): Handle OPTION_DCTI_COUPLES_DETECT.
787 * testsuite/gas/sparc/sparc.exp (gas_64_check): Run
788 dcti-couples-v8, dcti-couples-v9 and dcti-couples-v9c tests.
789 * testsuite/gas/sparc/dcti-couples.s: New file.
790 * testsuite/gas/sparc/dcti-couples-v9c.d: Likewise.
791 * testsuite/gas/sparc/dcti-couples-v8.d: Likewise.
792 * testsuite/gas/sparc/dcti-couples-v9.d: Likewise.
793 * testsuite/gas/sparc/dcti-couples-v9c.l: Likewise.
794 * testsuite/gas/sparc/dcti-couples-v8.l: Likewise.
795 * doc/as.texinfo (Overview): Document --dcti-couples-detect.
796 * doc/c-sparc.texi (Sparc-Opts): Likewise.
797
32348c58
CZ
7982016-09-14 Claudiu Zissulescu <claziss@synopsys.com>
799
800 * testsuite/gas/arc/tls-relocs2.d: New file.
801 * testsuite/gas/arc/tls-relocs2.s: Likewise.
802 * config/tc-arc.c (tokenize_arguments): Accept offsets when base
803 is used.
804
952c3f51
AK
8052016-09-12 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
806
807 * config/tc-s390.c (s390_parse_cpu): Support alternate arch
808 strings.
809 * doc/as.texinfo: Document new arch strings.
810 * doc/c-s390.texi: Likewise.
811
58af6397
AK
8122016-09-12 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
813
814 * config/tc-s390.c: Set all facitily bits by default
815
8b71537b
PS
8162016-09-12 Patrick Steuer <steuer@linux.vnet.ibm.com>
817
818 * testsuite/gas/s390/zarch-z196.d: Adjust testcase.
819
8d471ec1
L
8202016-09-08 H.J. Lu <hongjiu.lu@intel.com>
821
822 * config/tc-i386.c (i386_target_format): Allow PROCESSOR_IAMCU
823 for Intel MCU.
824
5b64d091
L
8252016-09-07 H.J. Lu <hongjiu.lu@intel.com>
826
827 * config/tc-i386.c (valid_iamcu_cpu_flags): Removed.
828 (set_cpu_arch): Updated.
829 (md_parse_option): Likewise.
830 * testsuite/gas/i386/i386.exp: Run iamcu-4 and iamcu-5. Remove
831 iamcu-inval-2 and iamcu-inval-3.
832 * testsuite/gas/i386/iamcu-4.d: New file.
833 * testsuite/gas/i386/iamcu-4.s: Likewise.
834 * testsuite/gas/i386/iamcu-5.d: Likewise.
835 * testsuite/gas/i386/iamcu-5.s: Likewise.
836 * testsuite/gas/i386/iamcu-inval-2.l: Removed.
837 * testsuite/gas/i386/iamcu-inval-2.s: Likewise.
838 * testsuite/gas/i386/iamcu-inval-3.l: Likewise.
839 * testsuite/gas/i386/iamcu-inval-3.s: Likewise.
840
27e5a270
RE
8412016-09-07 Richard Earnshaw <rearnsha@arm.com>
842
843 * config/tc-arm.c ((arm_cpus): Use ARM_ARCH_V8A_CRC for all
844 ARMv8-A CPUs except xgene1.
845
f7d69005
AM
8462016-08-31 Alan Modra <amodra@gmail.com>
847
848 * config/tc-ppc.c (md_assemble): Set sh_flags for VLE. Test
849 ppc_cpu rather than calling ppc_mach to determine VLE mode.
850 (ppc_frag_check, ppc_handle_align): Likewise use ppc_cpu.
851
1b8b6532
JM
8522016-08-26 Jose E. Marchesi <jose.marchesi@oracle.com>
853
854 * testsuite/gas/sparc/crypto.d: Rename invalid opcode camellia_fi
855 to camellia_fl.
856 * testsuite/gas/sparc/crypto.s: Likewise.
857
1a336194
TP
8582016-08-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
859
860 * config/tc-arm.c (v7m_psrs): Add MSPLIM, PSPLIM, MSPLIM_NS,
861 PSPLIM_NS, PRIMASK_NS, BASEPRI_NS, FAULTMASK_NS, CONTROL_NS, SP_NS and
862 their lowecase counterpart special registers. Write register
863 identifier in hex.
864 * testsuite/gas/arm/archv8m-cmse-msr.s: Reorganize tests per
865 operation, special register and then case. Use different register for
866 each operation. Add tests for new special registers.
867 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Adapt expected result
868 accordingly.
869 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
870 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
871
c4dd0ba2
TP
8722016-08-25 Thomas Preud'homme <thomas.preudhomme@arm.com>
873
874 * config/tc-arm.c (v7m_psrs): Remove msp_s, MSP_S, psp_s and PSP_S
875 special registers.
876 * testsuite/gas/arm/archv8m-cmse-msr.s: Remove test for above special
877 registers.
878 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Likewise.
879 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
880 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
881
6b40c462
L
8822016-08-24 H.J. Lu <hongjiu.lu@intel.com>
883
884 * config/tc-i386.c (cpu_arch): Add .ptwrite.
885 * doc/c-i386.texi: Document ptwrite and .ptwrite.
886 * testsuite/gas/i386/i386.exp: Run ptwrite, ptwrite-intel,
887 x86-64-ptwrite and x86-64-ptwrite-intel.
888 * testsuite/gas/i386/ptwrite-intel.d: New file.
889 * testsuite/gas/i386/ptwrite.d: Likewise.
890 * testsuite/gas/i386/ptwrite.s: Likewise.
891 * testsuite/gas/i386/x86-64-ptwrite-intel.d: Likewise.
892 * testsuite/gas/i386/x86-64-ptwrite.d: Likewise.
893 * testsuite/gas/i386/x86-64-ptwrite.s: Likewise.
894
873f10f0
TC
8952016-08-19 Tamar Christina <tamar.christina@arm.com>
896
897 * config/tc-arm.c (do_co_reg2c): Added constraint.
898 * testsuite/gas/arm/dest-unpredictable.s: New.
899 * testsuite/gas/arm/dest-unpredictable.l: New.
900 * testsuite/gas/arm/dest-unpredictable.d: New.
901
dd905818
NC
9022016-08-19 Nick Clifton <nickc@redhat.com>
903
904 * testsuite/gas/i386/ilp32/x86-64-unwind.d: Adjust expected
905 ordering of sections.
906 * testsuite/gas/i386/x86-64-unwind.d: Likewise.
907 * testsuite/gas/ia64/alias-ilp32.d: Likewise.
908 * testsuite/gas/ia64/alias.d: Likewise.
909 * testsuite/gas/ia64/group-1.d: Likewise.
910 * testsuite/gas/ia64/group-2.d: Likewise.
911 * testsuite/gas/ia64/secname-ilp32.d: Likewise.
912 * testsuite/gas/ia64/secname.d: Likewise.
913 * testsuite/gas/ia64/unwind-ilp32.d: Likewise.
914 * testsuite/gas/ia64/unwind.d: Likewise.
915 * testsuite/gas/ia64/xdata-ilp32.d: Likewise.
916 * testsuite/gas/ia64/xdata.d: Likewise.
917 * testsuite/gas/mmix/bspec-1.d: Likewise.
918 * testsuite/gas/mmix/bspec-2.d: Likewise.
919 * testsuite/gas/mmix/byte-1.d: Likewise.
920 * testsuite/gas/mmix/loc-1.d: Likewise.
921 * testsuite/gas/mmix/loc-2.d: Likewise.
922 * testsuite/gas/mmix/loc-3.d: Likewise.
923 * testsuite/gas/mmix/loc-4.d: Likewise.
924 * testsuite/gas/mmix/loc-5.d: Likewise.
925 * testsuite/gas/tic6x/scomm-directive-4.d: Likewise.
926
dbd8770c
RS
9272016-08-11 Richard Sandiford <richard.sandiford@arm.com>
928
929 * config/tc-aarch64.c (parse_aarch64_imm_float): Reject -0.0.
930 * testsuite/gas/aarch64/illegal.s, testsuite/gas/aarch64/illegal.l:
931 Add tests for -0.0. Add an end-of-file comment.
932
7ea12e5c
NC
9332016-08-05 Nick Clifton <nickc@redhat.com>
934
b126985e
NC
935 PR gas/20429
936 * config/tc-arm.c (do_vfp_nsyn_push): Check that no more than 16
937 registers are pushed.
938 (do_vfp_nsyn_pop): Check that no more than 16 registers are
939 popped.
940 * testsuite/gas/arm/pr20429.s: New test.
941 * testsuite/gas/arm/pr20429.d: New test driver.
942 * testsuite/gas/arm/pr20429.1: Expected error output.
943
7ea12e5c
NC
944 PR gas/20364
945 * config/tc-aarch64.c (s_ltorg): Change the mapping state after
946 aligning the frag.
947 (aarch64_init): Treat rs_align frags in code sections as
948 containing code, not data.
949 * testsuite/gas/aarch64/pr20364.s: New test.
950 * testsuite/gas/aarch64/pr20364.d: New test driver.
951
02442566
ST
9522016-08-04 Stefan Trleman <stefan.teleman@oracle.com>
953
954 PR gas/20427
955 * config/tc-sparc.c (cons_fix_new_sparc): Prevent the generation
956 of 64-bit relocation types when assembling for a 32-bit Solaris
957 target.
958
c88960d0
JM
9592016-07-27 Jose E. Marchesi <jose.marchesi@oracle.com>
960
961 * testsuite/gas/sparc/sparc.exp: Use is_elf_format to discriminate
962 ELF targets.
963 Run natural, natural-32, pr4587, ticc-imm-reg, v8-movwr-imm,
964 pause, save-args, cbcond, cfr, crypto edge, flush, hpcvis3, ima,
965 ld_st_fsr, ldtw_sttw, ldd_std, ldx_stx, ldx_efsr, mwait, mcdper,
966 sparc5vis4, xcrypto, v9branch1 and imm-plus-rreg only in ELF
967 targets.
968 (sparc_elf_setup): Delete.
969 * testsuite/gas/sparc/save-args.d: Fix a copy-paste typo in the
970 test's #name entry.
971
7bd374a4
MR
9722016-07-27 Maciej W. Rozycki <macro@imgtec.com>
973
974 * config/tc-mips.c (RELAX_MICROMIPS_ENCODE): Add `nods' flag.
975 (RELAX_MICROMIPS_RELAX32, RELAX_MICROMIPS_TOOFAR16)
976 (RELAX_MICROMIPS_MARK_TOOFAR16, RELAX_MICROMIPS_CLEAR_TOOFAR16)
977 (RELAX_MICROMIPS_TOOFAR32, RELAX_MICROMIPS_MARK_TOOFAR32)
978 (RELAX_MICROMIPS_CLEAR_TOOFAR32): Shift bits.
979 (get_append_method): Also return APPEND_ADD_COMPACT for
980 microMIPS instructions.
981 (find_altered_mips16_opcode): Exclude macros from matching.
982 Factor code out...
983 (find_altered_opcode): ... to this new function.
984 (find_altered_micromips_opcode): New function.
985 (frag_branch_delay_slot_size): Likewise.
986 (append_insn): Handle microMIPS branch/jump compaction.
987 (macro_start): Likewise.
988 (relaxed_micromips_32bit_branch_length): Likewise.
989 (md_convert_frag): Likewise.
990 * testsuite/gas/mips/micromips.s: Add conditional explicit NOPs
991 for delay slot filling.
992 * testsuite/gas/mips/micromips-b16.s: Add explicit NOPs for
993 delay slot filling.
994 * testsuite/gas/mips/micromips-size-1.s: Likewise.
995 * testsuite/gas/mips/micromips.l: Adjust line numbers.
996 * testsuite/gas/mips/micromips-warn.l: Likewise.
997 * testsuite/gas/mips/micromips-size-1.l: Likewise.
998 * testsuite/gas/mips/micromips.d: Adjust padding.
999 * testsuite/gas/mips/micromips-trap.d: Likewise.
1000 * testsuite/gas/mips/micromips-insn32.d: Likewise.
1001 * testsuite/gas/mips/micromips-noinsn32.d: Likewise.
1002 * testsuite/gas/mips/micromips@beq.d: Update patterns for
1003 branch/jump compaction.
1004 * testsuite/gas/mips/micromips@bge.d: Likewise.
1005 * testsuite/gas/mips/micromips@bgeu.d: Likewise.
1006 * testsuite/gas/mips/micromips@blt.d: Likewise.
1007 * testsuite/gas/mips/micromips@bltu.d: Likewise.
1008 * testsuite/gas/mips/micromips@branch-misc-4.d: Likewise.
1009 * testsuite/gas/mips/micromips@branch-misc-4-64.d: Likewise.
1010 * testsuite/gas/mips/micromips@branch-misc-5.d: Likewise.
1011 * testsuite/gas/mips/micromips@branch-misc-5pic.d: Likewise.
1012 * testsuite/gas/mips/micromips@branch-misc-5-64.d: Likewise.
1013 * testsuite/gas/mips/micromips@branch-misc-5pic-64.d: Likewise.
1014 * testsuite/gas/mips/micromips@jal-svr4pic-local.d: Likewise.
1015 * testsuite/gas/mips/micromips@jal-svr4pic-local-n32.d:
1016 Likewise.
1017 * testsuite/gas/mips/micromips@jal-svr4pic-local-n64.d:
1018 Likewise.
1019 * testsuite/gas/mips/micromips@loc-swap.d: Likewise.
1020 * testsuite/gas/mips/micromips@loc-swap-dis.d: Likewise.
1021 * testsuite/gas/mips/micromips@relax.d: Likewise.
1022 * testsuite/gas/mips/micromips@relax-at.d: Likewise.
1023 * testsuite/gas/mips/micromips@relax-swap3.d: Likewise.
1024 * testsuite/gas/mips/branch-extern-2.d: Likewise.
1025 * testsuite/gas/mips/branch-extern-4.d: Likewise.
1026 * testsuite/gas/mips/branch-section-2.d: Likewise.
1027 * testsuite/gas/mips/branch-section-4.d: Likewise.
1028 * testsuite/gas/mips/branch-weak-2.d: Likewise.
1029 * testsuite/gas/mips/branch-weak-5.d: Likewise.
1030 * testsuite/gas/mips/micromips-branch-absolute.d: Likewise.
1031 * testsuite/gas/mips/micromips-branch-absolute-n32.d: Likewise.
1032 * testsuite/gas/mips/micromips-branch-absolute-n64.d: Likewise.
1033 * testsuite/gas/mips/micromips-branch-absolute-addend.d:
1034 Likewise.
1035 * testsuite/gas/mips/micromips-branch-absolute-addend-n32.d:
1036 Likewise.
1037 * testsuite/gas/mips/micromips-branch-absolute-addend-n64.d:
1038 Likewise.
1039 * testsuite/gas/mips/micromips-compact.d: New test.
1040 * testsuite/gas/mips/mips.exp: Run the new test.
1041
db18dbab
GM
10422016-07-27 Graham Markall <graham.markall@embecosm.com>
1043
1044 * config/tc-arc.c: Add new global arc_addrtype_hash.
1045 Define O_colon and O_addrtype.
1046 (debug_exp): Add O_colon and O_addrtype.
1047 (tokenize_arguments): Handle colon and address type
1048 tokens.
1049 (declare_addrtype): New function.
1050 (md_begin): Initialise arc_addrtype_hash.
1051 (arc_parse_name): Add lookup of address types.
1052 (assemble_insn): Handle colons and address types by
1053 ignoring them.
1054 * testsuite/gas/arc/nps400-8.s: New file.
1055 * testsuite/gas/arc/nps400-8.d: New file.
1056 * testsuite/gas/arc/nps400-8.s: Add PMU instruction tests.
1057 * testsuite/gas/arc/nps400-8.d: Add expected PMU
1058 instruction output.
1059
8484fb75
MR
10602016-07-26 Maciej W. Rozycki <macro@imgtec.com>
1061
1062 * config/tc-mips.c (RELAX_MICROMIPS_ENCODE): Add `insn32' flag.
1063 (RELAX_MICROMIPS_INSN32): New macro.
1064 (RELAX_MICROMIPS_UNCOND, RELAX_MICROMIPS_COMPACT)
1065 (RELAX_MICROMIPS_LINK, RELAX_MICROMIPS_RELAX32)
1066 (RELAX_MICROMIPS_TOOFAR16, RELAX_MICROMIPS_MARK_TOOFAR16)
1067 (RELAX_MICROMIPS_CLEAR_TOOFAR16, RELAX_MICROMIPS_TOOFAR32)
1068 (RELAX_MICROMIPS_MARK_TOOFAR32, RELAX_MICROMIPS_CLEAR_TOOFAR32):
1069 Shift bits.
1070 (append_insn): Record `mips_opts.insn32' with relaxed microMIPS
1071 branches.
1072 (relaxed_micromips_32bit_branch_length): Handle the `insn32'
1073 mode.
1074 (md_convert_frag): Likewise.
1075 * testsuite/gas/mips/micromips-branch-relax.s: Add `insn32'
1076 conditionals.
1077 * testsuite/gas/mips/micromips-branch-relax.l: Update line
1078 numbers accordingly.
1079 * testsuite/gas/mips/micromips-branch-relax-pic.l: Likewise.
1080 * testsuite/gas/mips/micromips-branch-relax-insn32.d: New test.
1081 * testsuite/gas/mips/micromips-branch-relax-insn32-pic.d: New
1082 test.
1083 * testsuite/gas/mips/micromips-branch-relax-insn32.l: New
1084 stderr output.
1085 * testsuite/gas/mips/micromips-branch-relax-insn32-pic.l: New
1086 stderr output.
1087 * testsuite/gas/mips/mips.exp: Run the new tests.
1088
fecd57f9
L
10892016-07-21 H.J. Lu <hongjiu.lu@intel.com>
1090
1091 * configure: Regenerated.
1092
37fd5ef3
CZ
10932016-07-20 Claudiu Zissulescu <claziss@synopsys.com>
1094
1095 * testsuite/gas/arc/dsp.d: New file.
1096 * testsuite/gas/arc/dsp.s: Likewise.
1097 * testsuite/gas/arc/fpu.d: Likewise.
1098 * testsuite/gas/arc/fpu.s: Likewise.
1099 * testsuite/gas/arc/ext2op.d: Add specific disassembler option.
1100 * testsuite/gas/arc/ext3op.d: Likewise.
1101 * testsuite/gas/arc/tdpfp.d: Likewise.
1102 * testsuite/gas/arc/tfpuda.d: Likewise.
1103
5caa2b07
MR
11042016-07-20 Maciej W. Rozycki <macro@imgtec.com>
1105
1106 * config/tc-mips.c (mips_force_relocation): Remove
1107 R_MIPS_PC26_S2 and R_MIPS_PC21_S2.
1108
a6ebf616
MR
11092016-07-19 Maciej W. Rozycki <macro@imgtec.com>
1110
1111 * config/tc-mips.c (mips_force_relocation, mips_fix_adjustable):
1112 Adjust comments for BAL to JALX linker conversion.
1113 (fix_bad_cross_mode_branch_p): Accept cross-mode BAL.
1114 * testsuite/gas/mips/unaligned-branch-1.l: Update error messages
1115 expected.
1116 * testsuite/gas/mips/unaligned-branch-micromips-1.l: Likewise.
1117 * testsuite/gas/mips/branch-local-4.d: New test.
1118 * testsuite/gas/mips/branch-local-n32-4.d: New test.
1119 * testsuite/gas/mips/branch-local-n64-4.d: New test.
1120 * testsuite/gas/mips/branch-addend.d: New test.
1121 * testsuite/gas/mips/branch-addend-n32.d: New test.
1122 * testsuite/gas/mips/branch-addend-n64.d: New test.
1123 * testsuite/gas/mips/branch-local-4.s: New test source.
1124 * testsuite/gas/mips/branch-addend.s: New test source.
1125 * testsuite/gas/mips/mips.exp: Run the new tests.
1126
9d862524
MR
11272016-07-19 Maciej W. Rozycki <macro@imgtec.com>
1128
1129 * config/tc-mips.c (mips_force_relocation): Also retain branch
1130 relocations against MIPS16 and microMIPS symbols.
1131 (fix_bad_cross_mode_jump_p): New function.
1132 (fix_bad_same_mode_jalx_p): Likewise.
1133 (fix_bad_misaligned_jump_p): Likewise.
1134 (fix_bad_cross_mode_branch_p): Likewise.
1135 (fix_bad_misaligned_branch_p): Likewise.
1136 (fix_validate_branch): Likewise.
1137 (md_apply_fix) <BFD_RELOC_MIPS_JMP, BFD_RELOC_MIPS16_JMP>
1138 <BFD_RELOC_MICROMIPS_JMP>: Separate from BFD_RELOC_MIPS_SHIFT5,
1139 etc. Verify the ISA mode and alignment of the jump target.
1140 <BFD_RELOC_MIPS_21_PCREL_S2>: Replace the inline alignment check
1141 with a call to `fix_validate_branch'.
1142 <BFD_RELOC_MIPS_26_PCREL_S2>: Likewise.
1143 <BFD_RELOC_16_PCREL_S2>: Likewise.
1144 <BFD_RELOC_MICROMIPS_7_PCREL_S1, BFD_RELOC_MICROMIPS_10_PCREL_S1>
1145 <BFD_RELOC_MICROMIPS_16_PCREL_S1>: Retain the original addend.
1146 Verify the ISA mode and alignment of the branch target.
1147 (md_convert_frag): Verify the ISA mode and alignment of resolved
1148 MIPS16 branch targets.
1149 * testsuite/gas/mips/branch-misc-1.s: Annotate non-instruction
1150 branch targets with `.insn'.
1151 * testsuite/gas/mips/branch-misc-5.s: Likewise.
1152 * testsuite/gas/mips/micromips@branch-misc-5-64.d: Update
1153 accordingly.
1154 * testsuite/gas/mips/micromips@branch-misc-5pic-64.d: Likewise.
1155 * testsuite/gas/mips/micromips-branch-relax.s: Annotate
1156 non-instruction branch target with `.insn'.
1157 * testsuite/gas/mips/micromips.s: Replace microMIPS JALX targets
1158 with external symbols.
1159 * testsuite/gas/mips/micromips-insn32.d: Update accordingly.
1160 * testsuite/gas/mips/micromips-noinsn32.d: Likewise.
1161 * testsuite/gas/mips/micromips-trap.d: Likewise.
1162 * testsuite/gas/mips/micromips.d: Likewise.
1163 * testsuite/gas/mips/mips16.s: Annotate non-instruction branch
1164 targets with `.insn'.
1165 * testsuite/gas/mips/mips16.d: Update accordingly.
1166 * testsuite/gas/mips/mips16-64.d: Likewise.
1167 * testsuite/gas/mips/mips16-dwarf2.s: Annotate non-instruction
1168 branch target with `.insn'.
1169 * testsuite/gas/mips/relax-swap3.s: Likewise.
1170 * testsuite/gas/mips/branch-local-2.l: New list test.
1171 * testsuite/gas/mips/branch-local-3.l: New list test.
1172 * testsuite/gas/mips/branch-local-n32-2.l: New list test.
1173 * testsuite/gas/mips/branch-local-n32-3.l: New list test.
1174 * testsuite/gas/mips/branch-local-n64-2.l: New list test.
1175 * testsuite/gas/mips/branch-local-n64-3.l: New list test.
1176 * testsuite/gas/mips/unaligned-jump-1.l: New list test.
1177 * testsuite/gas/mips/unaligned-jump-2.l: New list test.
1178 * testsuite/gas/mips/unaligned-jump-3.d: New test.
1179 * testsuite/gas/mips/unaligned-jump-mips16-1.l: New list test.
1180 * testsuite/gas/mips/unaligned-jump-mips16-2.l: New list test.
1181 * testsuite/gas/mips/unaligned-jump-mips16-3.d: New test.
1182 * testsuite/gas/mips/unaligned-jump-micromips-1.l: New list
1183 test.
1184 * testsuite/gas/mips/unaligned-jump-micromips-2.l: New list
1185 test.
1186 * testsuite/gas/mips/unaligned-jump-micromips-3.d: New test.
1187 * testsuite/gas/mips/unaligned-branch-1.l: New list test.
1188 * testsuite/gas/mips/unaligned-branch-2.l: New list test.
1189 * testsuite/gas/mips/unaligned-branch-3.d: New test.
1190 * testsuite/gas/mips/unaligned-branch-r6-1.l: New list test.
1191 * testsuite/gas/mips/unaligned-branch-r6-2.l: New list test.
1192 * testsuite/gas/mips/unaligned-branch-r6-3.l: New list test.
1193 * testsuite/gas/mips/unaligned-branch-r6-4.l: New list test.
1194 * testsuite/gas/mips/unaligned-branch-r6-5.d: New test.
1195 * testsuite/gas/mips/unaligned-branch-r6-6.d: New test.
1196 * testsuite/gas/mips/unaligned-branch-mips16-1.l: New list test.
1197 * testsuite/gas/mips/unaligned-branch-mips16-2.l: New list test.
1198 * testsuite/gas/mips/unaligned-branch-mips16-3.d: New test.
1199 * testsuite/gas/mips/unaligned-branch-micromips-1.l: New list
1200 test.
1201 * testsuite/gas/mips/unaligned-branch-micromips-2.l: New list
1202 test.
1203 * testsuite/gas/mips/unaligned-branch-micromips-3.d: New test.
1204 * testsuite/gas/mips/branch-local-2.s: New test source.
1205 * testsuite/gas/mips/branch-local-3.s: New test source.
1206 * testsuite/gas/mips/branch-local-n32-2.s: New test source.
1207 * testsuite/gas/mips/branch-local-n32-3.s: New test source.
1208 * testsuite/gas/mips/branch-local-n64-2.s: New test source.
1209 * testsuite/gas/mips/branch-local-n64-3.s: New test source.
1210 * testsuite/gas/mips/unaligned-jump-1.s: New test source.
1211 * testsuite/gas/mips/unaligned-jump-2.s: New test source.
1212 * testsuite/gas/mips/unaligned-jump-mips16-1.s: New test source.
1213 * testsuite/gas/mips/unaligned-jump-mips16-2.s: New test source.
1214 * testsuite/gas/mips/unaligned-jump-micromips-1.s: New test
1215 source.
1216 * testsuite/gas/mips/unaligned-jump-micromips-2.s: New test
1217 source.
1218 * testsuite/gas/mips/unaligned-branch-1.s: New test source.
1219 * testsuite/gas/mips/unaligned-branch-2.s: New test source.
1220 * testsuite/gas/mips/unaligned-branch-r6-1.s: New test source.
1221 * testsuite/gas/mips/unaligned-branch-r6-2.s: New test source.
1222 * testsuite/gas/mips/unaligned-branch-r6-3.s: New test source.
1223 * testsuite/gas/mips/unaligned-branch-r6-4.s: New test source.
1224 * testsuite/gas/mips/unaligned-branch-mips16-1.s: New test
1225 source.
1226 * testsuite/gas/mips/unaligned-branch-mips16-2.s: New test
1227 source.
1228 * testsuite/gas/mips/unaligned-branch-micromips-1.s: New test
1229 source.
1230 * testsuite/gas/mips/unaligned-branch-micromips-2.s: New test
1231 source.
1232 * testsuite/gas/mips/mips.exp: Run the new tests.
1233
065251a0
TS
12342016-07-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1235
1236 * config/tc-nds32.c (struct nds32_pseudo_opcode): Make pseudo_val
1237 unsigned int.
1238 (do_pseudo_b): Adjust.
1239 (do_pseudo_bal): Likewise.
1240 (do_pseudo_bge): Likewise.
1241 (do_pseudo_bges): Likewise.
1242 (do_pseudo_bgt): Likewise.
1243 (do_pseudo_bgts): Likewise.
1244 (do_pseudo_ble): Likewise.
1245 (do_pseudo_bles): Likewise.
1246 (do_pseudo_blt): Likewise.
1247 (do_pseudo_blts): Likewise.
1248 (do_pseudo_br): Likewise.
1249 (do_pseudo_bral): Likewise.
1250 (do_pseudo_la): Likewise.
1251 (do_pseudo_li): Likewise.
1252 (do_pseudo_ls_bhw): Likewise.
1253 (do_pseudo_ls_bhwp): Likewise.
1254 (do_pseudo_ls_bhwpc): Likewise.
1255 (do_pseudo_ls_bhwi): Likewise.
1256 (do_pseudo_move): Likewise.
1257 (do_pseudo_neg): Likewise.
1258 (do_pseudo_not): Likewise.
1259 (do_pseudo_pushpopm): Likewise.
1260 (do_pseudo_pushpop): Likewise.
1261 (do_pseudo_v3push): Likewise.
1262 (do_pseudo_v3pop): Likewise.
1263 (do_pseudo_pushpop_stack): Likewise.
1264 (do_pseudo_push_bhwd): Likewise.
1265 (do_pseudo_pop_bhwd): Likewise.
1266 (do_pseudo_pusha): Likewise.
1267 (do_pseudo_pushi): Likewise.
1268
9bceab41
TS
12692016-07-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1270
1271 * config/tc-sparc.c (struct pop_entry): Make the type of reloc
1272 bfd_reloc_code_real_type.
1273
cf80913a
TS
12742016-07-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1275
1276 * config/tc-sparc.c (pop_table): Remove sentinel.
1277 (NUM_PERC_ENTRIES): Use ARRAY_SIZE on pop_table.
1278 (md_begin): Adjust.
1279
35fec4ff
TS
12802016-07-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1281
1282 * config/tc-z8k.c (newfix): Make type of type argument
1283 bfd_reloc_code_real_type.
1284 (apply_fix): Likewise.
1285
00dad9a4
AM
12862016-07-16 Alan Modra <amodra@gmail.com>
1287
1288 * config/tc-epiphany.c: Don't include libbfd.h.
1289 * config/tc-frv.c: Likewise.
1290 * config/tc-ip2k.c: Likewise.
1291 * config/tc-iq2000.c: Likewise.
1292 * config/tc-m32c.c: Likewise.
1293 * config/tc-mep.c: Likewise.
1294 * config/tc-mt.c: Likewise.
1295 * config/tc-nios2.c: Likewise.
1296
76e7a751
AM
12972016-07-16 Alan Modra <amodra@gmail.com>
1298
1299 * config/bfin-parse.y: Don't include libbfd.h.
1300 * config/tc-bfin.c: Likewise.
1301 * config/tc-rl78.c: Likewise.
1302 * config/tc-rx.c: Likewise.
1303 * config/tc-metag.c: Likewise.
1304 (create_dspreg_htabs, create_scond_htab): Use gas_assert not BFD_ASSERT.
1305 * Makefile.am: Update dependencies.
1306 * Makefile.in: Regenerate.
1307
b416ba9b
MR
13082016-07-14 Maciej W. Rozycki <macro@imgtec.com>
1309
1310 * config/tc-mips.h (TC_FORCE_RELOCATION_ABS): New macro.
1311 (mips_force_relocation_abs): New prototype.
1312 * config/tc-mips.c (mips_force_relocation_abs): New function.
1313 * testsuite/gas/mips/branch-absolute.d: Adjust dump patterns.
1314 * testsuite/gas/mips/mips16-branch-absolute.d: Likewise.
1315 * testsuite/gas/mips/micromips-branch-absolute-n32.d: Likewise.
1316 * testsuite/gas/mips/micromips-branch-absolute-n64.d: Likewise.
1317 * testsuite/gas/mips/micromips-branch-absolute-addend-n32.d:
1318 Likewise.
1319 * testsuite/gas/mips/micromips-branch-absolute-addend-n64.d:
1320 Likewise.
1321 * testsuite/gas/mips/branch-absolute-addend.d: New test.
1322 * testsuite/gas/mips/mips16-branch-absolute-addend.d: New test.
1323 * testsuite/gas/mips/micromips-branch-absolute-addend.d: New
1324 test.
1325 * testsuite/gas/mips/mips.exp: Run the new tests.
1326
96e9ba5f
MR
13272016-07-14 Maciej W. Rozycki <macro@imgtec.com>
1328
1329 * config/tc-mips.c (md_apply_fix) <BFD_RELOC_MIPS16_16_PCREL_S1>
1330 <BFD_RELOC_MICROMIPS_7_PCREL_S1, BFD_RELOC_MICROMIPS_10_PCREL_S1>
1331 <BFD_RELOC_MICROMIPS_16_PCREL_S1>: Keep the ISA bit in the
1332 addend calculated.
1333 * testsuite/gas/mips/mips16-branch-absolute.s: Set the ISA bit
1334 in `bar', export `foo'.
1335 * testsuite/gas/mips/mips16-branch-absolute.d: Adjust
1336 accordingly.
1337 * testsuite/gas/mips/mips16-branch-absolute-n32.d: Likewise.
1338 * testsuite/gas/mips/mips16-branch-absolute-n64.d: Likewise.
1339 * testsuite/gas/mips/mips16-branch-absolute-addend-n32.d:
1340 Likewise.
1341 * testsuite/gas/mips/mips16-branch-absolute-addend-n64.d:
1342 Likewise.
1343
0c117286
MR
13442016-07-14 Maciej W. Rozycki <macro@imgtec.com>
1345
1346 * testsuite/gas/mips/mips16-branch-absolute.d: Update patterns.
1347 * testsuite/gas/mips/branch-absolute.d: New test.
1348 * testsuite/gas/mips/branch-absolute-n32.d: New test.
1349 * testsuite/gas/mips/branch-absolute-n64.d: New test.
1350 * testsuite/gas/mips/branch-absolute-addend-n32.d: New test.
1351 * testsuite/gas/mips/branch-absolute-addend-n64.d: New test.
1352 * testsuite/gas/mips/mips16-branch-absolute-n32.d: New test.
1353 * testsuite/gas/mips/mips16-branch-absolute-n64.d: New test.
1354 * testsuite/gas/mips/mips16-branch-absolute-addend-n32.d: New
1355 test.
1356 * testsuite/gas/mips/mips16-branch-absolute-addend-n64.d: New
1357 test.
1358 * testsuite/gas/mips/micromips-branch-absolute.d: New test.
1359 * testsuite/gas/mips/micromips-branch-absolute-n32.d: New test.
1360 * testsuite/gas/mips/micromips-branch-absolute-n64.d: New test.
1361 * testsuite/gas/mips/micromips-branch-absolute-addend-n32.d: New
1362 test.
1363 * testsuite/gas/mips/micromips-branch-absolute-addend-n64.d: New
1364 test.
1365 * testsuite/gas/mips/branch-absolute.s: New test source.
1366 * testsuite/gas/mips/branch-absolute-addend.s: New test source.
1367 * testsuite/gas/mips/mips16-branch-absolute-addend.s: New test
1368 source.
1369 * testsuite/gas/mips/micromips-branch-absolute.s: New test
1370 source.
1371 * testsuite/gas/mips/micromips-branch-absolute-addend.s: New
1372 test source.
1373 * testsuite/gas/mips/mips.exp: Run the new tests.
1374
92281a5b
MR
13752016-07-13 Maciej W. Rozycki <macro@imgtec.com>
1376
1377 * testsuite/gas/mips/nal-1.d: New test.
1378 * testsuite/gas/mips/mipsr6@nal-1.d: New test.
1379 * testsuite/gas/mips/nal-2.d: New test.
1380 * testsuite/gas/mips/mipsr6@nal-2.d: New test.
1381 * testsuite/gas/mips/nal.s: New test source.
1382 * testsuite/gas/mips/mips.exp: Run the new tests.
1383
6e7ced37
JM
13842016-07-12 Jose E. Marchesi <jose.marchesi@oracle.com>
1385
1386 * testsuite/gas/sparc/ldtxa.s: New file.
1387 * testsuite/gas/sparc/ldtxa.d: Likewise.
1388 * testsuite/gas/sparc/sparc.exp: Execute the ldtxa test.
1389
05bbf016
CZ
13902016-07-11 Claudiu Zissulescu <claziss@synopsys.com>
1391
1392 * config/tc-arc.c (arc_reloc_op_tag): Allow complex ops for dtpoff.
1393 (tc_gen_reloc): Remove passing DTPOFF base info into reloc addendum
1394 as it is no longer needed.
1395
d9dcf8c6
MR
13962016-07-08 Maciej W. Rozycki <macro@imgtec.com>
1397
1398 * config/tc-mips.c (append_insn): Remove extraneous
1399 `install_insn' call.
1400
33d0ab95
JB
14012016-07-04 Jan Beulich <jbeulich@suse.com>
1402
1403 * config/tc-i386.c (check_qword_reg): Correct register kind
1404 checked.
1405 * testsuite/gas/i386/x86-64-suffix-bad.s: Add q-suffix with
1406 16-bit register cases.
1407 * testsuite/gas/i386/x86-64-suffix-bad.l: Adjust expectations.
1408
1409
fcedb9f3
MR
14102016-07-02 Maciej W. Rozycki <macro@imgtec.com>
1411
1412 * testsuite/gas/mips/ecoff@ld.d: Remove test.
1413 * testsuite/gas/mips/ecoff@ld-forward.d: Remove test.
1414 * testsuite/gas/mips/ecoff@ld-zero-3.d: Remove test.
1415 * testsuite/gas/mips/ecoff@sd.d: Remove test.
1416 * testsuite/gas/mips/ecoff@sd-forward.d: Remove test.
1417 * testsuite/gas/mips/beq.d: Remove a.out and ECOFF support from
1418 reloc patterns.
1419 * testsuite/gas/mips/mipsr6@beq.d: Likewise.
1420 * testsuite/gas/mips/bge.d: Likewise.
1421 * testsuite/gas/mips/mipsr6@bge.d: Likewise.
1422 * testsuite/gas/mips/bgeu.d: Likewise.
1423 * testsuite/gas/mips/mipsr6@bgeu.d: Likewise.
1424 * testsuite/gas/mips/blt.d: Likewise.
1425 * testsuite/gas/mips/mipsr6@blt.d: Likewise.
1426 * testsuite/gas/mips/bltu.d: Likewise.
1427 * testsuite/gas/mips/mipsr6@bltu.d: Likewise.
1428 * testsuite/gas/mips/branch-likely.d: Likewise.
1429 * testsuite/gas/mips/la.d: Likewise.
1430 * testsuite/gas/mips/lb.d: Likewise.
1431 * testsuite/gas/mips/lifloat.d: Likewise.
1432 * testsuite/gas/mips/sb.d: Likewise.
1433 * testsuite/gas/mips/uld.d: Likewise.
1434 * testsuite/gas/mips/ulh.d: Likewise.
1435 * testsuite/gas/mips/ulw.d: Likewise.
1436 * testsuite/gas/mips/usd.d: Likewise.
1437 * testsuite/gas/mips/ush.d: Likewise.
1438 * testsuite/gas/mips/usw.d: Likewise.
1439
00437d3b
MR
14402016-07-02 Maciej W. Rozycki <macro@imgtec.com>
1441
1442 * testsuite/gas/mips/branch-misc-2.s: Move non
1443 locally-defined-global symbol tests...
1444 * testsuite/gas/mips/branch-misc-5.s: ... to this new test.
1445 * testsuite/gas/mips/branch-misc-2.d: Update accordingly.
1446 * testsuite/gas/mips/branch-misc-2-64.d: Likewise.
1447 * testsuite/gas/mips/branch-misc-2pic.d: Likewise.
1448 * testsuite/gas/mips/branch-misc-2pic-64.d: Likewise.
1449 * testsuite/gas/mips/mipsr6@branch-misc-2-64.d: Likewise.
1450 * testsuite/gas/mips/mipsr6@branch-misc-2pic-64.d: Likewise.
1451 * testsuite/gas/mips/micromips@branch-misc-2.d: Likewise.
1452 * testsuite/gas/mips/micromips@branch-misc-2-64.d: Likewise.
1453 * testsuite/gas/mips/micromips@branch-misc-2pic.d: Likewise.
1454 * testsuite/gas/mips/micromips@branch-misc-2pic-64.d: Likewise.
1455 * testsuite/gas/mips/branch-misc-5.d: New test.
1456 * testsuite/gas/mips/branch-misc-5pic.d: New test.
1457 * testsuite/gas/mips/branch-misc-5-64.d: New test.
1458 * testsuite/gas/mips/branch-misc-5pic-64.d: New test.
1459 * testsuite/gas/mips/mipsr6@branch-misc-5-64.d: New test.
1460 * testsuite/gas/mips/mipsr6@branch-misc-5pic-64.d: New test.
1461 * testsuite/gas/mips/micromips@branch-misc-5.d: New test.
1462 * testsuite/gas/mips/micromips@branch-misc-5pic.d: New test.
1463 * testsuite/gas/mips/micromips@branch-misc-5-64.d: New test.
1464 * testsuite/gas/mips/micromips@branch-misc-5pic-64.d: New test.
1465 * testsuite/gas/mips/mips.exp: Run the new tests.
1466
f26c9c2e
MR
14672016-07-02 Maciej W. Rozycki <macro@imgtec.com>
1468
1469 * testsuite/gas/mips/beq.s: Uncomment branches to undefined
1470 symbols.
1471 * testsuite/gas/mips/beq.d: Update accordingly.
1472 * testsuite/gas/mips/mipsr6@beq.d: Likewise.
1473 * testsuite/gas/mips/micromips@beq.d: Likewise.
1474
d7f20d66
MR
14752016-07-02 Maciej W. Rozycki <macro@imgtec.com>
1476
1477 * testsuite/gas/mips/mips.exp: Restrict 64-bit `branch-mips'
1478 tests to NewABI targets.
1479
e51af157
MR
14802016-07-02 Maciej W. Rozycki <macro@imgtec.com>
1481
1482 * testsuite/gas/mips/mips.exp: Group `branch-misc' tests
1483 together.
1484
93d8990c
SN
14852016-07-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
1486
1487 * config/tc-aarch64.c (struct aarch64_option_cpu_value_table): Add
1488 require field.
1489 (aarch64_features): Initialize require fields.
1490 (aarch64_parse_features): Handle dependencies.
1491 (aarch64_feature_enable_set, aarch64_feature_disable_set): New.
1492 (md_assemble): Use AARCH64_CPU_HAS_ALL_FEATURES.
1493 * testsuite/gas/aarch64/illegal-nofp16.s: New.
1494 * testsuite/gas/aarch64/illegal-nofp16.l: New.
1495 * testsuite/gas/aarch64/illegal-nofp16.d: New.
1496
98a4fc78
NC
14972016-07-01 Nick Clifton <nickc@redhat.com>
1498
1499 * macro.c (macro_expand_body): Use a buffer big enough to hold an
1500 extremely large integer.
1501
248feb2f
JB
15022016-07-01 Jan Beulich <jbeulich@suse.com>
1503
1504 * testsuite/gas/i386/mpx-inval-2.l: Relax for COFF targets.
1505
96a84ea3
TG
15062016-07-01 Tristan Gingold <gingold@adacore.com>
1507
1508 * NEWS: Add marker for 2.27.
1509
8178be5b
JB
15102016-07-01 Jan Beulich <jbeulich@suse.com>
1511
1512 * tc-i386.c (i386_index_check): Add special checks for bndmk,
1513 bndldx, and bndstx.
1514 * testsuite/gas/i386/mpx-inval-2.s: Add %rip and %eip relative
1515 as well as scaling by other than 1 tests.
1516 * testsuite/gas/i386/mpx-inval-2.l: Adjust accordingly.
1517
327e8c42
JB
15182016-07-01 Jan Beulich <jbeulich@suse.com>
1519
1520 * tc-i386.c (md_assemble): Alter address size checking for MPX
1521 instructions.
1522 * testsuite/gas/i386/mpx-inval-2.s: New.
1523 * testsuite/gas/i386/mpx-inval-2.l: New.
1524 * testsuite/gas/i386/i386.exp: Run new test.
1525
83b16ac6
JB
15262016-07-01 Jan Beulich <jbeulich@suse.com>
1527
1528 PR gas/20318
1529 * config/tc-i386.c (match_template): Add char parameter,
1530 consumed in Intel mode for an extra suffix check.
1531 (md_assemble): New local variable mnem_suffix.
1532 * testsuite/gas/i386/suffix-bad.s: New.
1533 * testsuite/gas/i386/suffix-bad.l: New.
1534 * testsuite/gas/i386/i386.exp: Run new test (twice).
1535
c07315e0
JB
15362016-07-01 Jan Beulich <jbeulich@suse.com>
1537
1538 * testsuite/gas/i386/movz.s: New.
1539 * testsuite/gas/i386/movz32.d: New.
1540 * testsuite/gas/i386/movz64.d: New.
1541 * testsuite/gas/i386/i386.exp: Run new tests.
1542
8325cc63
JB
15432016-07-01 Jan Beulich <jbeulich@suse.com>
1544
1545 * config/tc-i386.c (struct _i386_insn): New field memop1_string.
1546 (md_assemble): Free first memory operand string.
1547 (i386_index_check): Use repprefixok to distingush xlat from
1548 other (real) string ops.
1549 (maybe_adjust_templates): New.
1550 (i386_att_operand). Call it. Store first memory operand string.
1551 * config/tc-i386-intel.c (i386_intel_operand): Likewise.
1552 * testsuite/gas/i386/intel-movs.s: New.
1553 * testsuite/gas/i386/intel-movs32.d: New.
1554 * testsuite/gas/i386/intel-movs64.d: New.
1555 * testsuite/gas/i386/i386.exp: Run new tests. Invoke as for
1556 64-bits tests with "--defsym x86_64=1 --strip-local-absolute".
1557
3b821a28
MR
15582016-06-30 Maciej W. Rozycki <macro@imgtec.com>
1559
1560 * config/tc-mips.c (get_append_method): Fix a comment typo.
1561
99e7978b
MF
15622016-06-30 Matthew Fortune <Matthew.Fortune@imgtec.com>
1563 Maciej W. Rozycki <macro@imgtec.com>
1564
1565 * config/tc-mips.c (append_insn) <APPEND_SWAP>: Do not special
1566 case MIPS16 handling.
1567 * testsuite/gas/mips/branch-swap-3.d: New test.
1568 * testsuite/gas/mips/branch-swap-4.d: New test.
1569 * testsuite/gas/mips/mips16@branch-swap-3.d: New test.
1570 * testsuite/gas/mips/mips16@branch-swap-4.d: New test.
1571 * testsuite/gas/mips/micromips@branch-swap-3.d: New test.
1572 * testsuite/gas/mips/micromips@branch-swap-4.d: New test.
1573 * testsuite/gas/mips/branch-swap-3.s: New test source.
1574 * testsuite/gas/mips/mips.exp: Run the new tests.
1575
5e35670b
MR
15762016-06-30 Maciej W. Rozycki <macro@imgtec.com>
1577
1578 * config/tc-mips.c (append_insn): Simplify non-MIPS16 branch
1579 swapping sequence.
1580
93a24ba7
MR
15812016-06-30 Maciej W. Rozycki <macro@imgtec.com>
1582
1583 PR gas/20312
1584 * write.c (subsegs_finish_section): Force no section padding to
1585 alignment on failed assembly, always set last frag's alignment
1586 from section.
1587 * testsuite/gas/all/pr20312.l: New list test.
1588 * testsuite/gas/all/pr20312.s: New test source.
1589 * testsuite/gas/all/gas.exp: Run the new test
1590
8d6f5ac3
AB
15912016-06-30 Andrew Burgess <andrew.burgess@embecosm.com>
1592
1593 * config.in (TARGET_WITH_CPU): Undefine.
1594 * configure.ac: Add --with-cpu support, and define in config.h.
1595 * configure: Regenerate.
1596 * config/tc-arc.c: Use TARGET_WITH_CPU to select default CPU.
1597 * NEWS: Mention new configure option.
1598
534dbe46
MW
15992016-06-30 Matthew Wahab <matthew.wahab@arm.com>
1600
1601 * testsuite/gas/arm/armv8_2+rdma.d: New.
1602
4e3e1fdf
L
16032016-06-29 H.J. Lu <hongjiu.lu@intel.com>
1604
1605 * NEWS: Mention --enable-compressed-debug-sections=gas is the
1606 default for Linux/x86 targets.
1607 * configure.tgt (ac_default_compressed_debug_sections): Default
1608 to yes for Linux/x86 targets.
1609
6d44f09a
MR
16102016-06-29 Maciej W. Rozycki <macro@imgtec.com>
1611
1612 * write.c: Remove "libbfd.h" inclusion.
1613
eb9bb5b4
MR
16142016-06-28 Maciej W. Rozycki <macro@imgtec.com>
1615
1616 * testsuite/gas/elf/elf.exp: Use `supports_gnu_unique' with the
1617 `type' test.
1618
d48796b5
AM
16192016-06-28 Alan Modra <amodra@gmail.com>
1620
1621 PR gas/20247
1622 * testsuite/gas/elf/section11.s: Don't start directives in first column.
1623
dab26bf4
RS
16242016-06-28 Richard Sandiford <richard.sandiford@arm.com>
1625
1626 * testsuite/gas/aarch64/diagnostic.s,
1627 testsuite/gas/aarch64/diagnostic.l: Add tests for out-of-range indices.
1628
c9775dde
MR
16292016-06-28 Maciej W. Rozycki <macro@imgtec.com>
1630
1631 * config/tc-mips.c (mips16_reloc_p): Handle
1632 BFD_RELOC_MIPS16_16_PCREL_S1.
1633 (b_reloc_p): Likewise.
1634 (limited_pcrel_reloc_p): Likewise.
1635 (md_pcrel_from): Likewise.
1636 (md_apply_fix): Likewise.
1637 (tc_gen_reloc): Likewise.
1638 (md_convert_frag): Likewise.
1639 (mips_fix_adjustable): Update comment.
1640 * testsuite/gas/mips/mips16-branch-reloc-2.d: Remove error
1641 output, add dump patterns.
1642 * testsuite/gas/mips/mips16-branch-reloc-3.d: Remove error
1643 output, add dump patterns.
1644 * testsuite/gas/mips/mips16-branch-addend-2.d: Remove error
1645 output, add dump patterns.
1646 * testsuite/gas/mips/mips16-branch-addend-3.d: Remove error
1647 output, add dump patterns.
1648 * testsuite/gas/mips/mips16-branch-absolute.d: Remove error
1649 output, add dump patterns.
1650 * testsuite/gas/mips/mips16-branch-reloc-2.l: Remove file.
1651 * testsuite/gas/mips/mips16-branch-reloc-3.l: Remove file.
1652 * testsuite/gas/mips/mips16-branch-addend-2.l: Remove file.
1653 * testsuite/gas/mips/mips16-branch-addend-3.l: Remove file.
1654 * testsuite/gas/mips/mips16-branch-absolute.l: Remove file.
1655 * testsuite/gas/mips/mips16-branch-addend-2.s: Add padding.
1656 * testsuite/gas/mips/branch-weak.s: Adjust alignment, avoid
1657 implicit instruction padding, avoid MIPS16 JR->JRC conversion.
1658 * testsuite/gas/mips/branch-weak-6.d: New test.
1659 * testsuite/gas/mips/branch-weak-7.d: New test.
1660 * testsuite/gas/mips/mips.exp: Run the new tests.
1661
45a54ee5
VG
16622016-06-27 Vineet Gupta <vgupta@synopsys.com>
1663
1664 * config//tc-arc.c (tc_arc_frame_initial_instructions): Use
1665 cfi_add_CFA_def_cfa to generate default CFA with offset
1666 * testsuite/gas/cfi/cfi-arc-1.d: Update expected output.
1667
95daf210
NC
16682016-06-27 Nick Clifton <nickc@redhat.com>
1669
1670 PR gas/20247
1671 * as.h (do_not_pad_sections_to_alignment): New global variable.
1672 * as.c (show_usage): Add --no-pad-sections.
1673 (parse_args): Likewise.
1674 * write.c (size_seg): Skip padding the end of the section if
1675 requested from the command line.
1676 (SUB_SEGMENT_ALIGN): Likewise.
1677 * doc/as.texinfo: Document the new option.
1678 * NEWS: Mention the new feature.
1679 * testsuite/gas/elf/section11.s: New test.
1680 * testsuite/gas/elf/section11.d: New test driver.
1681 * testsuite/gas/elf/elf.exp: Run the new test.
1682
3cd72572
TS
16832016-06-27 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1684
1685 * config/tc-dlx.c: Include bfd/elf32-dlx.h.
1686 * config/tc-dlx.h: Remove prototype of dlx_set_skip_hi16.
1687
e066bf5f
TS
16882016-06-27 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1689
1690 * config/tc-xtensa.c (xtensa_elf_suffix): Use ARRAY_SIZE instead of a
1691 sentinal element.
1692 (map_suffix_reloc_to_operator): Likewise.
1693 (map_operator_to_reloc): Likewise.
1694
0708347f
TS
16952016-06-27 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1696
1697 * config/tc-nds32.c (md_begin): Use ARRAY_SIZE instead of a sentinal
1698 element in relax_table.
1699
8a0b252a
TS
17002016-06-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1701
1702 * config/tc-aarch64.c: Make the type of reg_entry::type
1703 aarch_reg_type.
1704
5703197e
TS
17052016-06-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1706
1707 * config/tc-bfin.c (bfin_cpus): Remove sentinal.
1708 (md_parse_option): Adjust.
1709 * config/tc-aarch64.c (aarch64_parse_abi): Replace use of a sentinal
1710 with iteration from 0 to ARRAY_SIZE.
1711 * config/tc-mcore.c (md_begin): Likewise.
1712 * config/tc-visium.c (visium_parse_arch): Likewise.
1713
4b92e388
TS
17142016-06-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1715
1716 * config/tc-tic54x.c (tic54x_set_default_include): remove argument
1717 and simplify accordingly.
1718 (tic54x_include): Adjust.
1719 (tic54x_mlib): Likewise.
1720
7c2c4aa1
TS
17212016-06-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1722
1723 * config/tc-xtensa.c (xtensa_make_property_section): Remove prototype.
1724
88a7ef16
MR
17252016-06-24 Maciej W. Rozycki <macro@imgtec.com>
1726
1727 * config/tc-mips.c (append_insn): Use any `O_symbol' expression
1728 unchanged with relaxed MIPS16 instructions.
1729 (mips16_extended_frag): Adjust accordingly. Return 1 right
1730 away if a relocation will be required for the symbol requested.
1731 Remove dead first relaxation pass code.
1732 (mips_relax_frag): Pass `sec' down to `mips16_extended_frag'.
1733 (md_convert_frag): Adjust symbol value calculation. Raise an
1734 error if a relocation is required for the symbol requested.
1735 * testsuite/gas/mips/mips16@relax-swap3.d: Remove dump patterns,
1736 add error output.
1737 * testsuite/gas/mips/mips16@relax-swap3.l: New error output.
1738 * testsuite/gas/mips/mips16-pcrel-relax-0.d: New test.
1739 * testsuite/gas/mips/mips16-pcrel-relax-1.d: New test.
1740 * testsuite/gas/mips/mips16-pcrel-relax-2.d: New test.
1741 * testsuite/gas/mips/mips16-pcrel-relax-3.d: New test.
1742 * testsuite/gas/mips/mips16-pcrel-reloc-0.d: New test.
1743 * testsuite/gas/mips/mips16-pcrel-reloc-1.d: New test.
1744 * testsuite/gas/mips/mips16-pcrel-reloc-2.d: New test.
1745 * testsuite/gas/mips/mips16-pcrel-reloc-3.d: New test.
1746 * testsuite/gas/mips/mips16-pcrel-reloc-4.d: New test.
1747 * testsuite/gas/mips/mips16-pcrel-reloc-5.d: New test.
1748 * testsuite/gas/mips/mips16-pcrel-reloc-6.d: New test.
1749 * testsuite/gas/mips/mips16-pcrel-reloc-7.d: New test.
1750 * testsuite/gas/mips/mips16-pcrel-addend-0.d: New test.
1751 * testsuite/gas/mips/mips16-pcrel-addend-1.d: New test.
1752 * testsuite/gas/mips/mips16-pcrel-addend-2.d: New test.
1753 * testsuite/gas/mips/mips16-pcrel-addend-3.d: New test.
1754 * testsuite/gas/mips/mips16-pcrel-absolute.d: New test.
1755 * testsuite/gas/mips/mips16-branch-reloc-0.d: New test.
1756 * testsuite/gas/mips/mips16-branch-reloc-1.d: New test.
1757 * testsuite/gas/mips/mips16-branch-reloc-2.d: New test.
1758 * testsuite/gas/mips/mips16-branch-reloc-3.d: New test.
1759 * testsuite/gas/mips/mips16-branch-addend-0.d: New test.
1760 * testsuite/gas/mips/mips16-branch-addend-1.d: New test.
1761 * testsuite/gas/mips/mips16-branch-addend-2.d: New test.
1762 * testsuite/gas/mips/mips16-branch-addend-3.d: New test.
1763 * testsuite/gas/mips/mips16-branch-absolute.d: New test.
1764 * testsuite/gas/mips/mips16-absolute-reloc-0.d: New test.
1765 * testsuite/gas/mips/mips16-absolute-reloc-1.d: New test.
1766 * testsuite/gas/mips/mips16-absolute-reloc-2.d: New test.
1767 * testsuite/gas/mips/mips16-absolute-reloc-3.d: New test.
1768 * testsuite/gas/mips/mips16-pcrel-reloc-2.l: New error output.
1769 * testsuite/gas/mips/mips16-pcrel-reloc-3.l: New error output.
1770 * testsuite/gas/mips/mips16-pcrel-reloc-6.l: New error output.
1771 * testsuite/gas/mips/mips16-pcrel-reloc-7.l: New error output.
1772 * testsuite/gas/mips/mips16-pcrel-addend-2.l: New error output.
1773 * testsuite/gas/mips/mips16-pcrel-addend-3.l: New error output.
1774 * testsuite/gas/mips/mips16-pcrel-absolute.l: New error output.
1775 * testsuite/gas/mips/mips16-branch-reloc-2.l: New error output.
1776 * testsuite/gas/mips/mips16-branch-reloc-3.l: New error output.
1777 * testsuite/gas/mips/mips16-branch-addend-2.l: New error output.
1778 * testsuite/gas/mips/mips16-branch-addend-3.l: New error output.
1779 * testsuite/gas/mips/mips16-branch-absolute.l: New error output.
1780 * testsuite/gas/mips/mips16-absolute-reloc-2.l: New error output.
1781 * testsuite/gas/mips/mips16-absolute-reloc-3.l: New error output.
1782 * testsuite/gas/mips/mips16-pcrel-relax-0.s: New test source.
1783 * testsuite/gas/mips/mips16-pcrel-relax-2.s: New test source.
1784 * testsuite/gas/mips/mips16-pcrel-reloc-0.s: New test source.
1785 * testsuite/gas/mips/mips16-pcrel-reloc-1.s: New test source.
1786 * testsuite/gas/mips/mips16-pcrel-reloc-2.s: New test source.
1787 * testsuite/gas/mips/mips16-pcrel-reloc-3.s: New test source.
1788 * testsuite/gas/mips/mips16-pcrel-reloc-4.s: New test source.
1789 * testsuite/gas/mips/mips16-pcrel-reloc-5.s: New test source.
1790 * testsuite/gas/mips/mips16-pcrel-reloc-6.s: New test source.
1791 * testsuite/gas/mips/mips16-pcrel-reloc-7.s: New test source.
1792 * testsuite/gas/mips/mips16-pcrel-addend-0.s: New test source.
1793 * testsuite/gas/mips/mips16-pcrel-addend-1.s: New test source.
1794 * testsuite/gas/mips/mips16-pcrel-addend-2.s: New test source.
1795 * testsuite/gas/mips/mips16-pcrel-addend-3.s: New test source.
1796 * testsuite/gas/mips/mips16-pcrel-absolute.s: New test source.
1797 * testsuite/gas/mips/mips16-branch-reloc-0.s: New test source.
1798 * testsuite/gas/mips/mips16-branch-reloc-1.s: New test source.
1799 * testsuite/gas/mips/mips16-branch-reloc-2.s: New test source.
1800 * testsuite/gas/mips/mips16-branch-reloc-3.s: New test source.
1801 * testsuite/gas/mips/mips16-branch-addend-0.s: New test source.
1802 * testsuite/gas/mips/mips16-branch-addend-1.s: New test source.
1803 * testsuite/gas/mips/mips16-branch-addend-2.s: New test source.
1804 * testsuite/gas/mips/mips16-branch-addend-3.s: New test source.
1805 * testsuite/gas/mips/mips16-branch-absolute.s: New test source.
1806 * testsuite/gas/mips/mips16-absolute-reloc-0.s: New test source.
1807 * testsuite/gas/mips/mips16-absolute-reloc-1.s: New test source.
1808 * testsuite/gas/mips/mips16-absolute-reloc-2.s: New test source.
1809 * testsuite/gas/mips/mips16-absolute-reloc-3.s: New test source.
1810 * testsuite/gas/mips/mips.exp: Run the new tests.
1811
5c0ff163
AM
18122016-06-24 Alan Modra <amodra@gmail.com>
1813
1814 * configure.tgt (alpha-*-openbsd*): Use em=nbsd.
1815
0e9c5a5c
MR
18162016-06-23 Maciej W. Rozycki <macro@imgtec.com>
1817
1818 * config/tc-mips.c (b_reloc_p): New function.
1819 (mips_fix_adjustable): Also keep the original microMIPS symbol
1820 referred from branch relocations.
1821 * testsuite/gas/mips/branch-local-1.d: New test.
1822 * testsuite/gas/mips/branch-local-n32-1.d: New test.
1823 * testsuite/gas/mips/branch-local-n64-1.d: New test.
1824 * testsuite/gas/mips/micromips@branch-misc-4-64.d: Update
1825 relocations.
1826 * testsuite/gas/mips/branch-local-1.s: New test source.
1827 * testsuite/gas/mips/mips.exp: Run the new cases.
1828
ce440d63
GM
18292016-06-23 Graham Markall <graham.markall@embecosm.com>
1830
1831 * config/tc-arc.c (options, md_longopts, md_parse_option): Move
1832 -mspfp, -mdpfp and -mfpuda out of the sections for dummy
1833 options. Correct erroneous enabling of SPFP instructions when
1834 using -mnps400.
1835
6fd3a02d
PB
18362016-06-22 Peter Bergner <bergner@vnet.ibm.com>
1837
1838 * testsuite/gas/ppc/power9.d <brd, brh, brw, mffs, mffs., mffsce,
1839 mffscdrn, mffscdrni, mffscrn, mffscrni, mffsl, nandxor, rldixor,
1840 setbool, xor3>: New tests.
1841 * testsuite/gas/ppc/power9.s: Likewise.
1842
b0b79343
TS
18432016-06-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1844
1845 * config/tc-xtensa.c: Include elf/xtensa.h.
1846
8cec2cfe
MR
18472016-06-21 Maciej W. Rozycki <macro@imgtec.com>
1848
1849 * config/tc-mips.c (calculate_reloc) <BFD_RELOC_HI16_S_PCREL>
1850 <BFD_RELOC_LO16_PCREL>: New switch cases.
1851 (md_apply_fix) <BFD_RELOC_HI16_S_PCREL, BFD_RELOC_LO16_PCREL>:
1852 Move switch cases along `BFD_RELOC_MIPS_JMP'.
1853 <BFD_RELOC_MIPS_21_PCREL_S2, BFD_RELOC_MIPS_26_PCREL_S2>
1854 <BFD_RELOC_MIPS_18_PCREL_S3, BFD_RELOC_MIPS_19_PCREL_S2>: Handle
1855 the resolved case.
1856 * testsuite/gas/mips/pcrel-reloc-4.d: New test.
1857 * testsuite/gas/mips/pcrel-reloc-4-r6.d: New test.
1858 * testsuite/gas/mips/pcrel-reloc-5.d: New test.
1859 * testsuite/gas/mips/pcrel-reloc-5-r6.d: New test.
1860 * testsuite/gas/mips/pcrel-reloc-6.d: New test.
1861 * testsuite/gas/mips/pcrel-reloc-6.l: New list test.
1862 * testsuite/gas/mips/pcrel-reloc-4.s: New test source.
1863 * testsuite/gas/mips/pcrel-reloc-6.s: New test source.
1864 * testsuite/gas/mips/mips.exp: Run the new tests.
1865
717ba204
MR
18662016-06-21 Maciej W. Rozycki <macro@imgtec.com>
1867
1868 * config/tc-mips.c (md_apply_fix) <BFD_RELOC_MIPS_18_PCREL_S3>
1869 <BFD_RELOC_MIPS_19_PCREL_S2>: Avoid null pointer dereferences
1870 via `fixP->fx_addsy'.
1871
51f6035b
MR
18722016-06-21 Maciej W. Rozycki <macro@imgtec.com>
1873
1874 * config/tc-mips.c (md_pcrel_from) <BFD_RELOC_MIPS_18_PCREL_S3>:
1875 Calculate relocation from the containing aligned doubleword.
1876 (tc_gen_reloc) <BFD_RELOC_MIPS_18_PCREL_S3>: Calculate the
1877 addend from the containing aligned doubleword.
1878
912815f0
MR
18792016-06-21 Maciej W. Rozycki <macro@imgtec.com>
1880
1881 * config/tc-mips.c (mips_force_relocation): Use `file_mips_opts'
1882 rather than `mips_opts' for the R6 ISA check.
1883 (mips_fix_adjustable): Likewise.
1884 * testsuite/gas/mips/pcrel-reloc-1.d: New test.
1885 * testsuite/gas/mips/pcrel-reloc-1-r6.d: New test.
1886 * testsuite/gas/mips/pcrel-reloc-2.d: New test.
1887 * testsuite/gas/mips/pcrel-reloc-2-r6.d: New test.
1888 * testsuite/gas/mips/pcrel-reloc-3.d: New test.
1889 * testsuite/gas/mips/pcrel-reloc-3-r6.d: New test.
1890 * testsuite/gas/mips/pcrel-reloc-1.s: New test source.
1891 * testsuite/gas/mips/mips.exp: Run the new tests.
1892
bdd582db
GM
18932016-06-21 Graham Markall <graham.markall@embecosm.com>
1894
1895 * config/tc-arc.c (check_cpu_feature, md_parse_option):
1896 Add nps400 option and feature. Add check for nps400
1897 feature. Refactor existing checks to check subclass before
1898 feature enablement.
1899 (md_show_usage): Document flags for NPS-400 and add some other
1900 undocumented flags.
1901 (cpu_type): Remove nps400 CPU type entry
1902 (check_zol): Remove bfd_mach_arc_nps400 case.
1903 (md_show_usage): Add help on -mcpu=nps400.
1904 (cpu_types): Add entry for nps400 as arc700 plus nps400 extension
1905 set.
1906 * doc/c-arc.texi: Document the -mnps400, -mspfp, -mdpfp, and
1907 -fpuda flags. Document -mcpu=nps400.
1908 * testsuite/gas/arc/nps-400-0.d: Use -mcpu=arc700 -mnps400. Change
1909 expected flags to match ARC700 instead of NPS400.
1910 * testsuite/gas/arc/nps-400-1.d: Use -mcpu=arc700 -mnps400.
1911 * testsuite/gas/arc/nps-400-2.d: Likewise.
1912 * testsuite/gas/arc/nps-400-3.d: Likewise.
1913 * testsuite/gas/arc/nps-400-4.d: Likewise.
1914 * testsuite/gas/arc/nps-400-5.d: Likewise.
1915 * testsuite/gas/arc/nps-400-6.d: Likewise.
1916 * testsuite/gas/arc/nps-400-7.d: Likewise.
1917 * testsuite/gas/arc/textinsn2op01.s: Change opcode of myinsn to
1918 avoid clash with cbba instruction.
1919 * testsuite/gas/arc/textinsn2op01.d: Likewise.
1920 * testsuite/gas/arc/textinsn3op.d: Likewise.
1921 * testsuite/gas/arc/textinsn3op.s: Likewise.
1922 * testsuite/gas/arc/nps-400-0.d: Test using NPS-400 using
1923 -mcpu=nps400 as an alternative to -mcpu=arc700 -mnps400 flags.
1924
ff03d62a
MR
19252016-06-20 Maciej W. Rozycki <macro@imgtec.com>
1926
1927 * testsuite/gas/mips/r6-64-n32.d: Change the `name' tag.
1928 * testsuite/gas/mips/r6-64-n64.d: Likewise.
1929
507dcb32
MR
19302016-06-20 Maciej W. Rozycki <macro@imgtec.com>
1931
1932 * config/tc-mips.c (mips_fix_adjustable): Update comment on jump
1933 reloc conversion.
1934
9f99c22e
VP
19352016-06-20 Virendra Pathak <virendra.pathak@broadcom.com>
1936
1937 * config/tc-aarch64.c (aarch64_cpus): Update vulcan feature set.
1938
96074adc
JM
19392016-06-17 Jose E. Marchesi <jose.marchesi@oracle.com>
1940
1941 * config/tc-sparc.c (hpriv_reg_table): Add registers %hmcdper,
1942 %hmcddfr and %hva_mask_nz.
1943 (sparc_ip): New handling of asr/privileged/hyperprivileged
1944 registers, adapted to the new form of the sparc opcodes table.
1945 * testsuite/gas/sparc/rdasr.s: New file.
1946 * testsuite/gas/sparc/rdasr.d: Likewise.
1947 * testsuite/gas/sparc/wrasr.s: Likewise.
1948 * testsuite/gas/sparc/wrasr.d: Likewise.
1949 * testsuite/gas/sparc/sparc.exp (sparc_elf_setup): Add rdasr and
1950 wrasr tests.
1951 * testsuite/gas/sparc/rdpr.d: Use -Av9m, as some privileged
1952 registers require it.
1953 * testsuite/gas/sparc/wrpr.s: Complete to cover all privileged
1954 registers and write instruction modalities.
1955 * testsuite/gas/sparc/wrpr.d: Likewise.
1956 * testsuite/gas/sparc/rdhpr.s: Likewise for hyperprivileged
1957 registers.
1958 * testsuite/gas/sparc/rdhpr.d: Likewise.
1959 * testsuite/gas/sparc/wrhpr.s: Likewise.
1960 * testsuite/gas/sparc/wrhpr.d: Likewise.
1961
7a10c22f
JM
19622016-06-17 Jose E. Marchesi <jose.marchesi@oracle.com>
1963
1964 * config/tc-sparc.c (sparc_arch_table): adjust the GAS
1965 architectures to use the right opcode architecture.
1966 (sparc_md_end): Handle v9{c,d,e,v,m}.
1967 (sparc_ip): Fix some comments.
1968 * testsuite/gas/sparc/ldx_efsr.d: Fix the architecture of this
1969 instruction, which is v9d.
1970 * testsuite/gas/sparc/mwait.s: Remove the `rd %mwait,%g1'
1971 instruction from the test, as %mwait is not readable.
1972 * testsuite/gas/sparc/mwait.d: Likewise.
1973 * testsuite/gas/sparc/mism-1.s: Expand to check v9b and v9e
1974 mismatch architecture errors.
1975 * testsuite/gas/sparc/mism-2.s: New file.
1976
8b8c7c9f
JM
19772016-06-17 Jose E. Marchesi <jose.marchesi@oracle.com>
1978
1979 * config/tc-sparc.c (priv_reg_table): Use NULL instead of the
1980 empty string to mark the end of the array.
1981 (hpriv_reg_table): Likewise.
1982 (v9a_asr_table): Likewise.
1983 (cmp_reg_entry): Handle entries with NULL names.
1984 (F_POP_V9): Define.
1985 (F_POP_PCREL): Likewise.
1986 (F_POP_TLS_CALL): Likewise.
1987 (F_POP_POSTFIX): Likewise.
1988 (struct pop_entry): New type.
1989 (pop_table): New variable.
1990 (enum pop_entry_type): New type.
1991 (struct perc_entry): Likewise.
1992 (NUM_PERC_ENTRIES): Define.
1993 (perc_table): New variable.
1994 (cmp_perc_entry): New function.
1995 (md_begin): Sort hpriv_reg_table and v9a_asr_table, and initialize
1996 perc_table.
1997 (sparc_ip): Handle entries with NULL names in priv_reg_table,
1998 hpriv_reg_table and v9a_asr_table. Use perc_table to handle
1999 %-pseudo-ops.
2000
3ee6e4fb
NC
20012016-06-15 Nick Clifton <nickc@redhat.com>
2002
2003 * config/tc-ft32.c (md_assemble): Call dwarf2_emit_insn with the
2004 instruction size.
2005 * config/tc-mcore.c (md_assemble): Likewise.
2006 * config/tc-mn10200.c (md_assemble): Likewise.
2007 * config/tc-moxie.c (md_assemble): Likewise.
2008 * config/tc-pj.c (md_apply_fix): Handle BFD_RELOC_PJ_CODE_REL32.
2009 * testsuite/gas/all/gas.exp (diff1 test): Alpha sort list of
2010 exception targets. Add alpha, hppa, microblaze and rl78 to list
2011 of exceptions.
2012 (forward): Add microblaze to list of exceptions.
2013 (fwdexp): Add alpha to list of exceptions.
2014 (redef2): Add arm-epoc-pe and rl78 to list of exceptions.
2015 (redef3): Add rl78 and x86_64 cygwin to list of exceptions.
2016 (do_930509a): Alpha sort list of exception targets. Add h8300 and
2017 mn10200 to list of exceptions.
2018 (align2): Expect to fail for nds32.
2019 (cond): Add alpha and rl78 to list of exceptions.
2020 * testsuite/gas/all/none.d: Skip for ft32 and hppa.
2021 * testsuite/gas/all/string.d: Skip for tic4x.
2022 * testsuite/gas/alpha/alpha.exp: Note that the alpha-linuxecoff
2023 target does not support ELF.
2024 * testsuite/gas/arm/blx-bl-convert.dL Skip for the nto target.
2025 * testsuite/gas/cfi/cfi-alpha-2.d: All extended format names.
2026 * testsuite/gas/cfi/cfi.exp: Alpha sort list of targets. Skip SH
2027 tests for sh-pe and sh-rtemscoff targets.
2028 * testsuite/gas/elf/elf.exp (redef): Add rl78, xgate and vax to
2029 list of exceptions.
2030 (type): Run the noifunc version for alpha-freebsd and visium.
2031 * testsuite/gas/elf/warn-2.s: Do not expect to fail on the mcore,
2032 mn10200 or moxie targets.
2033 * testsuite/gas/ft32/insn.d: Update expected disassembly.
2034 * testsuite/gas/i386/i386.exp (x86-64-pcrel): Skip for cygwin
2035 targets.
2036 * testsuite/gas/lns/lns.exp (lns-common-1): No longer skip for
2037 mcore and rx targets.
2038 * testsuite/gas/macros/macros.exp (dot): Add exceptions for ns32k,
2039 rl78 and vax.
2040 (purge): Expect to fail on the ns32k and vax.
2041 * testsuite/gas/nds32/alu-2.d: Update expected disassembly.
2042 * testsuite/gas/nds32/ls.d: Likewise.
2043 * testsuite/gas/nds32/sys-reg.d: Likewise.
2044 * testsuite/gas/nds32/usr-spe-reg.d: Likewise.
2045 * testsuite/gas/pe/aligncomm-d.d: Skip for the sh.
2046 * testsuite/gas/pe/section-align-3.d: Likewise.
2047 * testsuite/gas/pe/section-exclude.d: Likewise.
2048 * testsuite/gas/ppc/test2xcoff32.d: Pass once all the required
2049 data has been seen.
2050 * testsuite/gas/ppc/textalign-xcoff-001.d: Fix up regexp to allow
2051 for variations in whitespace.
2052 * testsuite/gas/tilepro/t_constants.d: Pass once all the required
2053 data has been seen.
2054 * testsuite/gas/tilepro/t_constants.s (.safe_word): New macro.
2055 Installs a 32-bit value without generating warnings on 64-bit
2056 hosts.
2057 Use the new macro to replace the .word directives.
2058
02f3be19
AB
20592016-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
2060
2061 * testsuite/gas/arc/add_s.d: New file.
2062 * testsuite/gas/arc/add_s.s: New file.
2063
6f9f37ed 20642016-06-14 Graham Markall <graham.markall@embecosm.com>
28215275
GM
2065
2066 * testsuite/gas/arc/nps400-6.s: Add tests of ldbit.
2067 * testsuite/gas/arc/nps400-6.d: Likewise.
2068
6f9f37ed 20692016-06-14 Graham Markall <graham.markall@embecosm.com>
9ba75c88
GM
2070
2071 * testsuite/gas/arc/nps400-6.s: Add tests of hash, tr, utf8, e4by, and
2072 addf.
2073 * testsuite/gas/arc/nps400-6.d: Likewise.
2074
6f9f37ed 20752016-06-14 Graham Markall <graham.markall@embecosm.com>
14053c19
GM
2076
2077 * testsuite/gas/arc/nps400-6.s: Add tests of calcbsd, calcbxd,
2078 calckey, calcxkey, mxb, imxb, addl, subl, andl, orl, xorl, andab, orab,
2079 lbdsize, bdlen, csms, csma, cbba, zncv, and hofs.
2080 * testsuite/gas/arc/nps400-6.d: Likewise.
2081
d2dfe54d
NC
20822016-06-14 Nick Clifton <nickc@redhat.com>
2083
2084 * config/tc-nds32.c (nds32_get_align): Avoid left shifting a
2085 signed constant.
2086
97f50151
MR
20872016-06-13 Maciej W. Rozycki <macro@imgtec.com>
2088
2089 * config/tc-mips.c (mips_fix_adjustable): Don't convert RELA
2090 JALR relocations on R6.
2091 * testsuite/gas/mips/jal-svr4pic-local.d: New test.
2092 * testsuite/gas/mips/mips1@jal-svr4pic-local.d: New test.
2093 * testsuite/gas/mips/r3000@jal-svr4pic-local.d: New test.
2094 * testsuite/gas/mips/micromips@jal-svr4pic-local.d: New test.
2095 * testsuite/gas/mips/jal-svr4pic-local-n32.d: New test.
2096 * testsuite/gas/mips/micromips@jal-svr4pic-local-n32.d: New
2097 test.
2098 * testsuite/gas/mips/jal-svr4pic-local-n64.d: New test.
2099 * testsuite/gas/mips/micromips@jal-svr4pic-local-n64.d: New
2100 test.
2101 * testsuite/gas/mips/jal-svr4pic-local.s: New test source.
2102 * testsuite/gas/mips/jal-svr4pic-local-newabi.s: New test
2103 source.
2104 * testsuite/gas/mips/mips.exp: Run the new tests.
2105
0a8be2fe
VP
21062016-06-13 Virendra Pathak <virendra.pathak@broadcom.com>
2107
2108 * config/tc-aarch64.c (aarch64_cpus): Add Broadcom Vulcan.
2109 * doc/c-aarch64.texi: Document that vulcan is a valid processor
2110 name.
2111
69c9e028
NC
21122016-06-13 Nick Clifton <nickc@redhat.com>
2113
2114 * config/tc-arm.c: For non-ELF based targets skip ARM feature sets
2115 that are not supported.
2116
2117 * config/tc-arc.c (md_apply_fix): Avoid left shifting a signed
2118 constant.
2119 * config/tc-cr16.c (check_range): Likewise.
2120 * config/tc-nios2.c (nios2_check_overflow): Likewise.
2121
08d3b0cc
RL
21222016-06-08 Renlin Li <renlin.li@arm.com>
2123
2124 * config/tc-aarch64.c (print_operands): Substitute size.
2125 (output_operand_error_record): Likewise.
2126
14b57c7c
AM
21272016-06-07 Alan Modra <amodra@gmail.com>
2128
2129 * config/tc-ppc.c (PPC_APUINFO_ISEL, PPC_APUINFO_PMR,
2130 PPC_APUINFO_RFMCI, PPC_APUINFO_CACHELCK, PPC_APUINFO_SPE,
2131 PPC_APUINFO_EFS, PPC_APUINFO_BRLOCK, PPC_APUINFO_VLE): Don't define.
2132 (ppc_setup_opcodes): Check vle disables powerpc_opcodes overridden
2133 by vle_opcodes, and that vle flag doesn't enable opcodes. Don't
2134 add vle_opcodes twice.
2135 (ppc_cleanup): Use APUINFO_SECTION_NAME and APUINFO_LABEL.
2136
4d1464f2
MW
21372016-06-07 Matthew Wahab <matthew.wahab@arm.com>
2138
2139 * config/tc-arm.c (arm_ext_v8_2): Rename to arm_ext_ras.
2140 (arm_ext_ras): Renamed from arm_ext_v8_2.
2141 (insns): Update for arm_ext_v8_2 renaming.
2142 (arm_extensions): Add "ras".
2143 * doc/c-arm.texi (ARM Options): Add an entry for "ras".
2144 * testsuite/gas/arm/armv8-a+ras.d: New.
2145 * testsuite/gas/arm/armv8_2-a.d: Add explicit command line
2146 options.
2147
852a1d49
TS
21482016-06-05 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2149
2150 * itbl-parse.y (yyerror): Use modern argument declaration style.
2151
c4212e11
TS
21522016-06-05 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2153
2154 * config/tc-sh.c (parse_reg): Change type of mode argument to
2155 sh_arg_type.
2156 (get_operand): Adjust.
2157 (insert): Change type of how to bfd_reloc_code_real_type.
2158 (insert4): Likewise.
2159 * config/tc-sh64.c (shmedia_get_operand): Adjust.
2160 (shmedia_parse_reg): Change type of mode to shmedia_arg_type.
2161
73a229c7
TS
21622016-06-05 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2163
2164 * config/tc-nds32.c (nds32_parse_option): Make the type of ptr_arg
2165 const char *.
2166
026122a6
PB
21672016-06-03 Peter Bergner <bergner@vnet.ibm.com>
2168
2169 PR binutils/20196
2170 * gas/testsuite/gas/ppc/e6500.s <lbarx, lharx, lwarx, ldarx,
2171 stbcx., sthcx., stwcx., stdcx.>: Add tests.
2172 * gas/testsuite/gas/ppc/e6500.d: Likewise.
2173 * gas/testsuite/gas/ppc/power8.s: Likewise.
2174 * gas/testsuite/gas/ppc/power8.d: Likewise.
2175 * gas/testsuite/gas/ppc/power4.s <lwarx, ldarx, stwcx.,
2176 stdcx.>: Add tests.
2177 * gas/testsuite/gas/ppc/power4.d: Likewise.
2178
07f5af7d
L
21792016-06-03 H.J. Lu <hongjiu.lu@intel.com>
2180
2181 PR binutis/18386
2182 * testsuite/gas/i386/i386.exp: Run x86-64-branch-4.
2183 * testsuite/gas/i386/x86-64-branch.d: Updated.
2184 * testsuite/gas/i386/ilp32/x86-64-branch.d: Likewise.
2185 * testsuite/gas/i386/x86-64-branch-4.l: New file.
2186 * testsuite/gas/i386/x86-64-branch-4.s: Likewise.
2187
1aa70332
KT
21882016-06-03 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
2189
2190 * config/tc-aarch64.c (aarch64_cpus): Add cortex-a73 entry.
2191 * doc/c-aarch64.texi (-mcpu): Document cortex-a73 value.
2192
362a3eba
KT
21932016-06-03 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
2194
2195 * config/tc-arm.c (arm_cpus): Add cortex-a73 entry.
2196 * doc/c-arm.texi (-mcpu=): Document cortex-a73 value.
2197
4ad0bb5f
VG
21982016-06-02 Vineet Gupta <Vineet.Gupta1@synopsys.com>
2199
2200 * configure.tgt: Replace -uclibc with *.
2201
4eb6f892
AB
22022016-06-02 Andrew Burgess <andrew.burgess@embecosm.com>
2203
2204 * config/tc-arc.c (parse_opcode_flags): New function.
2205 (find_opcode_match): Move flag parsing code out to new function.
2206 Ignore operands marked IGNORE.
2207 (build_fake_opcode_hash_entry): New function.
2208 (find_special_case_long_opcode): New function.
2209 (find_special_case): Lookup long opcodes.
2210 * testsuite/gas/arc/nps400-7.d: New file.
2211 * testsuite/gas/arc/nps400-7.s: New file.
2212
c273521c
TS
22132016-06-01 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2214
2215 * config/tc-ns32k.c: Remove definition of input_line_pointer.
2216
814f1489
TS
22172016-06-01 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2218
2219 * config/tc-avr.c (avr_parse_cons_expression): Replace iteration to
2220 sentinal with iteration to array size.
2221
d05584d3
TS
22222016-06-01 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2223
2224 * config/xtensa-relax.h: Move typedefs of enums to the enums
2225 definition.
2226
5e429f4c
TS
22272016-06-01 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2228
2229 * config/tc-ns32k.c (bit_fix_new): Replace obstack-alloc with XOBNEW
2230 macro.
2231
315f180f
GM
22322016-06-01 Graham Markall <graham.markall@embecosm.com>
2233
2234 * testsuite/gas/arc/nps-400-1.s: Add rflt variants with
2235 operands of types a,b,u6, 0,b,u6, and 0,b,limm.
2236 * testsuite/gas/arc/nps-400-1.d: Likewise.
2237
0cbd0046
L
22382016-05-29 H.J. Lu <hongjiu.lu@intel.com>
2239
2240 PR gas/20145
2241 * config/tc-i386.c (cpu_noarch): Add noavx512f, noavx512cd,
2242 noavx512er, noavx512pf, noavx512dq, noavx512bw, noavx512vl,
2243 noavx512ifma and noavx512vbmi.
2244 * doc/c-i386.texi: Mention noavx512f, noavx512cd, noavx512er,
2245 noavx512pf, noavx512dq, noavx512bw, noavx512vl, noavx512ifma
2246 and noavx512vbmi.
2247 * testsuite/gas/i386/i386.exp: Run noavx512-1 and noavx512-2.
2248 * testsuite/gas/i386/noavx512-1.l: New file.
2249 * testsuite/gas/i386/noavx512-1.s: Likewise.
2250 * testsuite/gas/i386/noavx512-2.l: Likewise.
2251 * testsuite/gas/i386/noavx512-2.s: Likewise.
2252
1848e567
L
22532016-05-27 H.J. Lu <hongjiu.lu@intel.com>
2254
2255 PR gas/20145
2256 * config/tc-i386.c (cpu_arch): Add 687.
2257 (cpu_noarch): Add no287, no387, no687, nosse2, nosse3, nossse3,
2258 nosse4.1, nosse4.2, nosse4 and noavx2.
2259 (parse_real_register): Check cpuregmmx instead of cpummx for MMX
2260 register. Check cpuregxmm instead of cpusse for XMM register.
2261 Check cpuregymm instead of cpuavx for YMM register. Check
2262 cpuregzmm/cpuregmask instead of cpuavx512f for ZMMM/mask register.
2263 * doc/c-i386.texi: Mention 687, no287, no387, no687, nosse2,
2264 nosse3, nossse3, nosse4.1, nosse4.2, nosse4 and noavx2.
2265 * testsuite/gas/i386/arch-10-prefetchw.d (as): Add mmx.
2266 * testsuite/gas/i386/arch-10.d (as): Likewise.
2267 * testsuite/gas/i386/arch-11.s: Add ".arch .mmx".
2268 * testsuite/gas/i386/i386.exp: Pass mmx to assembler for
2269 arch-10-3 and arch-10-4. Run no87-3, nosse-4, nosse-5, noavx-3
2270 and noavx-4.
2271 * testsuite/gas/i386/no87-3.l: New file.
2272 * testsuite/gas/i386/no87-3.s: Likewise.
2273 * testsuite/gas/i386/noavx-3.l: Likewise.
2274 * testsuite/gas/i386/noavx-3.s: Likewise.
2275 * testsuite/gas/i386/noavx-4.d: Likewise.
2276 * testsuite/gas/i386/noavx-4.s: Likewise.
2277 * testsuite/gas/i386/nosse-4.l: Likewise.
2278 * testsuite/gas/i386/nosse-4.s: Likewise.
2279 * testsuite/gas/i386/nosse-5.d: Likewise.
2280 * testsuite/gas/i386/nosse-5.s: Likewise.
2281
e92bae62
L
22822016-05-27 H.J. Lu <hongjiu.lu@intel.com>
2283
2284 PR gas/20154
2285 * config/tc-i386.c (cpu_flags_match): Don't set cpuamd64 nor
2286 cpuintel64.
2287 (match_template): Check Intel64/AMD64 ISA.
2288
e89c5eaa
L
22892016-05-27 H.J. Lu <hongjiu.lu@intel.com>
2290
2291 PR gas/20154
2292 * config/tc-i386.c (intel64): New.
2293 (cpu_flags_match): Set cpuamd64 and cpuintel64.
2294 (md_parse_option): Set intel64 instead of cpuamd64 and
2295 cpuintel64.
2296
9d07ebe1
L
22972016-05-27 H.J. Lu <hongjiu.lu@intel.com>
2298
2299 * config/tc-i386.c (cpu_flags_match): Don't clear cpu64 nor
2300 cpuno64.
2301
19dfcc89
PB
23022016-05-26 Peter Bergner <bergner@vnet.ibm.com>
2303
2304 * testsuite/gas/ppc/altivec3.d <vmsumudm>: Add test.
2305 * testsuite/gas/ppc/altivec3.s: Likewise.
2306 * testsuite/gas/ppc/power9.d <addex[.], lwzmx, vmsumudm>: Add tests.
2307 * testsuite/gas/ppc/power9.s: Likewise.
2308
8d5b9a5a
L
23092016-05-26 H.J. Lu <hongjiu.lu@intel.com>
2310
2311 * testsuite/gas/i386/avx512vl-2.l: Append "#pass".
2312 * testsuite/gas/i386/noavx-1.l: Likewise.
2313 * testsuite/gas/i386/nommx-1.l: Likewise.
2314 * testsuite/gas/i386/nosse-1.l: Likewise.
2315 * testsuite/gas/i386/x86-64-avx512vl-2.l: Likewise.
2316 * testsuite/gas/i386/avx512vl-2.s: Append ".p2align 4".
2317 * testsuite/gas/i386/noavx-1.s: Likewise.
2318 * testsuite/gas/i386/nommx-1.s: Likewise.
2319 * testsuite/gas/i386/nosse-1.s: Likewise.
2320 * testsuite/gas/i386/x86-64-avx512vl-2.s: Likewise.
2321
81cead6f
TS
23222016-05-26 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2323
2324 * config/tc-metag.c (metag_handle_align): Make the type of noop
2325 unsigned char.
2326
79052aae
TS
23272016-05-26 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2328
2329 * config/tc-rx.c (md_convert_frag): Make the type of reloc_type
2330 bfd_reloc_code_real_type.
2331
73b090a9
L
23322016-05-25 H.J. Lu <hongjiu.lu@intel.com>
2333
2334 PR gas/20140
2335 * config/tc-i386.c (cpu_flags_match): Require another match
2336 for AVX512VL.
2337 * testsuite/gas/i386/i386.exp: Run avx512vl-1, avx512vl-2,
2338 x86-64-avx512vl-1 and x86-64-avx512vl-2.
2339 * testsuite/gas/i386/avx512vl-1.l: New file.
2340 * testsuite/gas/i386/avx512vl-1.s: Likewise.
2341 * testsuite/gas/i386/avx512vl-2.l: Likewise.
2342 * testsuite/gas/i386/avx512vl-2.s: Likewise.
2343 * testsuite/gas/i386/x86-64-avx512vl-1.l: Likewise.
2344 * testsuite/gas/i386/x86-64-avx512vl-1.s: Likewise.
2345 * testsuite/gas/i386/x86-64-avx512vl-2.l: Likewise.
2346 * testsuite/gas/i386/x86-64-avx512vl-2.s: Likewise.
2347
f1360d58
L
23482016-05-25 H.J. Lu <hongjiu.lu@intel.com>
2349
2350 PR gas/20141
2351 * testsuite/gas/i386/i386.exp: Run x86-64-pr20141.
2352 * testsuite/gas/i386/x86-64-pr20141.d: New file.
2353 * testsuite/gas/i386/x86-64-pr20141.s: Likewise.
2354
293f5f65
L
23552016-05-25 H.J. Lu <hongjiu.lu@intel.com>
2356
2357 * config/tc-i386.c (arch_entry): Remove negated.
2358 (noarch_entry): New struct.
2359 (cpu_arch): Updated. Remove .no87, .nommx, .nosse and .noavx.
2360 (cpu_noarch): New.
2361 (set_cpu_arch): Check cpu_noarch after cpu_arch.
2362 (md_parse_option): Allow -march=+nosse. Check cpu_noarch after
2363 cpu_arch.
2364 (output_message): New function.
2365 (show_arch): Use it. Handle cpu_noarch.
2366 * testsuite/gas/i386/i386.exp: Run nommx-1, nommx-2, nommx-3,
2367 nosse-1, nosse-2, nosse-3, noavx-1 and noavx-2.
2368 * testsuite/gas/i386/noavx-1.l: New file.
2369 * testsuite/gas/i386/noavx-1.s: Likewise.
2370 * testsuite/gas/i386/noavx-2.s: Likewise.
2371 * testsuite/gas/i386/noavx-2.l: Likewise.
2372 * testsuite/gas/i386/nommx-1.s: Likewise.
2373 * testsuite/gas/i386/nommx-1.l: Likewise.
2374 * testsuite/gas/i386/nommx-2.s: Likewise.
2375 * testsuite/gas/i386/nommx-2.l: Likewise.
2376 * testsuite/gas/i386/nommx-3.s: Likewise.
2377 * testsuite/gas/i386/nommx-3.l: Likewise.
2378 * testsuite/gas/i386/nosse-1.s: Likewise.
2379 * testsuite/gas/i386/nosse-1.l: Likewise.
2380 * testsuite/gas/i386/nosse-2.s: Likewise.
2381 * testsuite/gas/i386/nosse-2.l: Likewise.
2382 * testsuite/gas/i386/nosse-3.s: Likewise.
2383 * testsuite/gas/i386/nosse-3.l: Likewise.
2384
934c2632
CZL
23852016-05-25 Chua Zheng Leong <chuazl@comp.nus.edu.sg>
2386
ee4d7613 2387 PR target/20067
934c2632
CZL
2388 * config/tc-arm.c (move_or_literal_pool): Only generate a VMOV.I64
2389 instruction if supported by the currently selected fpu variant.
2390 * testsuite/gas/arm/vfpv3-ldr_immediate.s: Add test of this PR.
2391 * testsuite/gas/arm/vfpv3-ldr_immediate.d: Update expected disassembly.
2392
44d3da23 23932016-05-24 Maciej W. Rozycki <macro@imgtec.com>
934c2632 2394
44d3da23
MR
2395 * config/tc-mips.c (mips_fix_adjustable): Also return 0 for
2396 jump relocations against MIPS16 or microMIPS symbols on RELA
2397 targets.
2398 * testsuite/gas/mips/jalx-local.d: New test.
2399 * testsuite/gas/mips/jalx-local-n32.d: New test.
2400 * testsuite/gas/mips/jalx-local-n64.d: New test.
2401 * testsuite/gas/mips/jalx-local.s: New test source.
2402 * testsuite/gas/mips/mips.exp: Run the new tests.
2403
4512dafa
MR
24042016-05-24 Maciej W. Rozycki <macro@imgtec.com>
2405
2406 * config/tc-mips.c (md_apply_fix)
2407 <BFD_RELOC_MIPS16_TLS_TPREL_LO16>: Remove fall-through, adjust
2408 code accordingly.
2409
cc34adb2
TS
24102016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2411
2412 * config/tc-xtensa.c (struct suffix_reloc_map): Change type of field
2413 operator to operatorT.
2414 (map_suffix_reloc_to_operator): Change return type to operatorT.
2415
c023823f
TS
24162016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2417
2418 * config/tc-d30v.c (find_format): Change type of X_op to operatorT.
2419
049efc64
TS
24202016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2421
2422 * config/tc-mmix.c (mmix_parse_predefined_name): Change type of
2423 handler_charp to const char *.
2424
b19e0aeb
TS
24252016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2426
2427 * config/tc-ft32.h (DEFAULT_TARGET_FORMAT): Remove.
2428 (ft32_target_format): Likewise.
2429 (TARGET_FORMAT): Adjust.
2430
e5e27b07
TS
24312016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2432
2433 * config/tc-ia64.c (dot_rot): simplify allocations from obstacks.
2434 (ia64_frob_label): Likewise.
2435
6610dc6d
TS
24362016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2437
2438 * config/tc-cr16.c (check_range): Make type of retval op_err.
2439 * config/tc-crx.c: Likewise.
2440
87789e08
CZ
24412016-05-23 Claudiu Zissulescu <claziss@synopsys.com>
2442
2443 * config/tc-arc.c (md_begin): Add XY registers.
2444 (cpu_types): Code density is default off for ARC EM.
2445
c810e0b8
CZ
24462016-05-23 Cupertino Miranda <cmiranda@synopsys.com>
2447
2448 * config/tc-arc.c (attributes_t): Renamed attribute class to
2449 attr_class.
2450 (find_opcode_match, assemble_insn, tokenize_extinsn): Changed.
2451
d26a14db
NC
24522016-05-23 Kuba Sejdak <jakub.sejdak@phoesys.com>
2453
2454 * configuse.tgt: Add entry for arm-phoenix.
2455
f10e0aef
TS
24562016-05-23 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2457
2458 * config/tc-tic54x.c (tic54x_sect): simplify string creation.
2459
2900e701
TS
24602016-05-23 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2461
2462 * config/tc-spu.c (APUOP): Use OPCODE as an unsigned constant.
2463
3d207518
TS
24642016-05-23 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2465
2466 * config/tc-tic54x.c (tic54x_mmregs): Adjust.
2467 (md_begin): Likewise.
2468 (encode_condition): Likewise.
2469 (encode_cc3): Likewise.
2470 (encode_cc2): Likewise.
2471 (encode_operand): Likewise.
2472 (tic54x_undefined_symbol): Likewise.
2473
a4968f42
MF
24742016-05-20 Matthew Fortune <matthew.fortune@imgtec.com>
2475
2476 * config/tc-mips.c (mips_cpu_info_table): Update comment. Add
2477 p6600 entry.
2478 * doc/c-mips.texi: Document p6600 -march option.
2479
4e21640f
L
24802016-05-20 H.J. Lu <hongjiu.lu@intel.com>
2481
2482 PR gas/19600
2483 * config/tc-i386.c (md_apply_fix): Preserve addend for
2484 BFD_RELOC_386_GOT32 and BFD_RELOC_X86_64_GOT32.
2485 * testsuite/gas/i386/addend.d: New file.
2486 * testsuite/gas/i386/addend.s: Likewise.
2487 * testsuite/gas/i386/x86-64-addend.d: Likewise.
2488 * testsuite/gas/i386/x86-64-addend.s: Likewise.
2489 * testsuite/gas/i386/i386.exp: Run addend and x86-64-addend.
2490 * testsuite/gas/i386/reloc32.d: Updated.
2491
17c6c9d9
MR
24922016-05-20 Maciej W. Rozycki <macro@imgtec.com>
2493
2494 * config/tc-mips.c (append_insn): Correct the encoding of a
2495 constant argument for microMIPS JALX.
2496 (tc_gen_reloc): Correct the encoding of an in-place addend for
2497 microMIPS JALX.
2498 * testsuite/gas/mips/jalx-addend.d: New test.
2499 * testsuite/gas/mips/jalx-addend-n32.d: New test.
2500 * testsuite/gas/mips/jalx-addend-n64.d: New test.
2501 * testsuite/gas/mips/jalx-imm.d: New test.
2502 * testsuite/gas/mips/jalx-imm-n32.d: New test.
2503 * testsuite/gas/mips/jalx-imm-n64.d: New test.
2504 * testsuite/gas/mips/jalx-addend.s: New test source.
2505 * testsuite/gas/mips/jalx-imm.s: New test source.
2506 * testsuite/gas/mips/mips.exp: Run the new tests.
2507
134c0c8b
MR
25082016-05-20 Maciej W. Rozycki <macro@imgtec.com>
2509
2510 * config/tc-mips.c: Correct tab-after-space formatting mistakes
2511 throughout.
2512
38cd8a0d
AB
25132016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
2514
2515 * config/tc-arc.c (find_opcode_match): Remove casting away of
2516 const.
2517 * config/tc-arc.h (struct arc_flags): Make flgp field const.
2518
9e32d9ae
AB
25192016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
2520
2521 * config/tc-arc.c (md_pcrel_from_section): Use BFD_VMA_FMT where
2522 appropriate.
2523 (md_convert_frag): Likewise.
2524
fe779266
AB
25252016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
2526
2527 * config/tc-arc.c (arc_opcode_hash_entry_iterator_next): Set
2528 cached opcode to NULL when we reach a non-matching opcode.
2529 * testsuite/gas/arc/asm-errors-2.d: New file.
2530 * testsuite/gas/arc/asm-errors-2.err: New file.
2531 * testsuite/gas/arc/asm-errors-2.s: New file.
2532
3b889a78
AB
25332016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
2534
2535 * config/tc-arc.c (tokenize_arguments): Add checks for array
2536 overflow.
2537 * testsuite/gas/arc/asm-errors.s: Addition test line added.
2538 * testsuite/gas/arc/asm-errors.err: Update expected results.
2539
42e58860
TS
25402016-05-18 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2541
2542 * config/tc-rx.c (struct cpu_type): Change the type of a field from
2543 int to enum rx_cpu_types.
2544
4bfaa1ca
TS
25452016-05-18 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2546
2547 * config/tc-dlx.c (struct machine_it): change the type of a field from
2548 int to bfd_reloc_code_real_type.
2549 * config/tc-tic4x.c: Likewise.
2550
eb408eaa
TS
25512016-05-18 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2552
2553 * config/tc-v850.c (v850_target_arch): change type to enum
2554 bfd_architecture.
2555 * config/tc-v850.h (v850_target_arch): Likewise.
2556
a255f00a
AM
25572016-05-18 Alan Modra <amodra@gmail.com>
2558
2559 * config/tc-ppc.c (ppc_insert_operand): Trim PPC_OPERAND_SIGNOPT
2560 allowed negative range.
2561 * testsuite/gas/ppc/power9.s: Test xxspltib of -128, not -256.
2562 * testsuite/gas/ppc/power9.d: Update.
2563
659f032c
TP
25642016-05-17 Thomas Preud'homme <thomas.preudhomme@arm.com>
2565
2566 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Force Thumb when
2567 disassembling and stop skipping targets.
2568 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
2569 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
2570 * testsuite/gas/arm/archv8m-base.d: Also allow nops after the last
2571 instruction for targets that have stronger alignment requirement.
2572 * testsuite/gas/arm/archv8m-cmse-base.d: Likewise.
2573 * testsuite/gas/arm/archv8m-cmse-main-1.d: Likewise.
2574 * testsuite/gas/arm/archv8m-cmse-main-2.d: Likewise.
2575 * testsuite/gas/arm/archv8m-main-dsp-1.d: Likewise.
2576 * testsuite/gas/arm/archv8m-main-dsp-2.d: Likewise.
2577 * testsuite/gas/arm/archv8m-main-dsp-3.d: Likewise.
2578 * testsuite/gas/arm/archv8m-main.d: Likewise.
2579 * testsuite/gas/arm/archv8m.s: Add label.
2580 * testsuite/gas/arm/archv8m-cmse.s: Likewise.
2581 * testsuite/gas/arm/archv8m-cmse-msr.s: Likewise.
2582 * testsuite/gas/arm/archv8m-cmse-main.s: Likewise.
2583
7b14583e
TS
25842016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2585
2586 * config/tc-m32r.c (mach_table): Make static and const.
2587
0591130a
TS
25882016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2589
2590 * config/tc-vax.c (flonum_gen2vax): Adjust prototype to match
2591 definition.
2592
9117cd3e
TS
25932016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2594
2595 * config/tc-mn10300.c (md_begin): set linkrelax here instead of
2596 defining it.
2597 * config/tc-msp430.c (md_begin): Likewise.
2598
e1838240
TS
25992016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2600
2601 * config/tc-m68hc11.c (fixup8): Change variables type from int to
2602 bfd_reloc_code_real_type where appropriate.
2603 (fixup16): Likewise.
2604 (fixup8_xg): Likewise.
2605
9dfa3e63
MR
26062016-05-15 Maciej W. Rozycki <macro@imgtec.com>
2607
2608 * config/tc-sh64.c (shmedia_check_limits): Constify `msg'.
2609
1178da44
PB
26102016-05-13 Peter Bergner <bergner@vnet.ibm.com>
2611
2612 * testsuite/gas/ppc/power9.d <xxspltib>: Add additional operand tests.
2613 * testsuite/gas/ppc/power9.s: Likewise.
2614
d2edc834
AM
26152016-05-13 Alan Modra <amodra@gmail.com>
2616
2617 * config/obj-coff.c (weak_uniquify): Delete unused var.
2618
add39d23
TS
26192016-05-13 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2620
2621 * app.c (app_push): Use XNEW and related macros.
2622 * as.c (parse_args): Likewise.
2623 * cgen.c (make_right_shifted_expr): Likewise.
2624 (gas_cgen_tc_gen_reloc): Likewise.
2625 * config/bfin-defs.h: Likewise.
2626 * config/bfin-parse.y: Likewise.
2627 * config/obj-coff.c (stack_init): Likewise.
2628 (stack_push): Likewise.
2629 (coff_obj_symbol_new_hook): Likewise.
2630 (coff_obj_symbol_clone_hook): Likewise.
2631 (add_lineno): Likewise.
2632 (coff_frob_symbol): Likewise.
2633 * config/obj-elf.c (obj_elf_section_name): Likewise.
2634 (build_group_lists): Likewise.
2635 * config/obj-evax.c (evax_symbol_new_hook): Likewise.
2636 * config/obj-macho.c (obj_mach_o_indirect_symbol): Likewise.
2637 * config/tc-aarch64.c (insert_reg_alias): Likewise.
2638 (find_or_make_literal_pool): Likewise.
2639 (add_to_lit_pool): Likewise.
2640 (fill_instruction_hash_table): Likewise.
2641 * config/tc-alpha.c (load_expression): Likewise.
2642 (emit_jsrjmp): Likewise.
2643 (s_alpha_ent): Likewise.
2644 (s_alpha_end): Likewise.
2645 (s_alpha_linkage): Likewise.
2646 (md_begin): Likewise.
2647 (tc_gen_reloc): Likewise.
2648 * config/tc-arc.c (arc_insert_opcode): Likewise.
2649 (arc_extcorereg): Likewise.
2650 * config/tc-bfin.c: Likewise.
2651 * config/tc-cr16.c: Likewise.
2652 * config/tc-cris.c: Likewise.
2653 * config/tc-crx.c (preprocess_reglist): Likewise.
2654 * config/tc-d10v.c: Likewise.
2655 * config/tc-frv.c (frv_insert_vliw_insn): Likewise.
2656 (frv_tomcat_shuffle): Likewise.
2657 * config/tc-h8300.c: Likewise.
2658 * config/tc-i370.c (i370_macro): Likewise.
2659 * config/tc-i386.c (lex_got): Likewise.
2660 (md_parse_option): Likewise.
2661 * config/tc-ia64.c (alloc_record): Likewise.
2662 (set_imask): Likewise.
2663 (save_prologue_count): Likewise.
2664 (dot_proc): Likewise.
2665 (dot_endp): Likewise.
2666 (ia64_frob_label): Likewise.
2667 (add_qp_imply): Likewise.
2668 (add_qp_mutex): Likewise.
2669 (mark_resource): Likewise.
2670 (dot_alias): Likewise.
2671 * config/tc-m68hc11.c: Likewise.
2672 * config/tc-m68k.c (m68k_frob_label): Likewise.
2673 (s_save): Likewise.
2674 (mri_control_label): Likewise.
2675 (push_mri_control): Likewise.
2676 (build_mri_control_operand): Likewise.
2677 (s_mri_else): Likewise.
2678 (s_mri_break): Likewise.
2679 (s_mri_next): Likewise.
2680 (s_mri_for): Likewise.
2681 (s_mri_endw): Likewise.
2682 * config/tc-metag.c (create_mnemonic_htab): Likewise.
2683 * config/tc-microblaze.c: Likewise.
2684 * config/tc-mmix.c (s_loc): Likewise.
2685 * config/tc-nds32.c (nds32_relax_hint): Likewise.
2686 * config/tc-nios2.c (nios2_insn_reloc_new): Likewise.
2687 * config/tc-rl78.c: Likewise.
2688 * config/tc-rx.c (rx_include): Likewise.
2689 * config/tc-sh.c: Likewise.
2690 * config/tc-sh64.c (shmedia_frob_section_type): Likewise.
2691 * config/tc-sparc.c: Likewise.
2692 * config/tc-spu.c: Likewise.
2693 * config/tc-tic6x.c (static tic6x_unwind_info *tic6x_get_unwind): Likewise.
2694 (tic6x_start_unwind_section): Likewise.
2695 * config/tc-tilegx.c: Likewise.
2696 * config/tc-tilepro.c: Likewise.
2697 * config/tc-v850.c: Likewise.
2698 * config/tc-visium.c: Likewise.
2699 * config/tc-xgate.c: Likewise.
2700 * config/tc-xtensa.c (xtensa_translate_old_userreg_ops): Likewise.
2701 (new_resource_table): Likewise.
2702 (resize_resource_table): Likewise.
2703 (xtensa_create_trampoline_frag): Likewise.
2704 (xtensa_maybe_create_literal_pool_frag): Likewise.
2705 (cache_literal_section): Likewise.
2706 * config/xtensa-relax.c (append_transition): Likewise.
2707 (append_condition): Likewise.
2708 (append_value_condition): Likewise.
2709 (append_constant_value_condition): Likewise.
2710 (append_literal_op): Likewise.
2711 (append_label_op): Likewise.
2712 (append_constant_op): Likewise.
2713 (append_field_op): Likewise.
2714 (append_user_fn_field_op): Likewise.
2715 (enter_opname_n): Likewise.
2716 (enter_opname): Likewise.
2717 (split_string): Likewise.
2718 (parse_insn_templ): Likewise.
2719 (clone_req_or_option_list): Likewise.
2720 (clone_req_option_list): Likewise.
2721 (parse_option_cond): Likewise.
2722 (parse_insn_pattern): Likewise.
2723 (parse_insn_repl): Likewise.
2724 (build_transition): Likewise.
2725 (build_transition_table): Likewise.
2726 * dw2gencfi.c (alloc_fde_entry): Likewise.
2727 (alloc_cfi_insn_data): Likewise.
2728 (cfi_add_CFA_remember_state): Likewise.
2729 (dot_cfi_escape): Likewise.
2730 (dot_cfi_fde_data): Likewise.
2731 (select_cie_for_fde): Likewise.
2732 * dwarf2dbg.c (dwarf2_directive_loc): Likewise.
2733 * ecoff.c (ecoff_add_bytes): Likewise.
2734 (ecoff_build_debug): Likewise.
2735 * input-scrub.c (input_scrub_push): Likewise.
2736 (input_scrub_begin): Likewise.
2737 (input_scrub_next_buffer): Likewise.
2738 * itbl-ops.c (append_insns_as_macros): Likewise.
2739 (alloc_entry): Likewise.
2740 (alloc_field): Likewise.
2741 * listing.c (listing_newline): Likewise.
2742 (listing_listing): Likewise.
2743 * macro.c (get_any_string): Likewise.
2744 (delete_macro): Likewise.
2745 * stabs.c (generate_asm_file): Likewise.
2746 (stabs_generate_asm_lineno): Likewise.
2747 * subsegs.c (subseg_change): Likewise.
2748 (subseg_get): Likewise.
2749 * symbols.c (define_dollar_label): Likewise.
2750 (symbol_relc_make_sym): Likewise.
2751 * write.c (write_relocs): Likewise.
2752
29a2809e
TS
27532016-05-13 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2754
2755 * config/obj-coff.c (obj_coff_def): Simplify string copying.
2756 (weak_name2altname): Likewise.
2757 (weak_uniquify): Likewise.
2758 (obj_coff_section): Likewise.
2759 (obj_coff_init_stab_section): Likewise.
2760 * config/obj-elf.c (obj_elf_section_name): Likewise.
2761 (obj_elf_init_stab_section): Likewise.
2762 * config/obj-evax.c (evax_shorten_name): Likewise.
2763 * config/obj-macho.c (obj_mach_o_make_or_get_sect): Likewise.
2764 * config/tc-aarch64.c (create_register_alias): Likewise.
2765 * config/tc-alpha.c (load_expression): Likewise.
2766 (s_alpha_file): Likewise.
2767 (s_alpha_section_name): Likewise.
2768 (tc_gen_reloc): Likewise.
2769 * config/tc-arc.c (md_assemble): Likewise.
2770 * config/tc-arm.c (create_neon_reg_alias): Likewise.
2771 (start_unwind_section): Likewise.
2772 * config/tc-hppa.c (pa_build_unwind_subspace): Likewise.
2773 (hppa_elf_mark_end_of_function): Likewise.
2774 * config/tc-nios2.c (nios2_modify_arg): Likewise.
2775 (nios2_negate_arg): Likewise.
2776 * config/tc-rx.c (rx_section): Likewise.
2777 * config/tc-sh64.c (sh64_consume_datalabel): Likewise.
2778 * config/tc-tic30.c (tic30_find_parallel_insn): Likewise.
2779 * config/tc-tic54x.c (tic54x_include): Likewise.
2780 (tic54x_macro_info): Likewise.
2781 (subsym_get_arg): Likewise.
2782 (subsym_substitute): Likewise.
2783 (tic54x_start_line_hook): Likewise.
2784 * config/tc-xtensa.c (xtensa_literal_prefix): Likewise.
2785 (xg_reverse_shift_count): Likewise.
2786 * config/xtensa-relax.c (enter_opname_n): Likewise.
2787 (split_string): Likewise.
2788 * dwarf2dbg.c (get_filenum): Likewise.
2789 (process_entries): Likewise.
2790 * expr.c (operand): Likewise.
2791 * itbl-ops.c (alloc_entry): Likewise.
2792 * listing.c (listing_message): Likewise.
2793 (listing_title): Likewise.
2794 * macro.c (check_macro): Likewise.
2795 * stabs.c (s_xstab): Likewise.
2796 * symbols.c (symbol_relc_make_expr): Likewise.
2797 * write.c (compress_debug): Likewise.
2798
58c7f094
NC
27992016-05-12 Nick Clifton <nickc@redhat.com>
2800
2801 PR target/20068
2802 * testsuite/gas/arm/pr20068.d: Use correct regexp syntax.
2803
d5e74e8d
NC
28042016-05-11 Nick Clifton <nickc@redhat.com>
2805
2806 PR target/20068
2807 * testsuite/gas/arm/pr20068.d: Adjust expected output to allow for
2808 big endian ARM configurations.
2809
8f4f9071
MF
28102016-05-11 Andrew Bennett <andrew.bennett@imgtec.com>
2811 Matthew Fortune <matthew.fortune@imgtec.com>
2812
2813 * config/tc-mips.c (options): Add OPTION_DSPR3 and
2814 OPTION_NO_DSPR3.
2815 (md_longopts): Likewise.
2816 (md_show_usage): Add help for -mdspr3 and -mno-dspr3.
2817 (mips_ases): Define availability for DSPr3.
2818 (mips_ase_groups): Add ASE_DSPR3 to the DSP group.
2819 (mips_convert_ase_flags): Map ASE_DSPR3 to AFL_ASE_DSPR3.
2820 * doc/as.texinfo: Document -mdspr3, -mno-dspr3. Fix -mdspr2
2821 formatting.
2822 * doc/c-mips.texi: Document -mdspr3, -mno-dspr3, .set dspr3 and
2823 .set nodspr3. Fix -mdspr2 formatting.
2824 * testsuite/gas/mips/mips32-dspr3.d: New file.
2825 * testsuite/gas/mips/mips32-dspr3.s: Likewise.
2826 * testsuite/gas/mips/mips.exp: Run mips32-dspr3 test.
2827
a6684f0d
NC
28282016-05-11 Nick Clifton <nickc@redhat.com>
2829
2830 PR target/20068
2831 * config/tc-arm.c (add_to_lit_pool): Ensure that the padding added
2832 to the pool uses O_constant.
2833 * testsuite/gas/arm/pr20068.s: New test.
2834 * testsuite/gas/arm/pr20068.d: Test driver.
2835
be5c445b
NC
28362016-05-11 Nick Clifton <nickc@redhat.com>
2837
4179a6a2
NC
2838 * testsuite/gas/arm/archv8m-cmse-base.d: Skip for non-ELF ARM targets.
2839 * testsuite/gas/arm/archv8m-cmse-main-1.d: Likewise.
2840 * testsuite/gas/arm/archv8m-cmse-main-2.d: Likewise.
2841 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Likewise.
2842 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
2843 * testsuite/gas/arm/archv8m-main-dsp-1.d: Likewise.
2844 * testsuite/gas/arm/archv8m-main-dsp-2.d: Likewise.
2845 * testsuite/gas/arm/archv8m-main-dsp-3.d: Likewise.
2846 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
be5c445b
NC
2847
28482016-05-10 Alexander Fomin <alexander.fomin@intel.com>
2849
2850 * testsuite/gas/i386/i386.exp: Run RDPID tests.
2851 * testsuite/gas/i386/prefix.d: Adjust.
2852 * testsuite/gas/i386/rdpid.s: New test.
2853 * testsuite/gas/i386/rdpid.d: Ditto.
2854 * testsuite/gas/i386/rdpid-intel.d: Ditto.
2855 * testsuite/gas/i386/x86-64-rdpid.s: Ditto.
2856 * testsuite/gas/i386/x86-64-rdpid.d: Ditto.
2857 * testsuite/gas/i386/x86-64-rdpid-intel.d: Ditto.
2858
8bc52696
AF
28592016-05-10 Alexander Fomin <alexander.fomin@intel.com>
2860
2861 * config/tc-i386.c (cpu_arch): Add RDPID.
2862 * doc/c-i386.texi: Document RDPID.
2863
39d911fc
TP
28642016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
2865
2866 * config/tc-arm.c (arm_adjust_symtab): Use ARM_SET_SYM_BRANCH_TYPE to
2867 set branch type of a symbol.
2868
15afaa63
TP
28692016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
2870
2871 * NEWS: Document ARMv8-M and ARMv8-M Security and DSP Extensions.
2872 * config/tc-arm.c (arm_ext_dsp): New feature for Thumb DSP
2873 instructions.
2874 (arm_extensions): Add dsp extension for ARMv8-M Mainline.
2875 (aeabi_set_public_attributes): Memorize the feature bits of the
2876 architecture selected for Tag_CPU_arch. Use it to set
2877 Tag_DSP_extension to 1 for ARMv8-M Mainline with DSP extension.
2878 (arm_convert_symbolic_attribute): Define Tag_DSP_extension.
2879 * testsuite/gas/arm/arch7em-bad.d: Rename to ...
2880 * testsuite/gas/arm/arch7em-bad-1.d: This.
2881 * testsuite/gas/arm/arch7em-bad-2.d: New file.
2882 * testsuite/gas/arm/arch7em-bad-3.d: Likewise.
2883 * testsuite/gas/arm/archv8m-main-dsp-1.d: Likewise.
2884 * testsuite/gas/arm/archv8m-main-dsp-2.d: Likewise.
2885 * testsuite/gas/arm/archv8m-main-dsp-3.d: Likewise.
2886 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
2887 * testsuite/gas/arm/archv8m-main-dsp-5.d: Likewise.
2888 * testsuite/gas/arm/attr-march-armv8m.main.dsp.d: Likewise.
2889
d942732e
TP
28902016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
2891
2892 * config/tc-arm.c (struct arm_option_extension_value_table): Make
2893 allowed_archs an array with 2 entries.
2894 (ARM_EXT_OPT): Adapt to only fill the first entry of allowed_archs.
2895 (ARM_EXT_OPT2): New macro filling the two entries of allowed_archs.
2896 (arm_extensions): Use separate entries in allowed_archs when several
2897 archs are allowed to use an extension and change ARCH_ANY in
2898 ARM_ARCH_NONE in allowed_archs.
2899 (arm_parse_extension): Check that, for each allowed_archs entry, all
2900 bits are set in the current architecture, ignoring ARM_ANY entries.
2901 (s_arm_arch_extension): Likewise.
2902
16a1fa25
TP
29032016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
2904
2905 * config/tc-arm.c (arm_ext_m): Add feature bit ARM_EXT2_V8M_MAIN.
2906 (arm_ext_v8m_main): New feature set for bit ARM_EXT2_V8M_MAIN.
2907 (arm_ext_v8m_m_only): New feature set for instructions in ARMv8-M not
2908 shared with a non M profile architecture.
2909 (do_rn): New function.
2910 (known_t32_only_insn): Check opcode against arm_ext_v8m_m_only rather
2911 than arm_ext_v8m.
2912 (v7m_psrs): Add ARMv8-M security extensions new special registers.
2913 (insns): Add ARMv8-M Security Extensions instructions.
2914 (aeabi_set_public_attributes): Use arm_ext_v8m_m_only instead of
2915 arm_ext_v8m_m to decide the profile and the Thumb ISA.
2916 * testsuite/gas/arm/archv8m-cmse.s: New file.
2917 * testsuite/gas/arm/archv8m-cmse-main.s: Likewise..
2918 * testsuite/gas/arm/archv8m-cmse-msr.s: Likewise.
2919 * testsuite/gas/arm/any-cmse.d: Likewise.
2920 * testsuite/gas/arm/any-cmse-main.d: Likewise.
2921 * testsuite/gas/arm/archv8m-cmse-base.d: Likewise.
2922 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Likewise.
2923 * testsuite/gas/arm/archv8m-cmse-main-1.d: Likewise.
2924 * testsuite/gas/arm/archv8m-cmse-main-2.d: Likewise.
2925 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
2926
d751b79e
JM
29272016-05-09 Jose E. Marchesi <jose.marchesi@oracle.com>
2928
2929 * testsuite/gas/sparc/sparc5vis4.s: Fix mnemonic of faligndatai.
2930 * testsuite/gas/sparc/sparc5vis4.d: Likewise.
2931
f85d59c3
KT
29322016-05-04 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
2933
2934 * config/tc-arm.c (fpu_arch_vfp_v1): Mark with ATTRIBUTE_UNUSED.
2935 (fpu_arch_vfp_v3): Likewise.
2936 (fpu_arch_neon_v1): Likewise.
2937 (arm_arch_full): Likewise.
2938 (parse_neon_el_struct_list): Initialize fields of firsttype.
2939
945e0f82
CZ
29402016-05-03 Claudiu Zissulescu <claziss@synopsys.com>
2941
2942 * config/tc-arc.c (syntaxclass): Add SYNTAX_NOP and SYNTAX_1OP.
2943 (arc_extinsn): Handle new introduced syntax.
2944 * testsuite/gas/arc/textinsn1op.d: New file.
2945 * testsuite/gas/arc/textinsn1op.s: Likewise.
2946 * doc/c-arc.texi: Document SYNTAX_NOP and SYNTAX_1OP.
2947
b782c63d
PS
29482016-05-03 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
2949
2950 * testsuite/gas/lns/lns.exp: Add avr to list of targets using
2951 DW_LNS_fixed_advance_pc.
2952
25771140
AM
29532016-04-27 Alan Modra <amodra@gmail.com>
2954
2955 * as.h (inline, __PTR_TO_INT, __INT_TO_PTR): Don't define.
2956 (xmemdup0): New inline function.
2957
22522f88
MR
29582016-04-22 Maciej W. Rozycki <macro@imgtec.com>
2959
2960 * config/tc-mips.c (code_option_type): New enum.
2961 (parse_code_option): Return status indicating option type.
2962 (s_mipsset): Update `parse_code_option' call site accordingly.
2963 Always set register sizes from the ISA with ISA overrides.
2964 (s_module): Update `parse_code_option' call site.
2965 * testsuite/gas/mips/isa-override-1.d: New test.
2966 * testsuite/gas/mips/micromips@isa-override-1.d: New test.
2967 * testsuite/gas/mips/mips1@isa-override-1.d: New test.
2968 * testsuite/gas/mips/mips2@isa-override-1.d: New test.
2969 * testsuite/gas/mips/mips32@isa-override-1.d: New test.
2970 * testsuite/gas/mips/mips32r2@isa-override-1.d: New test.
2971 * testsuite/gas/mips/mips32r3@isa-override-1.d: New test.
2972 * testsuite/gas/mips/mips32r5@isa-override-1.d: New test.
2973 * testsuite/gas/mips/mips32r6@isa-override-1.d: New test.
2974 * testsuite/gas/mips/mips64r2@isa-override-1.d: New test.
2975 * testsuite/gas/mips/mips64r3@isa-override-1.d: New test.
2976 * testsuite/gas/mips/mips64r5@isa-override-1.d: New test.
2977 * testsuite/gas/mips/mips64r6@isa-override-1.d: New test.
2978 * testsuite/gas/mips/r3000@isa-override-1.d: New test.
2979 * testsuite/gas/mips/r3900@isa-override-1.d: New test.
2980 * testsuite/gas/mips/r5900@isa-override-1.d: New test.
2981 * testsuite/gas/mips/octeon@isa-override-1.d: New test.
2982 * testsuite/gas/mips/octeon3@isa-override-1.d: New test.
2983 * testsuite/gas/mips/isa-override-2.l: New list test.
2984 * testsuite/gas/mips/mips1@isa-override-2.l: New list test.
2985 * testsuite/gas/mips/mips2@isa-override-2.l: New list test.
2986 * testsuite/gas/mips/mips32@isa-override-2.l: New list test.
2987 * testsuite/gas/mips/mips32r2@isa-override-2.l: New list test.
2988 * testsuite/gas/mips/mips32r3@isa-override-2.l: New list test.
2989 * testsuite/gas/mips/mips32r5@isa-override-2.l: New list test.
2990 * testsuite/gas/mips/mips32r6@isa-override-2.l: New list test.
2991 * testsuite/gas/mips/r3000@isa-override-2.l: New list test.
2992 * testsuite/gas/mips/r3900@isa-override-2.l: New list test.
2993 * testsuite/gas/mips/octeon3@isa-override-2.l: New list test.
2994 * testsuite/gas/mips/octeon3@isa-override-1.l: New stderr
2995 output.
2996 * testsuite/gas/mips/isa-override-1.s: New test source.
2997 * testsuite/gas/mips/r5900@isa-override-1.s: New test source.
2998 * testsuite/gas/mips/isa-override-2.s: New test source.
2999 * testsuite/gas/mips/mips1@isa-override-2.s: New test source.
3000 * testsuite/gas/mips/mips2@isa-override-2.s: New test source.
3001 * testsuite/gas/mips/mips32@isa-override-2.s: New test source.
3002 * testsuite/gas/mips/mips32r2@isa-override-2.s: New test source.
3003 * testsuite/gas/mips/mips32r3@isa-override-2.s: New test source.
3004 * testsuite/gas/mips/mips32r5@isa-override-2.s: New test source.
3005 * testsuite/gas/mips/mips32r6@isa-override-2.s: New test source.
3006 * testsuite/gas/mips/r3000@isa-override-2.s: New test source.
3007 * testsuite/gas/mips/r3900@isa-override-2.s: New test source.
3008 * testsuite/gas/mips/octeon3@isa-override-2.s: New test source.
3009 * testsuite/gas/mips/mips.exp: Run the new tests.
3010
e6c7cdec
TS
30112016-04-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3012
3013 * cgen.c: Likewise.
3014 * config/tc-bfin.c: Likewise.
3015 * config/tc-ia64.c: Likewise.
3016 * config/tc-mep.c: Likewise.
3017 * config/tc-metag.c: Likewise.
3018 * config/tc-nios2.c: Likewise.
3019 * config/tc-rl78.c: Likewise.
3020
2533af11
AB
30212016-04-20 Andrew Burgess <andrew.burgess@embecosm.com>
3022
3023 * doc/c-arc.texi (ARC Options): Add nps400 to list of valus for
3024 -mcpu. Add cross reference to .cpu directive from -mcpu option.
3025 (ARC Directives): Add NPS400 to .cpu directive list.
3026
50cc854c
MW
30272016-04-20 Matthew Wahab <matthew.wahab@arm.com>
3028
3029 * config/tc-aarch64.c (aarch64_features): Add "ras".
3030 * doc/c-aarch64.texi (AArch64 Extensions): Add "ras".
3031 * testsuite/gas/aarch64/armv8-ras-1.d: New.
3032 * testsuite/gas/aarch64/armv8-ras-1.s: New.
3033 * testsuite/gas/aarch64/illegal-ras-1.d: New.
3034 * testsuite/gas/aarch64/illegal-ras-1.s: New.
3035
537aefaf
AB
30362016-04-19 Andrew Burgess <andrew.burgess@embecosm.com>
3037
3038 * testsuite/gas/arc/nps400-6.d: New file.
3039 * testsuite/gas/arc/nps400-6.s: New file.
3040
c8f785f2
AB
30412016-04-19 Andrew Burgess <andrew.burgess@embecosm.com>
3042
3043 * testsuite/gas/arc/nps400-4.d: New file.
3044 * testsuite/gas/arc/nps400-4.s: New file.
3045 * testsuite/gas/arc/nps400-5.d: New file.
3046 * testsuite/gas/arc/nps400-5.s: New file.
3047
48eac74c
MG
30482016-04-19 Martin Galvan <martin.galvan@tallertechnologies.com>
3049
3050 * doc/as.texinfo (.cfi_remember_state, .cfi_restore_state): Improve
3051 documentation.
3052
644aca26
AB
30532016-04-17 Andrew Burgess <andrew.burgess@embecosm.com>
3054
3055 Revert prevous change.
3056 * config/tc-arc.c (arc_option): Make .cpu directive
3057 case-sensitive again.
3058
9a452709
AB
30592016-04-16 Andrew Burgess <andrew.burgess@embecosm.com>
3060
3061 * config/tc-arc.c (arc_option): Make .cpu directive
3062 case-insensitive.
3063
5e001f26
AB
30642016-04-16 Andrew Burgess <andrew.burgess@embecosm.com>
3065
3066 * config/tc-arc.c (arc_option): Allow NPS400 in .cpu directive.
3067
92fce9bd
TS
30682016-04-15 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3069
3070 * config/tc-mips.c (md_begin): Remove useless assignment.
3071
6fd8e7c2
L
30722016-04-15 H.J. Lu <hongjiu.lu@intel.com>
3073
3074 * Makefile.in: Regenerated with automake 1.11.6.
3075 * aclocal.m4: Likewise.
3076 * doc/Makefile.in: Likewise.
3077
05f7541e
AM
30782016-04-15 Alan Modra <amodra@gmail.com>
3079
3080 * config/tc-ppc.c (toc_reloc_types): Wrap in #ifdef OBJ_ELF
3081
4f2a7b51
TS
30822016-04-14 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3083
3084 * config/tc-nios2.c (nios2_as_options): Make file static.
3085 * config/tc-ppc.c (toc_reloc_ypes): Likewise.
3086 * config/tc-sparc.c (native_op_table): Likewise.
3087
85e53f62
TS
30882016-04-14 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3089
3090 * config/tc-m32c.c (M32C_Macros): Remove.
3091 * config/tc-msp430.c (option_numbers): Likewise.
3092
4b0c052e
AB
30932016-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
3094
3095 * testsuite/gas/arc/nps400-3.d: New file.
3096 * testsuite/gas/arc/nps400-3.s: New file.
3097
d105775e
AB
30982016-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
3099
3100 * testsuite/gas/arc/add_s-err.s: Update target pattern.
3101 * testsuite/gas/arc/warn.s: Likewise.
3102 * testsuite/gas/elf/elf.exp: Run test for arc.
3103
84865015
NC
31042016-04-14 Nick Clifton <nickc@redhat.com>
3105
3106 PR target/19938
3107 * testsuite/gas/i386/ilp32/x86-64-unwind.d: Allow for the string
3108 sections possibly having the SHF_STRINGS flag bit set.
3109 * testsuite/gas/i386/x86-64-unwind.d: Likewise.
3110
1adc8a9a
CZ
31112016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
3112
3113 * config/tc-arc.c (mach_type_specified_p): Change type to
3114 bfd_boolean.
3115 (arc_option): Set private flags when parsing cpu pseudo-op.
3116 (md_parse_option): Set mach_type_specified_p to TRUE.
3117
e4449be8
NC
31182016-04-13 Nick Clifton <nickc@redhat.com>
3119
3120 PR target/19937
3121 * testsuite/gas/v850/pr19937.s: New test.
3122 * testsuite/gas/v850/pr19937.d: New test control file.
3123 * testsuite/gas/v850/basic.exp: Run the new test.
3124
991f40a9
MR
31252016-04-13 Maciej W. Rozycki <macro@imgtec.com>
3126 Andrew Bennett <andrew.bennett@imgtec.com>
3127
3128 * config/tc-mips.c (relaxed_branch_length): Use the long
3129 sequence where the target is a weak symbol.
3130 (relaxed_micromips_32bit_branch_length): Likewise.
3131 (relaxed_micromips_16bit_branch_length): Likewise.
3132 * testsuite/gas/mips/branch-weak-1.d: New test.
3133 * testsuite/gas/mips/branch-weak-2.d: New test.
3134 * testsuite/gas/mips/branch-weak-3.d: New test.
3135 * testsuite/gas/mips/branch-weak-4.d: New test.
3136 * testsuite/gas/mips/branch-weak-5.d: New test.
3137 * testsuite/gas/mips/branch-weak.l: New stderr output.
3138 * testsuite/gas/mips/branch-weak.s: New test source.
3139 * testsuite/gas/mips/mips.exp: Run the new tests.
3140
c1f61bd2
MR
31412016-04-13 Maciej W. Rozycki <macro@imgtec.com>
3142
3143 * config/tc-mips.c (relaxed_branch_length): Use the long
3144 sequence where the distance cannot be determined.
3145 (relaxed_micromips_32bit_branch_length): Likewise.
3146 * testsuite/gas/mips/branch-extern-1.d: New test.
3147 * testsuite/gas/mips/branch-extern-2.d: New test.
3148 * testsuite/gas/mips/branch-extern-3.d: New test.
3149 * testsuite/gas/mips/branch-extern-4.d: New test.
3150 * testsuite/gas/mips/branch-extern.l: New stderr output.
3151 * testsuite/gas/mips/branch-extern.s: New test source.
3152 * testsuite/gas/mips/branch-section-1.d: New test.
3153 * testsuite/gas/mips/branch-section-2.d: New test.
3154 * testsuite/gas/mips/branch-section-3.d: New test.
3155 * testsuite/gas/mips/branch-section-4.d: New test.
3156 * testsuite/gas/mips/branch-section.l: New stderr output.
3157 * testsuite/gas/mips/branch-section.s: New test source.
3158 * testsuite/gas/mips/mips.exp: Run the new tests.
3159
f36e33da
CZ
31602016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
3161
3162 * testsuite/gas/arc/textauxregister.d: New file.
3163 * testsuite/gas/arc/textauxregister.s: Likewise.
3164 * testsuite/gas/arc/textcondcode.d: Likewise.
3165 * testsuite/gas/arc/textcondcode.s: Likewise.
3166 * testsuite/gas/arc/textcoreregister.d: Likewise.
3167 * testsuite/gas/arc/textcoreregister.s: Likewise.
3168 * testsuite/gas/arc/textpseudoop.d: Likewise.
3169 * testsuite/gas/arc/textpseudoop.s: Likewise.
3170 * testsuite/gas/arc/ld2.d: Update test.
3171 * testsuite/gas/arc/st.d: Likewise.
3172 * testsuite/gas/arc/taux.d: Likewise.
3173 * doc/c-arc.texi (ARC Directives): Add .extCondCode,
3174 .extCoreRegister and .extAuxRegister documentation.
3175 * config/tc-arc.c (arc_extcorereg): New function.
3176 (md_pseudo_table): Add .extCondCode, .extCoreRegister and
3177 .extAuxRegister pseudo-ops.
3178 (extRegister_t): New type.
3179 (ext_condcode, arc_aux_hash): New global variable.
3180 (find_opcode_match): Check for extensions.
3181 (preprocess_operands): Likewise.
3182 (md_begin): Add aux registers in a hash.
3183 (assemble_insn): Update use arc_flags member.
3184 (tokenize_extregister): New function.
3185 (create_extcore_section): Likewise.
3186 * config/tc-arc.h (arc_flags): Delete code, add flgp.
3187
1c2e355e
CZ
31882016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
3189
3190 * testsuite/gas/arc/noargs_a7.d: New file.
3191 * testsuite/gas/arc/noargs_a7.s: Likewise.
3192 * testsuite/gas/arc/noargs_hs.d: Likewise.
3193 * testsuite/gas/arc/noargs_hs.s: Likewise.
3194
b99747ae
CZ
31952016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
3196
3197 * testsuite/gas/arc/textinsn-errors.d: New File.
3198 * testsuite/gas/arc/textinsn-errors.err: Likewise.
3199 * testsuite/gas/arc/textinsn-errors.s: Likewise.
3200 * testsuite/gas/arc/textinsn2op.d: Likewise.
3201 * testsuite/gas/arc/textinsn2op.s: Likewise.
3202 * testsuite/gas/arc/textinsn2op01.d: Likewise.
3203 * testsuite/gas/arc/textinsn2op01.s: Likewise.
3204 * testsuite/gas/arc/textinsn3op.d: Likewise.
3205 * testsuite/gas/arc/textinsn3op.s: Likewise.
3206 * doc/c-arc.texi (ARC Directives): Add .extInstruction
3207 documentation.
3208 * config/tc-arc.c (arcext_section): New variable.
3209 (arc_extinsn): New function.
3210 (md_pseudo_table): Add .extInstruction pseudo op.
3211 (attributes_t): New type.
3212 (suffixclass, syntaxclass, syntaxclassmod): New constant
3213 structures.
3214 (find_opcode_match): Remove arc_num_opcodes.
3215 (md_begin): Likewise.
3216 (tokenize_extinsn): New function.
3217 (arc_set_ext_seg): Likewise.
3218 (create_extinst_section): Likewise.
3219
37ab9779
CZ
32202016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
3221
3222 * config/tc-arc.c (preprocess_operands): Mark AUX symbol.
3223 (arc_adjust_symtab): New function.
3224 * config/tc-arc.h (ARC_FLAG_AUX): Define.
3225 (obj_adjust_symtab): Likewise.
3226 * testsuite/gas/arc/taux.d: New file.
3227 * testsuite/gas/arc/taux.s: Likewise.
3228
41a1578e
MR
32292016-04-09 Maciej W. Rozycki <macro@imgtec.com>
3230
3231 * config/tc-mips.c (s_option): Sanitize `.option picX'
3232 pseudo-op.
3233 * testsuite/gas/mips/option-pic-1.d: New test.
3234 * testsuite/gas/mips/option-pic-2.l: New list test.
3235 * testsuite/gas/mips/option-pic-1.s: New test source.
3236 * testsuite/gas/mips/option-pic-2.s: New test source.
3237 * testsuite/gas/mips/mips.exp: Run the new tests.
3238
668c5ebc
MR
32392016-04-09 Maciej W. Rozycki <macro@imgtec.com>
3240
3241 * config/tc-mips.c (s_option): Reject `.option picX' if VxWorks
3242 PIC.
3243 * testsuite/gas/mips/option-pic-vxworks-1.l: New list test.
3244 * testsuite/gas/mips/option-pic-vxworks-2.l: New list test.
3245 * testsuite/gas/mips/option-pic-vxworks-1.s: New test source.
3246 * testsuite/gas/mips/option-pic-vxworks-2.s: New test source.
3247 * testsuite/gas/mips/mips.exp: Run the new tests.
3248
41065f5e
MR
32492016-04-09 Maciej W. Rozycki <macro@imgtec.com>
3250
3251 * config/tc-mips.c (can_swap_branch_p): Correct call formatting.
3252
08918cc8
MR
32532016-04-09 Maciej W. Rozycki <macro@imgtec.com>
3254
3255 * messages.c (as_bad): Fix a typo in description.
3256
1357373c
MR
32572016-04-09 Maciej W. Rozycki <macro@imgtec.com>
3258
3259 * config/tc-mips.c (mips_check_options): Unify messages.
3260
5f4678bb
MR
32612016-04-09 Maciej W. Rozycki <macro@imgtec.com>
3262
3263 * config/tc-mips.c (mips_check_options): Use `opts->isa'
3264 consistently.
3265
992dc2c4
NC
32662016-04-08 Nick Clifton <nickc@redhat.com>
3267
3268 PR target/19910
3269 * testsuite/gas/sparc/pr19910-1.d: Adjust regexps to work with
3270 COFF and AOUT sparc targets.
3271
a42a4f84
AB
32722016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
3273
3274 * config/tc-arc.h (MAX_FLAG_NAME_LENGTH): Increase to 7.
3275 * testsuite/gas/arc/nps400-2.d: New file.
3276 * testsuite/gas/arc/nps400-2.s: New file.
3277
1328504b
AB
32782016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
3279
3280 * config/tc-arc.c (struct arc_opcode_hash_entry_iterator): New
3281 structure.
3282 (arc_opcode_hash_entry_iterator_init): New function.
3283 (arc_opcode_hash_entry_iterator_next): New function.
3284 (find_opcode_match): Iterate over all arc_opcode entries
3285 referenced by the arc_opcode_hash_entry passed in as a parameter.
3286
b9b47ab7
AB
32872016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
3288
3289 * config/tc-arc.c (arc_find_opcode): Now returns
3290 arc_opcode_hash_entry pointer.
3291 (find_opcode_match): Update argument type, extract arc_opcode from
3292 incoming arc_opcode_hash_entry.
3293 (find_special_case_pseudo): Update return type.
3294 (find_special_case_flag): Update return type.
3295 (find_special_case): Update return type.
3296 (assemble_tokens): Lookup arc_opcode_hash_entry based on
3297 instruction mnemonic, then use find_opcode_match to identify
3298 specific arc_opcode.
3299
da5be039
AB
33002016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
3301
3302 * config/tc-arc.c (struct arc_opcode_hash_entry): New structure.
3303 (arc_find_opcode): New function.
3304 (find_special_case_pseudo): Use arc_find_opcode.
3305 (find_special_case_flag): Likewise.
3306 (assemble_tokens): Likewise.
3307 (md_begin): Build hash using struct arc_opcode_hash_entry.
3308
e6ba1cba
CZ
33092016-04-07 Claudiu Zissulescu <claziss@synopsys.com>
3310
abe051ba
AM
3311 * config/tc-arc.c (arc_option): Prepare string for automatic
3312 translation.
3313 (declare_register): Likewise.
e6ba1cba 3314
b607cde1
JG
33152016-04-06 James Greenhalgh <james.greenhalgh@arm.com>
3316
3317 * doc/c-aarch64.texi (Architecture Extensions): Add entry for LSE.
3318 Correct entry for RDMA. Alpha sort entries.
3319
692166c2
AB
33202016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
3321
3322 * config/tc-arc.c (tokenize_flags): Allow greater range of
3323 characters into flag names.
3324
22b92fc4
AB
33252016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
3326
3327 * config/tc-arc.c (find_opcode_match): Handle O_symbol case, add
3328 new de_fault label.
3329 (preprocess_operands): Delete.
3330 (assemble_tokens): Remove call to preprocess_operands.
3331
e140100a
NC
33322016-04-07 Nick Clifton <nickc@redhat.com>
3333
3334 PR gas/19910
3335 * config/tc-sparc.c (sparc_ip): Report an error if the expression
3336 inside a %-macro could not be fully parsed.
3337 * expr.c (integer_constant): Accept and ignore U suffixes to
3338 integers.
3339 (operand): When a missing closing parenthesis is encountered,
3340 report the character that was found instead.
3341 * testsuite/gas/mips/tls-ill.l: Update expected error message.
3342 * testsuite/gas/sparc/pr19910-1.d: New test driver.
3343 * testsuite/gas/sparc/pr19910-1.s: New test.
3344 * testsuite/gas/sparc/pr19910-2.l: Expected error output.
3345 * testsuite/gas/sparc/pr19910-2.s: New test.
3346 * testsuite/gas/sparc/sparc.exp: Run the new tests.
3347
927f2d25
NC
33482016-04-06 Nick Clifton <nickc@redhat.com>
3349
3350 * config/tc-msp430.c (msp430_operands): Check for a NOP preceding
3351 an EINT instruction. Warn/fix as necessary.
3352 * testsuite/gas/msp430/bad.s: Add test of EINT without preceding NOP.
3353 * testsuite/gas/msp430/bad.l: Update expected messages.
3354
820f03ff
AB
33552016-04-05 Andrew Burgess <andrew.burgess@embecosm.com>
3356
3357 * testsuite/gas/arc/nps400-1.d: Update expected results.
3358 * testsuite/gas/arc/nps400-1.s: Additional test cases.
3359
8ddf6b2a
CZ
33602016-04-05 Claudiu Zissulescu <claziss@synopsys.com>
3361
abe051ba
AM
3362 * config/tc-arc.c (is_code_density_p): Compare directly the
3363 subclass field.
3364 (is_spfp_p, is_dpfp_p, is_spfp_p): Define.
3365 (check_cpu_feature): New function.
3366 (find_opcode_match): Use check_cpu_feature function.
3367 (preprocess_operands): Likewise.
3368 (md_parse_option): Use mfpuda, mdpfp, mspfp options.
3369 * testsuite/gas/arc/tdpfp.d: New file.
3370 * testsuite/gas/arc/tfpuda.d: Likewise.
3371 * testsuite/gas/arc/tfpx.s: Likewise.
8ddf6b2a 3372
589a7d88
JW
33732016-04-05 Jiong Wang <jiong.wang@arm.com>
3374
3375 * config/tc-arm.c (do_neon_mac_maybe_scalar): Allow F16.
3376 * testsuite/gas/arm/armv8-2-fp16-simd.s: New tests.
3377 * testsuite/gas/arm/armv8-2-fp16-simd.d: New expected results.
3378 * testsuite/gas/arm/armv8-2-fp16-simd-thum.d: Likewise for Thumb.
3379 * testsuite/gas/arm/armv8-2-fp16-simd-warning.l: New warning results.
3380 * testsuite/gas/arm/simd_by_scalar_low_regbank.s: New test source.
3381 * testsuite/gas/arm/simd_by_scalar_low_regbank.d: New testcase.
abe051ba
AM
3382 * testsuite/gas/arm/simd_by_scalar_low_regbank_thumb.d: Likewise
3383 for Thumb.
589a7d88
JW
3384 * testsuite/gas/arm/simd_by_scalar_low_regbank.l: New warning results.
3385
6ec1f282
CZ
33862016-04-05 Claudiu Zissulescu <claziss@synopsys.com>
3387
abe051ba 3388 * config/tc-arc.c (assemble_insn): Prohibit pc-rel relocations for
6ec1f282 3389 JUMP instructions type.
abe051ba
AM
3390 * testsuite/gas/arc/relocs-errors.d: New file.
3391 * testsuite/gas/arc/relocs-errors.err: Likewise.
3392 * testsuite/gas/arc/relocs-errors.s: Likewise.
6ec1f282 3393
0796a629
L
33942016-04-04 H.J. Lu <hongjiu.lu@intel.com>
3395
3396 PR gas/19909
3397 * config/tc-i386.c (check_VecOperands): Try vec_disp8 encoding
3398 only if i.disp_encoding != disp_encoding_32bit.
3399 * gas/testsuite/gas/i386/disp32.s: Add tests for vmovdqu64.d32.
3400 * gas/testsuite/gas/i386/x86-64-disp32.s: Likewise.
3401 * gas/testsuite/gas/i386/disp32.d: Updated.
3402 * gas/testsuite/gas/i386/x86-64-disp32.d: Likewise.
3403
df41fdf4
L
34042016-04-04 H.J. Lu <hongjiu.lu@intel.com>
3405
3406 PR gas/19498
3407 * testsuite/gas/i386/i386.exp: Run pr19498.
3408 * testsuite/gas/i386/pr19498.d: New file.
3409 * testsuite/gas/i386/pr19498.s: Likewise.
3410
26cdfd92
AB
34112016-04-04 Andrew Burgess <andrew.burgess@embecosm.com>
3412
3413 * config/tc-arc.h: Include 'opcode/arc.h'.
3414 (MAX_INSN_ARGS): Delete.
3415 (MAX_INSN_FLGS): Delete.
3416
22987cec
AM
34172016-04-04 Alan Modra <amodra@gmail.com>
3418
3419 PR 19498
3420 * symbols.c (resolve_symbol_value): Clear sy_resolving on exit
3421 from function on all paths that set sy_resolving.
3422
325801bd
TS
34232016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3424
3425 * app.c (app_push): use XNEW macro.
3426 * as.c: Likewise.
3427 * config/obj-elf.c (obj_elf_change_section): Likewise.
3428 (elf_copy_symbol_attributes): Likewise.
3429 (obj_elf_size): Likewise.
3430 (build_group_lists): Likewise.
3431 * config/tc-aarch64.c (add_operand_error_record): Likewise.
3432 (md_assemble): Likewise.
3433 (tc_gen_reloc): Likewise.
3434 (get_upper_str): Likewise.
3435 (aarch64_parse_features): Likewise.
3436 * config/tc-arm.c (insert_reg_alias): Likewise.
3437 (insert_neon_reg_alias): Likewise.
3438 (find_or_make_literal_pool): Likewise.
3439 (s_arm_elf_cons): Likewise.
3440 (add_unwind_opcode): Likewise.
3441 (arm_parse_extension): Likewise.
3442 * config/tc-avr.c (create_record_for_frag): Likewise.
3443 * config/tc-crx.c: Likewise.
3444 * config/tc-d30v.c: Likewise.
3445 * config/tc-dlx.c (s_proc): Likewise.
3446 * config/tc-ft32.c: Likewise.
3447 * config/tc-h8300.c: Likewise.
3448 * config/tc-hppa.c (pa_proc): Likewise.
3449 (create_new_space): Likewise.
3450 (create_new_subspace): Likewise.
3451 * config/tc-i860.c: Likewise.
3452 * config/tc-i960.c: Likewise.
3453 * config/tc-ia64.c: Likewise.
3454 * config/tc-iq2000.c (iq2000_add_macro): Likewise.
3455 (iq2000_record_hi16): Likewise.
3456 * config/tc-m32c.c (m32c_indirect_operand): Likewise.
3457 * config/tc-m32r.c (debug_sym): Likewise.
3458 (m32r_record_hi16): Likewise.
3459 * config/tc-m68k.c (m68k_ip): Likewise.
3460 (md_begin): Likewise.
3461 * config/tc-mcore.c: Likewise.
3462 * config/tc-microblaze.c (check_got): Likewise.
3463 * config/tc-mips.c (append_insn): Likewise.
3464 (s_mipsset): Likewise.
3465 (mips_record_label): Likewise.
3466 (s_mips_end): Likewise.
3467 * config/tc-mmix.c (mmix_frob_file): Likewise.
3468 * config/tc-mn10200.c: Likewise.
3469 * config/tc-mn10300.c: Likewise.
3470 * config/tc-moxie.c: Likewise.
3471 * config/tc-msp430.c: Likewise.
3472 * config/tc-nds32.c (nds32_elf_save_pseudo_pattern): Likewise.
3473 * config/tc-ns32k.c: Likewise.
3474 * config/tc-or1k.c: Likewise.
3475 * config/tc-pdp11.c: Likewise.
3476 * config/tc-pj.c (fake_opcode): Likewise.
3477 * config/tc-ppc.c (ppc_apuinfo_section_add): Likewise.
3478 (ppc_macro): Likewise.
3479 (ppc_dwsect): Likewise.
3480 (ppc_machine): Likewise.
3481 * config/tc-rl78.c (rl78_frag_init): Likewise.
3482 * config/tc-rx.c (rx_frag_init): Likewise.
3483 * config/tc-s390.c (s390_lit_suffix): Likewise.
3484 (s390_machine): Likewise.
3485 (s390_machinemode): Likewise.
3486 * config/tc-score.c (s3_insert_reg): Likewise.
3487 (s3_gen_reloc): Likewise.
3488 * config/tc-score7.c (s7_insert_reg): Likewise.
3489 (s7_gen_reloc): Likewise.
3490 * config/tc-tic30.c (tic30_operand): Likewise.
3491 * config/tc-tic4x.c (tic4x_inst_make): Likewise.
3492 * config/tc-tic54x.c (stag_add_field): Likewise.
3493 (tic54x_struct): Likewise.
3494 (tic54x_space): Likewise.
3495 (tic54x_field): Likewise.
3496 (tic54x_mlib): Likewise.
3497 (subsym_substitute): Likewise.
3498 * config/tc-tic6x.c (tic6x_frob_label): Likewise.
3499 * config/tc-vax.c: Likewise.
3500 * config/tc-xc16x.c: Likewise.
3501 * config/tc-xtensa.c (xtensa_add_insn_label): Likewise.
3502 (directive_push): Likewise.
3503 (xtensa_begin_directive): Likewise.
3504 (tokenize_arguments): Likewise.
3505 (xtensa_add_literal_sym): Likewise.
3506 (new_resource_table): Likewise.
3507 (resize_resource_table): Likewise.
3508 (emit_single_op): Likewise.
3509 (xtensa_create_trampoline_frag): Likewise.
3510 (xtensa_maybe_create_literal_pool_frag): Likewise.
3511 (xtensa_add_config_info): Likewise.
3512 (xtensa_realloc_fixup_cache): Likewise.
3513 (add_subseg_info): Likewise.
3514 (cache_literal_section): Likewise.
3515 (add_xt_block_frags): Likewise.
3516 (add_xt_prop_frags): Likewise.
3517 (init_op_placement_info_table): Likewise.
3518 (build_section_rename): Likewise.
3519 * config/tc-z80.c: Likewise.
3520 * config/tc-z8k.c: Likewise.
3521 * depend.c (register_dependency): Likewise.
3522 * dwarf2dbg.c (get_line_subseg): Likewise.
3523 (dwarf2_gen_line_info_1): Likewise.
3524 (get_filenum): Likewise.
3525 * ecoff.c (allocate_scope): Likewise.
3526 (allocate_vlinks): Likewise.
3527 (allocate_shash): Likewise.
3528 (allocate_thash): Likewise.
3529 (allocate_tag): Likewise.
3530 (allocate_forward): Likewise.
3531 (allocate_thead): Likewise.
3532 (allocate_lineno_list): Likewise.
3533 * expr.c (make_expr_symbol): Likewise.
3534 * hash.c (hash_new_sized): Likewise.
3535 * input-file.c (input_file_push): Likewise.
3536 * listing.c (file_info): Likewise.
3537 (listing_newline): Likewise.
3538 * macro.c (new_formal): Likewise.
3539 (define_macro): Likewise.
3540 * remap.c (add_debug_prefix_map): Likewise.
3541 * symbols.c (symbol_find_noref): Likewise.
3542 (define_dollar_label): Likewise.
3543 (fb_label_instance_inc): Likewise.
3544 (symbol_relc_make_value): Likewise.
3545
a44e2901
TS
35462016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3547
3548 * config/obj-elf.c (obj_elf_vendor_attribute): Use xstrdup.
3549 * config/tc-ppc.c (ppc_frob_file_before_adjust): Likewise.
3550 (ppc_znop): Likewise.
3551 (ppc_pe_section): Likewise.
3552 (ppc_frob_symbol): Likewise.
3553 * config/tc-tic30.c (tic30_operand): Likewise.
3554 * config/tc-tic4x.c (tic4x_sect): Likewise.
3555 (tic4x_usect): Likewise.
3556
ae2689b0
TS
35572016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3558
3559 * config/tc-alpha.c: Const qualify FLT_CHARS.
3560 * config/atof-ieee.c: Remove declarations of FLT_CHARS and EXP_CHARS.
3561 * config/tc-cris.h: Likewise.
3562 * expr.c: Likewise.
3563 * config/tc-mmix.c (md_atof): Adjust comment.
3564 * config/tc-mmix.h: Stop defining FLT_CHARS and EXP_CHARS as macros.
3565 * tc.h: Declare FLT_CHARS and EXP_CHARS.
3566
a51ef392
TS
35672016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3568
3569 * config/tc-score.c (s3_gen_reloc): Add const qualifiers.
3570 * config/tc-score7.c (s7_gen_reloc): Likewise.
3571
2fe88214
TS
35722016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3573
3574 * config/tc-arm.c (do_t_branch): Change the type of reloc to
3575 bfd_reloc_code_real_type.
3576
e1ec8109
TS
35772016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3578
3579 * config/bfin-parse.y (current_inputline): Remove definition.
3580 * config/tc-bfin.c (md_assemble): Simplify use of current_inputline.
3581
f73e41ef
TS
35822016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3583
3584 * config/tc-avr.c (md_parse_option): Use strcasecmp () to compare
3585 strings.
3586
62bd6b5f
AM
35872016-04-02 Alan Modra <amodra@gmail.com>
3588
3589 PR 19896
3590 * read.c (assign_symbol): Consume rest of line after an error
3591 rather than continuing to process the line.
3592
83cda17b
AB
35932016-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
3594
3595 * config/tc-arc.h (MAX_FLAG_NAME_LENGHT): Rename to...
3596 (MAX_FLAG_NAME_LENGTH): ...this.
3597 (struct arc_flags): Update to use MAX_FLAG_NAME_LENGTH.
3598 * config/tc-arc.c (tokenize_flags): Likewise.
3599
6d4af3c2
AM
36002016-04-01 Alan Modra <amodra@gmail.com>
3601
3602 * cgen.c (weak_operand_overflow_check): Return const char*.
3603 * messages.c (as_internal_value_out_of_range): Formatting.
3604 (as_warn_value_out_of_range): Consify prefix param.
3605 (as_bad_value_out_of_range): Likewise.
3606 * read.c (s_errwarn): Constify msg..
3607 (s_float_space, float_cons): ..and err.
3608 * as.h (as_warn_value_out_of_range, as_bad_value_out_of_range,
3609 ieee_md_atof, vax_md_atof): Update prototypes.
3610 * tc.h (md_atof): Update prototype.
3611 * config/atof-ieee.c (ieee_md_atof): Return const char*.
3612 * config/atof-vax.c (vax_md_atof): Likewise.
3613 * config/obj-elf.c (obj_elf_parse_section_letters): Constify bad_msg.
3614 * config/tc-aarch64.c (md_atof): Return const char*.
3615 * config/tc-alpha.c (s_alpha_section_name): Likewise.
3616 (s_alpha_comm): Constify sec_name.
3617 (section_name): Constify.
3618 (s_alpha_section): Consify name..
3619 (alpha_elf_section_letter): ..and ptr_msg param..
3620 (md_atof): ..and return.
3621 * config/tc-alpha.h (alpha_elf_section_letter): Update prototype.
3622 * config/tc-arc.c (md_atof): Return const char*.
3623 * config/tc-arm.c (md_atof): Likewise.
3624 * config/tc-avr.c (md_atof): Likewise.
3625 * config/tc-bfin.c (md_atof): Likewise.
3626 * config/tc-cr16.c (md_atof): Likewise.
3627 * config/tc-cris.c (md_atof): Likewise.
3628 * config/tc-crx.c (md_atof): Likewise.
3629 * config/tc-d10v.c (md_atof): Likewise.
3630 * config/tc-d30v.c (md_atof): Likewise.
3631 * config/tc-dlx.c (md_atof): Likewise.
3632 * config/tc-epiphany.c (md_atof): Likewise.
3633 * config/tc-fr30.c (md_atof): Likewise.
3634 * config/tc-frv.c (md_atof): Likewise.
3635 * config/tc-ft32.c (md_atof): Likewise.
3636 * config/tc-h8300.c (md_atof): Likewise.
3637 * config/tc-hppa.c (struct default_subspace_dict): Constify name.
3638 (struct default_space_dict): Likewise.
3639 (create_new_space): Constify name param.
3640 (create_new_subspace): Likewise.
3641 (is_defined_space, is_defined_subspace): Likewise.
3642 (pa_parse_space_stmt): Constify space_name param.
3643 (md_atof): Return const char*.
3644 (pa_spaces_begin): Constify name.
3645 * config/tc-i370.c (md_atof): Return const char*.
3646 * config/tc-i386.c (md_atof): Likewise.
3647 (x86_64_section_letter): Constify ptr_msg param.
3648 * config/tc-i386.h (x86_64_section_letter): Update prototype.
3649 * config/tc-i860.c (struct i860_it): Constify error.
3650 (md_atof): Return const char*.
3651 * config/tc-i960.c (md_atof): Likewise.
3652 * config/tc-ia64.c (md_atof): Likewise.
3653 (ia64_elf_section_letter): Constify ptr_msg param.
3654 * config/tc-ia64.h (ia64_elf_section_letter): Update prototype.
3655 * config/tc-ip2k.c (md_atof): Return const char*.
3656 * config/tc-iq2000.c (md_atof): Likewise.
3657 * config/tc-lm32.c (md_atof): Likewise.
3658 * config/tc-m32c.c (md_atof): Likewise.
3659 * config/tc-m32r.c (md_atof): Likewise.
3660 * config/tc-m68hc11.c (md_atof): Likewise.
3661 * config/tc-m68k.c (md_atof): Likewise.
3662 * config/tc-mcore.c (md_atof): Likewise.
3663 * config/tc-mep.c (md_atof): Likewise.
3664 (mep_elf_section_letter): Constify ptr_msg param.
3665 * config/tc-mep.h (mep_elf_section_letter): Update prototype.
3666 * config/tc-metag.c (md_atof): Return const char*.
3667 * config/tc-microblaze.c (md_atof): Likewise.
3668 * config/tc-microblaze.h (md_atof): Delete prototype.
3669 * config/tc-mips.c (mips_parse_argument_token): Constify err.
3670 (md_atof): Return const char*.
3671 * config/tc-mmix.c (md_atof): Likewise.
3672 * config/tc-mn10200.c (md_atof): Likewise.
3673 * config/tc-mn10300.c (md_atof): Likewise.
3674 * config/tc-moxie.c (md_atof): Likewise.
3675 * config/tc-msp430.c (md_atof): Likewise.
3676 * config/tc-mt.c (md_atof): Likewise.
3677 * config/tc-nds32.c (md_atof): Likewise.
3678 * config/tc-nios2.c (md_atof): Likewise.
3679 (nios2_elf_section_letter): Constify ptr_msg param.
3680 * config/tc-nios2.h (nios2_elf_section_letter): Update prototype.
3681 * config/tc-ns32k.c (md_atof): Return const char*.
3682 * config/tc-or1k.c (md_atof): Likewise.
3683 * config/tc-pdp11.c (struct pdp11_code): Constify error.
3684 (md_atof): Return const char*.
3685 * config/tc-pj.c (md_atof): Likewise.
3686 * config/tc-ppc.c (md_atof): Likewise.
3687 * config/tc-rl78.c (md_atof): Likewise.
3688 * config/tc-rx.c (md_atof): Likewise.
3689 * config/tc-s390.c (md_atof): Likewise.
3690 * config/tc-score.c (s3_atof, md_atof): Likewise.
3691 * config/tc-sh.c (md_atof): Likewise.
3692 * config/tc-sparc.c (struct sparc_it): Constify error.
3693 (md_atof): Return const char*.
3694 * config/tc-spu.c (md_atof): Likewise.
3695 * config/tc-tic30.c (md_atof): Likewise.
3696 * config/tc-tic4x.c (md_atof): Likewise.
3697 * config/tc-tic54x.c (md_atof): Likewise.
3698 * config/tc-tic6x.c (md_atof): Likewise.
3699 * config/tc-tilegx.c (md_atof): Likewise.
3700 * config/tc-tilepro.c (md_atof): Likewise.
3701 * config/tc-v850.c (parse_register_list, md_atof): Likewise.
3702 * config/tc-vax.c (md_atof): Likewise.
3703 * config/tc-visium.c (md_atof): Likewise.
3704 * config/tc-xc16x.c (md_atof): Likewise.
3705 * config/tc-xgate.c (md_atof): Likewise.
3706 * config/tc-xstormy16.c (md_atof): Likewise.
3707 * config/tc-xtensa.c (md_atof): Likewise.
3708 * config/tc-z80.c (md_atof): Likewise.
3709 * config/tc-z8k.c (md_atof): Likewise.
3710
e4a0c708
TS
37112016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3712
3713 * config/tc-xtensa.c (struct rename_section_struct): Make old_name
3714 const.
3715 (xtensa_section_rename): Make argument type const char *.
3716 * config/tc-xtensa.h (xtensa_section_rename): Adjust.
3717
e2c7dcae
TS
37182016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3719
3720 * config/tc-i960.c (parse_ldconst): Cast to char * when assigning to
3721 args[0].
3722
f854977c
TS
37232016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3724
3725 * config/tc-m32c.c (m32c_md_end): cast the argument to md_assemble to
3726 char *.
3727 (m32c_indirect_operand): Likewise.
3728 * config/tc-nds32.c (do_pseudo_b): Likewise.
3729 (do_pseudo_bal): Likewise.
3730 (do_pseudo_ls_bhw): Likewise.
3731
97830986
TS
37322016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3733
3734 * as.c (parse_args): Cast literal to char * when assigning to optarg.
3735
e87de513
TS
37362016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3737
3738 * config/tc-ia64.c (md_assemble): Add temporary variable to pass to
3739 get_symbol_name ().
3740 * config/tc-sparc.c (s_register): Cast a literal to char * in
3741 assignment.
3742
47990a6a
TS
37432016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3744
3745 * config/tc-i960.c (parse_expr): Cast to char * when assigning to
3746 input_line_pointer.
3747 * config/tc-m32r.c (expand_debug_syms): Likewise.
3748 * config/tc-msp430.c (msp430_dstoperand): Likewise.
3749 * config/tc-z80.c (md_begin): Likewise.
3750 * stabs.c (stabs_generate_asm_func): Likewise.
3751
e046cf80
TS
37522016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3753
3754 * cgen.c: Modernize the way functions declare arguments.
3755 * config/tc-bfin.c: Likewise.
3756 * config/tc-pdp11.c: Likewise.
3757 * literal.c: Likewise.
3758 * read.c: Likewise.
3759 * stabs.c: Likewise.
3760
d9235011
TS
37612016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3762
3763 * config/tc-aarch64.c (aarch64_handle_align): Make the type of some
3764 variables unsigned char[].
3765 * config/tc-alpha.c (alpha_handle_align): Likewise.
3766 * config/tc-arm.c (arm_handle_align): Likewise.
3767 * config/tc-z80.c: Likewise.
3768
c6025a80
NC
37692016-03-30 Nick Clifton <nickc@redhat.com>
3770
3771 PR target/19880
3772 * config/tc-arm.c (do_t_push_pop): Cast bitmask to unsigned before
3773 shifting.
3774
f89a23cf
CZ
37752016-03-30 Claudiu Zissulescu <claziss@synopsys.com>
3776
abe051ba
AM
3777 * testsuite/gas/all/gas.exp: Don't xfail on ARC.
3778 * testsuite/gas/elf/elf.exp: Likewise.
3779 * testsuite/gas/all/redef3.d: Allow execution for ARC.
f89a23cf 3780
f621ad3c
CZ
37812016-03-30 Claudiu Zissulescu <claziss@synopsys.com>
3782
abe051ba 3783 * testsuite/gas/arc/warn.exp: Fix matching pattern.
f621ad3c 3784
f2dd8838
CZ
37852016-03-29 Claudiu Zissulescu <claziss@synopsys.com>
3786
abe051ba
AM
3787 * testsuite/gas/arc/ext2op.d: New file.
3788 * testsuite/gas/arc/ext2op.s: Likewise.
3789 * testsuite/gas/arc/ext3op.d: Likewise.
3790 * testsuite/gas/arc/ext3op.s: Likewise.
f2dd8838 3791
17b9d67d
TS
37922016-03-29 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3793
3794 * config/tc-aarch64.c (struct aarch64_long_option_table): Ad const
3795 qualifier.
3796 * config/tc-alpha.c (md_parse_option): Likewise.
3797 * config/tc-arc.c (md_parse_option): Likewise.
3798 * config/tc-arm.c (struct arm_long_option_table): Likewise.
3799 (md_parse_option): Likewise.
3800 * config/tc-avr.c (md_parse_option): Likewise.
3801 * config/tc-bfin.c (md_parse_option): Likewise.
3802 * config/tc-cr16.c (md_parse_option): Likewise.
3803 * config/tc-cris.c (s_cris_arch): Likewise.
3804 (md_parse_option): Likewise.
3805 * config/tc-crx.c (md_parse_option): Likewise.
3806 * config/tc-d10v.c (md_parse_option): Likewise.
3807 * config/tc-d30v.c (md_parse_option): Likewise.
3808 * config/tc-dlx.c (md_parse_option): Likewise.
3809 * config/tc-epiphany.c (md_parse_option): Likewise.
3810 * config/tc-fr30.c (md_parse_option): Likewise.
3811 * config/tc-frv.c (md_parse_option): Likewise.
3812 * config/tc-ft32.c (md_parse_option): Likewise.
3813 * config/tc-h8300.c (md_parse_option): Likewise.
3814 * config/tc-hppa.c (md_parse_option): Likewise.
3815 * config/tc-i370.c (md_parse_option): Likewise.
3816 * config/tc-i386.c (md_parse_option): Likewise.
3817 * config/tc-i860.c (md_parse_option): Likewise.
3818 * config/tc-i960.c (md_parse_option): Likewise.
3819 * config/tc-ia64.c (md_parse_option): Likewise.
3820 * config/tc-ip2k.c (md_parse_option): Likewise.
3821 * config/tc-iq2000.c (md_parse_option): Likewise.
3822 * config/tc-lm32.c (md_parse_option): Likewise.
3823 * config/tc-m32c.c (md_parse_option): Likewise.
3824 * config/tc-m32r.c (md_parse_option): Likewise.
3825 * config/tc-m68hc11.c (md_parse_option): Likewise.
3826 * config/tc-m68k.c (md_parse_option): Likewise.
3827 * config/tc-mcore.c (md_parse_option): Likewise.
3828 * config/tc-mep.c (md_parse_option): Likewise.
3829 * config/tc-metag.c (struct metag_long_option): Likewise.
3830 (md_parse_option): Likewise.
3831 * config/tc-microblaze.c (md_parse_option): Likewise.
3832 * config/tc-microblaze.h (md_parse_option): Remove prototype.
3833 * config/tc-mips.c (md_parse_option): Adjust.
3834 * config/tc-mmix.c (md_parse_option): Likewise.
3835 * config/tc-mn10200.c (md_parse_option): Likewise.
3836 * config/tc-mn10300.c (md_parse_option): Likewise.
3837 * config/tc-moxie.c (md_parse_option): Likewise.
3838 * config/tc-msp430.c (md_parse_option): Likewise.
3839 * config/tc-mt.c (md_parse_option): Likewise.
3840 * config/tc-nds32.c (md_parse_option): Likewise.
3841 * config/tc-nds32.h (nds32_parse_option): Likewise.
3842 * config/tc-nios2.c (md_parse_option): Likewise.
3843 * config/tc-ns32k.c (md_parse_option): Likewise.
3844 * config/tc-or1k.c (md_parse_option): Likewise.
3845 * config/tc-pdp11.c (md_parse_option): Likewise.
3846 * config/tc-pj.c (md_parse_option): Likewise.
3847 * config/tc-ppc.c (md_parse_option): Likewise.
3848 * config/tc-rl78.c (md_parse_option): Likewise.
3849 * config/tc-rx.c (md_parse_option): Likewise.
3850 * config/tc-s390.c (s390_parse_cpu): Likewise.
3851 * config/tc-score.c (md_parse_option): Likewise.
3852 * config/tc-sh.c (md_parse_option): Likewise.
3853 * config/tc-sparc.c (md_parse_option): Likewise.
3854 * config/tc-spu.c (md_parse_option): Likewise.
3855 * config/tc-tic30.c (md_parse_option): Likewise.
3856 * config/tc-tic4x.c (md_parse_option): Likewise.
3857 * config/tc-tic54x.c (md_parse_option): Likewise.
3858 * config/tc-tic6x.c (md_parse_option): Likewise.
3859 * config/tc-tilegx.c (md_parse_option): Likewise.
3860 * config/tc-tilepro.c (md_parse_option): Likewise.
3861 * config/tc-v850.c (md_parse_option): Likewise.
3862 * config/tc-vax.c (md_parse_option): Likewise.
3863 * config/tc-visium.c (struct visium_long_option_table): Likewise.
3864 * config/tc-xc16x.c (md_parse_option): Likewise.
3865 * config/tc-xgate.c (md_parse_option): Likewise.
3866 * config/tc-xstormy16.c (md_parse_option): Likewise.
3867 * config/tc-xtensa.c (md_parse_option): Likewise.
3868 * config/tc-z80.c (md_parse_option): Likewise.
3869 * config/tc-z8k.c (md_parse_option): Likewise.
3870 * tc.h (md_parse_option): Likewise.
3871
30bd735c
TS
38722016-03-29 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3873
3874 * config/tc-bfin.c (gencode): Use XOBNEW obstack_alloc () wrapper.
3875 * config/tc-hppa.c (fix_new_hppa): Likewise.
3876 (pa_vtable_entry): Likewise.
3877 (pa_vtable_inherit): Likewise.
3878 * config/tc-m68k.c (md_begin): Likewise.
3879
82b8a785
TS
38802016-03-28 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3881
3882 * config/obj-elf.c (obj_elf_section_name): Return const char *.
3883 * config/obj-elf.h (obj_elf_section_name): Adjust.
3884 * config/tc-aarch64.c (aarch64_parse_features): Likewise.
3885 (aarch64_parse_cpu): Likewise.
3886 (aarch64_parse_arch): Likewise.
3887 * config/tc-arm.c (arm_parse_extension): Likewise.
3888 (arm_parse_cpu): Likewise.
3889 (arm_parse_arch): Likewise.
3890 * config/tc-nds32.c: Likewise.
3891 * config/xtensa-relax.c (parse_special_fn): Likewise.
3892 * stabs.c (generate_asm_file): Likewise.
3893
9202e88a
TS
38942016-03-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3895
3896 * config/tc-cr16.c (cr16_assemble): New function.
3897 (md_assemble): Call cr16_assemble.
3898
a90fb5e3
TS
38992016-03-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3900
3901 * as.c (parse_args): Adjust.
3902 * as.h (flag_size_check): Rename to flag_allow_nonconst_size.
3903 * config/obj-elf.c (elf_frob_symbol): Adjust.
3904
f65c3d1b
JM
39052016-03-24 Jose E. Marchesi <jose.marchesi@oracle.com>
3906
3907 * config/tc-sparc.c (sparc_ip): Remove the V9 restriction on ASR
3908 registers to be in the 16..31 range.
3909
e742e119
TS
39102016-03-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3911
3912 * config/tc-microblaze.c (md_assemble): Cast opc to char * when calling
3913 frag_var ().
3914
eda6e9a4
TS
39152016-03-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3916
3917 * config/tc-visium.c (md_atof): Localize the string returned on
3918 failure.
3919
b9bb4a93
TS
39202016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3921
3922 * config/tc-h8300.c (h8300_elf_section): Add const qualifiers.
3923 * config/tc-ia64.c (obj_elf_vms_common): Likewise.
3924 * config/tc-m68hc11.c (md_begin): Likewise.
3925 (print_opcode_list): Likewise.
3926 * config/tc-msp430.c (msp430_section): Likewise.
3927 * config/tc-score.c (struct s3_insn_to_dependency): Likewise.
3928 (s3_build_dependency_insn_hsh): Likewise.
3929 * config/tc-score7.c (struct s7_insn_to_dependency): Likewise.
3930 (s7_build_dependency_insn_hsh): Likewise.
3931 * config/tc-tic4x.c: Likewise.
3932 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
3933 (subsym_get_arg): Likewise.
3934 * config/tc-xtensa.c (struct suffix_reloc_map): Likewise.
3935 (get_directive): Likewise.
3936 (cache_literal_section): Likewise.
3937 * config/xtensa-relax.c: Likewise.
3938 * symbols.c (symbol_create): Likewise.
3939 (local_symbol_make): Likewise.
3940 (symbol_relc_make_expr): Likewise.
3941
986d894b
TS
39422016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3943
3944 * config/tc-pdp11.c (md_assemble): Remove useless if and assignment to
3945 str.
3946
74b4e47a
TS
39472016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3948
3949 * config/tc-sparc.c (sparc_regname_to_dw2regnum): Replace strchr ()
3950 call with a switch.
3951
0a433ebc
TS
39522016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3953
3954 * config/tc-ia64.c (ia64_do_align): Remove.
3955 (ia64_cons_align): Call do_align () directly.
3956 (dot_proc): Likewise.
3957 (stmt_float_cons): Likewise.
3958
8860a416
TS
39592016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3960
3961 * listing.c (listing_message): Use XNEW style allocation macros.
3962 * read.c (read_a_source_file): Likewise.
3963 (read_symbol_name): Likewise.
3964 (s_mri_common): Likewise.
3965 (assign_symbol): Likewise.
3966 (s_reloc): Likewise.
3967 (emit_expr_with_reloc): Likewise.
3968 (s_incbin): Likewise.
3969 (s_include): Likewise.
3970 * sb.c (sb_build): Likewise.
3971 (sb_check): Likewise.
3972
49636823
AM
39732016-03-22 Alan Modra <amodra@gmail.com>
3974
3975 * write.c (record_alignment): Revert 2016-02-18 change.
3976
39a0d071
AM
39772016-03-22 Alan Modra <amodra@gmail.com>
3978
3979 * config/tc-alpha.c (load_expression): Replace alloca with xmalloc.
3980 (emit_jsrjmp, tc_gen_reloc): Likewise.
3981 * config/tc-i370.c (i370_macro): Likewise.
3982
9780e045
NC
39832016-03-22 Nick Clifton <nickc@redhat.com>
3984
3985 * configure: Regenerate.
3986
e23e8ebe
AB
39872016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
3988
3989 * testsuite/gas/arc/nps400-0.d: New file.
3990 * testsuite/gas/arc/nps400-0.s: New file.
3991 * testsuite/gas/arc/nps400-1.d: New file.
3992 * testsuite/gas/arc/nps400-1.s: New file.
3993
1ae8ab47
AB
39942016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
3995
3996 * config/tc-arc.c (find_opcode_match): Move lnflg, and i
3997 declarations to start of block. Reset code on all flags before
3998 attempting to match them. Handle multiple hits on the same flag.
3999 Handle flag class.
4000 * testsuite/gas/arc/asm-errors.d: New file.
4001 * testsuite/gas/arc/asm-errors.err: New file.
4002 * testsuite/gas/arc/asm-errors.s: New file.
4003
8699fc3e
AB
40042016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
4005
4006 * config/tc-arc.c (cpu_types): Add nps400 entry.
4007 (check_zol): Handle nps400.
4008
a9522a21
AB
40092016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
4010
4011 * config/tc-arc.c (arc_select_cpu): Remove use of
4012 EF_ARC_CPU_GENERIC.
4013
24740d83
AB
40142016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
4015
4016 * config/tc-arc.c (arc_target): Delay initialisation until
4017 arc_select_cpu.
4018 (arc_target_name): Likewise.
4019 (arc_features): Likewise.
4020 (arc_mach_type): Likewise.
4021 (cpu_types): Remove "all" entry.
4022 (arc_select_cpu): New function, most of the content is from...
4023 (md_parse_option): ... here. Call new arc_select_cpu.
4024 (md_begin): Call arc_select_cpu if needed, default is now arc700.
4025
62f6f9c2
AB
40262016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
4027
4028 * testsuite/gas/arc/inline-data-1.d: Add target restriction.
4029 * testsuite/gas/arc/inline-data-2.d: New file.
4030
e1fa0163
NC
40312016-03-21 Nick Clifton <nickc@redhat.com>
4032
4033 * atof-generic.c: Replace use of alloca with call to xmalloc.
4034 * cgen.c: Likewise.
4035 * dwarf2dbg.c: Likewise.
4036 * macro.c: Likewise.
4037 * remap.c: Likewise.
4038 * stabs.c: Likewise.
4039 * symbols.c: Likewise.
4040 * config/obj-elf.c: Likewise.
4041 * config/tc-aarch64.c: Likewise.
4042 * config/tc-arc.c: Likewise.
4043 * config/tc-arm.c: Likewise.
4044 * config/tc-avr.c: Likewise.
4045 * config/tc-ia64.c: Likewise.
4046 * config/tc-mips.c: Likewise.
4047 * config/tc-msp430.c: Likewise.
4048 * config/tc-nds32.c: Likewise.
4049 * config/tc-ppc.c: Likewise.
4050 * config/tc-sh.c: Likewise.
4051 * config/tc-tic30.c: Likewise.
4052 * config/tc-tic54x.c: Likewise.
4053 * config/tc-xstormy16.c: Likewise.
4054 * config/te-vms.c: Likewise.
4055 * configure: Regenerate.
4056
bad6e36d
TS
40572016-03-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4058
4059 * tc-i386.c (f32_1): Change type to unsigned char[].
4060 (f32_2): Likewise.
4061 (f32_3): Likewise.
4062 (f32_4): Likewise.
4063 (f32_5): Likewise.
4064 (f32_6): Likewise.
4065 (f32_7): Likewise.
4066 (f32_8): Likewise.
4067 (f32_9): Likewise.
4068 (f32_10): Likewise.
4069 (f32_11): Likewise.
4070 (f32_12): Likewise.
4071 (f32_13): Likewise.
4072 (f32_14): Likewise.
4073 (f16_3): Likewise.
4074 (f16_4): Likewise.
4075 (f16_5): Likewise.
4076 (f16_6): Likewise.
4077 (f16_7): Likewise.
4078 (f16_8): Likewise.
4079 (jump_31): Likewise.
4080 (f32_patt): Likewise.
4081 (f16_patt): Likewise.
4082 (alt_3): Likewise.
4083 (alt_4): Likewise.
4084 (alt_5): Likewise.
4085 (alt_6): Likewise.
4086 (alt_7): Likewise.
4087 (alt_8): Likewise.
4088 (alt_9): Likewise.
4089 (alt_10): Likewise.
4090 (alt_patt): Likewise.
4091
6387924a
NC
40922016-03-18 Nick Clifton <nickc@redhat.com>
4093
30fab421
NC
4094 * doc/c-aarch64.texi (AArch64 Directives): Add descriptions of
4095 .cpu, .dword, .even, .inst. .tlsdescadd, .tlsdesccall,
4096 .tlsdescldr and .xword directives.
4097
8678914f
NC
4098 PR target/19721
4099 * testsuite/gas/aarch64/pr19721.s: New test source file.
4100 * testsuite/gas/aarch64/pr19721.d: New test driver file.
4101
6387924a
NC
4102 * doc/as.texinfo: Place the target specific command line options
4103 into their own man page section.
4104
cc933301
JW
41052016-03-16 Jiong Wang <jiong.wang@arm.com>
4106
4107 * config/tc-arm.c (N_S_32): New.
4108 (N_F_16_32): Likewise.
4109 (N_SUF_32): Support N_F16.
4110 (N_IF_32): Likewise.
4111 (neon_dyadic_misc): Likewise.
4112 (do_neon_cmp): Likewise.
4113 (do_neon_cmp_inv): Likewise.
4114 (do_neon_mul): Likewise.
4115 (do_neon_fcmp_absolute): Likewise.
4116 (do_neon_step): Likewise.
4117 (do_neon_abs_neg): Likewise.
4118 (CVT_FLAVOR_VAR): Likewise.
4119 (do_neon_cvt_1): Likewise.
4120 (do_neon_recip_est): Likewise.
4121 (do_vmaxnm): Likewise.
4122 (do_vrint_1): Likewise.
4123 (neon_check_type): Check architecture support for FP16 extension.
4124 (insns): Update comments.
4125 * testsuite/gas/arm/armv8-2-fp16-simd.s: New test source.
4126 * testsuite/gas/arm/armv8-2-fp16-simd.d: New testcase for arm mode.
4127 * testsuite/gas/arm/armv8-2-fp16-simd-thumb.d: Likewise for thumb mode.
4128 * testsuite/gas/arm/armv8-2-fp16-simd-warning.d: New rejection test for
4129 arm mode.
4130 * testsuite/gas/arm/armv8-2-fp16-simd-warning-thumb.d: Likewise for
4131 thumb mode.
4132 * testsuite/gas/arm/armv8-2-fp16-simd-warning.l: New expected rejection
4133 error file.
4134
5f2b6bc9
NC
41352016-03-16 Nick Clifton <nickc@redhat.com>
4136
4137 * read.c (emit_expr_with_reloc): Add code check a bignum with
4138 nbytes == 1.
4139 * config/rx/rx-parse.y (rx_intop): Accept bignum values for sizes
4140 other than 32-bits.
4141 * testsuite/gas/elf/bignum.s: New test source file.
4142 * testsuite/gas/elf/bignum.d: New test driver file.
4143 * testsuite/gas/elf/elf.exp: Run the new test.
4144
4bde3cdd
UD
41452016-03-15 Ulrich Drepper <drepper@gmail.com>
4146
4147 * doc/c-i386.texi (Register Naming): Update to details of the
abe051ba 4148 latest architecture version.
4bde3cdd 4149
a9f02af8
MG
41502016-03-10 Mickael Guene <mickael.guene@st.com>
4151
4152 PR gas/19744
4153 * config/tc-arm.c (do_arit): Protect against bad relocations usage.
4154 (do_mov): Likewise.
4155 (do_t_add_sub): Allow pcrop relocations for Thumb-2 targets.
4156 (do_t_mov_cmp): Likewise.
4157 (do_t_add_sub): Protect against bad relocations usage.
4158 (do_t_mov_cmp): Likewise.
5dafb246
AM
4159 * testsuite/gas/arm/adds-thumb1-reloc-local-armv7-m.s: New.
4160 * testsuite/gas/arm/adds-thumb1-reloc-local-armv7-m.d: New.
4161 * testsuite/gas/arm/movs-thumb1-reloc-local-armv7-m.s: New.
4162 * testsuite/gas/arm/movs-thumb1-reloc-local-armv7-m.d: New.
a9f02af8 4163
aa8a0863
TS
41642016-03-09 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4165
4166 * config/tc-arm.c (neon_alignment_bit): Rename do_align to
4167 do_alignment.
4168 (do_neon_ld_st_lane): Likewise.
4169 (do_neon_ld_dup): Likewise.
4170
72f3b6aa
CZ
41712016-03-08 Andrew Burgess <andrew.burgess@embecosm.com>
4172
4173 * testsuite/gas/arc/inline-data-1.d: New file.
4174 * testsuite/gas/arc/inline-data-1.s: New file.
4175
5f474010
TP
41762016-03-07 Andre Vieira <andre.simoesdiasvieira@arm.com>
4177
4178 * config/tc-arm.c (arm_cpus): Add cortex-r8.
4179 * doc/c-arm.texi: Add cortex-r8.
4180
f86f5863
TS
41812016-03-07 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4182
4183 * config/tc-arc.c: Add const qualifiers.
4184 * config/tc-h8300.c (md_begin): Likewise.
4185 * config/tc-ia64.c (print_prmask): Likewise.
4186 * config/tc-msp430.c (msp430_operands): Likewise.
4187 * config/tc-nds32.c (struct suffix_name): Likewise.
4188 (struct nds32_parse_option_table): Likewise.
4189 (struct nds32_set_option_table): Likewise.
4190 (do_pseudo_pushpopm): Likewise.
4191 (do_pseudo_pushpop_stack): Likewise.
4192 (nds32_relax_relocs): Likewise.
4193 (nds32_flag): Likewise.
4194 (struct nds32_hint_map): Likewise.
4195 (nds32_find_reloc_table): Likewise.
4196 (nds32_match_hint_insn): Likewise.
4197 * config/tc-s390.c: Likewise.
4198 * config/tc-sh.c (get_specific): Likewise.
4199 * config/tc-tic30.c: Likewise.
4200 * config/tc-tic4x.c (tic4x_inst_add): Likewise.
4201 (tic4x_indirect_parse): Likewise.
4202 * config/tc-vax.c (vax_cons): Likewise.
4203 * config/tc-z80.c (struct reg_entry): Likewise.
4204 * config/tc-epiphany.c (md_assemble): Adjust.
4205 (epiphany_assemble): New function.
4206 (epiphany_elf_section_rtn): Call do_align directly.
4207 (epiphany_elf_section_text): Likewise.
4208 * config/tc-ip2k.c (ip2k_elf_section_rtn): Likewise.
4209 (ip2k_elf_section_text): Likewise.
4210 * read.c (do_align): Make it not static.
4211 * read.h (do_align): New prototype.
4212
9411fd44
MW
42132016-03-04 Matthew Wahab <matthew.wahab@arm.com>
4214
4215 * config/tc-arm.c (aeabi_set_public_attributes): Emit attribute
4216 for ARMv8.1 AdvSIMD use.
4217 * testsuite/gas/arm/attr-march-armv8-a+rdma.d: New.
4218 * testsuite/gas/arm/attr-march-armv8_1-a+simd.d: New.
4219
643afb90
MW
42202016-03-04 Matthew Wahab <matthew.wahab@arm.com>
4221
4222 * config/gas/tc-arm.c (fpu_neon_ext_v8_1): Restrict to the ARMv8.1 RDMA
4223 feature.
4224 (record_feature_use): New.
4225 (mark_feature_used): Use record_feature_use.
4226 (do_neon_qrdmlah): New.
4227 (insns): Use do_neon_qrdmlah for vqrdmlah and vqrdmlsh and
4228 variants.
4229 (arm_extensions): Put into alphabetical order. Re-indent "simd"
4230 and "rdma" entries. Fix the incorrect merge value for "+rdma".
4231 * testsuite/gas/arm/armv8-a+rdma-warning.d: New.
4232 * testsuite/gas/arm/armv8-a+rdma.d: Add assembler command line options.
4233 Make source file explicit.
4234 * testsuite/gas/arm/armv8-a+rdma.l: New.
4235 * testsuite/gas/arm/armv8-a+rdma.s: Remove .arch and .arch_extension
4236 directives. Fix white-space.
4237 * testsuite/gas/arm/armv8_1-a+simd.d: New.
4238
25aa3689
L
42392016-03-02 H.J. Lu <hongjiu.lu@intel.com>
4240
4241 * testsuite/gas/i386/x86_64-intel.d: Adjusted for COFF.
4242
841fdfcd
CZ
42432016-02-29 Cupertino Miranda <cmiranda@synopsys.com>
4244 Claudiu Zissulescu <Claudiu.Zissulescu@synopsys.com>
4245
abe051ba
AM
4246 * config/tc-arc.c (arc_extra_reloc): Change size to 0.
4247 (tc_arc_fix_adjustable): Changed default return value to 1.
4248 * testsuite/gas/arc/j.d: Updated expected symbol
4249 * testsuite/gas/arc/jl.d: Likewise
4250 * testsuite/gas/arc/relax-avoid1.d: Likewise
4251 * testsuite/gas/arc/st.d: Likewise
841fdfcd 4252
7e458899
CZ
42532016-02-29 Claudiu Zissulescu <Claudiu.Zissulescu@synopsys.com>
4254
4255 * config/tc-arc.c: Enable code density instructions for ARC EM.
4256
11e5f1ec
L
42572016-02-26 H.J. Lu <hongjiu.lu@intel.com>
4258
4259 PR ld/19645
4260 * NEWS: Mention --enable-elf-stt-common and --elf-stt-common=
4261 for ELF assemblers.
4262 * as.c (flag_use_elf_stt_common): New.
4263 (show_usage): Add --elf-stt-common=.
4264 (option_values): Add OPTION_ELF_STT_COMMON.
4265 (std_longopts): Add --elf-stt-common=.
4266 (parse_args): Handle --elf-stt-common=.
4267 * as.h (flag_use_elf_stt_common): New.
4268 * config.in: Regenerated.
4269 * configure: Likewise.
4270 * configure.ac: Add --enable-elf-stt-common and define
4271 DEFAULT_GENERATE_ELF_STT_COMMON.
4272 * gas/write.c (write_object_file): Set BFD_CONVERT_ELF_COMMON
4273 and BFD_USE_ELF_STT_COMMON if flag_use_elf_stt_common is set.
4274 * doc/as.texinfo: Document --elf-stt-common=.
4275 * testsuite/gas/elf/common3.s: New file.
4276 * testsuite/gas/elf/common3a.d: Likewise.
4277 * testsuite/gas/elf/common3b.d: Likewise.
4278 * testsuite/gas/elf/common4.s: Likewise.
4279 * testsuite/gas/elf/common4a.d: Likewise.
4280 * testsuite/gas/elf/common4b.d: Likewise.
4281 * testsuite/gas/i386/dw2-compress-3b.d: Likewise.
4282 * testsuite/gas/i386/dw2-compressed-3b.d: Likewise.
4283 * testsuite/gas/elf/elf.exp: Run common3a, common3b, common4a
4284 and common4b.
4285 * testsuite/gas/i386/dw2-compress-3.d: Renamed to ...
4286 * testsuite/gas/i386/dw2-compress-3a.d: This. Pass
4287 --elf-stt-common=no to as.
4288 * testsuite/gas/i386/dw2-compressed-3.d: Renamed to ...
4289 * testsuite/gas/i386/dw2-compressed-3a.d: This. Pass
4290 --elf-stt-common=no to as.
4291 * testsuite/gas/i386/i386.exp: Run dw2-compress-3a,
4292 dw2-compress-3b, dw2-compressed-3a and dw2-compressed-3b instead
4293 of dw2-compress-3 and dw2-compressed-3.
4294
e0471c16
TS
42952016-02-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4296
4297 * as.c (select_emulation_mode): Add const qualifiers.
4298 * as.h: Likewise.
4299 * config/bfin-defs.h: Likewise.
4300 * config/bfin-parse.y: Likewise.
4301 * config/rx-parse.y: Likewise.
4302 * config/tc-aarch64.c (struct aarch64_option_table): Likewise.
4303 (struct aarch64_cpu_option_table): Likewise.
4304 (struct aarch64_arch_option_table): Likewise.
4305 (struct aarch64_option_cpu_value_table): Likewise.
4306 (struct aarch64_long_option_table): Likewise.
4307 (struct aarch64_option_abi_value_table): Likewise.
4308 * config/tc-arm.c (struct reloc_entry): Likewise.
4309 (tc_gen_reloc): Likewise.
4310 (struct arm_option_table): Likewise.
4311 (struct arm_legacy_option_table): Likewise.
4312 (struct arm_cpu_option_table): Likewise.
4313 (struct arm_arch_option_table): Likewise.
4314 (struct arm_option_extension_value_table): Likewise.
4315 (struct arm_option_fpu_value_table): Likewise.
4316 (struct arm_option_value_table): Likewise.
4317 (struct arm_long_option_table): Likewise.
4318 * config/tc-avr.c (struct avr_opcodes_s): Likewise.
4319 (struct mcu_type_s): Likewise.
4320 (struct exp_mod_s): Likewise.
4321 (avr_operand): Likewise.
4322 (avr_operands): Likewise.
4323 * config/tc-d10v.c (md_begin): Likewise.
4324 * config/tc-dlx.c: Likewise.
4325 * config/tc-fr30.c (fr30_is_colon_insn): Likewise.
4326 * config/tc-ft32.c (parse_condition): Likewise.
4327 * config/tc-h8300.c (do_a_fix_imm): Likewise.
4328 * config/tc-hppa.c (pa_ip): Likewise.
4329 (hppa_regname_to_dw2regnum): Likewise.
4330 * config/tc-i370.c (i370_elf_suffix): Likewise.
4331 * config/tc-i960.c (struct tabentry): Likewise.
4332 * config/tc-m32r.c: Likewise.
4333 * config/tc-m68k.c: Likewise.
4334 * config/tc-m68k.h: Likewise.
4335 * config/tc-mcore.c (parse_psrmod): Likewise.
4336 * config/tc-metag.c (struct metag_core_option): Likewise.
4337 (struct metag_long_option): Likewise.
4338 * config/tc-microblaze.c: Likewise.
4339 * config/tc-mips.c (macro): Likewise.
4340 * config/tc-mn10200.c: Likewise.
4341 * config/tc-mn10300.c: Likewise.
4342 * config/tc-msp430.c (struct rcodes_s): Likewise.
4343 (struct hcodes_s): Likewise.
4344 (md_parse_option): Likewise.
4345 * config/tc-ns32k.c (struct ns32k_option): Likewise.
4346 (optlist): Likewise.
4347 * config/tc-ppc.c (ppc_elf_suffix): Likewise.
4348 (tc_ppc_regname_to_dw2regnum): Likewise.
4349 * config/tc-ppc.h: Likewise.
4350 * config/tc-rl78.c: Likewise.
4351 * config/tc-rx.c (struct cpu_type): Likewise.
4352 * config/tc-sh.c (sh_regname_to_dw2regnum): Likewise.
4353 * config/tc-sparc.c (struct priv_reg_entry): Likewise.
4354 (sparc_ip): Likewise.
4355 * config/tc-spu.c (insn_fmt_string): Likewise.
4356 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
4357 * config/tc-v850.c: Likewise.
4358 * config/tc-visium.c (struct visium_arch_option_table): Likewise.
4359 (struct visium_long_option_table): Likewise.
4360 * config/tc-xgate.c: Likewise.
4361 * config/tc-z8k.c: Likewise.
4362 * read.c (add_include_dir): Likewise.
4363 * read.h: Likewise.
4364
e6e7b7c4
AB
43652016-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
4366
4367 * testsuite/gas/all/gas.exp: Change target pattern to cover
4368 arceb-*.
4369 * testsuite/gas/all/redef3.d: Likewise.
4370 * testsuite/gas/elf/elf.exp: Likewise.
4371
9db2f6b4
RL
43722016-02-24 Renlin Li <renlin.li@arm.com>
4373
4374 * config/tc-arm.c (BAD_FP16): New error message macro.
4375 (do_scalar_fp16_v82_encode): Change the coproc field to 9 for armv8.2
4376 fp16 scalar instructions.
4377 (neon_check_type): Allow different size from key.
4378 (do_vfp_nsyn_add_sub): Add support SE_H shape support.
4379 (try_vfp_nsyn): Likewise.
4380 (do_vfp_nsyn_mla_mls): Likewise.
4381 (do_vfp_nsyn_fma_fms): Likewise.
4382 (do_vfp_nsyn_ldm_stm): Likewise
4383 (do_vfp_nsyn_sqrt): Likewise
4384 (do_vfp_nsyn_div): Likewise
4385 (do_vfp_nsyn_nmul): Likewise.
4386 (do_vfp_nsyn_cmp): Likewise.
4387 (do_neon_shll): Likewise.
4388 (do_vfp_nsyn_cvt_fpv8): Likewise.
4389 (do_neon_cvttb_2): Likewise.
4390 (do_neon_mov): Likewise.
4391 (do_neon_rshift_round_imm): Likewise.
4392 (do_neon_ldr_str): Likewise.
4393 (do_vfp_nsyn_fpv8): Likewise.
4394 (do_vmaxnm): Likewise.
4395 (do_vrint_1): Likewise.
4396 (insns): New entry for vins, vmovx.
4397 (md_apply_fix): Left shift 1 bit for fp16 vldr/vstr.
4398 * testsuite/gas/arm/armv8-2-fp16-scalar-thumb.d: New.
4399 * testsuite/gas/arm/armv8-2-fp16-scalar.d: New.
4400 * testsuite/gas/arm/armv8-2-fp16-scalar.s: New.
4401 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.s: New
4402 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.d: New
4403 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.l: New
4404
d54af2d0
RL
44052016-02-24 Renlin Li <renlin.li@arm.com>
4406
4407 * config/tc-arm.c (NEON_ENC_TAB): Add fp16 instruction shape.
4408 (neon_shape_class): New SC_HALF.
4409 (neon_shape_el): New SE_H.
4410 (neon_shape_el_size): New size for SE_H.
4411 (N_F_ALL): New macro to aggregate N_F16, N_F32, N_64.
4412 (neon_select_shape): Add SE_H support code.
4413 (el_type_of_type_chk): Use N_F_ALL.
4414 (do_vfp_nsyn_cvt): Add SE_H shape support.
4415 (do_neon_cvtz): Likewise.
4416 (do_neon_cvt_1): Likewise.
4417 (do_neon_cvttb_1): Likewise.
4418
b0c11777
RL
44192016-02-24 Renlin Li <renlin.li@arm.com>
4420
4421 * testsuite/gas/arm/copro.d: Adjust output.
4422 * testsuite/gas/arm/copro.s: Adjust co-processor num.
4423
3e309328
RL
44242016-02-24 Renlin Li <renlin.li@arm.com>
4425
4426 * testsuite/gas/arm/mask_1.d: New.
4427 * testsuite/gas/arm/mask_1.s: New.
4428
8afc7bea
RL
44292016-02-24 Renlin Li <renlin.li@arm.com>
4430
4431 * testsuite/gas/arm/copro.s: Use coprocessor other than 10, 11.
4432 * testsuite/gas/arm/copro.d: Update.
4433
6735952f
KT
44342016-02-24 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
4435
4436 * config/tc-arm.c (arm_cpus): Add entry for cortex-a32.
4437 * doc/c-arm.texi (ARM Options): Document cortex-a32.
4438
ed5491b9
KT
44392016-02-24 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
4440
abe051ba 4441 * doc/c-arm.texi (ARM Options): Document cortex-a17.
ed5491b9 4442
742e5034
L
44432016-02-23 H.J. Lu <hongjiu.lu@intel.com>
4444
4445 * testsuite/gas/elf/elf.exp: Skip tests for common directive on
4446 hpux.
4447
3b4dbbbf
TS
44482016-02-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4449
4450 * output-file.c (output_file_create): Make file name argument const.
4451 (output_file_close): Likewise.
4452 * output-file.h (output_file_create): Adjust.
4453 (output_file_close): Likewise.
4454 * depend.c (quote_string_for_make): Make src argument const char *.
4455 (register_dependency): Likewise.
4456 (wrap_output): Likewise.
4457 * as.h (register_dependency): Adjust.
4458 * config/tc-xtensa.c (finish_vinsn): Remove unnecessary calls to
4459 as_where ();
4460 * symbols.c (S_SET_EXTERNAL): Likewise.
4461 * input-scrub.c (as_where): Return the file name.
4462 * as.h (as_where): Adjust prototype.
4463 * app.c (do_scrub_chars): Adjust.
4464 * cond.c (s_elseif): Likewise.
4465 (s_else): Likewise.
4466 (initialize_cframe): Likewise.
4467 * config/obj-coff.c (obj_coff_init_stab_section): Likewise.
4468 * config/obj-elf.c (obj_elf_init_stab_section): Likewise.
4469 * config/obj-som.c (obj_som_init_stab_section): Likewise.
4470 * config/tc-aarch64.c (output_info): Likewise.
4471 * config/tc-ia64.c (md_assemble): Likewise.
4472 (dot_alias): Likewise.
4473 * config/tc-m68k.c (m68k_frob_label): Likewise.
4474 * config/tc-mmix.c (s_bspec): Likewise.
4475 (mmix_handle_mmixal): Likewise.
4476 * config/tc-rx.c (rx_include): Likewise.
4477 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
4478 (tic54x_adjust_symtab): Likewise.
4479 * config/tc-xtensa.c (directive_push): Likewise.
4480 (xtensa_sanity_check): Likewise.
4481 (xtensa_relax_frag): Likewise.
4482 (md_convert_frag): Likewise.
4483 (tinsn_to_slotbuf): Likewise.
4484 * dwarf2dbg.c (dwarf2_where): Likewise.
4485 * ecoff.c (add_file): Likewise.
4486 (ecoff_generate_asm_lineno): Likewise.
4487 * expr.c (make_expr_symbol): Likewise.
4488 * frags.c (frag_new): Likewise.
4489 (frag_var_init): Likewise.
4490 * listing.c (listing_newline): Likewise.
4491 * messages.c (identify): Likewise.
4492 (as_show_where): Likewise.
4493 (as_warn_internal): Likewise.
4494 (as_bad_internal): Likewise.
4495 * read.c (s_irp): Likewise.
4496 (s_macro): Likewise.
4497 (s_reloc): Likewise.
4498 * stabs.c (stabs_generate_asm_file): Likewise.
4499 (stabs_generate_asm_lineno): Likewise.
4500 (stabs_generate_asm_func): Likewise.
4501 * write.c (fix_new_internal): Likewise.
4502 * as.h (PRINTF_WHERE_LIKE): Make file name argument const.
4503 (as_warn_value_out_of_range): Adjust prototype.
4504 (as_bad_value_out_of_range): Adjust prototype.
4505 * messages.c (identify): Make file name argument const char *.
4506 (as_warn_internal): Likewise.
4507 (as_warn_where): Likewise.
4508 (as_bad_internal): Likewise.
4509 (as_bad_where): Likewise.
4510 (as_internal_value_out_of_range): Likewise.
4511 (as_warn_value_out_of_range): Likewise.
4512 (as_bad_value_out_of_range): Likewise.
4513 * as.h (found_comment_file): Change type to const char *.
4514 * cond.c (file_line::file): Likewise.
4515 * config/obj-coff.c (obj_coff_init_stab_section): Make variable const.
4516 * config/obj-elf.c (obj_elf_init_stab_section): Likewise.
4517 * config/obj-som.c (obj_som_init_stab_section): Likewise.
4518 * config/tc-aarch64.c (output_info): Likewise.
4519 * config/tc-alpha.c (insert_operand): Likewise.
4520 * config/tc-arc.c (insert_operand): Likewise.
4521 * config/tc-d30v.c (check_size): Likewise.
4522 * config/tc-ia64.c (struct alias): Likewise.
4523 * config/tc-m68k.c (struct label_line): Likewise.
4524 * config/tc-mcore.c (md_apply_fix): Likewise.
4525 * config/tc-microblaze.c (md_estimate_size_before_relax): Likewise.
4526 * config/tc-mips.c (mips16_immed): Likewise.
4527 * config/tc-mmix.c (mmix_handle_mmixal): Likewise.
4528 * config/tc-ppc.c (ppc_insert_operand): Likewise.
4529 * config/tc-rx.c (rx_include): Likewise.
4530 * config/tc-s390.c (s390_insert_operand): Likewise.
4531 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
4532 (tic54x_adjust_symtab): Likewise.
4533 * config/tc-tilegx.c (insert_operand): Likewise.
4534 (apply_special_operator): Likewise.
4535 * config/tc-tilepro.c (insert_operand): Likewise.
4536 * config/tc-xtensa.c (directive_push): Likewise.
4537 * ecoff.c (add_file): Likewise.
4538 (ecoff_generate_asm_lineno): Likewise.
4539 * listing.c (listing_newline): Likewise.
4540 * read.c (s_irp): Likewise.
4541 * write.c (install_reloc): Likewise.
4542 * write.h (struct fix): Likewise.
4543 * input-file.c (file_name): Change type to const char *.
4544 (saved_file::file_name): Likewise.
4545 (input_file_open): Change type of argument to const char *.
4546 * input-file.h (input_file_open): Adjust.
4547 * input-scrub.c (logical_input_file): change type to const char *.
4548 (physical_input_file): Likewise.
abe051ba 4549 (struct input_save): Adjust.
3b4dbbbf
TS
4550 (input_scrub_push): Adjust.
4551 (input_scrub_begin): Adjust.
4552 (as_where): Adjust.
4553 * input-scrub.c (input_scrub_new_file): Make file name argument const.
4554 (input_scrub_include_file): Likewise.
4555 (new_logical_line_flags): Likewise.
4556 (new_logical_line): Likewise.
4557 * as.h: Adjust.
4558 * frags.h (struct frag): Change type of fr_file to const char *.
4559 * expr.c (expr_symbol_where): Change type of file argument to
4560 const char **.
4561 * expr.h (expr_symbol_where): Likewise.
4562 * config/tc-i370.c (md_apply_fix): adjust.
4563 * config/tc-mmix.c (mmix_md_end): Likewise.
4564 * config/tc-ppc.c (md_apply_fix): Likewise.
4565 * config/tc-s390.c (md_apply_fix): Likewise.
4566 * symbols.c (report_op_error): Likewise.
4567 (resolve_symbol_value): Likewise.
4568 * config/tc-ia64.c (slot::src_file): Change type to const char *.
4569 (rsrc::file): Likewise.
4570 * config/tc-xtensa.c (xtensa_sanity_check): Change type of variable to
4571 const char *.
4572 (xtensa_relax_frag): Likewise.
4573 (md_convert_frag): Likewise.
4574 (tinsn_to_slotbuf): Likewise.
4575 * expr.c (expr_symbol_line): Likewise.
4576 * macro.c (define_macro): Likewise.
4577 * macro.h (macro_struct): Likewise.
4578 * messages.c (as_show_where): Likewise.
4579 * read.c (s_macro): Likewise.
4580 * stabs.c (stabs_generate_asm_file): Likewise.
4581 (generate_asm_file): Likewise.
4582 (stabs_generate_asm_lineno): Likewise.
4583 * write.h (struct reloc_list): Likewise.
4584 * input-scrub.c (as_where): Change return type to const char *.
4585 * as.h (as_wheree): Adjust.
4586
8ecb73dd
L
45872016-02-21 H.J. Lu <hongjiu.lu@intel.com>
4588
4589 * write.c (compress_debug): Move BFD compression bits setting
4590 to ...
4591 (write_object_file): Here.
4592
200cbe0f
L
45932016-02-20 H.J. Lu <hongjiu.lu@intel.com>
4594
4595 * config/tc-i386.c (register_number): Check RegVRex.
4596 * testsuite/gas/i386/x86-64-avx512f.s: Add a test for vgatherqpd
4597 with %zmm19 and %zmm3.
4598 * testsuite/gas/i386/x86-64-avx512f-intel.d: Updated.
4599 * testsuite/gas/i386/x86-64-avx512f.d: Likewise.
4600
b8ec4e87
JW
46012016-02-19 Matthew Wahab <matthew.wahab@arm.com>
4602 Jiong Wang <jiong.wang@arm.com>
4603
4604 * config/tc-arm.c (arm_ext_fp16): New.
4605 (arm_extensions): New entry for "fp16".
4606
3be64886
NC
46072016-02-19 Nick Clifton <nickc@redhat.com>
4608
4609 PR 19630
4610 * read.c (read_a_source_file): Check for assemble_one returning
4611 with input_line_pointer set to NULL.
4612
3b4dbbbf 46132016-02-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
cd0bbe6e 4614
3d13c647
TS
4615 * listing.c (rebuffer_line): Change return type to void.
4616
cd0bbe6e
TS
4617 * symbols.c (decode_local_label_name): Make type a const char *.
4618 * listing.c (print_source): Make type of p const char *.
4619 (print_line): Make type of string const char *.
4620 (buffer_line): Return const char *.
4621 (title): Make type const char *.
4622 (subtitle): Likewise.
4623 (listing_listing): Make type of p const char *.
4624 * messages.c (as_internal_value_out_of_range): Make type of prefix
4625 const char *.
4626 * stabs.c (s_stab_generic): make type of stab_secname, stabstr_secname
4627 and string const char *.
4628 * read.c (_bfd_rel): Make type of name const char *.
4629 * app.c (out_string): Change type to const char *.
abe051ba 4630 (struct app_save::out_string): Likewise.
cd0bbe6e 4631
9136aa49
DG
46322016-02-18 Dan Gisselquist <dgisselq@verizon.net>
4633 Nick Clifton <nickc@redhat.com>
4634
4635 * read.c (finish_bundle): Avoid recording a negative alignment.
4636 (do_align): Use unsigned values for n, len and max. Only create
4637 a frag if the alignment requirement is greater than the minimum
4638 byte alignment. Avoid recording a negative alignment.
4639 (s_align): Use unsigned values where appropriate.
4640 (bss_alloc): Use an unsigned value for the alignment.
4641 (sizeof_sleb128): Add a comment noting that we encode one octet
4642 per byte, regardless of the value of OCTETS_PER_BYTE_POWER.
4643 (emit_leb129_expr): Abort if the emitted encoding was longer than
4644 expected.
4645 * read.h (output_leb128): Update prototype.
4646 (sizeof_leb128): Update prototype.
4647 (bss_alloc): Update prototype.
4648 * write.c (record_alignment): Use an unsigned value for the
4649 alignment. Do not record alignments less than the minimum
4650 alignment for a byte.
4651 * write.h (record_alignment): Update prototype.
4652
4111950f
MF
46532016-02-17 Max Filippov <jcmvbkbc@gmail.com>
4654
4655 * config/tc-xtensa.c (xtensa_move_literals): Fix check for
4656 .init.literal/.fini.literal section name.
4657 * testsuite/gas/xtensa/all.exp: Add init-fini-literals to the
4658 list of xtensa tests.
4659 * testsuite/gas/xtensa/init-fini-literals.d: New file:
4660 init-fini-literals test result patterns.
4661 * testsuite/gas/xtensa/init-fini-literals.s: New file:
4662 init-fini-literals test.
4663
b27c40ec
NC
46642016-02-17 Nick Clifton <nickc@redhat.com>
4665
4666 * config/tc-msp430.c (msp430_mcu_data): Sync with data from TI's
4667 devices.csv file as of March 2016.
4668
726c18e1
CZ
46692016-02-16 Claudiu Zissulescu <claziss@synopsys.com>
4670
4671 * config/tc-arc.c (tc_arc_frame_initial_instructions): New
4672 function.
4673 (tc_arc_regname_to_dw2regnum): Likewise.
4674 * config/tc-arc.h (TARGET_USE_CFIPOP): Define
4675 (tc_cfi_frame_initial_instructions): Likewise.
4676 (tc_regname_to_dw2regnum): Likewise.
5dafb246
AM
4677 * testsuite/gas/cfi/cfi-arc-1.d: New file.
4678 * testsuite/gas/cfi/cfi-arc-1.s: Likewise.
4679 * testsuite/gas/cfi/cfi.exp: Allow running tests for arc.
726c18e1 4680
9406ee73
TS
46812016-02-16 Trevor Saunders <tbsaunde@tbsaunde.org>
4682
4683 * doc/internals.texi (S_IS_EXTERN): Remove.
4684
eda683bb
NC
46852016-02-16 Nick Clifton <nickc@redhat.com>
4686
4687 * doc/as.texinfo (Section): Fix up texinfo snafus in previous
4688 update.
4689
671eeb28
RL
46902016-02-16 Renlin Li <renlin.li@arm.com>
4691
4692 PR gas/19620
4693 * config/tc-aarch64.c (parse_half): Remove restrictions on symbol name.
4694 * testsuite/gas/aarch64/movw_label.d: New.
4695 * testsuite/gas/aarch64/movw_label.s: New.
4696
804021fb 46972016-02-15 Vinay Kumar G. <Vinay.G@kpit.com>
6439ea1a 4698
58cda018 4699 PR gas/19556
6439ea1a
VK
4700 * config/rx-parse.y (MOV): Opcode generation for index
4701 register addressing mode.
4702 * testsuite/gas/rx/rx.exp: Updated for new testcase.
4703 * testsuite/gas/rx/pr19665.s: New file.
4704 * testsuite/gas/rx/pr19665.s: New file.
4705 * testsuite/gas/rx/mov.d: Update expected output.
4706
804021fb 47072016-02-15 Nick Clifton <nickc@redhat.com>
9fb71ee4
NC
4708
4709 * doc/as.texinfo (.section): Document that numeric values can now
4710 be used for the flags and type fields of the ELF target's .section
4711 directive. Add notes about the restrictions on setting flags and
4712 types.
4713 * config/obj-elf.c (obj_elf_change_section): Allow known sections
4714 to be given processor specific section types. Allow processor and
4715 application specific flags of a section to be set after
4716 definition.
4717 (obj_elf_parse_section_letters): Handle parsing numeric values.
4718 (obj_elf_section_type): Handle parsing numeric values.
4719 (obj_elf_section): Allow numeric type values.
4720 * config/obj-elf.h (obj_elf_change_section): Update prototype.
4721 * testsuite/gas/elf/section10.d: New test.
4722 * testsuite/gas/elf/section10.s: Source file for new test.
4723 * testsuite/gas/elf/elf.exp: Run the new test.
4724 * testsuite/gas/i386/ilp32/x86-64-unwind.d: Remove dependency upon
4725 the description of the flags produced by readelf.
4726 * testsuite/gas/tic6x/scomm-directive-4.d: Likewise.
4727 * NEWS: Mention the new feature.
4728
bd5608dc
NC
47292016-02-11 Nick Clifton <nickc@redhat.com>
4730
4731 PR gas/19614
4732 * dw2gencfi.c (cfi_sections_set): Delay setting this variable
4733 until it is actually used.
4734 (cfi_set_sections): Set cfi_sections_set to true.
4735 (dot_cfi_startproc): Likewise.
4736 (dot_cfi_endproc): Likewise.
4737 (dot_cfi_fde_data): Likewise.
4738 (cfi_finish): Likewise.
4739 (dot_cfi_sections): Do not set cfi_sections_set.
4740 * doc/as.texinfo (.cfi_sections): Note that targets can provide
4741 their own cfi section name. Also note that the directive can be
4742 reissued provided that CFI generation has not started.
4743 * testsuite/gas/mips/compact-eh-err2.s: Add .cfi_startproc and
4744 .cfi_endproc directives so that the redefinition of .cfi_sections
4745 will trigger the generation of the error message.
4746 * testsuite/gas/mips/compact-eh-err2.l: Update expected line
4747 number of error message.
4748
4670103e
CZ
47492016-02-10 Claudiu Zissulescu <claziss@synopsys.com>
4750 Janek van Oirschot <jvanoirs@synopsys.com>
4751
4752 * config/tc-arc.h (TC_FRAG_TYPE, TC_PCREL_ADJUST, MAX_INSN_ARGS)
4753 (MAX_INSN_FLGS, MAX_FLAG_NAME_LENGHT, TC_GENERIC_RELAX_TABLE):
4754 Define.
4755 (arc_flags, arc_relax_type): New structure.
4756 * config/tc-arc.c (FRAG_MAX_GROWTH, RELAX_TABLE_ENTRY)
4757 (RELAX_TABLE_ENTRY_MAX): New define.
4758 (relaxation_state, md_relax_table, arc_relaxable_insns)
4759 (arc_num_relaxable_ins): New variable.
4760 (rlx_operand_type, arc_rlx_types): New enums.
4761 (arc_relaxable_ins): New structure.
4762 (OPTION_RELAX): New option.
4763 (arc_insn): New relax member.
4764 (arc_flags): Remove.
4765 (relax_insn_p): New function.
4766 (apply_fixups): Likewise.
4767 (relaxable_operand): Likewise.
4768 (may_relax_expr): Likewise.
4769 (relaxable_flag): Likewise.
4770 (arc_pcrel_adjust): Likewise.
4771 (md_estimate_size_before_relax): Implement.
4772 (md_convert_frag): Likewise.
4773 (md_parse_option): Handle new mrelax option.
4774 (md_show_usage): Likewise.
4775 (assemble_insn): Set relax member.
4776 (emit_insn0): New function.
4777 (emit_insn1): Likewise.
4778 (emit_insn): Handle relaxation case.
4779 * NEWS: Mention the new relaxation option.
4780 * doc/c-arc.texi (ARC Options): Document new mrelax option.
4781 * doc/as.texinfo (Target ARC Options): Likewise.
4782 * testsuite/gas/arc/relax-avoid1.d: New file.
4783 * testsuite/gas/arc/relax-avoid1.s: Likewise.
4784 * testsuite/gas/arc/relax-avoid2.d: Likewise.
4785 * testsuite/gas/arc/relax-avoid2.s: Likewise.
4786 * testsuite/gas/arc/relax-avoid3.d: Likewise.
4787 * testsuite/gas/arc/relax-avoid3.s: Likewise.
4788 * testsuite/gas/arc/relax-b.d: Likewise.
4789 * testsuite/gas/arc/relax-b.s: Likewise.
4790
9264d325
NC
47912016-02-08 Nick Clifton <nickc@redhat.com>
4792
4793 * config/tc-ia64.c (dot_prologue): Fix formatting.
4794
39306124
NC
47952016-02-04 Nick Clifton <nickc@redhat.com>
4796
4797 * config/obj-elf.c (obj_elf_change_section): Remove support for
4798 ARM NOREAD sections.
4799 * config/tc-arm.c (arm_elf_section_letter): Delete.
4800 * config/tc-arm.h (md_elf_section_letter): Delete.
4801 * doc/c-arm.texi (ARM Section Attribute): Delete section.
4802 * testsuite/gas/arm/section-execute-only.d: Delete.
4803 * testsuite/gas/arm/section-execute-only.s: Delete.
4804
c1d9289f
NC
48052016-02-04 Nick Clifton <nickc@redhat.com>
4806
4807 PR target/19561
4808 * config/tc-msp430.c (msp430_operands): Remove case 7. Use case 2
4809 to handle encoding of RRUX instruction.
4810 * testsuite/gas/msp430/msp430x.s: Add more tests of the extended
4811 shift instructions.
4812 * testsuite/gas/msp430/msp430x.d: Update expected disassembly.
4813
ea173078
MF
48142016-02-03 Max Filippov <jcmvbkbc@gmail.com>
4815
4816 * config/tc-xtensa.c (md_apply_fix): Mark BFD_RELOC_XTENSA_DIFF*
4817 substitutions for BFD_RELOC_* as unsigned.
c1d9289f
NC
4818 * testsuite/gas/xtensa/all.exp: Add loc to list of xtensa tests.
4819 * testsuite/gas/xtensa/loc.d: New file: loc test result patterns.
4820 * testsuite/gas/xtensa/loc.s: New file: loc test.
ea173078 4821
3d8efabf
KB
48222016-02-03 Kevin Buettner <kevinb@redhat.com>
4823
abe051ba 4824 * config/tc-msp430.h (DWARF2_ADDR_SIZE): Set to 4.
3d8efabf 4825
0cb4071e
L
48262016-02-03 H.J. Lu <hongjiu.lu@intel.com>
4827
4828 PR gas/19520
4829 * NEWS: Mention new command line option -mrelax-relocations and
4830 new configure option --enable-x86-relax-relocations for x86
4831 target.
4832 * config.in: Regenerated.
4833 * configure.ac: Add --enable-x86-relax-relocations.
4834 (ac_default_x86_relax_relocations): New. Default to 1 except
4835 for x86 Solaris targets older than Solaris 12.
4836 (DEFAULT_GENERATE_X86_RELAX_RELOCATIONS): Define.
4837 * configure: Likewise.
4838 * config/tc-i386.c (generate_relax_relocations): New.
4839 (OPTION_MRELAX_RELOCATIONS): Likewise.
4840 (output_disp): Don't generate relax relocations if
4841 generate_relax_relocations is 0.
4842 (md_longopts): Add -mrelax-relocations.
4843 (md_show_usage): Likewise.
4844 (md_parse_option): Handle OPTION_MRELAX_RELOCATIONS.
4845 * doc/c-i386.texi: Document -mrelax-relocations=.
4846 * testsuite/gas/i386/got-no-relax.d: New file.
4847 * testsuite/gas/i386/x86-64-gotpcrel-no-relax.d: Likewise.
4848 * testsuite/gas/i386/got.d: Pass -mrelax-relocations=yes to as.
4849 * testsuite/gas/i386/localpic.d: Likewise.
4850 * testsuite/gas/i386/mixed-mode-reloc32.d: Likewise.
4851 * testsuite/gas/i386/reloc32.d: Likewise.
4852 * testsuite/gas/i386/x86-64-gotpcrel.d: Likewise.
4853 * testsuite/gas/i386/x86-64-localpic.d: Likewise.
4854 * testsuite/gas/i386/ilp32/x86-64-gotpcrel.d: Likewise.
4855 * testsuite/gas/i386/ilp32/x86-64-localpic.d: Likewise.
4856 * testsuite/gas/i386/i386.exp: Run got-no-relax and
4857 x86-64-gotpcrel-no-relax.
4858
9d3fc4e1
L
48592016-02-03 H.J. Lu <hongjiu.lu@intel.com>
4860
4861 * NEWS: Mention new command line option -mfence-as-lock-add=yes
4862 for x86 target.
4863
ab71ce86
L
48642016-02-03 H.J. Lu <hongjiu.lu@intel.com>
4865
4866 * NEWS: Remove duplicated marker for 2.26.
4867
46d70d04
RL
48682016-02-02 Renlin Li <renlin.li@arm.com>
4869
4870 * testsuite/gas/arm/thumb2_it_search.d: Skip non-elf targets.
4871
0f99255d
AB
48722016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
4873
4874 * testsuite/gas/ip2k/allinsn.d: New file.
4875 * testsuite/gas/ip2k/allinsn.s: New file.
4876 * testsuite/gas/ip2k/ip2k-allinsn.exp: New file.
4877
5d7a9011
AB
48782016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
4879
4880 * testsuite/gas/epiphany/addr-syntax.d: Add explicit 0 offset to
4881 some load instructions.
4882 * testsuite/gas/epiphany/allinsn.d: Likewise.
4883 * testsuite/gas/epiphany/regression.d: Likewise.
4884
a012b298
AB
48852016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
4886
4887 * testsuite/gas/epiphany/addr-syntax.d: Remove unneeded '.l'
4888 suffixes from instruction mnemonics in expected output.
4889 * testsuite/gas/epiphany/allinsn.d: Likewise.
4890 * testsuite/gas/epiphany/regression.d: Likewise.
4891 * testsuite/gas/epiphany/sample.d: Likewise.
4892
2f74d480
AB
48932016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
4894
4895 * testsuite/gas/epiphany/addr-syntax.d: Update expected register
4896 names.
4897 * testsuite/gas/epiphany/allinsn.d: Likewise.
4898 * testsuite/gas/epiphany/sample.d: Likewise.
4899
b89807c6
AB
49002016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
4901
4902 * testsuite/gas/epiphany/sample.d: Update expected output.
4903
b125bd17
CZ
49042016-01-26 Claudiu Zissulescu <claziss@synopsys.com>
4905
abe051ba
AM
4906 * config/tc-arc.c (md_apply_fix): Allow addendum.
4907 (arc_reloc_op): Allow complex expressions for tpoff.
4908 (md_apply_fix): Handle resolved TLS local symbol.
b125bd17
CZ
4909 * testsuite/gas/arc/tls-relocs1.d: New file.
4910 * testsuite/gas/arc/tls-relocs1.s: Likewise.
4911
4f1d6205
L
49122016-02-01 Loria <Loria@phantasia.org>
4913
4914 PR target/19311
4915 * config/tc-arm.c (encode_arm_immediate): Recode to improve
4916 efficiency and avoid an LLVM loop optimization bug.
4917
ac0d427f
NC
49182016-02-01 Nick Clifton <nickc@redhat.com>
4919
4920 * config/tc-microblaze.c (parse_imm): Fix compile time warning
4921 message extending a negative 32-bit value into a larger signed
4922 value on a 32-bit host.
4923
348ef89a
L
49242016-01-29 H.J. Lu <hongjiu.lu@intel.com>
4925
4926 PR gas/19532
4927 * configure.ac (compressed_debug_sections): Replace == with =.
4928 * configure: Regenerated.
4929
e4e00185
AS
49302016-01-29 Andrew Senkevich <andrew.senkevich@intel.com>
4931 H.J. Lu <hongjiu.lu@intel.com>
4932
4933 * config/tc-i386.c (avoid_fence): New.
4934 (output_insn): Encode as lock addl $0x0, (%{r,e}sp) if avoid_fence
4935 is true.
4936 (OPTION_FENCE_AS_LOCK_ADD): New.
4937 (md_longopts): Add -mfence-as-lock-add.
4938 (md_parse_option): Handle -mfence-as-lock-add.
4939 (md_show_usage): Add -mfence-as-lock-add=[no|yes].
4940 * doc/c-i386.texi (-mfence-as-lock-add): Document.
ac2789d7
L
4941 * testsuite/gas/i386/i386.exp: Run new tests.
4942 * testsuite/gas/i386/fence-as-lock-add.s: New.
4943 * testsuite/gas/i386/fence-as-lock-add-yes.d: Likewise.
4944 * testsuite/gas/i386/fence-as-lock-add-no.d: Likewise.
4945 * testsuite/gas/i386/x86-64-fence-as-lock-add-yes.d: Likewise.
4946 * testsuite/gas/i386/x86-64-fence-as-lock-add-no.d: Likewise.
e4e00185 4947
27ba7c94
L
49482016-01-27 H.J. Lu <hongjiu.lu@intel.com>
4949
4950 * configure.ac (compressed_debug_sections): Remove trailing `]'.
4951 * configure: Regenerated.
4952
d1982f93
L
49532016-01-25 H.J. Lu <hongjiu.lu@intel.com>
4954
4955 * config/tc-i386.c (OPTION_OMIT_LOCK_PREFIX): Renamed to ...
4956 (OPTION_MOMIT_LOCK_PREFIX): This.
4957 (md_longopts): Updated.
4958 (md_parse_option): Likewise.
4959
00acd688
CM
49602016-01-25 Catherine Moore <clm@codesourcery.com>
4961
4962 * config/mips/tc-mips.c (md_begin): Avoid gp-relative addressing
4963 if abicalls are in effect.
4964 * testsuite/gas/mips/sdata-gp.s: New test.
4965 * testsuite/gas/mips/sdata-gp.d: New expected output
4966 * testsuite/gas/mips/mips.exp: Run new test.
4967
5bc5ae88
RL
49682016-01-25 Renlin Li <renlin.li@arm.com>
4969
4970 * testsuite/gas/arm/thumb2_it_search.d: New.
4971 * testsuite/gas/arm/thumb2_it_search.s: New.
4972
61e137e2
NC
49732016-01-21 Nick Clifton <nickc@redhat.com>
4974
4975 PR gas/19454
4976 * testsuite/gas/arm/mapshort-elf.d: Fix expected output to cope
4977 with arm-netbsdelf target.
4978 * testsuite/gas/arm/blx-bl-convert.d: Skip for netbsdelf.
4979
aed5fc75
NC
49802016-01-20 Nick Clifton <nickc@redhat.com>
4981
74b92a5c
NC
4982 PR 19456
4983 * testsuite/gas/arm/weakdef-1.d: Skip for VxWorks.
4984 * testsuite/gas/arm/blx-bl-convert.d
4985 * testsuite/gas/arm/plt-1.d: Likewise.
4986 * testsuite/gas/arm/reloc-bad.d: Likewise.
4987 * testsuite/gas/arm/thumb-w-good.d: Likewise.
4988 * testsuite/gas/arm/thumb2_pool.d: Likewise.
4989 * testsuite/gas/arm/ldconst.d: Adjust so that it works with VxWorks
4990 * testsuite/gas/arm/tls_vxworks.d: Update expected output.
4991
72e0b254
NC
4992 PR 19499
4993 * doc/as.texinfo (Errors): Correct documentation describing the
4994 interaction of .file and .line with warning and error messages.
4995
aed5fc75
NC
4996 PR 19458
4997 * testsuite/gas/arm/armv8_2-a.d: Skip for COFF based targets.
4998 * testsuite/gas/arm/archv8m-main.d: Likewise.
4999 * testsuite/gas/arm/archv8m-base.d: Likewise.
5000
0bff6e2d
MW
50012016-01-20 Matthew Wahab <matthew.wahab@arm.com>
5002
5003 * testsuite/gas/aarch64/armv8_2-a-illegal.d: New.
5004 * testsuite/gas/aarch64/armv8_2-a-illegal.l: New.
5005 * testsuite/gas/aarch64/armv8_2-a-illegal.s: New.
5006
91f68a68
MG
50072016-01-20 Mickael Guene <mickael.guene@st.com>
5008 Terry Guo <terry.guo@arm.com>
5009
5010 * config/obj-elf.c (obj_elf_change_section) : Allow arm section with
5011 SHF_ARM_NOREAD section flag.
5012 * config/tc-arm.h (md_elf_section_letter) : Implement this hook to
5013 handle letter 'y'.
5014 (arm_elf_section_letter) : Declare it.
5015 * config/tc-arm.c (arm_elf_section_letter): Handle letter 'y' to set
5016 SHF_ARM_NOREAD section flag.
5017 * doc/c-arm.texi (ARM section attribute): Document the 'y' attribute.
5018
5019 * testsuite/gas/arm/section-execute-only.s: New test case.
5020 * testsuite/gas/arm/section-execute-only.d: Expected output.
5021
100b4f2e
MR
50222016-01-18 Maciej W. Rozycki <macro@imgtec.com>
5023
5024 * config/tc-mips.c (micromips_insn_length): Remove the mention
5025 of 48-bit microMIPS instructions.
5026
3d961d0d
AM
50272016-01-18 Alan Modra <amodra@gmail.com>
5028
5029 * configure: Regenerate.
5030
5c14705f
AM
50312016-01-17 Alan Modra <amodra@gmail.com>
5032
5033 * configure: Regenerate.
5034
b3066ae8
AM
50352016-01-17 Alan Modra <amodra@gmail.com>
5036
5037 * testsuite/gas/cfi/cfi.exp: Exclude m68hc11/12 from m68k test.
5038
4d82fe66
NC
50392016-01-14 Nick Clifton <nickc@redhat.com>
5040
5041 * testsuite/gas/rl78/sp-relative-movw.s: New test.
5042 * testsuite/gas/rl78/sp-relative-movw.d: Expected disassembly.
5043 * testsuite/gas/rl78/rl78.exp: Run the new test.
5044
651657fa
MW
50452016-01-14 Matthew Wahab <matthew.wahab@arm.com>
5046
5047 * testsuite/gas/aarch64/illegal-sysreg-2.l: New.
5048 * testsuite/gas/aarch64/illegal-sysreg-2.d: New.
5049
3facb0e9
MR
50502016-01-13 Maciej W. Rozycki <macro@imgtec.com>
5051
5052 * config/tc-nios2.c (output_movia): Preset `code' to 0.
5053
8a4c2869
YS
50542016-01-13 Yoshinori Sato <ysato@users.sourceforge.jp>
5055
5056 * config/tc-h8300.c (get_operand): Remove spurious condition in
5057 test for closing parenthesis.
5058
105bde57
MW
50592016-01-12 Matthew Wahab <matthew.wahab@arm.com>
5060
5061 * config/tc-arm.c (arm_ext_v8_2): New.
5062 (insns): Add "esb".
5063 * testsuite/gas/arm/armv8_2-a.d: New.
5064 * testsuite/gas/arm/armv8_2-a.s: New.
5065
5230aa4d
AM
50662016-01-12 Alan Modra <amodra@gmail.com>
5067
5068 * testsuite/gas/ppc/vsx3.d: Accept nop padding.
5069
afa8d405
PB
50702016-01-11 Peter Bergner <bergner@vnet.ibm.com>
5071
5072 * testsuite/gas/ppc/power9.d <xscmpnedp, xvcmpnedp, xvcmpnedp.,
5073 xvcmpnesp, xvcmpnesp.>: Delete tests.
5074 * testsuite/gas/ppc/power9.s: Likewise.
5075 * testsuite/gas/ppc/vsx3.d: Likewise.
5076 * testsuite/gas/ppc/vsx3.s: Likewise.
5077
83c3256e
AS
50782016-01-08 Andreas Schwab <schwab@linux-m68k.org>
5079
5080 PR gas/13050
5081 * testsuite/gas/m68k/all.exp: Add tests p13050-1 and p13050-2.
5082 * testsuite/gas/m68k/p13050-1.s: New file.
5083 * testsuite/gas/m68k/p13050-2.d: New file.
5084 * testsuite/gas/m68k/p13050-2.s: New file.
5085
b05a65d0
AB
50862016-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
5087
5088 * testsuite/gas/arc/adc.d: Add 'R_' prefix to relocation names.
5089 * testsuite/gas/arc/add.d: Likewise.
5090 * testsuite/gas/arc/and.d: Likewise.
5091 * testsuite/gas/arc/asl.d: Likewise.
5092 * testsuite/gas/arc/asr.d: Likewise.
5093 * testsuite/gas/arc/bic.d: Likewise.
5094 * testsuite/gas/arc/extb.d: Likewise.
5095 * testsuite/gas/arc/extw.d: Likewise.
5096 * testsuite/gas/arc/j.d: Likewise.
5097 * testsuite/gas/arc/jl.d: Likewise.
5098 * testsuite/gas/arc/ld2.d: Likewise.
5099 * testsuite/gas/arc/lsr.d: Likewise.
5100 * testsuite/gas/arc/mov.d: Likewise.
5101 * testsuite/gas/arc/or.d: Likewise.
5102 * testsuite/gas/arc/pcl-relocs.d: Likewise.
5103 * testsuite/gas/arc/pcrel-relocs.d: Likewise.
5104 * testsuite/gas/arc/pic-relocs.d: Likewise.
5105 * testsuite/gas/arc/plt-relocs.d: Likewise.
5106 * testsuite/gas/arc/rlc.d: Likewise.
5107 * testsuite/gas/arc/ror.d: Likewise.
5108 * testsuite/gas/arc/rrc.d: Likewise.
5109 * testsuite/gas/arc/sbc.d: Likewise.
5110 * testsuite/gas/arc/sda-relocs.d: Likewise.
5111 * testsuite/gas/arc/sda-relocs2.d: Likewise.
5112 * testsuite/gas/arc/sexb.d: Likewise.
5113 * testsuite/gas/arc/sexw.d: Likewise.
5114 * testsuite/gas/arc/st.d: Likewise.
5115 * testsuite/gas/arc/sub.d: Likewise.
5116 * testsuite/gas/arc/tls-relocs.d: Likewise.
5117 * testsuite/gas/arc/xor.d: Likewise.
5118
6f2750fe
AM
51192016-01-01 Alan Modra <amodra@gmail.com>
5120
5121 Update year range in copyright notice of all files.
5122
3499769a
AM
5123For older changes see ChangeLog-2015 and testsuite/ChangeLog-2015
5124\f
5125Copyright (C) 2016 Free Software Foundation, Inc.
5126
5127Copying and distribution of this file, with or without modification,
5128are permitted in any medium without royalty provided the copyright
5129notice and this notice are preserved.
5130
5131Local Variables:
5132mode: change-log
5133left-margin: 8
5134fill-column: 74
5135version-control: never
5136End:
This page took 0.326193 seconds and 4 git commands to generate.