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