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