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