S/390: Fix kmctr instruction type.
[deliverable/binutils-gdb.git] / gas / ChangeLog
CommitLineData
8b71537b
PS
12016-09-12 Patrick Steuer <steuer@linux.vnet.ibm.com>
2
3 * testsuite/gas/s390/zarch-z196.d: Adjust testcase.
4
8d471ec1
L
52016-09-08 H.J. Lu <hongjiu.lu@intel.com>
6
7 * config/tc-i386.c (i386_target_format): Allow PROCESSOR_IAMCU
8 for Intel MCU.
9
5b64d091
L
102016-09-07 H.J. Lu <hongjiu.lu@intel.com>
11
12 * config/tc-i386.c (valid_iamcu_cpu_flags): Removed.
13 (set_cpu_arch): Updated.
14 (md_parse_option): Likewise.
15 * testsuite/gas/i386/i386.exp: Run iamcu-4 and iamcu-5. Remove
16 iamcu-inval-2 and iamcu-inval-3.
17 * testsuite/gas/i386/iamcu-4.d: New file.
18 * testsuite/gas/i386/iamcu-4.s: Likewise.
19 * testsuite/gas/i386/iamcu-5.d: Likewise.
20 * testsuite/gas/i386/iamcu-5.s: Likewise.
21 * testsuite/gas/i386/iamcu-inval-2.l: Removed.
22 * testsuite/gas/i386/iamcu-inval-2.s: Likewise.
23 * testsuite/gas/i386/iamcu-inval-3.l: Likewise.
24 * testsuite/gas/i386/iamcu-inval-3.s: Likewise.
25
27e5a270
RE
262016-09-07 Richard Earnshaw <rearnsha@arm.com>
27
28 * config/tc-arm.c ((arm_cpus): Use ARM_ARCH_V8A_CRC for all
29 ARMv8-A CPUs except xgene1.
30
f7d69005
AM
312016-08-31 Alan Modra <amodra@gmail.com>
32
33 * config/tc-ppc.c (md_assemble): Set sh_flags for VLE. Test
34 ppc_cpu rather than calling ppc_mach to determine VLE mode.
35 (ppc_frag_check, ppc_handle_align): Likewise use ppc_cpu.
36
1b8b6532
JM
372016-08-26 Jose E. Marchesi <jose.marchesi@oracle.com>
38
39 * testsuite/gas/sparc/crypto.d: Rename invalid opcode camellia_fi
40 to camellia_fl.
41 * testsuite/gas/sparc/crypto.s: Likewise.
42
1a336194
TP
432016-08-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
44
45 * config/tc-arm.c (v7m_psrs): Add MSPLIM, PSPLIM, MSPLIM_NS,
46 PSPLIM_NS, PRIMASK_NS, BASEPRI_NS, FAULTMASK_NS, CONTROL_NS, SP_NS and
47 their lowecase counterpart special registers. Write register
48 identifier in hex.
49 * testsuite/gas/arm/archv8m-cmse-msr.s: Reorganize tests per
50 operation, special register and then case. Use different register for
51 each operation. Add tests for new special registers.
52 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Adapt expected result
53 accordingly.
54 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
55 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
56
c4dd0ba2
TP
572016-08-25 Thomas Preud'homme <thomas.preudhomme@arm.com>
58
59 * config/tc-arm.c (v7m_psrs): Remove msp_s, MSP_S, psp_s and PSP_S
60 special registers.
61 * testsuite/gas/arm/archv8m-cmse-msr.s: Remove test for above special
62 registers.
63 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Likewise.
64 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
65 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
66
6b40c462
L
672016-08-24 H.J. Lu <hongjiu.lu@intel.com>
68
69 * config/tc-i386.c (cpu_arch): Add .ptwrite.
70 * doc/c-i386.texi: Document ptwrite and .ptwrite.
71 * testsuite/gas/i386/i386.exp: Run ptwrite, ptwrite-intel,
72 x86-64-ptwrite and x86-64-ptwrite-intel.
73 * testsuite/gas/i386/ptwrite-intel.d: New file.
74 * testsuite/gas/i386/ptwrite.d: Likewise.
75 * testsuite/gas/i386/ptwrite.s: Likewise.
76 * testsuite/gas/i386/x86-64-ptwrite-intel.d: Likewise.
77 * testsuite/gas/i386/x86-64-ptwrite.d: Likewise.
78 * testsuite/gas/i386/x86-64-ptwrite.s: Likewise.
79
873f10f0
TC
802016-08-19 Tamar Christina <tamar.christina@arm.com>
81
82 * config/tc-arm.c (do_co_reg2c): Added constraint.
83 * testsuite/gas/arm/dest-unpredictable.s: New.
84 * testsuite/gas/arm/dest-unpredictable.l: New.
85 * testsuite/gas/arm/dest-unpredictable.d: New.
86
dd905818
NC
872016-08-19 Nick Clifton <nickc@redhat.com>
88
89 * testsuite/gas/i386/ilp32/x86-64-unwind.d: Adjust expected
90 ordering of sections.
91 * testsuite/gas/i386/x86-64-unwind.d: Likewise.
92 * testsuite/gas/ia64/alias-ilp32.d: Likewise.
93 * testsuite/gas/ia64/alias.d: Likewise.
94 * testsuite/gas/ia64/group-1.d: Likewise.
95 * testsuite/gas/ia64/group-2.d: Likewise.
96 * testsuite/gas/ia64/secname-ilp32.d: Likewise.
97 * testsuite/gas/ia64/secname.d: Likewise.
98 * testsuite/gas/ia64/unwind-ilp32.d: Likewise.
99 * testsuite/gas/ia64/unwind.d: Likewise.
100 * testsuite/gas/ia64/xdata-ilp32.d: Likewise.
101 * testsuite/gas/ia64/xdata.d: Likewise.
102 * testsuite/gas/mmix/bspec-1.d: Likewise.
103 * testsuite/gas/mmix/bspec-2.d: Likewise.
104 * testsuite/gas/mmix/byte-1.d: Likewise.
105 * testsuite/gas/mmix/loc-1.d: Likewise.
106 * testsuite/gas/mmix/loc-2.d: Likewise.
107 * testsuite/gas/mmix/loc-3.d: Likewise.
108 * testsuite/gas/mmix/loc-4.d: Likewise.
109 * testsuite/gas/mmix/loc-5.d: Likewise.
110 * testsuite/gas/tic6x/scomm-directive-4.d: Likewise.
111
dbd8770c
RS
1122016-08-11 Richard Sandiford <richard.sandiford@arm.com>
113
114 * config/tc-aarch64.c (parse_aarch64_imm_float): Reject -0.0.
115 * testsuite/gas/aarch64/illegal.s, testsuite/gas/aarch64/illegal.l:
116 Add tests for -0.0. Add an end-of-file comment.
117
7ea12e5c
NC
1182016-08-05 Nick Clifton <nickc@redhat.com>
119
b126985e
NC
120 PR gas/20429
121 * config/tc-arm.c (do_vfp_nsyn_push): Check that no more than 16
122 registers are pushed.
123 (do_vfp_nsyn_pop): Check that no more than 16 registers are
124 popped.
125 * testsuite/gas/arm/pr20429.s: New test.
126 * testsuite/gas/arm/pr20429.d: New test driver.
127 * testsuite/gas/arm/pr20429.1: Expected error output.
128
7ea12e5c
NC
129 PR gas/20364
130 * config/tc-aarch64.c (s_ltorg): Change the mapping state after
131 aligning the frag.
132 (aarch64_init): Treat rs_align frags in code sections as
133 containing code, not data.
134 * testsuite/gas/aarch64/pr20364.s: New test.
135 * testsuite/gas/aarch64/pr20364.d: New test driver.
136
02442566
ST
1372016-08-04 Stefan Trleman <stefan.teleman@oracle.com>
138
139 PR gas/20427
140 * config/tc-sparc.c (cons_fix_new_sparc): Prevent the generation
141 of 64-bit relocation types when assembling for a 32-bit Solaris
142 target.
143
c88960d0
JM
1442016-07-27 Jose E. Marchesi <jose.marchesi@oracle.com>
145
146 * testsuite/gas/sparc/sparc.exp: Use is_elf_format to discriminate
147 ELF targets.
148 Run natural, natural-32, pr4587, ticc-imm-reg, v8-movwr-imm,
149 pause, save-args, cbcond, cfr, crypto edge, flush, hpcvis3, ima,
150 ld_st_fsr, ldtw_sttw, ldd_std, ldx_stx, ldx_efsr, mwait, mcdper,
151 sparc5vis4, xcrypto, v9branch1 and imm-plus-rreg only in ELF
152 targets.
153 (sparc_elf_setup): Delete.
154 * testsuite/gas/sparc/save-args.d: Fix a copy-paste typo in the
155 test's #name entry.
156
7bd374a4
MR
1572016-07-27 Maciej W. Rozycki <macro@imgtec.com>
158
159 * config/tc-mips.c (RELAX_MICROMIPS_ENCODE): Add `nods' flag.
160 (RELAX_MICROMIPS_RELAX32, RELAX_MICROMIPS_TOOFAR16)
161 (RELAX_MICROMIPS_MARK_TOOFAR16, RELAX_MICROMIPS_CLEAR_TOOFAR16)
162 (RELAX_MICROMIPS_TOOFAR32, RELAX_MICROMIPS_MARK_TOOFAR32)
163 (RELAX_MICROMIPS_CLEAR_TOOFAR32): Shift bits.
164 (get_append_method): Also return APPEND_ADD_COMPACT for
165 microMIPS instructions.
166 (find_altered_mips16_opcode): Exclude macros from matching.
167 Factor code out...
168 (find_altered_opcode): ... to this new function.
169 (find_altered_micromips_opcode): New function.
170 (frag_branch_delay_slot_size): Likewise.
171 (append_insn): Handle microMIPS branch/jump compaction.
172 (macro_start): Likewise.
173 (relaxed_micromips_32bit_branch_length): Likewise.
174 (md_convert_frag): Likewise.
175 * testsuite/gas/mips/micromips.s: Add conditional explicit NOPs
176 for delay slot filling.
177 * testsuite/gas/mips/micromips-b16.s: Add explicit NOPs for
178 delay slot filling.
179 * testsuite/gas/mips/micromips-size-1.s: Likewise.
180 * testsuite/gas/mips/micromips.l: Adjust line numbers.
181 * testsuite/gas/mips/micromips-warn.l: Likewise.
182 * testsuite/gas/mips/micromips-size-1.l: Likewise.
183 * testsuite/gas/mips/micromips.d: Adjust padding.
184 * testsuite/gas/mips/micromips-trap.d: Likewise.
185 * testsuite/gas/mips/micromips-insn32.d: Likewise.
186 * testsuite/gas/mips/micromips-noinsn32.d: Likewise.
187 * testsuite/gas/mips/micromips@beq.d: Update patterns for
188 branch/jump compaction.
189 * testsuite/gas/mips/micromips@bge.d: Likewise.
190 * testsuite/gas/mips/micromips@bgeu.d: Likewise.
191 * testsuite/gas/mips/micromips@blt.d: Likewise.
192 * testsuite/gas/mips/micromips@bltu.d: Likewise.
193 * testsuite/gas/mips/micromips@branch-misc-4.d: Likewise.
194 * testsuite/gas/mips/micromips@branch-misc-4-64.d: Likewise.
195 * testsuite/gas/mips/micromips@branch-misc-5.d: Likewise.
196 * testsuite/gas/mips/micromips@branch-misc-5pic.d: Likewise.
197 * testsuite/gas/mips/micromips@branch-misc-5-64.d: Likewise.
198 * testsuite/gas/mips/micromips@branch-misc-5pic-64.d: Likewise.
199 * testsuite/gas/mips/micromips@jal-svr4pic-local.d: Likewise.
200 * testsuite/gas/mips/micromips@jal-svr4pic-local-n32.d:
201 Likewise.
202 * testsuite/gas/mips/micromips@jal-svr4pic-local-n64.d:
203 Likewise.
204 * testsuite/gas/mips/micromips@loc-swap.d: Likewise.
205 * testsuite/gas/mips/micromips@loc-swap-dis.d: Likewise.
206 * testsuite/gas/mips/micromips@relax.d: Likewise.
207 * testsuite/gas/mips/micromips@relax-at.d: Likewise.
208 * testsuite/gas/mips/micromips@relax-swap3.d: Likewise.
209 * testsuite/gas/mips/branch-extern-2.d: Likewise.
210 * testsuite/gas/mips/branch-extern-4.d: Likewise.
211 * testsuite/gas/mips/branch-section-2.d: Likewise.
212 * testsuite/gas/mips/branch-section-4.d: Likewise.
213 * testsuite/gas/mips/branch-weak-2.d: Likewise.
214 * testsuite/gas/mips/branch-weak-5.d: Likewise.
215 * testsuite/gas/mips/micromips-branch-absolute.d: Likewise.
216 * testsuite/gas/mips/micromips-branch-absolute-n32.d: Likewise.
217 * testsuite/gas/mips/micromips-branch-absolute-n64.d: Likewise.
218 * testsuite/gas/mips/micromips-branch-absolute-addend.d:
219 Likewise.
220 * testsuite/gas/mips/micromips-branch-absolute-addend-n32.d:
221 Likewise.
222 * testsuite/gas/mips/micromips-branch-absolute-addend-n64.d:
223 Likewise.
224 * testsuite/gas/mips/micromips-compact.d: New test.
225 * testsuite/gas/mips/mips.exp: Run the new test.
226
db18dbab
GM
2272016-07-27 Graham Markall <graham.markall@embecosm.com>
228
229 * config/tc-arc.c: Add new global arc_addrtype_hash.
230 Define O_colon and O_addrtype.
231 (debug_exp): Add O_colon and O_addrtype.
232 (tokenize_arguments): Handle colon and address type
233 tokens.
234 (declare_addrtype): New function.
235 (md_begin): Initialise arc_addrtype_hash.
236 (arc_parse_name): Add lookup of address types.
237 (assemble_insn): Handle colons and address types by
238 ignoring them.
239 * testsuite/gas/arc/nps400-8.s: New file.
240 * testsuite/gas/arc/nps400-8.d: New file.
241 * testsuite/gas/arc/nps400-8.s: Add PMU instruction tests.
242 * testsuite/gas/arc/nps400-8.d: Add expected PMU
243 instruction output.
244
8484fb75
MR
2452016-07-26 Maciej W. Rozycki <macro@imgtec.com>
246
247 * config/tc-mips.c (RELAX_MICROMIPS_ENCODE): Add `insn32' flag.
248 (RELAX_MICROMIPS_INSN32): New macro.
249 (RELAX_MICROMIPS_UNCOND, RELAX_MICROMIPS_COMPACT)
250 (RELAX_MICROMIPS_LINK, RELAX_MICROMIPS_RELAX32)
251 (RELAX_MICROMIPS_TOOFAR16, RELAX_MICROMIPS_MARK_TOOFAR16)
252 (RELAX_MICROMIPS_CLEAR_TOOFAR16, RELAX_MICROMIPS_TOOFAR32)
253 (RELAX_MICROMIPS_MARK_TOOFAR32, RELAX_MICROMIPS_CLEAR_TOOFAR32):
254 Shift bits.
255 (append_insn): Record `mips_opts.insn32' with relaxed microMIPS
256 branches.
257 (relaxed_micromips_32bit_branch_length): Handle the `insn32'
258 mode.
259 (md_convert_frag): Likewise.
260 * testsuite/gas/mips/micromips-branch-relax.s: Add `insn32'
261 conditionals.
262 * testsuite/gas/mips/micromips-branch-relax.l: Update line
263 numbers accordingly.
264 * testsuite/gas/mips/micromips-branch-relax-pic.l: Likewise.
265 * testsuite/gas/mips/micromips-branch-relax-insn32.d: New test.
266 * testsuite/gas/mips/micromips-branch-relax-insn32-pic.d: New
267 test.
268 * testsuite/gas/mips/micromips-branch-relax-insn32.l: New
269 stderr output.
270 * testsuite/gas/mips/micromips-branch-relax-insn32-pic.l: New
271 stderr output.
272 * testsuite/gas/mips/mips.exp: Run the new tests.
273
fecd57f9
L
2742016-07-21 H.J. Lu <hongjiu.lu@intel.com>
275
276 * configure: Regenerated.
277
37fd5ef3
CZ
2782016-07-20 Claudiu Zissulescu <claziss@synopsys.com>
279
280 * testsuite/gas/arc/dsp.d: New file.
281 * testsuite/gas/arc/dsp.s: Likewise.
282 * testsuite/gas/arc/fpu.d: Likewise.
283 * testsuite/gas/arc/fpu.s: Likewise.
284 * testsuite/gas/arc/ext2op.d: Add specific disassembler option.
285 * testsuite/gas/arc/ext3op.d: Likewise.
286 * testsuite/gas/arc/tdpfp.d: Likewise.
287 * testsuite/gas/arc/tfpuda.d: Likewise.
288
5caa2b07
MR
2892016-07-20 Maciej W. Rozycki <macro@imgtec.com>
290
291 * config/tc-mips.c (mips_force_relocation): Remove
292 R_MIPS_PC26_S2 and R_MIPS_PC21_S2.
293
a6ebf616
MR
2942016-07-19 Maciej W. Rozycki <macro@imgtec.com>
295
296 * config/tc-mips.c (mips_force_relocation, mips_fix_adjustable):
297 Adjust comments for BAL to JALX linker conversion.
298 (fix_bad_cross_mode_branch_p): Accept cross-mode BAL.
299 * testsuite/gas/mips/unaligned-branch-1.l: Update error messages
300 expected.
301 * testsuite/gas/mips/unaligned-branch-micromips-1.l: Likewise.
302 * testsuite/gas/mips/branch-local-4.d: New test.
303 * testsuite/gas/mips/branch-local-n32-4.d: New test.
304 * testsuite/gas/mips/branch-local-n64-4.d: New test.
305 * testsuite/gas/mips/branch-addend.d: New test.
306 * testsuite/gas/mips/branch-addend-n32.d: New test.
307 * testsuite/gas/mips/branch-addend-n64.d: New test.
308 * testsuite/gas/mips/branch-local-4.s: New test source.
309 * testsuite/gas/mips/branch-addend.s: New test source.
310 * testsuite/gas/mips/mips.exp: Run the new tests.
311
9d862524
MR
3122016-07-19 Maciej W. Rozycki <macro@imgtec.com>
313
314 * config/tc-mips.c (mips_force_relocation): Also retain branch
315 relocations against MIPS16 and microMIPS symbols.
316 (fix_bad_cross_mode_jump_p): New function.
317 (fix_bad_same_mode_jalx_p): Likewise.
318 (fix_bad_misaligned_jump_p): Likewise.
319 (fix_bad_cross_mode_branch_p): Likewise.
320 (fix_bad_misaligned_branch_p): Likewise.
321 (fix_validate_branch): Likewise.
322 (md_apply_fix) <BFD_RELOC_MIPS_JMP, BFD_RELOC_MIPS16_JMP>
323 <BFD_RELOC_MICROMIPS_JMP>: Separate from BFD_RELOC_MIPS_SHIFT5,
324 etc. Verify the ISA mode and alignment of the jump target.
325 <BFD_RELOC_MIPS_21_PCREL_S2>: Replace the inline alignment check
326 with a call to `fix_validate_branch'.
327 <BFD_RELOC_MIPS_26_PCREL_S2>: Likewise.
328 <BFD_RELOC_16_PCREL_S2>: Likewise.
329 <BFD_RELOC_MICROMIPS_7_PCREL_S1, BFD_RELOC_MICROMIPS_10_PCREL_S1>
330 <BFD_RELOC_MICROMIPS_16_PCREL_S1>: Retain the original addend.
331 Verify the ISA mode and alignment of the branch target.
332 (md_convert_frag): Verify the ISA mode and alignment of resolved
333 MIPS16 branch targets.
334 * testsuite/gas/mips/branch-misc-1.s: Annotate non-instruction
335 branch targets with `.insn'.
336 * testsuite/gas/mips/branch-misc-5.s: Likewise.
337 * testsuite/gas/mips/micromips@branch-misc-5-64.d: Update
338 accordingly.
339 * testsuite/gas/mips/micromips@branch-misc-5pic-64.d: Likewise.
340 * testsuite/gas/mips/micromips-branch-relax.s: Annotate
341 non-instruction branch target with `.insn'.
342 * testsuite/gas/mips/micromips.s: Replace microMIPS JALX targets
343 with external symbols.
344 * testsuite/gas/mips/micromips-insn32.d: Update accordingly.
345 * testsuite/gas/mips/micromips-noinsn32.d: Likewise.
346 * testsuite/gas/mips/micromips-trap.d: Likewise.
347 * testsuite/gas/mips/micromips.d: Likewise.
348 * testsuite/gas/mips/mips16.s: Annotate non-instruction branch
349 targets with `.insn'.
350 * testsuite/gas/mips/mips16.d: Update accordingly.
351 * testsuite/gas/mips/mips16-64.d: Likewise.
352 * testsuite/gas/mips/mips16-dwarf2.s: Annotate non-instruction
353 branch target with `.insn'.
354 * testsuite/gas/mips/relax-swap3.s: Likewise.
355 * testsuite/gas/mips/branch-local-2.l: New list test.
356 * testsuite/gas/mips/branch-local-3.l: New list test.
357 * testsuite/gas/mips/branch-local-n32-2.l: New list test.
358 * testsuite/gas/mips/branch-local-n32-3.l: New list test.
359 * testsuite/gas/mips/branch-local-n64-2.l: New list test.
360 * testsuite/gas/mips/branch-local-n64-3.l: New list test.
361 * testsuite/gas/mips/unaligned-jump-1.l: New list test.
362 * testsuite/gas/mips/unaligned-jump-2.l: New list test.
363 * testsuite/gas/mips/unaligned-jump-3.d: New test.
364 * testsuite/gas/mips/unaligned-jump-mips16-1.l: New list test.
365 * testsuite/gas/mips/unaligned-jump-mips16-2.l: New list test.
366 * testsuite/gas/mips/unaligned-jump-mips16-3.d: New test.
367 * testsuite/gas/mips/unaligned-jump-micromips-1.l: New list
368 test.
369 * testsuite/gas/mips/unaligned-jump-micromips-2.l: New list
370 test.
371 * testsuite/gas/mips/unaligned-jump-micromips-3.d: New test.
372 * testsuite/gas/mips/unaligned-branch-1.l: New list test.
373 * testsuite/gas/mips/unaligned-branch-2.l: New list test.
374 * testsuite/gas/mips/unaligned-branch-3.d: New test.
375 * testsuite/gas/mips/unaligned-branch-r6-1.l: New list test.
376 * testsuite/gas/mips/unaligned-branch-r6-2.l: New list test.
377 * testsuite/gas/mips/unaligned-branch-r6-3.l: New list test.
378 * testsuite/gas/mips/unaligned-branch-r6-4.l: New list test.
379 * testsuite/gas/mips/unaligned-branch-r6-5.d: New test.
380 * testsuite/gas/mips/unaligned-branch-r6-6.d: New test.
381 * testsuite/gas/mips/unaligned-branch-mips16-1.l: New list test.
382 * testsuite/gas/mips/unaligned-branch-mips16-2.l: New list test.
383 * testsuite/gas/mips/unaligned-branch-mips16-3.d: New test.
384 * testsuite/gas/mips/unaligned-branch-micromips-1.l: New list
385 test.
386 * testsuite/gas/mips/unaligned-branch-micromips-2.l: New list
387 test.
388 * testsuite/gas/mips/unaligned-branch-micromips-3.d: New test.
389 * testsuite/gas/mips/branch-local-2.s: New test source.
390 * testsuite/gas/mips/branch-local-3.s: New test source.
391 * testsuite/gas/mips/branch-local-n32-2.s: New test source.
392 * testsuite/gas/mips/branch-local-n32-3.s: New test source.
393 * testsuite/gas/mips/branch-local-n64-2.s: New test source.
394 * testsuite/gas/mips/branch-local-n64-3.s: New test source.
395 * testsuite/gas/mips/unaligned-jump-1.s: New test source.
396 * testsuite/gas/mips/unaligned-jump-2.s: New test source.
397 * testsuite/gas/mips/unaligned-jump-mips16-1.s: New test source.
398 * testsuite/gas/mips/unaligned-jump-mips16-2.s: New test source.
399 * testsuite/gas/mips/unaligned-jump-micromips-1.s: New test
400 source.
401 * testsuite/gas/mips/unaligned-jump-micromips-2.s: New test
402 source.
403 * testsuite/gas/mips/unaligned-branch-1.s: New test source.
404 * testsuite/gas/mips/unaligned-branch-2.s: New test source.
405 * testsuite/gas/mips/unaligned-branch-r6-1.s: New test source.
406 * testsuite/gas/mips/unaligned-branch-r6-2.s: New test source.
407 * testsuite/gas/mips/unaligned-branch-r6-3.s: New test source.
408 * testsuite/gas/mips/unaligned-branch-r6-4.s: New test source.
409 * testsuite/gas/mips/unaligned-branch-mips16-1.s: New test
410 source.
411 * testsuite/gas/mips/unaligned-branch-mips16-2.s: New test
412 source.
413 * testsuite/gas/mips/unaligned-branch-micromips-1.s: New test
414 source.
415 * testsuite/gas/mips/unaligned-branch-micromips-2.s: New test
416 source.
417 * testsuite/gas/mips/mips.exp: Run the new tests.
418
065251a0
TS
4192016-07-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
420
421 * config/tc-nds32.c (struct nds32_pseudo_opcode): Make pseudo_val
422 unsigned int.
423 (do_pseudo_b): Adjust.
424 (do_pseudo_bal): Likewise.
425 (do_pseudo_bge): Likewise.
426 (do_pseudo_bges): Likewise.
427 (do_pseudo_bgt): Likewise.
428 (do_pseudo_bgts): Likewise.
429 (do_pseudo_ble): Likewise.
430 (do_pseudo_bles): Likewise.
431 (do_pseudo_blt): Likewise.
432 (do_pseudo_blts): Likewise.
433 (do_pseudo_br): Likewise.
434 (do_pseudo_bral): Likewise.
435 (do_pseudo_la): Likewise.
436 (do_pseudo_li): Likewise.
437 (do_pseudo_ls_bhw): Likewise.
438 (do_pseudo_ls_bhwp): Likewise.
439 (do_pseudo_ls_bhwpc): Likewise.
440 (do_pseudo_ls_bhwi): Likewise.
441 (do_pseudo_move): Likewise.
442 (do_pseudo_neg): Likewise.
443 (do_pseudo_not): Likewise.
444 (do_pseudo_pushpopm): Likewise.
445 (do_pseudo_pushpop): Likewise.
446 (do_pseudo_v3push): Likewise.
447 (do_pseudo_v3pop): Likewise.
448 (do_pseudo_pushpop_stack): Likewise.
449 (do_pseudo_push_bhwd): Likewise.
450 (do_pseudo_pop_bhwd): Likewise.
451 (do_pseudo_pusha): Likewise.
452 (do_pseudo_pushi): Likewise.
453
9bceab41
TS
4542016-07-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
455
456 * config/tc-sparc.c (struct pop_entry): Make the type of reloc
457 bfd_reloc_code_real_type.
458
cf80913a
TS
4592016-07-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
460
461 * config/tc-sparc.c (pop_table): Remove sentinel.
462 (NUM_PERC_ENTRIES): Use ARRAY_SIZE on pop_table.
463 (md_begin): Adjust.
464
35fec4ff
TS
4652016-07-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
466
467 * config/tc-z8k.c (newfix): Make type of type argument
468 bfd_reloc_code_real_type.
469 (apply_fix): Likewise.
470
00dad9a4
AM
4712016-07-16 Alan Modra <amodra@gmail.com>
472
473 * config/tc-epiphany.c: Don't include libbfd.h.
474 * config/tc-frv.c: Likewise.
475 * config/tc-ip2k.c: Likewise.
476 * config/tc-iq2000.c: Likewise.
477 * config/tc-m32c.c: Likewise.
478 * config/tc-mep.c: Likewise.
479 * config/tc-mt.c: Likewise.
480 * config/tc-nios2.c: Likewise.
481
76e7a751
AM
4822016-07-16 Alan Modra <amodra@gmail.com>
483
484 * config/bfin-parse.y: Don't include libbfd.h.
485 * config/tc-bfin.c: Likewise.
486 * config/tc-rl78.c: Likewise.
487 * config/tc-rx.c: Likewise.
488 * config/tc-metag.c: Likewise.
489 (create_dspreg_htabs, create_scond_htab): Use gas_assert not BFD_ASSERT.
490 * Makefile.am: Update dependencies.
491 * Makefile.in: Regenerate.
492
b416ba9b
MR
4932016-07-14 Maciej W. Rozycki <macro@imgtec.com>
494
495 * config/tc-mips.h (TC_FORCE_RELOCATION_ABS): New macro.
496 (mips_force_relocation_abs): New prototype.
497 * config/tc-mips.c (mips_force_relocation_abs): New function.
498 * testsuite/gas/mips/branch-absolute.d: Adjust dump patterns.
499 * testsuite/gas/mips/mips16-branch-absolute.d: Likewise.
500 * testsuite/gas/mips/micromips-branch-absolute-n32.d: Likewise.
501 * testsuite/gas/mips/micromips-branch-absolute-n64.d: Likewise.
502 * testsuite/gas/mips/micromips-branch-absolute-addend-n32.d:
503 Likewise.
504 * testsuite/gas/mips/micromips-branch-absolute-addend-n64.d:
505 Likewise.
506 * testsuite/gas/mips/branch-absolute-addend.d: New test.
507 * testsuite/gas/mips/mips16-branch-absolute-addend.d: New test.
508 * testsuite/gas/mips/micromips-branch-absolute-addend.d: New
509 test.
510 * testsuite/gas/mips/mips.exp: Run the new tests.
511
96e9ba5f
MR
5122016-07-14 Maciej W. Rozycki <macro@imgtec.com>
513
514 * config/tc-mips.c (md_apply_fix) <BFD_RELOC_MIPS16_16_PCREL_S1>
515 <BFD_RELOC_MICROMIPS_7_PCREL_S1, BFD_RELOC_MICROMIPS_10_PCREL_S1>
516 <BFD_RELOC_MICROMIPS_16_PCREL_S1>: Keep the ISA bit in the
517 addend calculated.
518 * testsuite/gas/mips/mips16-branch-absolute.s: Set the ISA bit
519 in `bar', export `foo'.
520 * testsuite/gas/mips/mips16-branch-absolute.d: Adjust
521 accordingly.
522 * testsuite/gas/mips/mips16-branch-absolute-n32.d: Likewise.
523 * testsuite/gas/mips/mips16-branch-absolute-n64.d: Likewise.
524 * testsuite/gas/mips/mips16-branch-absolute-addend-n32.d:
525 Likewise.
526 * testsuite/gas/mips/mips16-branch-absolute-addend-n64.d:
527 Likewise.
528
0c117286
MR
5292016-07-14 Maciej W. Rozycki <macro@imgtec.com>
530
531 * testsuite/gas/mips/mips16-branch-absolute.d: Update patterns.
532 * testsuite/gas/mips/branch-absolute.d: New test.
533 * testsuite/gas/mips/branch-absolute-n32.d: New test.
534 * testsuite/gas/mips/branch-absolute-n64.d: New test.
535 * testsuite/gas/mips/branch-absolute-addend-n32.d: New test.
536 * testsuite/gas/mips/branch-absolute-addend-n64.d: New test.
537 * testsuite/gas/mips/mips16-branch-absolute-n32.d: New test.
538 * testsuite/gas/mips/mips16-branch-absolute-n64.d: New test.
539 * testsuite/gas/mips/mips16-branch-absolute-addend-n32.d: New
540 test.
541 * testsuite/gas/mips/mips16-branch-absolute-addend-n64.d: New
542 test.
543 * testsuite/gas/mips/micromips-branch-absolute.d: New test.
544 * testsuite/gas/mips/micromips-branch-absolute-n32.d: New test.
545 * testsuite/gas/mips/micromips-branch-absolute-n64.d: New test.
546 * testsuite/gas/mips/micromips-branch-absolute-addend-n32.d: New
547 test.
548 * testsuite/gas/mips/micromips-branch-absolute-addend-n64.d: New
549 test.
550 * testsuite/gas/mips/branch-absolute.s: New test source.
551 * testsuite/gas/mips/branch-absolute-addend.s: New test source.
552 * testsuite/gas/mips/mips16-branch-absolute-addend.s: New test
553 source.
554 * testsuite/gas/mips/micromips-branch-absolute.s: New test
555 source.
556 * testsuite/gas/mips/micromips-branch-absolute-addend.s: New
557 test source.
558 * testsuite/gas/mips/mips.exp: Run the new tests.
559
92281a5b
MR
5602016-07-13 Maciej W. Rozycki <macro@imgtec.com>
561
562 * testsuite/gas/mips/nal-1.d: New test.
563 * testsuite/gas/mips/mipsr6@nal-1.d: New test.
564 * testsuite/gas/mips/nal-2.d: New test.
565 * testsuite/gas/mips/mipsr6@nal-2.d: New test.
566 * testsuite/gas/mips/nal.s: New test source.
567 * testsuite/gas/mips/mips.exp: Run the new tests.
568
6e7ced37
JM
5692016-07-12 Jose E. Marchesi <jose.marchesi@oracle.com>
570
571 * testsuite/gas/sparc/ldtxa.s: New file.
572 * testsuite/gas/sparc/ldtxa.d: Likewise.
573 * testsuite/gas/sparc/sparc.exp: Execute the ldtxa test.
574
05bbf016
CZ
5752016-07-11 Claudiu Zissulescu <claziss@synopsys.com>
576
577 * config/tc-arc.c (arc_reloc_op_tag): Allow complex ops for dtpoff.
578 (tc_gen_reloc): Remove passing DTPOFF base info into reloc addendum
579 as it is no longer needed.
580
d9dcf8c6
MR
5812016-07-08 Maciej W. Rozycki <macro@imgtec.com>
582
583 * config/tc-mips.c (append_insn): Remove extraneous
584 `install_insn' call.
585
33d0ab95
JB
5862016-07-04 Jan Beulich <jbeulich@suse.com>
587
588 * config/tc-i386.c (check_qword_reg): Correct register kind
589 checked.
590 * testsuite/gas/i386/x86-64-suffix-bad.s: Add q-suffix with
591 16-bit register cases.
592 * testsuite/gas/i386/x86-64-suffix-bad.l: Adjust expectations.
593
594
fcedb9f3
MR
5952016-07-02 Maciej W. Rozycki <macro@imgtec.com>
596
597 * testsuite/gas/mips/ecoff@ld.d: Remove test.
598 * testsuite/gas/mips/ecoff@ld-forward.d: Remove test.
599 * testsuite/gas/mips/ecoff@ld-zero-3.d: Remove test.
600 * testsuite/gas/mips/ecoff@sd.d: Remove test.
601 * testsuite/gas/mips/ecoff@sd-forward.d: Remove test.
602 * testsuite/gas/mips/beq.d: Remove a.out and ECOFF support from
603 reloc patterns.
604 * testsuite/gas/mips/mipsr6@beq.d: Likewise.
605 * testsuite/gas/mips/bge.d: Likewise.
606 * testsuite/gas/mips/mipsr6@bge.d: Likewise.
607 * testsuite/gas/mips/bgeu.d: Likewise.
608 * testsuite/gas/mips/mipsr6@bgeu.d: Likewise.
609 * testsuite/gas/mips/blt.d: Likewise.
610 * testsuite/gas/mips/mipsr6@blt.d: Likewise.
611 * testsuite/gas/mips/bltu.d: Likewise.
612 * testsuite/gas/mips/mipsr6@bltu.d: Likewise.
613 * testsuite/gas/mips/branch-likely.d: Likewise.
614 * testsuite/gas/mips/la.d: Likewise.
615 * testsuite/gas/mips/lb.d: Likewise.
616 * testsuite/gas/mips/lifloat.d: Likewise.
617 * testsuite/gas/mips/sb.d: Likewise.
618 * testsuite/gas/mips/uld.d: Likewise.
619 * testsuite/gas/mips/ulh.d: Likewise.
620 * testsuite/gas/mips/ulw.d: Likewise.
621 * testsuite/gas/mips/usd.d: Likewise.
622 * testsuite/gas/mips/ush.d: Likewise.
623 * testsuite/gas/mips/usw.d: Likewise.
624
00437d3b
MR
6252016-07-02 Maciej W. Rozycki <macro@imgtec.com>
626
627 * testsuite/gas/mips/branch-misc-2.s: Move non
628 locally-defined-global symbol tests...
629 * testsuite/gas/mips/branch-misc-5.s: ... to this new test.
630 * testsuite/gas/mips/branch-misc-2.d: Update accordingly.
631 * testsuite/gas/mips/branch-misc-2-64.d: Likewise.
632 * testsuite/gas/mips/branch-misc-2pic.d: Likewise.
633 * testsuite/gas/mips/branch-misc-2pic-64.d: Likewise.
634 * testsuite/gas/mips/mipsr6@branch-misc-2-64.d: Likewise.
635 * testsuite/gas/mips/mipsr6@branch-misc-2pic-64.d: Likewise.
636 * testsuite/gas/mips/micromips@branch-misc-2.d: Likewise.
637 * testsuite/gas/mips/micromips@branch-misc-2-64.d: Likewise.
638 * testsuite/gas/mips/micromips@branch-misc-2pic.d: Likewise.
639 * testsuite/gas/mips/micromips@branch-misc-2pic-64.d: Likewise.
640 * testsuite/gas/mips/branch-misc-5.d: New test.
641 * testsuite/gas/mips/branch-misc-5pic.d: New test.
642 * testsuite/gas/mips/branch-misc-5-64.d: New test.
643 * testsuite/gas/mips/branch-misc-5pic-64.d: New test.
644 * testsuite/gas/mips/mipsr6@branch-misc-5-64.d: New test.
645 * testsuite/gas/mips/mipsr6@branch-misc-5pic-64.d: New test.
646 * testsuite/gas/mips/micromips@branch-misc-5.d: New test.
647 * testsuite/gas/mips/micromips@branch-misc-5pic.d: New test.
648 * testsuite/gas/mips/micromips@branch-misc-5-64.d: New test.
649 * testsuite/gas/mips/micromips@branch-misc-5pic-64.d: New test.
650 * testsuite/gas/mips/mips.exp: Run the new tests.
651
f26c9c2e
MR
6522016-07-02 Maciej W. Rozycki <macro@imgtec.com>
653
654 * testsuite/gas/mips/beq.s: Uncomment branches to undefined
655 symbols.
656 * testsuite/gas/mips/beq.d: Update accordingly.
657 * testsuite/gas/mips/mipsr6@beq.d: Likewise.
658 * testsuite/gas/mips/micromips@beq.d: Likewise.
659
d7f20d66
MR
6602016-07-02 Maciej W. Rozycki <macro@imgtec.com>
661
662 * testsuite/gas/mips/mips.exp: Restrict 64-bit `branch-mips'
663 tests to NewABI targets.
664
e51af157
MR
6652016-07-02 Maciej W. Rozycki <macro@imgtec.com>
666
667 * testsuite/gas/mips/mips.exp: Group `branch-misc' tests
668 together.
669
93d8990c
SN
6702016-07-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
671
672 * config/tc-aarch64.c (struct aarch64_option_cpu_value_table): Add
673 require field.
674 (aarch64_features): Initialize require fields.
675 (aarch64_parse_features): Handle dependencies.
676 (aarch64_feature_enable_set, aarch64_feature_disable_set): New.
677 (md_assemble): Use AARCH64_CPU_HAS_ALL_FEATURES.
678 * testsuite/gas/aarch64/illegal-nofp16.s: New.
679 * testsuite/gas/aarch64/illegal-nofp16.l: New.
680 * testsuite/gas/aarch64/illegal-nofp16.d: New.
681
98a4fc78
NC
6822016-07-01 Nick Clifton <nickc@redhat.com>
683
684 * macro.c (macro_expand_body): Use a buffer big enough to hold an
685 extremely large integer.
686
248feb2f
JB
6872016-07-01 Jan Beulich <jbeulich@suse.com>
688
689 * testsuite/gas/i386/mpx-inval-2.l: Relax for COFF targets.
690
96a84ea3
TG
6912016-07-01 Tristan Gingold <gingold@adacore.com>
692
693 * NEWS: Add marker for 2.27.
694
8178be5b
JB
6952016-07-01 Jan Beulich <jbeulich@suse.com>
696
697 * tc-i386.c (i386_index_check): Add special checks for bndmk,
698 bndldx, and bndstx.
699 * testsuite/gas/i386/mpx-inval-2.s: Add %rip and %eip relative
700 as well as scaling by other than 1 tests.
701 * testsuite/gas/i386/mpx-inval-2.l: Adjust accordingly.
702
327e8c42
JB
7032016-07-01 Jan Beulich <jbeulich@suse.com>
704
705 * tc-i386.c (md_assemble): Alter address size checking for MPX
706 instructions.
707 * testsuite/gas/i386/mpx-inval-2.s: New.
708 * testsuite/gas/i386/mpx-inval-2.l: New.
709 * testsuite/gas/i386/i386.exp: Run new test.
710
83b16ac6
JB
7112016-07-01 Jan Beulich <jbeulich@suse.com>
712
713 PR gas/20318
714 * config/tc-i386.c (match_template): Add char parameter,
715 consumed in Intel mode for an extra suffix check.
716 (md_assemble): New local variable mnem_suffix.
717 * testsuite/gas/i386/suffix-bad.s: New.
718 * testsuite/gas/i386/suffix-bad.l: New.
719 * testsuite/gas/i386/i386.exp: Run new test (twice).
720
c07315e0
JB
7212016-07-01 Jan Beulich <jbeulich@suse.com>
722
723 * testsuite/gas/i386/movz.s: New.
724 * testsuite/gas/i386/movz32.d: New.
725 * testsuite/gas/i386/movz64.d: New.
726 * testsuite/gas/i386/i386.exp: Run new tests.
727
8325cc63
JB
7282016-07-01 Jan Beulich <jbeulich@suse.com>
729
730 * config/tc-i386.c (struct _i386_insn): New field memop1_string.
731 (md_assemble): Free first memory operand string.
732 (i386_index_check): Use repprefixok to distingush xlat from
733 other (real) string ops.
734 (maybe_adjust_templates): New.
735 (i386_att_operand). Call it. Store first memory operand string.
736 * config/tc-i386-intel.c (i386_intel_operand): Likewise.
737 * testsuite/gas/i386/intel-movs.s: New.
738 * testsuite/gas/i386/intel-movs32.d: New.
739 * testsuite/gas/i386/intel-movs64.d: New.
740 * testsuite/gas/i386/i386.exp: Run new tests. Invoke as for
741 64-bits tests with "--defsym x86_64=1 --strip-local-absolute".
742
3b821a28
MR
7432016-06-30 Maciej W. Rozycki <macro@imgtec.com>
744
745 * config/tc-mips.c (get_append_method): Fix a comment typo.
746
99e7978b
MF
7472016-06-30 Matthew Fortune <Matthew.Fortune@imgtec.com>
748 Maciej W. Rozycki <macro@imgtec.com>
749
750 * config/tc-mips.c (append_insn) <APPEND_SWAP>: Do not special
751 case MIPS16 handling.
752 * testsuite/gas/mips/branch-swap-3.d: New test.
753 * testsuite/gas/mips/branch-swap-4.d: New test.
754 * testsuite/gas/mips/mips16@branch-swap-3.d: New test.
755 * testsuite/gas/mips/mips16@branch-swap-4.d: New test.
756 * testsuite/gas/mips/micromips@branch-swap-3.d: New test.
757 * testsuite/gas/mips/micromips@branch-swap-4.d: New test.
758 * testsuite/gas/mips/branch-swap-3.s: New test source.
759 * testsuite/gas/mips/mips.exp: Run the new tests.
760
5e35670b
MR
7612016-06-30 Maciej W. Rozycki <macro@imgtec.com>
762
763 * config/tc-mips.c (append_insn): Simplify non-MIPS16 branch
764 swapping sequence.
765
93a24ba7
MR
7662016-06-30 Maciej W. Rozycki <macro@imgtec.com>
767
768 PR gas/20312
769 * write.c (subsegs_finish_section): Force no section padding to
770 alignment on failed assembly, always set last frag's alignment
771 from section.
772 * testsuite/gas/all/pr20312.l: New list test.
773 * testsuite/gas/all/pr20312.s: New test source.
774 * testsuite/gas/all/gas.exp: Run the new test
775
8d6f5ac3
AB
7762016-06-30 Andrew Burgess <andrew.burgess@embecosm.com>
777
778 * config.in (TARGET_WITH_CPU): Undefine.
779 * configure.ac: Add --with-cpu support, and define in config.h.
780 * configure: Regenerate.
781 * config/tc-arc.c: Use TARGET_WITH_CPU to select default CPU.
782 * NEWS: Mention new configure option.
783
534dbe46
MW
7842016-06-30 Matthew Wahab <matthew.wahab@arm.com>
785
786 * testsuite/gas/arm/armv8_2+rdma.d: New.
787
4e3e1fdf
L
7882016-06-29 H.J. Lu <hongjiu.lu@intel.com>
789
790 * NEWS: Mention --enable-compressed-debug-sections=gas is the
791 default for Linux/x86 targets.
792 * configure.tgt (ac_default_compressed_debug_sections): Default
793 to yes for Linux/x86 targets.
794
6d44f09a
MR
7952016-06-29 Maciej W. Rozycki <macro@imgtec.com>
796
797 * write.c: Remove "libbfd.h" inclusion.
798
eb9bb5b4
MR
7992016-06-28 Maciej W. Rozycki <macro@imgtec.com>
800
801 * testsuite/gas/elf/elf.exp: Use `supports_gnu_unique' with the
802 `type' test.
803
d48796b5
AM
8042016-06-28 Alan Modra <amodra@gmail.com>
805
806 PR gas/20247
807 * testsuite/gas/elf/section11.s: Don't start directives in first column.
808
dab26bf4
RS
8092016-06-28 Richard Sandiford <richard.sandiford@arm.com>
810
811 * testsuite/gas/aarch64/diagnostic.s,
812 testsuite/gas/aarch64/diagnostic.l: Add tests for out-of-range indices.
813
c9775dde
MR
8142016-06-28 Maciej W. Rozycki <macro@imgtec.com>
815
816 * config/tc-mips.c (mips16_reloc_p): Handle
817 BFD_RELOC_MIPS16_16_PCREL_S1.
818 (b_reloc_p): Likewise.
819 (limited_pcrel_reloc_p): Likewise.
820 (md_pcrel_from): Likewise.
821 (md_apply_fix): Likewise.
822 (tc_gen_reloc): Likewise.
823 (md_convert_frag): Likewise.
824 (mips_fix_adjustable): Update comment.
825 * testsuite/gas/mips/mips16-branch-reloc-2.d: Remove error
826 output, add dump patterns.
827 * testsuite/gas/mips/mips16-branch-reloc-3.d: Remove error
828 output, add dump patterns.
829 * testsuite/gas/mips/mips16-branch-addend-2.d: Remove error
830 output, add dump patterns.
831 * testsuite/gas/mips/mips16-branch-addend-3.d: Remove error
832 output, add dump patterns.
833 * testsuite/gas/mips/mips16-branch-absolute.d: Remove error
834 output, add dump patterns.
835 * testsuite/gas/mips/mips16-branch-reloc-2.l: Remove file.
836 * testsuite/gas/mips/mips16-branch-reloc-3.l: Remove file.
837 * testsuite/gas/mips/mips16-branch-addend-2.l: Remove file.
838 * testsuite/gas/mips/mips16-branch-addend-3.l: Remove file.
839 * testsuite/gas/mips/mips16-branch-absolute.l: Remove file.
840 * testsuite/gas/mips/mips16-branch-addend-2.s: Add padding.
841 * testsuite/gas/mips/branch-weak.s: Adjust alignment, avoid
842 implicit instruction padding, avoid MIPS16 JR->JRC conversion.
843 * testsuite/gas/mips/branch-weak-6.d: New test.
844 * testsuite/gas/mips/branch-weak-7.d: New test.
845 * testsuite/gas/mips/mips.exp: Run the new tests.
846
45a54ee5
VG
8472016-06-27 Vineet Gupta <vgupta@synopsys.com>
848
849 * config//tc-arc.c (tc_arc_frame_initial_instructions): Use
850 cfi_add_CFA_def_cfa to generate default CFA with offset
851 * testsuite/gas/cfi/cfi-arc-1.d: Update expected output.
852
95daf210
NC
8532016-06-27 Nick Clifton <nickc@redhat.com>
854
855 PR gas/20247
856 * as.h (do_not_pad_sections_to_alignment): New global variable.
857 * as.c (show_usage): Add --no-pad-sections.
858 (parse_args): Likewise.
859 * write.c (size_seg): Skip padding the end of the section if
860 requested from the command line.
861 (SUB_SEGMENT_ALIGN): Likewise.
862 * doc/as.texinfo: Document the new option.
863 * NEWS: Mention the new feature.
864 * testsuite/gas/elf/section11.s: New test.
865 * testsuite/gas/elf/section11.d: New test driver.
866 * testsuite/gas/elf/elf.exp: Run the new test.
867
3cd72572
TS
8682016-06-27 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
869
870 * config/tc-dlx.c: Include bfd/elf32-dlx.h.
871 * config/tc-dlx.h: Remove prototype of dlx_set_skip_hi16.
872
e066bf5f
TS
8732016-06-27 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
874
875 * config/tc-xtensa.c (xtensa_elf_suffix): Use ARRAY_SIZE instead of a
876 sentinal element.
877 (map_suffix_reloc_to_operator): Likewise.
878 (map_operator_to_reloc): Likewise.
879
0708347f
TS
8802016-06-27 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
881
882 * config/tc-nds32.c (md_begin): Use ARRAY_SIZE instead of a sentinal
883 element in relax_table.
884
8a0b252a
TS
8852016-06-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
886
887 * config/tc-aarch64.c: Make the type of reg_entry::type
888 aarch_reg_type.
889
5703197e
TS
8902016-06-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
891
892 * config/tc-bfin.c (bfin_cpus): Remove sentinal.
893 (md_parse_option): Adjust.
894 * config/tc-aarch64.c (aarch64_parse_abi): Replace use of a sentinal
895 with iteration from 0 to ARRAY_SIZE.
896 * config/tc-mcore.c (md_begin): Likewise.
897 * config/tc-visium.c (visium_parse_arch): Likewise.
898
4b92e388
TS
8992016-06-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
900
901 * config/tc-tic54x.c (tic54x_set_default_include): remove argument
902 and simplify accordingly.
903 (tic54x_include): Adjust.
904 (tic54x_mlib): Likewise.
905
7c2c4aa1
TS
9062016-06-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
907
908 * config/tc-xtensa.c (xtensa_make_property_section): Remove prototype.
909
88a7ef16
MR
9102016-06-24 Maciej W. Rozycki <macro@imgtec.com>
911
912 * config/tc-mips.c (append_insn): Use any `O_symbol' expression
913 unchanged with relaxed MIPS16 instructions.
914 (mips16_extended_frag): Adjust accordingly. Return 1 right
915 away if a relocation will be required for the symbol requested.
916 Remove dead first relaxation pass code.
917 (mips_relax_frag): Pass `sec' down to `mips16_extended_frag'.
918 (md_convert_frag): Adjust symbol value calculation. Raise an
919 error if a relocation is required for the symbol requested.
920 * testsuite/gas/mips/mips16@relax-swap3.d: Remove dump patterns,
921 add error output.
922 * testsuite/gas/mips/mips16@relax-swap3.l: New error output.
923 * testsuite/gas/mips/mips16-pcrel-relax-0.d: New test.
924 * testsuite/gas/mips/mips16-pcrel-relax-1.d: New test.
925 * testsuite/gas/mips/mips16-pcrel-relax-2.d: New test.
926 * testsuite/gas/mips/mips16-pcrel-relax-3.d: New test.
927 * testsuite/gas/mips/mips16-pcrel-reloc-0.d: New test.
928 * testsuite/gas/mips/mips16-pcrel-reloc-1.d: New test.
929 * testsuite/gas/mips/mips16-pcrel-reloc-2.d: New test.
930 * testsuite/gas/mips/mips16-pcrel-reloc-3.d: New test.
931 * testsuite/gas/mips/mips16-pcrel-reloc-4.d: New test.
932 * testsuite/gas/mips/mips16-pcrel-reloc-5.d: New test.
933 * testsuite/gas/mips/mips16-pcrel-reloc-6.d: New test.
934 * testsuite/gas/mips/mips16-pcrel-reloc-7.d: New test.
935 * testsuite/gas/mips/mips16-pcrel-addend-0.d: New test.
936 * testsuite/gas/mips/mips16-pcrel-addend-1.d: New test.
937 * testsuite/gas/mips/mips16-pcrel-addend-2.d: New test.
938 * testsuite/gas/mips/mips16-pcrel-addend-3.d: New test.
939 * testsuite/gas/mips/mips16-pcrel-absolute.d: New test.
940 * testsuite/gas/mips/mips16-branch-reloc-0.d: New test.
941 * testsuite/gas/mips/mips16-branch-reloc-1.d: New test.
942 * testsuite/gas/mips/mips16-branch-reloc-2.d: New test.
943 * testsuite/gas/mips/mips16-branch-reloc-3.d: New test.
944 * testsuite/gas/mips/mips16-branch-addend-0.d: New test.
945 * testsuite/gas/mips/mips16-branch-addend-1.d: New test.
946 * testsuite/gas/mips/mips16-branch-addend-2.d: New test.
947 * testsuite/gas/mips/mips16-branch-addend-3.d: New test.
948 * testsuite/gas/mips/mips16-branch-absolute.d: New test.
949 * testsuite/gas/mips/mips16-absolute-reloc-0.d: New test.
950 * testsuite/gas/mips/mips16-absolute-reloc-1.d: New test.
951 * testsuite/gas/mips/mips16-absolute-reloc-2.d: New test.
952 * testsuite/gas/mips/mips16-absolute-reloc-3.d: New test.
953 * testsuite/gas/mips/mips16-pcrel-reloc-2.l: New error output.
954 * testsuite/gas/mips/mips16-pcrel-reloc-3.l: New error output.
955 * testsuite/gas/mips/mips16-pcrel-reloc-6.l: New error output.
956 * testsuite/gas/mips/mips16-pcrel-reloc-7.l: New error output.
957 * testsuite/gas/mips/mips16-pcrel-addend-2.l: New error output.
958 * testsuite/gas/mips/mips16-pcrel-addend-3.l: New error output.
959 * testsuite/gas/mips/mips16-pcrel-absolute.l: New error output.
960 * testsuite/gas/mips/mips16-branch-reloc-2.l: New error output.
961 * testsuite/gas/mips/mips16-branch-reloc-3.l: New error output.
962 * testsuite/gas/mips/mips16-branch-addend-2.l: New error output.
963 * testsuite/gas/mips/mips16-branch-addend-3.l: New error output.
964 * testsuite/gas/mips/mips16-branch-absolute.l: New error output.
965 * testsuite/gas/mips/mips16-absolute-reloc-2.l: New error output.
966 * testsuite/gas/mips/mips16-absolute-reloc-3.l: New error output.
967 * testsuite/gas/mips/mips16-pcrel-relax-0.s: New test source.
968 * testsuite/gas/mips/mips16-pcrel-relax-2.s: New test source.
969 * testsuite/gas/mips/mips16-pcrel-reloc-0.s: New test source.
970 * testsuite/gas/mips/mips16-pcrel-reloc-1.s: New test source.
971 * testsuite/gas/mips/mips16-pcrel-reloc-2.s: New test source.
972 * testsuite/gas/mips/mips16-pcrel-reloc-3.s: New test source.
973 * testsuite/gas/mips/mips16-pcrel-reloc-4.s: New test source.
974 * testsuite/gas/mips/mips16-pcrel-reloc-5.s: New test source.
975 * testsuite/gas/mips/mips16-pcrel-reloc-6.s: New test source.
976 * testsuite/gas/mips/mips16-pcrel-reloc-7.s: New test source.
977 * testsuite/gas/mips/mips16-pcrel-addend-0.s: New test source.
978 * testsuite/gas/mips/mips16-pcrel-addend-1.s: New test source.
979 * testsuite/gas/mips/mips16-pcrel-addend-2.s: New test source.
980 * testsuite/gas/mips/mips16-pcrel-addend-3.s: New test source.
981 * testsuite/gas/mips/mips16-pcrel-absolute.s: New test source.
982 * testsuite/gas/mips/mips16-branch-reloc-0.s: New test source.
983 * testsuite/gas/mips/mips16-branch-reloc-1.s: New test source.
984 * testsuite/gas/mips/mips16-branch-reloc-2.s: New test source.
985 * testsuite/gas/mips/mips16-branch-reloc-3.s: New test source.
986 * testsuite/gas/mips/mips16-branch-addend-0.s: New test source.
987 * testsuite/gas/mips/mips16-branch-addend-1.s: New test source.
988 * testsuite/gas/mips/mips16-branch-addend-2.s: New test source.
989 * testsuite/gas/mips/mips16-branch-addend-3.s: New test source.
990 * testsuite/gas/mips/mips16-branch-absolute.s: New test source.
991 * testsuite/gas/mips/mips16-absolute-reloc-0.s: New test source.
992 * testsuite/gas/mips/mips16-absolute-reloc-1.s: New test source.
993 * testsuite/gas/mips/mips16-absolute-reloc-2.s: New test source.
994 * testsuite/gas/mips/mips16-absolute-reloc-3.s: New test source.
995 * testsuite/gas/mips/mips.exp: Run the new tests.
996
5c0ff163
AM
9972016-06-24 Alan Modra <amodra@gmail.com>
998
999 * configure.tgt (alpha-*-openbsd*): Use em=nbsd.
1000
0e9c5a5c
MR
10012016-06-23 Maciej W. Rozycki <macro@imgtec.com>
1002
1003 * config/tc-mips.c (b_reloc_p): New function.
1004 (mips_fix_adjustable): Also keep the original microMIPS symbol
1005 referred from branch relocations.
1006 * testsuite/gas/mips/branch-local-1.d: New test.
1007 * testsuite/gas/mips/branch-local-n32-1.d: New test.
1008 * testsuite/gas/mips/branch-local-n64-1.d: New test.
1009 * testsuite/gas/mips/micromips@branch-misc-4-64.d: Update
1010 relocations.
1011 * testsuite/gas/mips/branch-local-1.s: New test source.
1012 * testsuite/gas/mips/mips.exp: Run the new cases.
1013
ce440d63
GM
10142016-06-23 Graham Markall <graham.markall@embecosm.com>
1015
1016 * config/tc-arc.c (options, md_longopts, md_parse_option): Move
1017 -mspfp, -mdpfp and -mfpuda out of the sections for dummy
1018 options. Correct erroneous enabling of SPFP instructions when
1019 using -mnps400.
1020
6fd3a02d
PB
10212016-06-22 Peter Bergner <bergner@vnet.ibm.com>
1022
1023 * testsuite/gas/ppc/power9.d <brd, brh, brw, mffs, mffs., mffsce,
1024 mffscdrn, mffscdrni, mffscrn, mffscrni, mffsl, nandxor, rldixor,
1025 setbool, xor3>: New tests.
1026 * testsuite/gas/ppc/power9.s: Likewise.
1027
b0b79343
TS
10282016-06-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1029
1030 * config/tc-xtensa.c: Include elf/xtensa.h.
1031
8cec2cfe
MR
10322016-06-21 Maciej W. Rozycki <macro@imgtec.com>
1033
1034 * config/tc-mips.c (calculate_reloc) <BFD_RELOC_HI16_S_PCREL>
1035 <BFD_RELOC_LO16_PCREL>: New switch cases.
1036 (md_apply_fix) <BFD_RELOC_HI16_S_PCREL, BFD_RELOC_LO16_PCREL>:
1037 Move switch cases along `BFD_RELOC_MIPS_JMP'.
1038 <BFD_RELOC_MIPS_21_PCREL_S2, BFD_RELOC_MIPS_26_PCREL_S2>
1039 <BFD_RELOC_MIPS_18_PCREL_S3, BFD_RELOC_MIPS_19_PCREL_S2>: Handle
1040 the resolved case.
1041 * testsuite/gas/mips/pcrel-reloc-4.d: New test.
1042 * testsuite/gas/mips/pcrel-reloc-4-r6.d: New test.
1043 * testsuite/gas/mips/pcrel-reloc-5.d: New test.
1044 * testsuite/gas/mips/pcrel-reloc-5-r6.d: New test.
1045 * testsuite/gas/mips/pcrel-reloc-6.d: New test.
1046 * testsuite/gas/mips/pcrel-reloc-6.l: New list test.
1047 * testsuite/gas/mips/pcrel-reloc-4.s: New test source.
1048 * testsuite/gas/mips/pcrel-reloc-6.s: New test source.
1049 * testsuite/gas/mips/mips.exp: Run the new tests.
1050
717ba204
MR
10512016-06-21 Maciej W. Rozycki <macro@imgtec.com>
1052
1053 * config/tc-mips.c (md_apply_fix) <BFD_RELOC_MIPS_18_PCREL_S3>
1054 <BFD_RELOC_MIPS_19_PCREL_S2>: Avoid null pointer dereferences
1055 via `fixP->fx_addsy'.
1056
51f6035b
MR
10572016-06-21 Maciej W. Rozycki <macro@imgtec.com>
1058
1059 * config/tc-mips.c (md_pcrel_from) <BFD_RELOC_MIPS_18_PCREL_S3>:
1060 Calculate relocation from the containing aligned doubleword.
1061 (tc_gen_reloc) <BFD_RELOC_MIPS_18_PCREL_S3>: Calculate the
1062 addend from the containing aligned doubleword.
1063
912815f0
MR
10642016-06-21 Maciej W. Rozycki <macro@imgtec.com>
1065
1066 * config/tc-mips.c (mips_force_relocation): Use `file_mips_opts'
1067 rather than `mips_opts' for the R6 ISA check.
1068 (mips_fix_adjustable): Likewise.
1069 * testsuite/gas/mips/pcrel-reloc-1.d: New test.
1070 * testsuite/gas/mips/pcrel-reloc-1-r6.d: New test.
1071 * testsuite/gas/mips/pcrel-reloc-2.d: New test.
1072 * testsuite/gas/mips/pcrel-reloc-2-r6.d: New test.
1073 * testsuite/gas/mips/pcrel-reloc-3.d: New test.
1074 * testsuite/gas/mips/pcrel-reloc-3-r6.d: New test.
1075 * testsuite/gas/mips/pcrel-reloc-1.s: New test source.
1076 * testsuite/gas/mips/mips.exp: Run the new tests.
1077
bdd582db
GM
10782016-06-21 Graham Markall <graham.markall@embecosm.com>
1079
1080 * config/tc-arc.c (check_cpu_feature, md_parse_option):
1081 Add nps400 option and feature. Add check for nps400
1082 feature. Refactor existing checks to check subclass before
1083 feature enablement.
1084 (md_show_usage): Document flags for NPS-400 and add some other
1085 undocumented flags.
1086 (cpu_type): Remove nps400 CPU type entry
1087 (check_zol): Remove bfd_mach_arc_nps400 case.
1088 (md_show_usage): Add help on -mcpu=nps400.
1089 (cpu_types): Add entry for nps400 as arc700 plus nps400 extension
1090 set.
1091 * doc/c-arc.texi: Document the -mnps400, -mspfp, -mdpfp, and
1092 -fpuda flags. Document -mcpu=nps400.
1093 * testsuite/gas/arc/nps-400-0.d: Use -mcpu=arc700 -mnps400. Change
1094 expected flags to match ARC700 instead of NPS400.
1095 * testsuite/gas/arc/nps-400-1.d: Use -mcpu=arc700 -mnps400.
1096 * testsuite/gas/arc/nps-400-2.d: Likewise.
1097 * testsuite/gas/arc/nps-400-3.d: Likewise.
1098 * testsuite/gas/arc/nps-400-4.d: Likewise.
1099 * testsuite/gas/arc/nps-400-5.d: Likewise.
1100 * testsuite/gas/arc/nps-400-6.d: Likewise.
1101 * testsuite/gas/arc/nps-400-7.d: Likewise.
1102 * testsuite/gas/arc/textinsn2op01.s: Change opcode of myinsn to
1103 avoid clash with cbba instruction.
1104 * testsuite/gas/arc/textinsn2op01.d: Likewise.
1105 * testsuite/gas/arc/textinsn3op.d: Likewise.
1106 * testsuite/gas/arc/textinsn3op.s: Likewise.
1107 * testsuite/gas/arc/nps-400-0.d: Test using NPS-400 using
1108 -mcpu=nps400 as an alternative to -mcpu=arc700 -mnps400 flags.
1109
ff03d62a
MR
11102016-06-20 Maciej W. Rozycki <macro@imgtec.com>
1111
1112 * testsuite/gas/mips/r6-64-n32.d: Change the `name' tag.
1113 * testsuite/gas/mips/r6-64-n64.d: Likewise.
1114
507dcb32
MR
11152016-06-20 Maciej W. Rozycki <macro@imgtec.com>
1116
1117 * config/tc-mips.c (mips_fix_adjustable): Update comment on jump
1118 reloc conversion.
1119
9f99c22e
VP
11202016-06-20 Virendra Pathak <virendra.pathak@broadcom.com>
1121
1122 * config/tc-aarch64.c (aarch64_cpus): Update vulcan feature set.
1123
96074adc
JM
11242016-06-17 Jose E. Marchesi <jose.marchesi@oracle.com>
1125
1126 * config/tc-sparc.c (hpriv_reg_table): Add registers %hmcdper,
1127 %hmcddfr and %hva_mask_nz.
1128 (sparc_ip): New handling of asr/privileged/hyperprivileged
1129 registers, adapted to the new form of the sparc opcodes table.
1130 * testsuite/gas/sparc/rdasr.s: New file.
1131 * testsuite/gas/sparc/rdasr.d: Likewise.
1132 * testsuite/gas/sparc/wrasr.s: Likewise.
1133 * testsuite/gas/sparc/wrasr.d: Likewise.
1134 * testsuite/gas/sparc/sparc.exp (sparc_elf_setup): Add rdasr and
1135 wrasr tests.
1136 * testsuite/gas/sparc/rdpr.d: Use -Av9m, as some privileged
1137 registers require it.
1138 * testsuite/gas/sparc/wrpr.s: Complete to cover all privileged
1139 registers and write instruction modalities.
1140 * testsuite/gas/sparc/wrpr.d: Likewise.
1141 * testsuite/gas/sparc/rdhpr.s: Likewise for hyperprivileged
1142 registers.
1143 * testsuite/gas/sparc/rdhpr.d: Likewise.
1144 * testsuite/gas/sparc/wrhpr.s: Likewise.
1145 * testsuite/gas/sparc/wrhpr.d: Likewise.
1146
7a10c22f
JM
11472016-06-17 Jose E. Marchesi <jose.marchesi@oracle.com>
1148
1149 * config/tc-sparc.c (sparc_arch_table): adjust the GAS
1150 architectures to use the right opcode architecture.
1151 (sparc_md_end): Handle v9{c,d,e,v,m}.
1152 (sparc_ip): Fix some comments.
1153 * testsuite/gas/sparc/ldx_efsr.d: Fix the architecture of this
1154 instruction, which is v9d.
1155 * testsuite/gas/sparc/mwait.s: Remove the `rd %mwait,%g1'
1156 instruction from the test, as %mwait is not readable.
1157 * testsuite/gas/sparc/mwait.d: Likewise.
1158 * testsuite/gas/sparc/mism-1.s: Expand to check v9b and v9e
1159 mismatch architecture errors.
1160 * testsuite/gas/sparc/mism-2.s: New file.
1161
8b8c7c9f
JM
11622016-06-17 Jose E. Marchesi <jose.marchesi@oracle.com>
1163
1164 * config/tc-sparc.c (priv_reg_table): Use NULL instead of the
1165 empty string to mark the end of the array.
1166 (hpriv_reg_table): Likewise.
1167 (v9a_asr_table): Likewise.
1168 (cmp_reg_entry): Handle entries with NULL names.
1169 (F_POP_V9): Define.
1170 (F_POP_PCREL): Likewise.
1171 (F_POP_TLS_CALL): Likewise.
1172 (F_POP_POSTFIX): Likewise.
1173 (struct pop_entry): New type.
1174 (pop_table): New variable.
1175 (enum pop_entry_type): New type.
1176 (struct perc_entry): Likewise.
1177 (NUM_PERC_ENTRIES): Define.
1178 (perc_table): New variable.
1179 (cmp_perc_entry): New function.
1180 (md_begin): Sort hpriv_reg_table and v9a_asr_table, and initialize
1181 perc_table.
1182 (sparc_ip): Handle entries with NULL names in priv_reg_table,
1183 hpriv_reg_table and v9a_asr_table. Use perc_table to handle
1184 %-pseudo-ops.
1185
3ee6e4fb
NC
11862016-06-15 Nick Clifton <nickc@redhat.com>
1187
1188 * config/tc-ft32.c (md_assemble): Call dwarf2_emit_insn with the
1189 instruction size.
1190 * config/tc-mcore.c (md_assemble): Likewise.
1191 * config/tc-mn10200.c (md_assemble): Likewise.
1192 * config/tc-moxie.c (md_assemble): Likewise.
1193 * config/tc-pj.c (md_apply_fix): Handle BFD_RELOC_PJ_CODE_REL32.
1194 * testsuite/gas/all/gas.exp (diff1 test): Alpha sort list of
1195 exception targets. Add alpha, hppa, microblaze and rl78 to list
1196 of exceptions.
1197 (forward): Add microblaze to list of exceptions.
1198 (fwdexp): Add alpha to list of exceptions.
1199 (redef2): Add arm-epoc-pe and rl78 to list of exceptions.
1200 (redef3): Add rl78 and x86_64 cygwin to list of exceptions.
1201 (do_930509a): Alpha sort list of exception targets. Add h8300 and
1202 mn10200 to list of exceptions.
1203 (align2): Expect to fail for nds32.
1204 (cond): Add alpha and rl78 to list of exceptions.
1205 * testsuite/gas/all/none.d: Skip for ft32 and hppa.
1206 * testsuite/gas/all/string.d: Skip for tic4x.
1207 * testsuite/gas/alpha/alpha.exp: Note that the alpha-linuxecoff
1208 target does not support ELF.
1209 * testsuite/gas/arm/blx-bl-convert.dL Skip for the nto target.
1210 * testsuite/gas/cfi/cfi-alpha-2.d: All extended format names.
1211 * testsuite/gas/cfi/cfi.exp: Alpha sort list of targets. Skip SH
1212 tests for sh-pe and sh-rtemscoff targets.
1213 * testsuite/gas/elf/elf.exp (redef): Add rl78, xgate and vax to
1214 list of exceptions.
1215 (type): Run the noifunc version for alpha-freebsd and visium.
1216 * testsuite/gas/elf/warn-2.s: Do not expect to fail on the mcore,
1217 mn10200 or moxie targets.
1218 * testsuite/gas/ft32/insn.d: Update expected disassembly.
1219 * testsuite/gas/i386/i386.exp (x86-64-pcrel): Skip for cygwin
1220 targets.
1221 * testsuite/gas/lns/lns.exp (lns-common-1): No longer skip for
1222 mcore and rx targets.
1223 * testsuite/gas/macros/macros.exp (dot): Add exceptions for ns32k,
1224 rl78 and vax.
1225 (purge): Expect to fail on the ns32k and vax.
1226 * testsuite/gas/nds32/alu-2.d: Update expected disassembly.
1227 * testsuite/gas/nds32/ls.d: Likewise.
1228 * testsuite/gas/nds32/sys-reg.d: Likewise.
1229 * testsuite/gas/nds32/usr-spe-reg.d: Likewise.
1230 * testsuite/gas/pe/aligncomm-d.d: Skip for the sh.
1231 * testsuite/gas/pe/section-align-3.d: Likewise.
1232 * testsuite/gas/pe/section-exclude.d: Likewise.
1233 * testsuite/gas/ppc/test2xcoff32.d: Pass once all the required
1234 data has been seen.
1235 * testsuite/gas/ppc/textalign-xcoff-001.d: Fix up regexp to allow
1236 for variations in whitespace.
1237 * testsuite/gas/tilepro/t_constants.d: Pass once all the required
1238 data has been seen.
1239 * testsuite/gas/tilepro/t_constants.s (.safe_word): New macro.
1240 Installs a 32-bit value without generating warnings on 64-bit
1241 hosts.
1242 Use the new macro to replace the .word directives.
1243
02f3be19
AB
12442016-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
1245
1246 * testsuite/gas/arc/add_s.d: New file.
1247 * testsuite/gas/arc/add_s.s: New file.
1248
6f9f37ed 12492016-06-14 Graham Markall <graham.markall@embecosm.com>
28215275
GM
1250
1251 * testsuite/gas/arc/nps400-6.s: Add tests of ldbit.
1252 * testsuite/gas/arc/nps400-6.d: Likewise.
1253
6f9f37ed 12542016-06-14 Graham Markall <graham.markall@embecosm.com>
9ba75c88
GM
1255
1256 * testsuite/gas/arc/nps400-6.s: Add tests of hash, tr, utf8, e4by, and
1257 addf.
1258 * testsuite/gas/arc/nps400-6.d: Likewise.
1259
6f9f37ed 12602016-06-14 Graham Markall <graham.markall@embecosm.com>
14053c19
GM
1261
1262 * testsuite/gas/arc/nps400-6.s: Add tests of calcbsd, calcbxd,
1263 calckey, calcxkey, mxb, imxb, addl, subl, andl, orl, xorl, andab, orab,
1264 lbdsize, bdlen, csms, csma, cbba, zncv, and hofs.
1265 * testsuite/gas/arc/nps400-6.d: Likewise.
1266
d2dfe54d
NC
12672016-06-14 Nick Clifton <nickc@redhat.com>
1268
1269 * config/tc-nds32.c (nds32_get_align): Avoid left shifting a
1270 signed constant.
1271
97f50151
MR
12722016-06-13 Maciej W. Rozycki <macro@imgtec.com>
1273
1274 * config/tc-mips.c (mips_fix_adjustable): Don't convert RELA
1275 JALR relocations on R6.
1276 * testsuite/gas/mips/jal-svr4pic-local.d: New test.
1277 * testsuite/gas/mips/mips1@jal-svr4pic-local.d: New test.
1278 * testsuite/gas/mips/r3000@jal-svr4pic-local.d: New test.
1279 * testsuite/gas/mips/micromips@jal-svr4pic-local.d: New test.
1280 * testsuite/gas/mips/jal-svr4pic-local-n32.d: New test.
1281 * testsuite/gas/mips/micromips@jal-svr4pic-local-n32.d: New
1282 test.
1283 * testsuite/gas/mips/jal-svr4pic-local-n64.d: New test.
1284 * testsuite/gas/mips/micromips@jal-svr4pic-local-n64.d: New
1285 test.
1286 * testsuite/gas/mips/jal-svr4pic-local.s: New test source.
1287 * testsuite/gas/mips/jal-svr4pic-local-newabi.s: New test
1288 source.
1289 * testsuite/gas/mips/mips.exp: Run the new tests.
1290
0a8be2fe
VP
12912016-06-13 Virendra Pathak <virendra.pathak@broadcom.com>
1292
1293 * config/tc-aarch64.c (aarch64_cpus): Add Broadcom Vulcan.
1294 * doc/c-aarch64.texi: Document that vulcan is a valid processor
1295 name.
1296
69c9e028
NC
12972016-06-13 Nick Clifton <nickc@redhat.com>
1298
1299 * config/tc-arm.c: For non-ELF based targets skip ARM feature sets
1300 that are not supported.
1301
1302 * config/tc-arc.c (md_apply_fix): Avoid left shifting a signed
1303 constant.
1304 * config/tc-cr16.c (check_range): Likewise.
1305 * config/tc-nios2.c (nios2_check_overflow): Likewise.
1306
08d3b0cc
RL
13072016-06-08 Renlin Li <renlin.li@arm.com>
1308
1309 * config/tc-aarch64.c (print_operands): Substitute size.
1310 (output_operand_error_record): Likewise.
1311
14b57c7c
AM
13122016-06-07 Alan Modra <amodra@gmail.com>
1313
1314 * config/tc-ppc.c (PPC_APUINFO_ISEL, PPC_APUINFO_PMR,
1315 PPC_APUINFO_RFMCI, PPC_APUINFO_CACHELCK, PPC_APUINFO_SPE,
1316 PPC_APUINFO_EFS, PPC_APUINFO_BRLOCK, PPC_APUINFO_VLE): Don't define.
1317 (ppc_setup_opcodes): Check vle disables powerpc_opcodes overridden
1318 by vle_opcodes, and that vle flag doesn't enable opcodes. Don't
1319 add vle_opcodes twice.
1320 (ppc_cleanup): Use APUINFO_SECTION_NAME and APUINFO_LABEL.
1321
4d1464f2
MW
13222016-06-07 Matthew Wahab <matthew.wahab@arm.com>
1323
1324 * config/tc-arm.c (arm_ext_v8_2): Rename to arm_ext_ras.
1325 (arm_ext_ras): Renamed from arm_ext_v8_2.
1326 (insns): Update for arm_ext_v8_2 renaming.
1327 (arm_extensions): Add "ras".
1328 * doc/c-arm.texi (ARM Options): Add an entry for "ras".
1329 * testsuite/gas/arm/armv8-a+ras.d: New.
1330 * testsuite/gas/arm/armv8_2-a.d: Add explicit command line
1331 options.
1332
852a1d49
TS
13332016-06-05 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1334
1335 * itbl-parse.y (yyerror): Use modern argument declaration style.
1336
c4212e11
TS
13372016-06-05 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1338
1339 * config/tc-sh.c (parse_reg): Change type of mode argument to
1340 sh_arg_type.
1341 (get_operand): Adjust.
1342 (insert): Change type of how to bfd_reloc_code_real_type.
1343 (insert4): Likewise.
1344 * config/tc-sh64.c (shmedia_get_operand): Adjust.
1345 (shmedia_parse_reg): Change type of mode to shmedia_arg_type.
1346
73a229c7
TS
13472016-06-05 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1348
1349 * config/tc-nds32.c (nds32_parse_option): Make the type of ptr_arg
1350 const char *.
1351
026122a6
PB
13522016-06-03 Peter Bergner <bergner@vnet.ibm.com>
1353
1354 PR binutils/20196
1355 * gas/testsuite/gas/ppc/e6500.s <lbarx, lharx, lwarx, ldarx,
1356 stbcx., sthcx., stwcx., stdcx.>: Add tests.
1357 * gas/testsuite/gas/ppc/e6500.d: Likewise.
1358 * gas/testsuite/gas/ppc/power8.s: Likewise.
1359 * gas/testsuite/gas/ppc/power8.d: Likewise.
1360 * gas/testsuite/gas/ppc/power4.s <lwarx, ldarx, stwcx.,
1361 stdcx.>: Add tests.
1362 * gas/testsuite/gas/ppc/power4.d: Likewise.
1363
07f5af7d
L
13642016-06-03 H.J. Lu <hongjiu.lu@intel.com>
1365
1366 PR binutis/18386
1367 * testsuite/gas/i386/i386.exp: Run x86-64-branch-4.
1368 * testsuite/gas/i386/x86-64-branch.d: Updated.
1369 * testsuite/gas/i386/ilp32/x86-64-branch.d: Likewise.
1370 * testsuite/gas/i386/x86-64-branch-4.l: New file.
1371 * testsuite/gas/i386/x86-64-branch-4.s: Likewise.
1372
1aa70332
KT
13732016-06-03 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1374
1375 * config/tc-aarch64.c (aarch64_cpus): Add cortex-a73 entry.
1376 * doc/c-aarch64.texi (-mcpu): Document cortex-a73 value.
1377
362a3eba
KT
13782016-06-03 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1379
1380 * config/tc-arm.c (arm_cpus): Add cortex-a73 entry.
1381 * doc/c-arm.texi (-mcpu=): Document cortex-a73 value.
1382
4ad0bb5f
VG
13832016-06-02 Vineet Gupta <Vineet.Gupta1@synopsys.com>
1384
1385 * configure.tgt: Replace -uclibc with *.
1386
4eb6f892
AB
13872016-06-02 Andrew Burgess <andrew.burgess@embecosm.com>
1388
1389 * config/tc-arc.c (parse_opcode_flags): New function.
1390 (find_opcode_match): Move flag parsing code out to new function.
1391 Ignore operands marked IGNORE.
1392 (build_fake_opcode_hash_entry): New function.
1393 (find_special_case_long_opcode): New function.
1394 (find_special_case): Lookup long opcodes.
1395 * testsuite/gas/arc/nps400-7.d: New file.
1396 * testsuite/gas/arc/nps400-7.s: New file.
1397
c273521c
TS
13982016-06-01 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1399
1400 * config/tc-ns32k.c: Remove definition of input_line_pointer.
1401
814f1489
TS
14022016-06-01 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1403
1404 * config/tc-avr.c (avr_parse_cons_expression): Replace iteration to
1405 sentinal with iteration to array size.
1406
d05584d3
TS
14072016-06-01 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1408
1409 * config/xtensa-relax.h: Move typedefs of enums to the enums
1410 definition.
1411
5e429f4c
TS
14122016-06-01 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1413
1414 * config/tc-ns32k.c (bit_fix_new): Replace obstack-alloc with XOBNEW
1415 macro.
1416
315f180f
GM
14172016-06-01 Graham Markall <graham.markall@embecosm.com>
1418
1419 * testsuite/gas/arc/nps-400-1.s: Add rflt variants with
1420 operands of types a,b,u6, 0,b,u6, and 0,b,limm.
1421 * testsuite/gas/arc/nps-400-1.d: Likewise.
1422
0cbd0046
L
14232016-05-29 H.J. Lu <hongjiu.lu@intel.com>
1424
1425 PR gas/20145
1426 * config/tc-i386.c (cpu_noarch): Add noavx512f, noavx512cd,
1427 noavx512er, noavx512pf, noavx512dq, noavx512bw, noavx512vl,
1428 noavx512ifma and noavx512vbmi.
1429 * doc/c-i386.texi: Mention noavx512f, noavx512cd, noavx512er,
1430 noavx512pf, noavx512dq, noavx512bw, noavx512vl, noavx512ifma
1431 and noavx512vbmi.
1432 * testsuite/gas/i386/i386.exp: Run noavx512-1 and noavx512-2.
1433 * testsuite/gas/i386/noavx512-1.l: New file.
1434 * testsuite/gas/i386/noavx512-1.s: Likewise.
1435 * testsuite/gas/i386/noavx512-2.l: Likewise.
1436 * testsuite/gas/i386/noavx512-2.s: Likewise.
1437
1848e567
L
14382016-05-27 H.J. Lu <hongjiu.lu@intel.com>
1439
1440 PR gas/20145
1441 * config/tc-i386.c (cpu_arch): Add 687.
1442 (cpu_noarch): Add no287, no387, no687, nosse2, nosse3, nossse3,
1443 nosse4.1, nosse4.2, nosse4 and noavx2.
1444 (parse_real_register): Check cpuregmmx instead of cpummx for MMX
1445 register. Check cpuregxmm instead of cpusse for XMM register.
1446 Check cpuregymm instead of cpuavx for YMM register. Check
1447 cpuregzmm/cpuregmask instead of cpuavx512f for ZMMM/mask register.
1448 * doc/c-i386.texi: Mention 687, no287, no387, no687, nosse2,
1449 nosse3, nossse3, nosse4.1, nosse4.2, nosse4 and noavx2.
1450 * testsuite/gas/i386/arch-10-prefetchw.d (as): Add mmx.
1451 * testsuite/gas/i386/arch-10.d (as): Likewise.
1452 * testsuite/gas/i386/arch-11.s: Add ".arch .mmx".
1453 * testsuite/gas/i386/i386.exp: Pass mmx to assembler for
1454 arch-10-3 and arch-10-4. Run no87-3, nosse-4, nosse-5, noavx-3
1455 and noavx-4.
1456 * testsuite/gas/i386/no87-3.l: New file.
1457 * testsuite/gas/i386/no87-3.s: Likewise.
1458 * testsuite/gas/i386/noavx-3.l: Likewise.
1459 * testsuite/gas/i386/noavx-3.s: Likewise.
1460 * testsuite/gas/i386/noavx-4.d: Likewise.
1461 * testsuite/gas/i386/noavx-4.s: Likewise.
1462 * testsuite/gas/i386/nosse-4.l: Likewise.
1463 * testsuite/gas/i386/nosse-4.s: Likewise.
1464 * testsuite/gas/i386/nosse-5.d: Likewise.
1465 * testsuite/gas/i386/nosse-5.s: Likewise.
1466
e92bae62
L
14672016-05-27 H.J. Lu <hongjiu.lu@intel.com>
1468
1469 PR gas/20154
1470 * config/tc-i386.c (cpu_flags_match): Don't set cpuamd64 nor
1471 cpuintel64.
1472 (match_template): Check Intel64/AMD64 ISA.
1473
e89c5eaa
L
14742016-05-27 H.J. Lu <hongjiu.lu@intel.com>
1475
1476 PR gas/20154
1477 * config/tc-i386.c (intel64): New.
1478 (cpu_flags_match): Set cpuamd64 and cpuintel64.
1479 (md_parse_option): Set intel64 instead of cpuamd64 and
1480 cpuintel64.
1481
9d07ebe1
L
14822016-05-27 H.J. Lu <hongjiu.lu@intel.com>
1483
1484 * config/tc-i386.c (cpu_flags_match): Don't clear cpu64 nor
1485 cpuno64.
1486
19dfcc89
PB
14872016-05-26 Peter Bergner <bergner@vnet.ibm.com>
1488
1489 * testsuite/gas/ppc/altivec3.d <vmsumudm>: Add test.
1490 * testsuite/gas/ppc/altivec3.s: Likewise.
1491 * testsuite/gas/ppc/power9.d <addex[.], lwzmx, vmsumudm>: Add tests.
1492 * testsuite/gas/ppc/power9.s: Likewise.
1493
8d5b9a5a
L
14942016-05-26 H.J. Lu <hongjiu.lu@intel.com>
1495
1496 * testsuite/gas/i386/avx512vl-2.l: Append "#pass".
1497 * testsuite/gas/i386/noavx-1.l: Likewise.
1498 * testsuite/gas/i386/nommx-1.l: Likewise.
1499 * testsuite/gas/i386/nosse-1.l: Likewise.
1500 * testsuite/gas/i386/x86-64-avx512vl-2.l: Likewise.
1501 * testsuite/gas/i386/avx512vl-2.s: Append ".p2align 4".
1502 * testsuite/gas/i386/noavx-1.s: Likewise.
1503 * testsuite/gas/i386/nommx-1.s: Likewise.
1504 * testsuite/gas/i386/nosse-1.s: Likewise.
1505 * testsuite/gas/i386/x86-64-avx512vl-2.s: Likewise.
1506
81cead6f
TS
15072016-05-26 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1508
1509 * config/tc-metag.c (metag_handle_align): Make the type of noop
1510 unsigned char.
1511
79052aae
TS
15122016-05-26 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1513
1514 * config/tc-rx.c (md_convert_frag): Make the type of reloc_type
1515 bfd_reloc_code_real_type.
1516
73b090a9
L
15172016-05-25 H.J. Lu <hongjiu.lu@intel.com>
1518
1519 PR gas/20140
1520 * config/tc-i386.c (cpu_flags_match): Require another match
1521 for AVX512VL.
1522 * testsuite/gas/i386/i386.exp: Run avx512vl-1, avx512vl-2,
1523 x86-64-avx512vl-1 and x86-64-avx512vl-2.
1524 * testsuite/gas/i386/avx512vl-1.l: New file.
1525 * testsuite/gas/i386/avx512vl-1.s: Likewise.
1526 * testsuite/gas/i386/avx512vl-2.l: Likewise.
1527 * testsuite/gas/i386/avx512vl-2.s: Likewise.
1528 * testsuite/gas/i386/x86-64-avx512vl-1.l: Likewise.
1529 * testsuite/gas/i386/x86-64-avx512vl-1.s: Likewise.
1530 * testsuite/gas/i386/x86-64-avx512vl-2.l: Likewise.
1531 * testsuite/gas/i386/x86-64-avx512vl-2.s: Likewise.
1532
f1360d58
L
15332016-05-25 H.J. Lu <hongjiu.lu@intel.com>
1534
1535 PR gas/20141
1536 * testsuite/gas/i386/i386.exp: Run x86-64-pr20141.
1537 * testsuite/gas/i386/x86-64-pr20141.d: New file.
1538 * testsuite/gas/i386/x86-64-pr20141.s: Likewise.
1539
293f5f65
L
15402016-05-25 H.J. Lu <hongjiu.lu@intel.com>
1541
1542 * config/tc-i386.c (arch_entry): Remove negated.
1543 (noarch_entry): New struct.
1544 (cpu_arch): Updated. Remove .no87, .nommx, .nosse and .noavx.
1545 (cpu_noarch): New.
1546 (set_cpu_arch): Check cpu_noarch after cpu_arch.
1547 (md_parse_option): Allow -march=+nosse. Check cpu_noarch after
1548 cpu_arch.
1549 (output_message): New function.
1550 (show_arch): Use it. Handle cpu_noarch.
1551 * testsuite/gas/i386/i386.exp: Run nommx-1, nommx-2, nommx-3,
1552 nosse-1, nosse-2, nosse-3, noavx-1 and noavx-2.
1553 * testsuite/gas/i386/noavx-1.l: New file.
1554 * testsuite/gas/i386/noavx-1.s: Likewise.
1555 * testsuite/gas/i386/noavx-2.s: Likewise.
1556 * testsuite/gas/i386/noavx-2.l: Likewise.
1557 * testsuite/gas/i386/nommx-1.s: Likewise.
1558 * testsuite/gas/i386/nommx-1.l: Likewise.
1559 * testsuite/gas/i386/nommx-2.s: Likewise.
1560 * testsuite/gas/i386/nommx-2.l: Likewise.
1561 * testsuite/gas/i386/nommx-3.s: Likewise.
1562 * testsuite/gas/i386/nommx-3.l: Likewise.
1563 * testsuite/gas/i386/nosse-1.s: Likewise.
1564 * testsuite/gas/i386/nosse-1.l: Likewise.
1565 * testsuite/gas/i386/nosse-2.s: Likewise.
1566 * testsuite/gas/i386/nosse-2.l: Likewise.
1567 * testsuite/gas/i386/nosse-3.s: Likewise.
1568 * testsuite/gas/i386/nosse-3.l: Likewise.
1569
934c2632
CZL
15702016-05-25 Chua Zheng Leong <chuazl@comp.nus.edu.sg>
1571
ee4d7613 1572 PR target/20067
934c2632
CZL
1573 * config/tc-arm.c (move_or_literal_pool): Only generate a VMOV.I64
1574 instruction if supported by the currently selected fpu variant.
1575 * testsuite/gas/arm/vfpv3-ldr_immediate.s: Add test of this PR.
1576 * testsuite/gas/arm/vfpv3-ldr_immediate.d: Update expected disassembly.
1577
44d3da23 15782016-05-24 Maciej W. Rozycki <macro@imgtec.com>
934c2632 1579
44d3da23
MR
1580 * config/tc-mips.c (mips_fix_adjustable): Also return 0 for
1581 jump relocations against MIPS16 or microMIPS symbols on RELA
1582 targets.
1583 * testsuite/gas/mips/jalx-local.d: New test.
1584 * testsuite/gas/mips/jalx-local-n32.d: New test.
1585 * testsuite/gas/mips/jalx-local-n64.d: New test.
1586 * testsuite/gas/mips/jalx-local.s: New test source.
1587 * testsuite/gas/mips/mips.exp: Run the new tests.
1588
4512dafa
MR
15892016-05-24 Maciej W. Rozycki <macro@imgtec.com>
1590
1591 * config/tc-mips.c (md_apply_fix)
1592 <BFD_RELOC_MIPS16_TLS_TPREL_LO16>: Remove fall-through, adjust
1593 code accordingly.
1594
cc34adb2
TS
15952016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1596
1597 * config/tc-xtensa.c (struct suffix_reloc_map): Change type of field
1598 operator to operatorT.
1599 (map_suffix_reloc_to_operator): Change return type to operatorT.
1600
c023823f
TS
16012016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1602
1603 * config/tc-d30v.c (find_format): Change type of X_op to operatorT.
1604
049efc64
TS
16052016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1606
1607 * config/tc-mmix.c (mmix_parse_predefined_name): Change type of
1608 handler_charp to const char *.
1609
b19e0aeb
TS
16102016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1611
1612 * config/tc-ft32.h (DEFAULT_TARGET_FORMAT): Remove.
1613 (ft32_target_format): Likewise.
1614 (TARGET_FORMAT): Adjust.
1615
e5e27b07
TS
16162016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1617
1618 * config/tc-ia64.c (dot_rot): simplify allocations from obstacks.
1619 (ia64_frob_label): Likewise.
1620
6610dc6d
TS
16212016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1622
1623 * config/tc-cr16.c (check_range): Make type of retval op_err.
1624 * config/tc-crx.c: Likewise.
1625
87789e08
CZ
16262016-05-23 Claudiu Zissulescu <claziss@synopsys.com>
1627
1628 * config/tc-arc.c (md_begin): Add XY registers.
1629 (cpu_types): Code density is default off for ARC EM.
1630
c810e0b8
CZ
16312016-05-23 Cupertino Miranda <cmiranda@synopsys.com>
1632
1633 * config/tc-arc.c (attributes_t): Renamed attribute class to
1634 attr_class.
1635 (find_opcode_match, assemble_insn, tokenize_extinsn): Changed.
1636
d26a14db
NC
16372016-05-23 Kuba Sejdak <jakub.sejdak@phoesys.com>
1638
1639 * configuse.tgt: Add entry for arm-phoenix.
1640
f10e0aef
TS
16412016-05-23 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1642
1643 * config/tc-tic54x.c (tic54x_sect): simplify string creation.
1644
2900e701
TS
16452016-05-23 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1646
1647 * config/tc-spu.c (APUOP): Use OPCODE as an unsigned constant.
1648
3d207518
TS
16492016-05-23 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1650
1651 * config/tc-tic54x.c (tic54x_mmregs): Adjust.
1652 (md_begin): Likewise.
1653 (encode_condition): Likewise.
1654 (encode_cc3): Likewise.
1655 (encode_cc2): Likewise.
1656 (encode_operand): Likewise.
1657 (tic54x_undefined_symbol): Likewise.
1658
a4968f42
MF
16592016-05-20 Matthew Fortune <matthew.fortune@imgtec.com>
1660
1661 * config/tc-mips.c (mips_cpu_info_table): Update comment. Add
1662 p6600 entry.
1663 * doc/c-mips.texi: Document p6600 -march option.
1664
4e21640f
L
16652016-05-20 H.J. Lu <hongjiu.lu@intel.com>
1666
1667 PR gas/19600
1668 * config/tc-i386.c (md_apply_fix): Preserve addend for
1669 BFD_RELOC_386_GOT32 and BFD_RELOC_X86_64_GOT32.
1670 * testsuite/gas/i386/addend.d: New file.
1671 * testsuite/gas/i386/addend.s: Likewise.
1672 * testsuite/gas/i386/x86-64-addend.d: Likewise.
1673 * testsuite/gas/i386/x86-64-addend.s: Likewise.
1674 * testsuite/gas/i386/i386.exp: Run addend and x86-64-addend.
1675 * testsuite/gas/i386/reloc32.d: Updated.
1676
17c6c9d9
MR
16772016-05-20 Maciej W. Rozycki <macro@imgtec.com>
1678
1679 * config/tc-mips.c (append_insn): Correct the encoding of a
1680 constant argument for microMIPS JALX.
1681 (tc_gen_reloc): Correct the encoding of an in-place addend for
1682 microMIPS JALX.
1683 * testsuite/gas/mips/jalx-addend.d: New test.
1684 * testsuite/gas/mips/jalx-addend-n32.d: New test.
1685 * testsuite/gas/mips/jalx-addend-n64.d: New test.
1686 * testsuite/gas/mips/jalx-imm.d: New test.
1687 * testsuite/gas/mips/jalx-imm-n32.d: New test.
1688 * testsuite/gas/mips/jalx-imm-n64.d: New test.
1689 * testsuite/gas/mips/jalx-addend.s: New test source.
1690 * testsuite/gas/mips/jalx-imm.s: New test source.
1691 * testsuite/gas/mips/mips.exp: Run the new tests.
1692
134c0c8b
MR
16932016-05-20 Maciej W. Rozycki <macro@imgtec.com>
1694
1695 * config/tc-mips.c: Correct tab-after-space formatting mistakes
1696 throughout.
1697
38cd8a0d
AB
16982016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
1699
1700 * config/tc-arc.c (find_opcode_match): Remove casting away of
1701 const.
1702 * config/tc-arc.h (struct arc_flags): Make flgp field const.
1703
9e32d9ae
AB
17042016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
1705
1706 * config/tc-arc.c (md_pcrel_from_section): Use BFD_VMA_FMT where
1707 appropriate.
1708 (md_convert_frag): Likewise.
1709
fe779266
AB
17102016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
1711
1712 * config/tc-arc.c (arc_opcode_hash_entry_iterator_next): Set
1713 cached opcode to NULL when we reach a non-matching opcode.
1714 * testsuite/gas/arc/asm-errors-2.d: New file.
1715 * testsuite/gas/arc/asm-errors-2.err: New file.
1716 * testsuite/gas/arc/asm-errors-2.s: New file.
1717
3b889a78
AB
17182016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
1719
1720 * config/tc-arc.c (tokenize_arguments): Add checks for array
1721 overflow.
1722 * testsuite/gas/arc/asm-errors.s: Addition test line added.
1723 * testsuite/gas/arc/asm-errors.err: Update expected results.
1724
42e58860
TS
17252016-05-18 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1726
1727 * config/tc-rx.c (struct cpu_type): Change the type of a field from
1728 int to enum rx_cpu_types.
1729
4bfaa1ca
TS
17302016-05-18 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1731
1732 * config/tc-dlx.c (struct machine_it): change the type of a field from
1733 int to bfd_reloc_code_real_type.
1734 * config/tc-tic4x.c: Likewise.
1735
eb408eaa
TS
17362016-05-18 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1737
1738 * config/tc-v850.c (v850_target_arch): change type to enum
1739 bfd_architecture.
1740 * config/tc-v850.h (v850_target_arch): Likewise.
1741
a255f00a
AM
17422016-05-18 Alan Modra <amodra@gmail.com>
1743
1744 * config/tc-ppc.c (ppc_insert_operand): Trim PPC_OPERAND_SIGNOPT
1745 allowed negative range.
1746 * testsuite/gas/ppc/power9.s: Test xxspltib of -128, not -256.
1747 * testsuite/gas/ppc/power9.d: Update.
1748
659f032c
TP
17492016-05-17 Thomas Preud'homme <thomas.preudhomme@arm.com>
1750
1751 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Force Thumb when
1752 disassembling and stop skipping targets.
1753 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
1754 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
1755 * testsuite/gas/arm/archv8m-base.d: Also allow nops after the last
1756 instruction for targets that have stronger alignment requirement.
1757 * testsuite/gas/arm/archv8m-cmse-base.d: Likewise.
1758 * testsuite/gas/arm/archv8m-cmse-main-1.d: Likewise.
1759 * testsuite/gas/arm/archv8m-cmse-main-2.d: Likewise.
1760 * testsuite/gas/arm/archv8m-main-dsp-1.d: Likewise.
1761 * testsuite/gas/arm/archv8m-main-dsp-2.d: Likewise.
1762 * testsuite/gas/arm/archv8m-main-dsp-3.d: Likewise.
1763 * testsuite/gas/arm/archv8m-main.d: Likewise.
1764 * testsuite/gas/arm/archv8m.s: Add label.
1765 * testsuite/gas/arm/archv8m-cmse.s: Likewise.
1766 * testsuite/gas/arm/archv8m-cmse-msr.s: Likewise.
1767 * testsuite/gas/arm/archv8m-cmse-main.s: Likewise.
1768
7b14583e
TS
17692016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1770
1771 * config/tc-m32r.c (mach_table): Make static and const.
1772
0591130a
TS
17732016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1774
1775 * config/tc-vax.c (flonum_gen2vax): Adjust prototype to match
1776 definition.
1777
9117cd3e
TS
17782016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1779
1780 * config/tc-mn10300.c (md_begin): set linkrelax here instead of
1781 defining it.
1782 * config/tc-msp430.c (md_begin): Likewise.
1783
e1838240
TS
17842016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1785
1786 * config/tc-m68hc11.c (fixup8): Change variables type from int to
1787 bfd_reloc_code_real_type where appropriate.
1788 (fixup16): Likewise.
1789 (fixup8_xg): Likewise.
1790
9dfa3e63
MR
17912016-05-15 Maciej W. Rozycki <macro@imgtec.com>
1792
1793 * config/tc-sh64.c (shmedia_check_limits): Constify `msg'.
1794
1178da44
PB
17952016-05-13 Peter Bergner <bergner@vnet.ibm.com>
1796
1797 * testsuite/gas/ppc/power9.d <xxspltib>: Add additional operand tests.
1798 * testsuite/gas/ppc/power9.s: Likewise.
1799
d2edc834
AM
18002016-05-13 Alan Modra <amodra@gmail.com>
1801
1802 * config/obj-coff.c (weak_uniquify): Delete unused var.
1803
add39d23
TS
18042016-05-13 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1805
1806 * app.c (app_push): Use XNEW and related macros.
1807 * as.c (parse_args): Likewise.
1808 * cgen.c (make_right_shifted_expr): Likewise.
1809 (gas_cgen_tc_gen_reloc): Likewise.
1810 * config/bfin-defs.h: Likewise.
1811 * config/bfin-parse.y: Likewise.
1812 * config/obj-coff.c (stack_init): Likewise.
1813 (stack_push): Likewise.
1814 (coff_obj_symbol_new_hook): Likewise.
1815 (coff_obj_symbol_clone_hook): Likewise.
1816 (add_lineno): Likewise.
1817 (coff_frob_symbol): Likewise.
1818 * config/obj-elf.c (obj_elf_section_name): Likewise.
1819 (build_group_lists): Likewise.
1820 * config/obj-evax.c (evax_symbol_new_hook): Likewise.
1821 * config/obj-macho.c (obj_mach_o_indirect_symbol): Likewise.
1822 * config/tc-aarch64.c (insert_reg_alias): Likewise.
1823 (find_or_make_literal_pool): Likewise.
1824 (add_to_lit_pool): Likewise.
1825 (fill_instruction_hash_table): Likewise.
1826 * config/tc-alpha.c (load_expression): Likewise.
1827 (emit_jsrjmp): Likewise.
1828 (s_alpha_ent): Likewise.
1829 (s_alpha_end): Likewise.
1830 (s_alpha_linkage): Likewise.
1831 (md_begin): Likewise.
1832 (tc_gen_reloc): Likewise.
1833 * config/tc-arc.c (arc_insert_opcode): Likewise.
1834 (arc_extcorereg): Likewise.
1835 * config/tc-bfin.c: Likewise.
1836 * config/tc-cr16.c: Likewise.
1837 * config/tc-cris.c: Likewise.
1838 * config/tc-crx.c (preprocess_reglist): Likewise.
1839 * config/tc-d10v.c: Likewise.
1840 * config/tc-frv.c (frv_insert_vliw_insn): Likewise.
1841 (frv_tomcat_shuffle): Likewise.
1842 * config/tc-h8300.c: Likewise.
1843 * config/tc-i370.c (i370_macro): Likewise.
1844 * config/tc-i386.c (lex_got): Likewise.
1845 (md_parse_option): Likewise.
1846 * config/tc-ia64.c (alloc_record): Likewise.
1847 (set_imask): Likewise.
1848 (save_prologue_count): Likewise.
1849 (dot_proc): Likewise.
1850 (dot_endp): Likewise.
1851 (ia64_frob_label): Likewise.
1852 (add_qp_imply): Likewise.
1853 (add_qp_mutex): Likewise.
1854 (mark_resource): Likewise.
1855 (dot_alias): Likewise.
1856 * config/tc-m68hc11.c: Likewise.
1857 * config/tc-m68k.c (m68k_frob_label): Likewise.
1858 (s_save): Likewise.
1859 (mri_control_label): Likewise.
1860 (push_mri_control): Likewise.
1861 (build_mri_control_operand): Likewise.
1862 (s_mri_else): Likewise.
1863 (s_mri_break): Likewise.
1864 (s_mri_next): Likewise.
1865 (s_mri_for): Likewise.
1866 (s_mri_endw): Likewise.
1867 * config/tc-metag.c (create_mnemonic_htab): Likewise.
1868 * config/tc-microblaze.c: Likewise.
1869 * config/tc-mmix.c (s_loc): Likewise.
1870 * config/tc-nds32.c (nds32_relax_hint): Likewise.
1871 * config/tc-nios2.c (nios2_insn_reloc_new): Likewise.
1872 * config/tc-rl78.c: Likewise.
1873 * config/tc-rx.c (rx_include): Likewise.
1874 * config/tc-sh.c: Likewise.
1875 * config/tc-sh64.c (shmedia_frob_section_type): Likewise.
1876 * config/tc-sparc.c: Likewise.
1877 * config/tc-spu.c: Likewise.
1878 * config/tc-tic6x.c (static tic6x_unwind_info *tic6x_get_unwind): Likewise.
1879 (tic6x_start_unwind_section): Likewise.
1880 * config/tc-tilegx.c: Likewise.
1881 * config/tc-tilepro.c: Likewise.
1882 * config/tc-v850.c: Likewise.
1883 * config/tc-visium.c: Likewise.
1884 * config/tc-xgate.c: Likewise.
1885 * config/tc-xtensa.c (xtensa_translate_old_userreg_ops): Likewise.
1886 (new_resource_table): Likewise.
1887 (resize_resource_table): Likewise.
1888 (xtensa_create_trampoline_frag): Likewise.
1889 (xtensa_maybe_create_literal_pool_frag): Likewise.
1890 (cache_literal_section): Likewise.
1891 * config/xtensa-relax.c (append_transition): Likewise.
1892 (append_condition): Likewise.
1893 (append_value_condition): Likewise.
1894 (append_constant_value_condition): Likewise.
1895 (append_literal_op): Likewise.
1896 (append_label_op): Likewise.
1897 (append_constant_op): Likewise.
1898 (append_field_op): Likewise.
1899 (append_user_fn_field_op): Likewise.
1900 (enter_opname_n): Likewise.
1901 (enter_opname): Likewise.
1902 (split_string): Likewise.
1903 (parse_insn_templ): Likewise.
1904 (clone_req_or_option_list): Likewise.
1905 (clone_req_option_list): Likewise.
1906 (parse_option_cond): Likewise.
1907 (parse_insn_pattern): Likewise.
1908 (parse_insn_repl): Likewise.
1909 (build_transition): Likewise.
1910 (build_transition_table): Likewise.
1911 * dw2gencfi.c (alloc_fde_entry): Likewise.
1912 (alloc_cfi_insn_data): Likewise.
1913 (cfi_add_CFA_remember_state): Likewise.
1914 (dot_cfi_escape): Likewise.
1915 (dot_cfi_fde_data): Likewise.
1916 (select_cie_for_fde): Likewise.
1917 * dwarf2dbg.c (dwarf2_directive_loc): Likewise.
1918 * ecoff.c (ecoff_add_bytes): Likewise.
1919 (ecoff_build_debug): Likewise.
1920 * input-scrub.c (input_scrub_push): Likewise.
1921 (input_scrub_begin): Likewise.
1922 (input_scrub_next_buffer): Likewise.
1923 * itbl-ops.c (append_insns_as_macros): Likewise.
1924 (alloc_entry): Likewise.
1925 (alloc_field): Likewise.
1926 * listing.c (listing_newline): Likewise.
1927 (listing_listing): Likewise.
1928 * macro.c (get_any_string): Likewise.
1929 (delete_macro): Likewise.
1930 * stabs.c (generate_asm_file): Likewise.
1931 (stabs_generate_asm_lineno): Likewise.
1932 * subsegs.c (subseg_change): Likewise.
1933 (subseg_get): Likewise.
1934 * symbols.c (define_dollar_label): Likewise.
1935 (symbol_relc_make_sym): Likewise.
1936 * write.c (write_relocs): Likewise.
1937
29a2809e
TS
19382016-05-13 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1939
1940 * config/obj-coff.c (obj_coff_def): Simplify string copying.
1941 (weak_name2altname): Likewise.
1942 (weak_uniquify): Likewise.
1943 (obj_coff_section): Likewise.
1944 (obj_coff_init_stab_section): Likewise.
1945 * config/obj-elf.c (obj_elf_section_name): Likewise.
1946 (obj_elf_init_stab_section): Likewise.
1947 * config/obj-evax.c (evax_shorten_name): Likewise.
1948 * config/obj-macho.c (obj_mach_o_make_or_get_sect): Likewise.
1949 * config/tc-aarch64.c (create_register_alias): Likewise.
1950 * config/tc-alpha.c (load_expression): Likewise.
1951 (s_alpha_file): Likewise.
1952 (s_alpha_section_name): Likewise.
1953 (tc_gen_reloc): Likewise.
1954 * config/tc-arc.c (md_assemble): Likewise.
1955 * config/tc-arm.c (create_neon_reg_alias): Likewise.
1956 (start_unwind_section): Likewise.
1957 * config/tc-hppa.c (pa_build_unwind_subspace): Likewise.
1958 (hppa_elf_mark_end_of_function): Likewise.
1959 * config/tc-nios2.c (nios2_modify_arg): Likewise.
1960 (nios2_negate_arg): Likewise.
1961 * config/tc-rx.c (rx_section): Likewise.
1962 * config/tc-sh64.c (sh64_consume_datalabel): Likewise.
1963 * config/tc-tic30.c (tic30_find_parallel_insn): Likewise.
1964 * config/tc-tic54x.c (tic54x_include): Likewise.
1965 (tic54x_macro_info): Likewise.
1966 (subsym_get_arg): Likewise.
1967 (subsym_substitute): Likewise.
1968 (tic54x_start_line_hook): Likewise.
1969 * config/tc-xtensa.c (xtensa_literal_prefix): Likewise.
1970 (xg_reverse_shift_count): Likewise.
1971 * config/xtensa-relax.c (enter_opname_n): Likewise.
1972 (split_string): Likewise.
1973 * dwarf2dbg.c (get_filenum): Likewise.
1974 (process_entries): Likewise.
1975 * expr.c (operand): Likewise.
1976 * itbl-ops.c (alloc_entry): Likewise.
1977 * listing.c (listing_message): Likewise.
1978 (listing_title): Likewise.
1979 * macro.c (check_macro): Likewise.
1980 * stabs.c (s_xstab): Likewise.
1981 * symbols.c (symbol_relc_make_expr): Likewise.
1982 * write.c (compress_debug): Likewise.
1983
58c7f094
NC
19842016-05-12 Nick Clifton <nickc@redhat.com>
1985
1986 PR target/20068
1987 * testsuite/gas/arm/pr20068.d: Use correct regexp syntax.
1988
d5e74e8d
NC
19892016-05-11 Nick Clifton <nickc@redhat.com>
1990
1991 PR target/20068
1992 * testsuite/gas/arm/pr20068.d: Adjust expected output to allow for
1993 big endian ARM configurations.
1994
8f4f9071
MF
19952016-05-11 Andrew Bennett <andrew.bennett@imgtec.com>
1996 Matthew Fortune <matthew.fortune@imgtec.com>
1997
1998 * config/tc-mips.c (options): Add OPTION_DSPR3 and
1999 OPTION_NO_DSPR3.
2000 (md_longopts): Likewise.
2001 (md_show_usage): Add help for -mdspr3 and -mno-dspr3.
2002 (mips_ases): Define availability for DSPr3.
2003 (mips_ase_groups): Add ASE_DSPR3 to the DSP group.
2004 (mips_convert_ase_flags): Map ASE_DSPR3 to AFL_ASE_DSPR3.
2005 * doc/as.texinfo: Document -mdspr3, -mno-dspr3. Fix -mdspr2
2006 formatting.
2007 * doc/c-mips.texi: Document -mdspr3, -mno-dspr3, .set dspr3 and
2008 .set nodspr3. Fix -mdspr2 formatting.
2009 * testsuite/gas/mips/mips32-dspr3.d: New file.
2010 * testsuite/gas/mips/mips32-dspr3.s: Likewise.
2011 * testsuite/gas/mips/mips.exp: Run mips32-dspr3 test.
2012
a6684f0d
NC
20132016-05-11 Nick Clifton <nickc@redhat.com>
2014
2015 PR target/20068
2016 * config/tc-arm.c (add_to_lit_pool): Ensure that the padding added
2017 to the pool uses O_constant.
2018 * testsuite/gas/arm/pr20068.s: New test.
2019 * testsuite/gas/arm/pr20068.d: Test driver.
2020
be5c445b
NC
20212016-05-11 Nick Clifton <nickc@redhat.com>
2022
4179a6a2
NC
2023 * testsuite/gas/arm/archv8m-cmse-base.d: Skip for non-ELF ARM targets.
2024 * testsuite/gas/arm/archv8m-cmse-main-1.d: Likewise.
2025 * testsuite/gas/arm/archv8m-cmse-main-2.d: Likewise.
2026 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Likewise.
2027 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
2028 * testsuite/gas/arm/archv8m-main-dsp-1.d: Likewise.
2029 * testsuite/gas/arm/archv8m-main-dsp-2.d: Likewise.
2030 * testsuite/gas/arm/archv8m-main-dsp-3.d: Likewise.
2031 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
be5c445b
NC
2032
20332016-05-10 Alexander Fomin <alexander.fomin@intel.com>
2034
2035 * testsuite/gas/i386/i386.exp: Run RDPID tests.
2036 * testsuite/gas/i386/prefix.d: Adjust.
2037 * testsuite/gas/i386/rdpid.s: New test.
2038 * testsuite/gas/i386/rdpid.d: Ditto.
2039 * testsuite/gas/i386/rdpid-intel.d: Ditto.
2040 * testsuite/gas/i386/x86-64-rdpid.s: Ditto.
2041 * testsuite/gas/i386/x86-64-rdpid.d: Ditto.
2042 * testsuite/gas/i386/x86-64-rdpid-intel.d: Ditto.
2043
8bc52696
AF
20442016-05-10 Alexander Fomin <alexander.fomin@intel.com>
2045
2046 * config/tc-i386.c (cpu_arch): Add RDPID.
2047 * doc/c-i386.texi: Document RDPID.
2048
39d911fc
TP
20492016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
2050
2051 * config/tc-arm.c (arm_adjust_symtab): Use ARM_SET_SYM_BRANCH_TYPE to
2052 set branch type of a symbol.
2053
15afaa63
TP
20542016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
2055
2056 * NEWS: Document ARMv8-M and ARMv8-M Security and DSP Extensions.
2057 * config/tc-arm.c (arm_ext_dsp): New feature for Thumb DSP
2058 instructions.
2059 (arm_extensions): Add dsp extension for ARMv8-M Mainline.
2060 (aeabi_set_public_attributes): Memorize the feature bits of the
2061 architecture selected for Tag_CPU_arch. Use it to set
2062 Tag_DSP_extension to 1 for ARMv8-M Mainline with DSP extension.
2063 (arm_convert_symbolic_attribute): Define Tag_DSP_extension.
2064 * testsuite/gas/arm/arch7em-bad.d: Rename to ...
2065 * testsuite/gas/arm/arch7em-bad-1.d: This.
2066 * testsuite/gas/arm/arch7em-bad-2.d: New file.
2067 * testsuite/gas/arm/arch7em-bad-3.d: Likewise.
2068 * testsuite/gas/arm/archv8m-main-dsp-1.d: Likewise.
2069 * testsuite/gas/arm/archv8m-main-dsp-2.d: Likewise.
2070 * testsuite/gas/arm/archv8m-main-dsp-3.d: Likewise.
2071 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
2072 * testsuite/gas/arm/archv8m-main-dsp-5.d: Likewise.
2073 * testsuite/gas/arm/attr-march-armv8m.main.dsp.d: Likewise.
2074
d942732e
TP
20752016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
2076
2077 * config/tc-arm.c (struct arm_option_extension_value_table): Make
2078 allowed_archs an array with 2 entries.
2079 (ARM_EXT_OPT): Adapt to only fill the first entry of allowed_archs.
2080 (ARM_EXT_OPT2): New macro filling the two entries of allowed_archs.
2081 (arm_extensions): Use separate entries in allowed_archs when several
2082 archs are allowed to use an extension and change ARCH_ANY in
2083 ARM_ARCH_NONE in allowed_archs.
2084 (arm_parse_extension): Check that, for each allowed_archs entry, all
2085 bits are set in the current architecture, ignoring ARM_ANY entries.
2086 (s_arm_arch_extension): Likewise.
2087
16a1fa25
TP
20882016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
2089
2090 * config/tc-arm.c (arm_ext_m): Add feature bit ARM_EXT2_V8M_MAIN.
2091 (arm_ext_v8m_main): New feature set for bit ARM_EXT2_V8M_MAIN.
2092 (arm_ext_v8m_m_only): New feature set for instructions in ARMv8-M not
2093 shared with a non M profile architecture.
2094 (do_rn): New function.
2095 (known_t32_only_insn): Check opcode against arm_ext_v8m_m_only rather
2096 than arm_ext_v8m.
2097 (v7m_psrs): Add ARMv8-M security extensions new special registers.
2098 (insns): Add ARMv8-M Security Extensions instructions.
2099 (aeabi_set_public_attributes): Use arm_ext_v8m_m_only instead of
2100 arm_ext_v8m_m to decide the profile and the Thumb ISA.
2101 * testsuite/gas/arm/archv8m-cmse.s: New file.
2102 * testsuite/gas/arm/archv8m-cmse-main.s: Likewise..
2103 * testsuite/gas/arm/archv8m-cmse-msr.s: Likewise.
2104 * testsuite/gas/arm/any-cmse.d: Likewise.
2105 * testsuite/gas/arm/any-cmse-main.d: Likewise.
2106 * testsuite/gas/arm/archv8m-cmse-base.d: Likewise.
2107 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Likewise.
2108 * testsuite/gas/arm/archv8m-cmse-main-1.d: Likewise.
2109 * testsuite/gas/arm/archv8m-cmse-main-2.d: Likewise.
2110 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
2111
d751b79e
JM
21122016-05-09 Jose E. Marchesi <jose.marchesi@oracle.com>
2113
2114 * testsuite/gas/sparc/sparc5vis4.s: Fix mnemonic of faligndatai.
2115 * testsuite/gas/sparc/sparc5vis4.d: Likewise.
2116
f85d59c3
KT
21172016-05-04 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
2118
2119 * config/tc-arm.c (fpu_arch_vfp_v1): Mark with ATTRIBUTE_UNUSED.
2120 (fpu_arch_vfp_v3): Likewise.
2121 (fpu_arch_neon_v1): Likewise.
2122 (arm_arch_full): Likewise.
2123 (parse_neon_el_struct_list): Initialize fields of firsttype.
2124
945e0f82
CZ
21252016-05-03 Claudiu Zissulescu <claziss@synopsys.com>
2126
2127 * config/tc-arc.c (syntaxclass): Add SYNTAX_NOP and SYNTAX_1OP.
2128 (arc_extinsn): Handle new introduced syntax.
2129 * testsuite/gas/arc/textinsn1op.d: New file.
2130 * testsuite/gas/arc/textinsn1op.s: Likewise.
2131 * doc/c-arc.texi: Document SYNTAX_NOP and SYNTAX_1OP.
2132
b782c63d
PS
21332016-05-03 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
2134
2135 * testsuite/gas/lns/lns.exp: Add avr to list of targets using
2136 DW_LNS_fixed_advance_pc.
2137
25771140
AM
21382016-04-27 Alan Modra <amodra@gmail.com>
2139
2140 * as.h (inline, __PTR_TO_INT, __INT_TO_PTR): Don't define.
2141 (xmemdup0): New inline function.
2142
22522f88
MR
21432016-04-22 Maciej W. Rozycki <macro@imgtec.com>
2144
2145 * config/tc-mips.c (code_option_type): New enum.
2146 (parse_code_option): Return status indicating option type.
2147 (s_mipsset): Update `parse_code_option' call site accordingly.
2148 Always set register sizes from the ISA with ISA overrides.
2149 (s_module): Update `parse_code_option' call site.
2150 * testsuite/gas/mips/isa-override-1.d: New test.
2151 * testsuite/gas/mips/micromips@isa-override-1.d: New test.
2152 * testsuite/gas/mips/mips1@isa-override-1.d: New test.
2153 * testsuite/gas/mips/mips2@isa-override-1.d: New test.
2154 * testsuite/gas/mips/mips32@isa-override-1.d: New test.
2155 * testsuite/gas/mips/mips32r2@isa-override-1.d: New test.
2156 * testsuite/gas/mips/mips32r3@isa-override-1.d: New test.
2157 * testsuite/gas/mips/mips32r5@isa-override-1.d: New test.
2158 * testsuite/gas/mips/mips32r6@isa-override-1.d: New test.
2159 * testsuite/gas/mips/mips64r2@isa-override-1.d: New test.
2160 * testsuite/gas/mips/mips64r3@isa-override-1.d: New test.
2161 * testsuite/gas/mips/mips64r5@isa-override-1.d: New test.
2162 * testsuite/gas/mips/mips64r6@isa-override-1.d: New test.
2163 * testsuite/gas/mips/r3000@isa-override-1.d: New test.
2164 * testsuite/gas/mips/r3900@isa-override-1.d: New test.
2165 * testsuite/gas/mips/r5900@isa-override-1.d: New test.
2166 * testsuite/gas/mips/octeon@isa-override-1.d: New test.
2167 * testsuite/gas/mips/octeon3@isa-override-1.d: New test.
2168 * testsuite/gas/mips/isa-override-2.l: New list test.
2169 * testsuite/gas/mips/mips1@isa-override-2.l: New list test.
2170 * testsuite/gas/mips/mips2@isa-override-2.l: New list test.
2171 * testsuite/gas/mips/mips32@isa-override-2.l: New list test.
2172 * testsuite/gas/mips/mips32r2@isa-override-2.l: New list test.
2173 * testsuite/gas/mips/mips32r3@isa-override-2.l: New list test.
2174 * testsuite/gas/mips/mips32r5@isa-override-2.l: New list test.
2175 * testsuite/gas/mips/mips32r6@isa-override-2.l: New list test.
2176 * testsuite/gas/mips/r3000@isa-override-2.l: New list test.
2177 * testsuite/gas/mips/r3900@isa-override-2.l: New list test.
2178 * testsuite/gas/mips/octeon3@isa-override-2.l: New list test.
2179 * testsuite/gas/mips/octeon3@isa-override-1.l: New stderr
2180 output.
2181 * testsuite/gas/mips/isa-override-1.s: New test source.
2182 * testsuite/gas/mips/r5900@isa-override-1.s: New test source.
2183 * testsuite/gas/mips/isa-override-2.s: New test source.
2184 * testsuite/gas/mips/mips1@isa-override-2.s: New test source.
2185 * testsuite/gas/mips/mips2@isa-override-2.s: New test source.
2186 * testsuite/gas/mips/mips32@isa-override-2.s: New test source.
2187 * testsuite/gas/mips/mips32r2@isa-override-2.s: New test source.
2188 * testsuite/gas/mips/mips32r3@isa-override-2.s: New test source.
2189 * testsuite/gas/mips/mips32r5@isa-override-2.s: New test source.
2190 * testsuite/gas/mips/mips32r6@isa-override-2.s: New test source.
2191 * testsuite/gas/mips/r3000@isa-override-2.s: New test source.
2192 * testsuite/gas/mips/r3900@isa-override-2.s: New test source.
2193 * testsuite/gas/mips/octeon3@isa-override-2.s: New test source.
2194 * testsuite/gas/mips/mips.exp: Run the new tests.
2195
e6c7cdec
TS
21962016-04-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2197
2198 * cgen.c: Likewise.
2199 * config/tc-bfin.c: Likewise.
2200 * config/tc-ia64.c: Likewise.
2201 * config/tc-mep.c: Likewise.
2202 * config/tc-metag.c: Likewise.
2203 * config/tc-nios2.c: Likewise.
2204 * config/tc-rl78.c: Likewise.
2205
2533af11
AB
22062016-04-20 Andrew Burgess <andrew.burgess@embecosm.com>
2207
2208 * doc/c-arc.texi (ARC Options): Add nps400 to list of valus for
2209 -mcpu. Add cross reference to .cpu directive from -mcpu option.
2210 (ARC Directives): Add NPS400 to .cpu directive list.
2211
50cc854c
MW
22122016-04-20 Matthew Wahab <matthew.wahab@arm.com>
2213
2214 * config/tc-aarch64.c (aarch64_features): Add "ras".
2215 * doc/c-aarch64.texi (AArch64 Extensions): Add "ras".
2216 * testsuite/gas/aarch64/armv8-ras-1.d: New.
2217 * testsuite/gas/aarch64/armv8-ras-1.s: New.
2218 * testsuite/gas/aarch64/illegal-ras-1.d: New.
2219 * testsuite/gas/aarch64/illegal-ras-1.s: New.
2220
537aefaf
AB
22212016-04-19 Andrew Burgess <andrew.burgess@embecosm.com>
2222
2223 * testsuite/gas/arc/nps400-6.d: New file.
2224 * testsuite/gas/arc/nps400-6.s: New file.
2225
c8f785f2
AB
22262016-04-19 Andrew Burgess <andrew.burgess@embecosm.com>
2227
2228 * testsuite/gas/arc/nps400-4.d: New file.
2229 * testsuite/gas/arc/nps400-4.s: New file.
2230 * testsuite/gas/arc/nps400-5.d: New file.
2231 * testsuite/gas/arc/nps400-5.s: New file.
2232
48eac74c
MG
22332016-04-19 Martin Galvan <martin.galvan@tallertechnologies.com>
2234
2235 * doc/as.texinfo (.cfi_remember_state, .cfi_restore_state): Improve
2236 documentation.
2237
644aca26
AB
22382016-04-17 Andrew Burgess <andrew.burgess@embecosm.com>
2239
2240 Revert prevous change.
2241 * config/tc-arc.c (arc_option): Make .cpu directive
2242 case-sensitive again.
2243
9a452709
AB
22442016-04-16 Andrew Burgess <andrew.burgess@embecosm.com>
2245
2246 * config/tc-arc.c (arc_option): Make .cpu directive
2247 case-insensitive.
2248
5e001f26
AB
22492016-04-16 Andrew Burgess <andrew.burgess@embecosm.com>
2250
2251 * config/tc-arc.c (arc_option): Allow NPS400 in .cpu directive.
2252
92fce9bd
TS
22532016-04-15 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2254
2255 * config/tc-mips.c (md_begin): Remove useless assignment.
2256
6fd8e7c2
L
22572016-04-15 H.J. Lu <hongjiu.lu@intel.com>
2258
2259 * Makefile.in: Regenerated with automake 1.11.6.
2260 * aclocal.m4: Likewise.
2261 * doc/Makefile.in: Likewise.
2262
05f7541e
AM
22632016-04-15 Alan Modra <amodra@gmail.com>
2264
2265 * config/tc-ppc.c (toc_reloc_types): Wrap in #ifdef OBJ_ELF
2266
4f2a7b51
TS
22672016-04-14 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2268
2269 * config/tc-nios2.c (nios2_as_options): Make file static.
2270 * config/tc-ppc.c (toc_reloc_ypes): Likewise.
2271 * config/tc-sparc.c (native_op_table): Likewise.
2272
85e53f62
TS
22732016-04-14 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2274
2275 * config/tc-m32c.c (M32C_Macros): Remove.
2276 * config/tc-msp430.c (option_numbers): Likewise.
2277
4b0c052e
AB
22782016-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
2279
2280 * testsuite/gas/arc/nps400-3.d: New file.
2281 * testsuite/gas/arc/nps400-3.s: New file.
2282
d105775e
AB
22832016-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
2284
2285 * testsuite/gas/arc/add_s-err.s: Update target pattern.
2286 * testsuite/gas/arc/warn.s: Likewise.
2287 * testsuite/gas/elf/elf.exp: Run test for arc.
2288
84865015
NC
22892016-04-14 Nick Clifton <nickc@redhat.com>
2290
2291 PR target/19938
2292 * testsuite/gas/i386/ilp32/x86-64-unwind.d: Allow for the string
2293 sections possibly having the SHF_STRINGS flag bit set.
2294 * testsuite/gas/i386/x86-64-unwind.d: Likewise.
2295
1adc8a9a
CZ
22962016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
2297
2298 * config/tc-arc.c (mach_type_specified_p): Change type to
2299 bfd_boolean.
2300 (arc_option): Set private flags when parsing cpu pseudo-op.
2301 (md_parse_option): Set mach_type_specified_p to TRUE.
2302
e4449be8
NC
23032016-04-13 Nick Clifton <nickc@redhat.com>
2304
2305 PR target/19937
2306 * testsuite/gas/v850/pr19937.s: New test.
2307 * testsuite/gas/v850/pr19937.d: New test control file.
2308 * testsuite/gas/v850/basic.exp: Run the new test.
2309
991f40a9
MR
23102016-04-13 Maciej W. Rozycki <macro@imgtec.com>
2311 Andrew Bennett <andrew.bennett@imgtec.com>
2312
2313 * config/tc-mips.c (relaxed_branch_length): Use the long
2314 sequence where the target is a weak symbol.
2315 (relaxed_micromips_32bit_branch_length): Likewise.
2316 (relaxed_micromips_16bit_branch_length): Likewise.
2317 * testsuite/gas/mips/branch-weak-1.d: New test.
2318 * testsuite/gas/mips/branch-weak-2.d: New test.
2319 * testsuite/gas/mips/branch-weak-3.d: New test.
2320 * testsuite/gas/mips/branch-weak-4.d: New test.
2321 * testsuite/gas/mips/branch-weak-5.d: New test.
2322 * testsuite/gas/mips/branch-weak.l: New stderr output.
2323 * testsuite/gas/mips/branch-weak.s: New test source.
2324 * testsuite/gas/mips/mips.exp: Run the new tests.
2325
c1f61bd2
MR
23262016-04-13 Maciej W. Rozycki <macro@imgtec.com>
2327
2328 * config/tc-mips.c (relaxed_branch_length): Use the long
2329 sequence where the distance cannot be determined.
2330 (relaxed_micromips_32bit_branch_length): Likewise.
2331 * testsuite/gas/mips/branch-extern-1.d: New test.
2332 * testsuite/gas/mips/branch-extern-2.d: New test.
2333 * testsuite/gas/mips/branch-extern-3.d: New test.
2334 * testsuite/gas/mips/branch-extern-4.d: New test.
2335 * testsuite/gas/mips/branch-extern.l: New stderr output.
2336 * testsuite/gas/mips/branch-extern.s: New test source.
2337 * testsuite/gas/mips/branch-section-1.d: New test.
2338 * testsuite/gas/mips/branch-section-2.d: New test.
2339 * testsuite/gas/mips/branch-section-3.d: New test.
2340 * testsuite/gas/mips/branch-section-4.d: New test.
2341 * testsuite/gas/mips/branch-section.l: New stderr output.
2342 * testsuite/gas/mips/branch-section.s: New test source.
2343 * testsuite/gas/mips/mips.exp: Run the new tests.
2344
f36e33da
CZ
23452016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
2346
2347 * testsuite/gas/arc/textauxregister.d: New file.
2348 * testsuite/gas/arc/textauxregister.s: Likewise.
2349 * testsuite/gas/arc/textcondcode.d: Likewise.
2350 * testsuite/gas/arc/textcondcode.s: Likewise.
2351 * testsuite/gas/arc/textcoreregister.d: Likewise.
2352 * testsuite/gas/arc/textcoreregister.s: Likewise.
2353 * testsuite/gas/arc/textpseudoop.d: Likewise.
2354 * testsuite/gas/arc/textpseudoop.s: Likewise.
2355 * testsuite/gas/arc/ld2.d: Update test.
2356 * testsuite/gas/arc/st.d: Likewise.
2357 * testsuite/gas/arc/taux.d: Likewise.
2358 * doc/c-arc.texi (ARC Directives): Add .extCondCode,
2359 .extCoreRegister and .extAuxRegister documentation.
2360 * config/tc-arc.c (arc_extcorereg): New function.
2361 (md_pseudo_table): Add .extCondCode, .extCoreRegister and
2362 .extAuxRegister pseudo-ops.
2363 (extRegister_t): New type.
2364 (ext_condcode, arc_aux_hash): New global variable.
2365 (find_opcode_match): Check for extensions.
2366 (preprocess_operands): Likewise.
2367 (md_begin): Add aux registers in a hash.
2368 (assemble_insn): Update use arc_flags member.
2369 (tokenize_extregister): New function.
2370 (create_extcore_section): Likewise.
2371 * config/tc-arc.h (arc_flags): Delete code, add flgp.
2372
1c2e355e
CZ
23732016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
2374
2375 * testsuite/gas/arc/noargs_a7.d: New file.
2376 * testsuite/gas/arc/noargs_a7.s: Likewise.
2377 * testsuite/gas/arc/noargs_hs.d: Likewise.
2378 * testsuite/gas/arc/noargs_hs.s: Likewise.
2379
b99747ae
CZ
23802016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
2381
2382 * testsuite/gas/arc/textinsn-errors.d: New File.
2383 * testsuite/gas/arc/textinsn-errors.err: Likewise.
2384 * testsuite/gas/arc/textinsn-errors.s: Likewise.
2385 * testsuite/gas/arc/textinsn2op.d: Likewise.
2386 * testsuite/gas/arc/textinsn2op.s: Likewise.
2387 * testsuite/gas/arc/textinsn2op01.d: Likewise.
2388 * testsuite/gas/arc/textinsn2op01.s: Likewise.
2389 * testsuite/gas/arc/textinsn3op.d: Likewise.
2390 * testsuite/gas/arc/textinsn3op.s: Likewise.
2391 * doc/c-arc.texi (ARC Directives): Add .extInstruction
2392 documentation.
2393 * config/tc-arc.c (arcext_section): New variable.
2394 (arc_extinsn): New function.
2395 (md_pseudo_table): Add .extInstruction pseudo op.
2396 (attributes_t): New type.
2397 (suffixclass, syntaxclass, syntaxclassmod): New constant
2398 structures.
2399 (find_opcode_match): Remove arc_num_opcodes.
2400 (md_begin): Likewise.
2401 (tokenize_extinsn): New function.
2402 (arc_set_ext_seg): Likewise.
2403 (create_extinst_section): Likewise.
2404
37ab9779
CZ
24052016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
2406
2407 * config/tc-arc.c (preprocess_operands): Mark AUX symbol.
2408 (arc_adjust_symtab): New function.
2409 * config/tc-arc.h (ARC_FLAG_AUX): Define.
2410 (obj_adjust_symtab): Likewise.
2411 * testsuite/gas/arc/taux.d: New file.
2412 * testsuite/gas/arc/taux.s: Likewise.
2413
41a1578e
MR
24142016-04-09 Maciej W. Rozycki <macro@imgtec.com>
2415
2416 * config/tc-mips.c (s_option): Sanitize `.option picX'
2417 pseudo-op.
2418 * testsuite/gas/mips/option-pic-1.d: New test.
2419 * testsuite/gas/mips/option-pic-2.l: New list test.
2420 * testsuite/gas/mips/option-pic-1.s: New test source.
2421 * testsuite/gas/mips/option-pic-2.s: New test source.
2422 * testsuite/gas/mips/mips.exp: Run the new tests.
2423
668c5ebc
MR
24242016-04-09 Maciej W. Rozycki <macro@imgtec.com>
2425
2426 * config/tc-mips.c (s_option): Reject `.option picX' if VxWorks
2427 PIC.
2428 * testsuite/gas/mips/option-pic-vxworks-1.l: New list test.
2429 * testsuite/gas/mips/option-pic-vxworks-2.l: New list test.
2430 * testsuite/gas/mips/option-pic-vxworks-1.s: New test source.
2431 * testsuite/gas/mips/option-pic-vxworks-2.s: New test source.
2432 * testsuite/gas/mips/mips.exp: Run the new tests.
2433
41065f5e
MR
24342016-04-09 Maciej W. Rozycki <macro@imgtec.com>
2435
2436 * config/tc-mips.c (can_swap_branch_p): Correct call formatting.
2437
08918cc8
MR
24382016-04-09 Maciej W. Rozycki <macro@imgtec.com>
2439
2440 * messages.c (as_bad): Fix a typo in description.
2441
1357373c
MR
24422016-04-09 Maciej W. Rozycki <macro@imgtec.com>
2443
2444 * config/tc-mips.c (mips_check_options): Unify messages.
2445
5f4678bb
MR
24462016-04-09 Maciej W. Rozycki <macro@imgtec.com>
2447
2448 * config/tc-mips.c (mips_check_options): Use `opts->isa'
2449 consistently.
2450
992dc2c4
NC
24512016-04-08 Nick Clifton <nickc@redhat.com>
2452
2453 PR target/19910
2454 * testsuite/gas/sparc/pr19910-1.d: Adjust regexps to work with
2455 COFF and AOUT sparc targets.
2456
a42a4f84
AB
24572016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
2458
2459 * config/tc-arc.h (MAX_FLAG_NAME_LENGTH): Increase to 7.
2460 * testsuite/gas/arc/nps400-2.d: New file.
2461 * testsuite/gas/arc/nps400-2.s: New file.
2462
1328504b
AB
24632016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
2464
2465 * config/tc-arc.c (struct arc_opcode_hash_entry_iterator): New
2466 structure.
2467 (arc_opcode_hash_entry_iterator_init): New function.
2468 (arc_opcode_hash_entry_iterator_next): New function.
2469 (find_opcode_match): Iterate over all arc_opcode entries
2470 referenced by the arc_opcode_hash_entry passed in as a parameter.
2471
b9b47ab7
AB
24722016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
2473
2474 * config/tc-arc.c (arc_find_opcode): Now returns
2475 arc_opcode_hash_entry pointer.
2476 (find_opcode_match): Update argument type, extract arc_opcode from
2477 incoming arc_opcode_hash_entry.
2478 (find_special_case_pseudo): Update return type.
2479 (find_special_case_flag): Update return type.
2480 (find_special_case): Update return type.
2481 (assemble_tokens): Lookup arc_opcode_hash_entry based on
2482 instruction mnemonic, then use find_opcode_match to identify
2483 specific arc_opcode.
2484
da5be039
AB
24852016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
2486
2487 * config/tc-arc.c (struct arc_opcode_hash_entry): New structure.
2488 (arc_find_opcode): New function.
2489 (find_special_case_pseudo): Use arc_find_opcode.
2490 (find_special_case_flag): Likewise.
2491 (assemble_tokens): Likewise.
2492 (md_begin): Build hash using struct arc_opcode_hash_entry.
2493
e6ba1cba
CZ
24942016-04-07 Claudiu Zissulescu <claziss@synopsys.com>
2495
abe051ba
AM
2496 * config/tc-arc.c (arc_option): Prepare string for automatic
2497 translation.
2498 (declare_register): Likewise.
e6ba1cba 2499
b607cde1
JG
25002016-04-06 James Greenhalgh <james.greenhalgh@arm.com>
2501
2502 * doc/c-aarch64.texi (Architecture Extensions): Add entry for LSE.
2503 Correct entry for RDMA. Alpha sort entries.
2504
692166c2
AB
25052016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
2506
2507 * config/tc-arc.c (tokenize_flags): Allow greater range of
2508 characters into flag names.
2509
22b92fc4
AB
25102016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
2511
2512 * config/tc-arc.c (find_opcode_match): Handle O_symbol case, add
2513 new de_fault label.
2514 (preprocess_operands): Delete.
2515 (assemble_tokens): Remove call to preprocess_operands.
2516
e140100a
NC
25172016-04-07 Nick Clifton <nickc@redhat.com>
2518
2519 PR gas/19910
2520 * config/tc-sparc.c (sparc_ip): Report an error if the expression
2521 inside a %-macro could not be fully parsed.
2522 * expr.c (integer_constant): Accept and ignore U suffixes to
2523 integers.
2524 (operand): When a missing closing parenthesis is encountered,
2525 report the character that was found instead.
2526 * testsuite/gas/mips/tls-ill.l: Update expected error message.
2527 * testsuite/gas/sparc/pr19910-1.d: New test driver.
2528 * testsuite/gas/sparc/pr19910-1.s: New test.
2529 * testsuite/gas/sparc/pr19910-2.l: Expected error output.
2530 * testsuite/gas/sparc/pr19910-2.s: New test.
2531 * testsuite/gas/sparc/sparc.exp: Run the new tests.
2532
927f2d25
NC
25332016-04-06 Nick Clifton <nickc@redhat.com>
2534
2535 * config/tc-msp430.c (msp430_operands): Check for a NOP preceding
2536 an EINT instruction. Warn/fix as necessary.
2537 * testsuite/gas/msp430/bad.s: Add test of EINT without preceding NOP.
2538 * testsuite/gas/msp430/bad.l: Update expected messages.
2539
820f03ff
AB
25402016-04-05 Andrew Burgess <andrew.burgess@embecosm.com>
2541
2542 * testsuite/gas/arc/nps400-1.d: Update expected results.
2543 * testsuite/gas/arc/nps400-1.s: Additional test cases.
2544
8ddf6b2a
CZ
25452016-04-05 Claudiu Zissulescu <claziss@synopsys.com>
2546
abe051ba
AM
2547 * config/tc-arc.c (is_code_density_p): Compare directly the
2548 subclass field.
2549 (is_spfp_p, is_dpfp_p, is_spfp_p): Define.
2550 (check_cpu_feature): New function.
2551 (find_opcode_match): Use check_cpu_feature function.
2552 (preprocess_operands): Likewise.
2553 (md_parse_option): Use mfpuda, mdpfp, mspfp options.
2554 * testsuite/gas/arc/tdpfp.d: New file.
2555 * testsuite/gas/arc/tfpuda.d: Likewise.
2556 * testsuite/gas/arc/tfpx.s: Likewise.
8ddf6b2a 2557
589a7d88
JW
25582016-04-05 Jiong Wang <jiong.wang@arm.com>
2559
2560 * config/tc-arm.c (do_neon_mac_maybe_scalar): Allow F16.
2561 * testsuite/gas/arm/armv8-2-fp16-simd.s: New tests.
2562 * testsuite/gas/arm/armv8-2-fp16-simd.d: New expected results.
2563 * testsuite/gas/arm/armv8-2-fp16-simd-thum.d: Likewise for Thumb.
2564 * testsuite/gas/arm/armv8-2-fp16-simd-warning.l: New warning results.
2565 * testsuite/gas/arm/simd_by_scalar_low_regbank.s: New test source.
2566 * testsuite/gas/arm/simd_by_scalar_low_regbank.d: New testcase.
abe051ba
AM
2567 * testsuite/gas/arm/simd_by_scalar_low_regbank_thumb.d: Likewise
2568 for Thumb.
589a7d88
JW
2569 * testsuite/gas/arm/simd_by_scalar_low_regbank.l: New warning results.
2570
6ec1f282
CZ
25712016-04-05 Claudiu Zissulescu <claziss@synopsys.com>
2572
abe051ba 2573 * config/tc-arc.c (assemble_insn): Prohibit pc-rel relocations for
6ec1f282 2574 JUMP instructions type.
abe051ba
AM
2575 * testsuite/gas/arc/relocs-errors.d: New file.
2576 * testsuite/gas/arc/relocs-errors.err: Likewise.
2577 * testsuite/gas/arc/relocs-errors.s: Likewise.
6ec1f282 2578
0796a629
L
25792016-04-04 H.J. Lu <hongjiu.lu@intel.com>
2580
2581 PR gas/19909
2582 * config/tc-i386.c (check_VecOperands): Try vec_disp8 encoding
2583 only if i.disp_encoding != disp_encoding_32bit.
2584 * gas/testsuite/gas/i386/disp32.s: Add tests for vmovdqu64.d32.
2585 * gas/testsuite/gas/i386/x86-64-disp32.s: Likewise.
2586 * gas/testsuite/gas/i386/disp32.d: Updated.
2587 * gas/testsuite/gas/i386/x86-64-disp32.d: Likewise.
2588
df41fdf4
L
25892016-04-04 H.J. Lu <hongjiu.lu@intel.com>
2590
2591 PR gas/19498
2592 * testsuite/gas/i386/i386.exp: Run pr19498.
2593 * testsuite/gas/i386/pr19498.d: New file.
2594 * testsuite/gas/i386/pr19498.s: Likewise.
2595
26cdfd92
AB
25962016-04-04 Andrew Burgess <andrew.burgess@embecosm.com>
2597
2598 * config/tc-arc.h: Include 'opcode/arc.h'.
2599 (MAX_INSN_ARGS): Delete.
2600 (MAX_INSN_FLGS): Delete.
2601
22987cec
AM
26022016-04-04 Alan Modra <amodra@gmail.com>
2603
2604 PR 19498
2605 * symbols.c (resolve_symbol_value): Clear sy_resolving on exit
2606 from function on all paths that set sy_resolving.
2607
325801bd
TS
26082016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2609
2610 * app.c (app_push): use XNEW macro.
2611 * as.c: Likewise.
2612 * config/obj-elf.c (obj_elf_change_section): Likewise.
2613 (elf_copy_symbol_attributes): Likewise.
2614 (obj_elf_size): Likewise.
2615 (build_group_lists): Likewise.
2616 * config/tc-aarch64.c (add_operand_error_record): Likewise.
2617 (md_assemble): Likewise.
2618 (tc_gen_reloc): Likewise.
2619 (get_upper_str): Likewise.
2620 (aarch64_parse_features): Likewise.
2621 * config/tc-arm.c (insert_reg_alias): Likewise.
2622 (insert_neon_reg_alias): Likewise.
2623 (find_or_make_literal_pool): Likewise.
2624 (s_arm_elf_cons): Likewise.
2625 (add_unwind_opcode): Likewise.
2626 (arm_parse_extension): Likewise.
2627 * config/tc-avr.c (create_record_for_frag): Likewise.
2628 * config/tc-crx.c: Likewise.
2629 * config/tc-d30v.c: Likewise.
2630 * config/tc-dlx.c (s_proc): Likewise.
2631 * config/tc-ft32.c: Likewise.
2632 * config/tc-h8300.c: Likewise.
2633 * config/tc-hppa.c (pa_proc): Likewise.
2634 (create_new_space): Likewise.
2635 (create_new_subspace): Likewise.
2636 * config/tc-i860.c: Likewise.
2637 * config/tc-i960.c: Likewise.
2638 * config/tc-ia64.c: Likewise.
2639 * config/tc-iq2000.c (iq2000_add_macro): Likewise.
2640 (iq2000_record_hi16): Likewise.
2641 * config/tc-m32c.c (m32c_indirect_operand): Likewise.
2642 * config/tc-m32r.c (debug_sym): Likewise.
2643 (m32r_record_hi16): Likewise.
2644 * config/tc-m68k.c (m68k_ip): Likewise.
2645 (md_begin): Likewise.
2646 * config/tc-mcore.c: Likewise.
2647 * config/tc-microblaze.c (check_got): Likewise.
2648 * config/tc-mips.c (append_insn): Likewise.
2649 (s_mipsset): Likewise.
2650 (mips_record_label): Likewise.
2651 (s_mips_end): Likewise.
2652 * config/tc-mmix.c (mmix_frob_file): Likewise.
2653 * config/tc-mn10200.c: Likewise.
2654 * config/tc-mn10300.c: Likewise.
2655 * config/tc-moxie.c: Likewise.
2656 * config/tc-msp430.c: Likewise.
2657 * config/tc-nds32.c (nds32_elf_save_pseudo_pattern): Likewise.
2658 * config/tc-ns32k.c: Likewise.
2659 * config/tc-or1k.c: Likewise.
2660 * config/tc-pdp11.c: Likewise.
2661 * config/tc-pj.c (fake_opcode): Likewise.
2662 * config/tc-ppc.c (ppc_apuinfo_section_add): Likewise.
2663 (ppc_macro): Likewise.
2664 (ppc_dwsect): Likewise.
2665 (ppc_machine): Likewise.
2666 * config/tc-rl78.c (rl78_frag_init): Likewise.
2667 * config/tc-rx.c (rx_frag_init): Likewise.
2668 * config/tc-s390.c (s390_lit_suffix): Likewise.
2669 (s390_machine): Likewise.
2670 (s390_machinemode): Likewise.
2671 * config/tc-score.c (s3_insert_reg): Likewise.
2672 (s3_gen_reloc): Likewise.
2673 * config/tc-score7.c (s7_insert_reg): Likewise.
2674 (s7_gen_reloc): Likewise.
2675 * config/tc-tic30.c (tic30_operand): Likewise.
2676 * config/tc-tic4x.c (tic4x_inst_make): Likewise.
2677 * config/tc-tic54x.c (stag_add_field): Likewise.
2678 (tic54x_struct): Likewise.
2679 (tic54x_space): Likewise.
2680 (tic54x_field): Likewise.
2681 (tic54x_mlib): Likewise.
2682 (subsym_substitute): Likewise.
2683 * config/tc-tic6x.c (tic6x_frob_label): Likewise.
2684 * config/tc-vax.c: Likewise.
2685 * config/tc-xc16x.c: Likewise.
2686 * config/tc-xtensa.c (xtensa_add_insn_label): Likewise.
2687 (directive_push): Likewise.
2688 (xtensa_begin_directive): Likewise.
2689 (tokenize_arguments): Likewise.
2690 (xtensa_add_literal_sym): Likewise.
2691 (new_resource_table): Likewise.
2692 (resize_resource_table): Likewise.
2693 (emit_single_op): Likewise.
2694 (xtensa_create_trampoline_frag): Likewise.
2695 (xtensa_maybe_create_literal_pool_frag): Likewise.
2696 (xtensa_add_config_info): Likewise.
2697 (xtensa_realloc_fixup_cache): Likewise.
2698 (add_subseg_info): Likewise.
2699 (cache_literal_section): Likewise.
2700 (add_xt_block_frags): Likewise.
2701 (add_xt_prop_frags): Likewise.
2702 (init_op_placement_info_table): Likewise.
2703 (build_section_rename): Likewise.
2704 * config/tc-z80.c: Likewise.
2705 * config/tc-z8k.c: Likewise.
2706 * depend.c (register_dependency): Likewise.
2707 * dwarf2dbg.c (get_line_subseg): Likewise.
2708 (dwarf2_gen_line_info_1): Likewise.
2709 (get_filenum): Likewise.
2710 * ecoff.c (allocate_scope): Likewise.
2711 (allocate_vlinks): Likewise.
2712 (allocate_shash): Likewise.
2713 (allocate_thash): Likewise.
2714 (allocate_tag): Likewise.
2715 (allocate_forward): Likewise.
2716 (allocate_thead): Likewise.
2717 (allocate_lineno_list): Likewise.
2718 * expr.c (make_expr_symbol): Likewise.
2719 * hash.c (hash_new_sized): Likewise.
2720 * input-file.c (input_file_push): Likewise.
2721 * listing.c (file_info): Likewise.
2722 (listing_newline): Likewise.
2723 * macro.c (new_formal): Likewise.
2724 (define_macro): Likewise.
2725 * remap.c (add_debug_prefix_map): Likewise.
2726 * symbols.c (symbol_find_noref): Likewise.
2727 (define_dollar_label): Likewise.
2728 (fb_label_instance_inc): Likewise.
2729 (symbol_relc_make_value): Likewise.
2730
a44e2901
TS
27312016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2732
2733 * config/obj-elf.c (obj_elf_vendor_attribute): Use xstrdup.
2734 * config/tc-ppc.c (ppc_frob_file_before_adjust): Likewise.
2735 (ppc_znop): Likewise.
2736 (ppc_pe_section): Likewise.
2737 (ppc_frob_symbol): Likewise.
2738 * config/tc-tic30.c (tic30_operand): Likewise.
2739 * config/tc-tic4x.c (tic4x_sect): Likewise.
2740 (tic4x_usect): Likewise.
2741
ae2689b0
TS
27422016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2743
2744 * config/tc-alpha.c: Const qualify FLT_CHARS.
2745 * config/atof-ieee.c: Remove declarations of FLT_CHARS and EXP_CHARS.
2746 * config/tc-cris.h: Likewise.
2747 * expr.c: Likewise.
2748 * config/tc-mmix.c (md_atof): Adjust comment.
2749 * config/tc-mmix.h: Stop defining FLT_CHARS and EXP_CHARS as macros.
2750 * tc.h: Declare FLT_CHARS and EXP_CHARS.
2751
a51ef392
TS
27522016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2753
2754 * config/tc-score.c (s3_gen_reloc): Add const qualifiers.
2755 * config/tc-score7.c (s7_gen_reloc): Likewise.
2756
2fe88214
TS
27572016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2758
2759 * config/tc-arm.c (do_t_branch): Change the type of reloc to
2760 bfd_reloc_code_real_type.
2761
e1ec8109
TS
27622016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2763
2764 * config/bfin-parse.y (current_inputline): Remove definition.
2765 * config/tc-bfin.c (md_assemble): Simplify use of current_inputline.
2766
f73e41ef
TS
27672016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2768
2769 * config/tc-avr.c (md_parse_option): Use strcasecmp () to compare
2770 strings.
2771
62bd6b5f
AM
27722016-04-02 Alan Modra <amodra@gmail.com>
2773
2774 PR 19896
2775 * read.c (assign_symbol): Consume rest of line after an error
2776 rather than continuing to process the line.
2777
83cda17b
AB
27782016-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
2779
2780 * config/tc-arc.h (MAX_FLAG_NAME_LENGHT): Rename to...
2781 (MAX_FLAG_NAME_LENGTH): ...this.
2782 (struct arc_flags): Update to use MAX_FLAG_NAME_LENGTH.
2783 * config/tc-arc.c (tokenize_flags): Likewise.
2784
6d4af3c2
AM
27852016-04-01 Alan Modra <amodra@gmail.com>
2786
2787 * cgen.c (weak_operand_overflow_check): Return const char*.
2788 * messages.c (as_internal_value_out_of_range): Formatting.
2789 (as_warn_value_out_of_range): Consify prefix param.
2790 (as_bad_value_out_of_range): Likewise.
2791 * read.c (s_errwarn): Constify msg..
2792 (s_float_space, float_cons): ..and err.
2793 * as.h (as_warn_value_out_of_range, as_bad_value_out_of_range,
2794 ieee_md_atof, vax_md_atof): Update prototypes.
2795 * tc.h (md_atof): Update prototype.
2796 * config/atof-ieee.c (ieee_md_atof): Return const char*.
2797 * config/atof-vax.c (vax_md_atof): Likewise.
2798 * config/obj-elf.c (obj_elf_parse_section_letters): Constify bad_msg.
2799 * config/tc-aarch64.c (md_atof): Return const char*.
2800 * config/tc-alpha.c (s_alpha_section_name): Likewise.
2801 (s_alpha_comm): Constify sec_name.
2802 (section_name): Constify.
2803 (s_alpha_section): Consify name..
2804 (alpha_elf_section_letter): ..and ptr_msg param..
2805 (md_atof): ..and return.
2806 * config/tc-alpha.h (alpha_elf_section_letter): Update prototype.
2807 * config/tc-arc.c (md_atof): Return const char*.
2808 * config/tc-arm.c (md_atof): Likewise.
2809 * config/tc-avr.c (md_atof): Likewise.
2810 * config/tc-bfin.c (md_atof): Likewise.
2811 * config/tc-cr16.c (md_atof): Likewise.
2812 * config/tc-cris.c (md_atof): Likewise.
2813 * config/tc-crx.c (md_atof): Likewise.
2814 * config/tc-d10v.c (md_atof): Likewise.
2815 * config/tc-d30v.c (md_atof): Likewise.
2816 * config/tc-dlx.c (md_atof): Likewise.
2817 * config/tc-epiphany.c (md_atof): Likewise.
2818 * config/tc-fr30.c (md_atof): Likewise.
2819 * config/tc-frv.c (md_atof): Likewise.
2820 * config/tc-ft32.c (md_atof): Likewise.
2821 * config/tc-h8300.c (md_atof): Likewise.
2822 * config/tc-hppa.c (struct default_subspace_dict): Constify name.
2823 (struct default_space_dict): Likewise.
2824 (create_new_space): Constify name param.
2825 (create_new_subspace): Likewise.
2826 (is_defined_space, is_defined_subspace): Likewise.
2827 (pa_parse_space_stmt): Constify space_name param.
2828 (md_atof): Return const char*.
2829 (pa_spaces_begin): Constify name.
2830 * config/tc-i370.c (md_atof): Return const char*.
2831 * config/tc-i386.c (md_atof): Likewise.
2832 (x86_64_section_letter): Constify ptr_msg param.
2833 * config/tc-i386.h (x86_64_section_letter): Update prototype.
2834 * config/tc-i860.c (struct i860_it): Constify error.
2835 (md_atof): Return const char*.
2836 * config/tc-i960.c (md_atof): Likewise.
2837 * config/tc-ia64.c (md_atof): Likewise.
2838 (ia64_elf_section_letter): Constify ptr_msg param.
2839 * config/tc-ia64.h (ia64_elf_section_letter): Update prototype.
2840 * config/tc-ip2k.c (md_atof): Return const char*.
2841 * config/tc-iq2000.c (md_atof): Likewise.
2842 * config/tc-lm32.c (md_atof): Likewise.
2843 * config/tc-m32c.c (md_atof): Likewise.
2844 * config/tc-m32r.c (md_atof): Likewise.
2845 * config/tc-m68hc11.c (md_atof): Likewise.
2846 * config/tc-m68k.c (md_atof): Likewise.
2847 * config/tc-mcore.c (md_atof): Likewise.
2848 * config/tc-mep.c (md_atof): Likewise.
2849 (mep_elf_section_letter): Constify ptr_msg param.
2850 * config/tc-mep.h (mep_elf_section_letter): Update prototype.
2851 * config/tc-metag.c (md_atof): Return const char*.
2852 * config/tc-microblaze.c (md_atof): Likewise.
2853 * config/tc-microblaze.h (md_atof): Delete prototype.
2854 * config/tc-mips.c (mips_parse_argument_token): Constify err.
2855 (md_atof): Return const char*.
2856 * config/tc-mmix.c (md_atof): Likewise.
2857 * config/tc-mn10200.c (md_atof): Likewise.
2858 * config/tc-mn10300.c (md_atof): Likewise.
2859 * config/tc-moxie.c (md_atof): Likewise.
2860 * config/tc-msp430.c (md_atof): Likewise.
2861 * config/tc-mt.c (md_atof): Likewise.
2862 * config/tc-nds32.c (md_atof): Likewise.
2863 * config/tc-nios2.c (md_atof): Likewise.
2864 (nios2_elf_section_letter): Constify ptr_msg param.
2865 * config/tc-nios2.h (nios2_elf_section_letter): Update prototype.
2866 * config/tc-ns32k.c (md_atof): Return const char*.
2867 * config/tc-or1k.c (md_atof): Likewise.
2868 * config/tc-pdp11.c (struct pdp11_code): Constify error.
2869 (md_atof): Return const char*.
2870 * config/tc-pj.c (md_atof): Likewise.
2871 * config/tc-ppc.c (md_atof): Likewise.
2872 * config/tc-rl78.c (md_atof): Likewise.
2873 * config/tc-rx.c (md_atof): Likewise.
2874 * config/tc-s390.c (md_atof): Likewise.
2875 * config/tc-score.c (s3_atof, md_atof): Likewise.
2876 * config/tc-sh.c (md_atof): Likewise.
2877 * config/tc-sparc.c (struct sparc_it): Constify error.
2878 (md_atof): Return const char*.
2879 * config/tc-spu.c (md_atof): Likewise.
2880 * config/tc-tic30.c (md_atof): Likewise.
2881 * config/tc-tic4x.c (md_atof): Likewise.
2882 * config/tc-tic54x.c (md_atof): Likewise.
2883 * config/tc-tic6x.c (md_atof): Likewise.
2884 * config/tc-tilegx.c (md_atof): Likewise.
2885 * config/tc-tilepro.c (md_atof): Likewise.
2886 * config/tc-v850.c (parse_register_list, md_atof): Likewise.
2887 * config/tc-vax.c (md_atof): Likewise.
2888 * config/tc-visium.c (md_atof): Likewise.
2889 * config/tc-xc16x.c (md_atof): Likewise.
2890 * config/tc-xgate.c (md_atof): Likewise.
2891 * config/tc-xstormy16.c (md_atof): Likewise.
2892 * config/tc-xtensa.c (md_atof): Likewise.
2893 * config/tc-z80.c (md_atof): Likewise.
2894 * config/tc-z8k.c (md_atof): Likewise.
2895
e4a0c708
TS
28962016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2897
2898 * config/tc-xtensa.c (struct rename_section_struct): Make old_name
2899 const.
2900 (xtensa_section_rename): Make argument type const char *.
2901 * config/tc-xtensa.h (xtensa_section_rename): Adjust.
2902
e2c7dcae
TS
29032016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2904
2905 * config/tc-i960.c (parse_ldconst): Cast to char * when assigning to
2906 args[0].
2907
f854977c
TS
29082016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2909
2910 * config/tc-m32c.c (m32c_md_end): cast the argument to md_assemble to
2911 char *.
2912 (m32c_indirect_operand): Likewise.
2913 * config/tc-nds32.c (do_pseudo_b): Likewise.
2914 (do_pseudo_bal): Likewise.
2915 (do_pseudo_ls_bhw): Likewise.
2916
97830986
TS
29172016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2918
2919 * as.c (parse_args): Cast literal to char * when assigning to optarg.
2920
e87de513
TS
29212016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2922
2923 * config/tc-ia64.c (md_assemble): Add temporary variable to pass to
2924 get_symbol_name ().
2925 * config/tc-sparc.c (s_register): Cast a literal to char * in
2926 assignment.
2927
47990a6a
TS
29282016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2929
2930 * config/tc-i960.c (parse_expr): Cast to char * when assigning to
2931 input_line_pointer.
2932 * config/tc-m32r.c (expand_debug_syms): Likewise.
2933 * config/tc-msp430.c (msp430_dstoperand): Likewise.
2934 * config/tc-z80.c (md_begin): Likewise.
2935 * stabs.c (stabs_generate_asm_func): Likewise.
2936
e046cf80
TS
29372016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2938
2939 * cgen.c: Modernize the way functions declare arguments.
2940 * config/tc-bfin.c: Likewise.
2941 * config/tc-pdp11.c: Likewise.
2942 * literal.c: Likewise.
2943 * read.c: Likewise.
2944 * stabs.c: Likewise.
2945
d9235011
TS
29462016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2947
2948 * config/tc-aarch64.c (aarch64_handle_align): Make the type of some
2949 variables unsigned char[].
2950 * config/tc-alpha.c (alpha_handle_align): Likewise.
2951 * config/tc-arm.c (arm_handle_align): Likewise.
2952 * config/tc-z80.c: Likewise.
2953
c6025a80
NC
29542016-03-30 Nick Clifton <nickc@redhat.com>
2955
2956 PR target/19880
2957 * config/tc-arm.c (do_t_push_pop): Cast bitmask to unsigned before
2958 shifting.
2959
f89a23cf
CZ
29602016-03-30 Claudiu Zissulescu <claziss@synopsys.com>
2961
abe051ba
AM
2962 * testsuite/gas/all/gas.exp: Don't xfail on ARC.
2963 * testsuite/gas/elf/elf.exp: Likewise.
2964 * testsuite/gas/all/redef3.d: Allow execution for ARC.
f89a23cf 2965
f621ad3c
CZ
29662016-03-30 Claudiu Zissulescu <claziss@synopsys.com>
2967
abe051ba 2968 * testsuite/gas/arc/warn.exp: Fix matching pattern.
f621ad3c 2969
f2dd8838
CZ
29702016-03-29 Claudiu Zissulescu <claziss@synopsys.com>
2971
abe051ba
AM
2972 * testsuite/gas/arc/ext2op.d: New file.
2973 * testsuite/gas/arc/ext2op.s: Likewise.
2974 * testsuite/gas/arc/ext3op.d: Likewise.
2975 * testsuite/gas/arc/ext3op.s: Likewise.
f2dd8838 2976
17b9d67d
TS
29772016-03-29 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2978
2979 * config/tc-aarch64.c (struct aarch64_long_option_table): Ad const
2980 qualifier.
2981 * config/tc-alpha.c (md_parse_option): Likewise.
2982 * config/tc-arc.c (md_parse_option): Likewise.
2983 * config/tc-arm.c (struct arm_long_option_table): Likewise.
2984 (md_parse_option): Likewise.
2985 * config/tc-avr.c (md_parse_option): Likewise.
2986 * config/tc-bfin.c (md_parse_option): Likewise.
2987 * config/tc-cr16.c (md_parse_option): Likewise.
2988 * config/tc-cris.c (s_cris_arch): Likewise.
2989 (md_parse_option): Likewise.
2990 * config/tc-crx.c (md_parse_option): Likewise.
2991 * config/tc-d10v.c (md_parse_option): Likewise.
2992 * config/tc-d30v.c (md_parse_option): Likewise.
2993 * config/tc-dlx.c (md_parse_option): Likewise.
2994 * config/tc-epiphany.c (md_parse_option): Likewise.
2995 * config/tc-fr30.c (md_parse_option): Likewise.
2996 * config/tc-frv.c (md_parse_option): Likewise.
2997 * config/tc-ft32.c (md_parse_option): Likewise.
2998 * config/tc-h8300.c (md_parse_option): Likewise.
2999 * config/tc-hppa.c (md_parse_option): Likewise.
3000 * config/tc-i370.c (md_parse_option): Likewise.
3001 * config/tc-i386.c (md_parse_option): Likewise.
3002 * config/tc-i860.c (md_parse_option): Likewise.
3003 * config/tc-i960.c (md_parse_option): Likewise.
3004 * config/tc-ia64.c (md_parse_option): Likewise.
3005 * config/tc-ip2k.c (md_parse_option): Likewise.
3006 * config/tc-iq2000.c (md_parse_option): Likewise.
3007 * config/tc-lm32.c (md_parse_option): Likewise.
3008 * config/tc-m32c.c (md_parse_option): Likewise.
3009 * config/tc-m32r.c (md_parse_option): Likewise.
3010 * config/tc-m68hc11.c (md_parse_option): Likewise.
3011 * config/tc-m68k.c (md_parse_option): Likewise.
3012 * config/tc-mcore.c (md_parse_option): Likewise.
3013 * config/tc-mep.c (md_parse_option): Likewise.
3014 * config/tc-metag.c (struct metag_long_option): Likewise.
3015 (md_parse_option): Likewise.
3016 * config/tc-microblaze.c (md_parse_option): Likewise.
3017 * config/tc-microblaze.h (md_parse_option): Remove prototype.
3018 * config/tc-mips.c (md_parse_option): Adjust.
3019 * config/tc-mmix.c (md_parse_option): Likewise.
3020 * config/tc-mn10200.c (md_parse_option): Likewise.
3021 * config/tc-mn10300.c (md_parse_option): Likewise.
3022 * config/tc-moxie.c (md_parse_option): Likewise.
3023 * config/tc-msp430.c (md_parse_option): Likewise.
3024 * config/tc-mt.c (md_parse_option): Likewise.
3025 * config/tc-nds32.c (md_parse_option): Likewise.
3026 * config/tc-nds32.h (nds32_parse_option): Likewise.
3027 * config/tc-nios2.c (md_parse_option): Likewise.
3028 * config/tc-ns32k.c (md_parse_option): Likewise.
3029 * config/tc-or1k.c (md_parse_option): Likewise.
3030 * config/tc-pdp11.c (md_parse_option): Likewise.
3031 * config/tc-pj.c (md_parse_option): Likewise.
3032 * config/tc-ppc.c (md_parse_option): Likewise.
3033 * config/tc-rl78.c (md_parse_option): Likewise.
3034 * config/tc-rx.c (md_parse_option): Likewise.
3035 * config/tc-s390.c (s390_parse_cpu): Likewise.
3036 * config/tc-score.c (md_parse_option): Likewise.
3037 * config/tc-sh.c (md_parse_option): Likewise.
3038 * config/tc-sparc.c (md_parse_option): Likewise.
3039 * config/tc-spu.c (md_parse_option): Likewise.
3040 * config/tc-tic30.c (md_parse_option): Likewise.
3041 * config/tc-tic4x.c (md_parse_option): Likewise.
3042 * config/tc-tic54x.c (md_parse_option): Likewise.
3043 * config/tc-tic6x.c (md_parse_option): Likewise.
3044 * config/tc-tilegx.c (md_parse_option): Likewise.
3045 * config/tc-tilepro.c (md_parse_option): Likewise.
3046 * config/tc-v850.c (md_parse_option): Likewise.
3047 * config/tc-vax.c (md_parse_option): Likewise.
3048 * config/tc-visium.c (struct visium_long_option_table): Likewise.
3049 * config/tc-xc16x.c (md_parse_option): Likewise.
3050 * config/tc-xgate.c (md_parse_option): Likewise.
3051 * config/tc-xstormy16.c (md_parse_option): Likewise.
3052 * config/tc-xtensa.c (md_parse_option): Likewise.
3053 * config/tc-z80.c (md_parse_option): Likewise.
3054 * config/tc-z8k.c (md_parse_option): Likewise.
3055 * tc.h (md_parse_option): Likewise.
3056
30bd735c
TS
30572016-03-29 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3058
3059 * config/tc-bfin.c (gencode): Use XOBNEW obstack_alloc () wrapper.
3060 * config/tc-hppa.c (fix_new_hppa): Likewise.
3061 (pa_vtable_entry): Likewise.
3062 (pa_vtable_inherit): Likewise.
3063 * config/tc-m68k.c (md_begin): Likewise.
3064
82b8a785
TS
30652016-03-28 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3066
3067 * config/obj-elf.c (obj_elf_section_name): Return const char *.
3068 * config/obj-elf.h (obj_elf_section_name): Adjust.
3069 * config/tc-aarch64.c (aarch64_parse_features): Likewise.
3070 (aarch64_parse_cpu): Likewise.
3071 (aarch64_parse_arch): Likewise.
3072 * config/tc-arm.c (arm_parse_extension): Likewise.
3073 (arm_parse_cpu): Likewise.
3074 (arm_parse_arch): Likewise.
3075 * config/tc-nds32.c: Likewise.
3076 * config/xtensa-relax.c (parse_special_fn): Likewise.
3077 * stabs.c (generate_asm_file): Likewise.
3078
9202e88a
TS
30792016-03-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3080
3081 * config/tc-cr16.c (cr16_assemble): New function.
3082 (md_assemble): Call cr16_assemble.
3083
a90fb5e3
TS
30842016-03-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3085
3086 * as.c (parse_args): Adjust.
3087 * as.h (flag_size_check): Rename to flag_allow_nonconst_size.
3088 * config/obj-elf.c (elf_frob_symbol): Adjust.
3089
f65c3d1b
JM
30902016-03-24 Jose E. Marchesi <jose.marchesi@oracle.com>
3091
3092 * config/tc-sparc.c (sparc_ip): Remove the V9 restriction on ASR
3093 registers to be in the 16..31 range.
3094
e742e119
TS
30952016-03-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3096
3097 * config/tc-microblaze.c (md_assemble): Cast opc to char * when calling
3098 frag_var ().
3099
eda6e9a4
TS
31002016-03-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3101
3102 * config/tc-visium.c (md_atof): Localize the string returned on
3103 failure.
3104
b9bb4a93
TS
31052016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3106
3107 * config/tc-h8300.c (h8300_elf_section): Add const qualifiers.
3108 * config/tc-ia64.c (obj_elf_vms_common): Likewise.
3109 * config/tc-m68hc11.c (md_begin): Likewise.
3110 (print_opcode_list): Likewise.
3111 * config/tc-msp430.c (msp430_section): Likewise.
3112 * config/tc-score.c (struct s3_insn_to_dependency): Likewise.
3113 (s3_build_dependency_insn_hsh): Likewise.
3114 * config/tc-score7.c (struct s7_insn_to_dependency): Likewise.
3115 (s7_build_dependency_insn_hsh): Likewise.
3116 * config/tc-tic4x.c: Likewise.
3117 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
3118 (subsym_get_arg): Likewise.
3119 * config/tc-xtensa.c (struct suffix_reloc_map): Likewise.
3120 (get_directive): Likewise.
3121 (cache_literal_section): Likewise.
3122 * config/xtensa-relax.c: Likewise.
3123 * symbols.c (symbol_create): Likewise.
3124 (local_symbol_make): Likewise.
3125 (symbol_relc_make_expr): Likewise.
3126
986d894b
TS
31272016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3128
3129 * config/tc-pdp11.c (md_assemble): Remove useless if and assignment to
3130 str.
3131
74b4e47a
TS
31322016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3133
3134 * config/tc-sparc.c (sparc_regname_to_dw2regnum): Replace strchr ()
3135 call with a switch.
3136
0a433ebc
TS
31372016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3138
3139 * config/tc-ia64.c (ia64_do_align): Remove.
3140 (ia64_cons_align): Call do_align () directly.
3141 (dot_proc): Likewise.
3142 (stmt_float_cons): Likewise.
3143
8860a416
TS
31442016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3145
3146 * listing.c (listing_message): Use XNEW style allocation macros.
3147 * read.c (read_a_source_file): Likewise.
3148 (read_symbol_name): Likewise.
3149 (s_mri_common): Likewise.
3150 (assign_symbol): Likewise.
3151 (s_reloc): Likewise.
3152 (emit_expr_with_reloc): Likewise.
3153 (s_incbin): Likewise.
3154 (s_include): Likewise.
3155 * sb.c (sb_build): Likewise.
3156 (sb_check): Likewise.
3157
49636823
AM
31582016-03-22 Alan Modra <amodra@gmail.com>
3159
3160 * write.c (record_alignment): Revert 2016-02-18 change.
3161
39a0d071
AM
31622016-03-22 Alan Modra <amodra@gmail.com>
3163
3164 * config/tc-alpha.c (load_expression): Replace alloca with xmalloc.
3165 (emit_jsrjmp, tc_gen_reloc): Likewise.
3166 * config/tc-i370.c (i370_macro): Likewise.
3167
9780e045
NC
31682016-03-22 Nick Clifton <nickc@redhat.com>
3169
3170 * configure: Regenerate.
3171
e23e8ebe
AB
31722016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
3173
3174 * testsuite/gas/arc/nps400-0.d: New file.
3175 * testsuite/gas/arc/nps400-0.s: New file.
3176 * testsuite/gas/arc/nps400-1.d: New file.
3177 * testsuite/gas/arc/nps400-1.s: New file.
3178
1ae8ab47
AB
31792016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
3180
3181 * config/tc-arc.c (find_opcode_match): Move lnflg, and i
3182 declarations to start of block. Reset code on all flags before
3183 attempting to match them. Handle multiple hits on the same flag.
3184 Handle flag class.
3185 * testsuite/gas/arc/asm-errors.d: New file.
3186 * testsuite/gas/arc/asm-errors.err: New file.
3187 * testsuite/gas/arc/asm-errors.s: New file.
3188
8699fc3e
AB
31892016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
3190
3191 * config/tc-arc.c (cpu_types): Add nps400 entry.
3192 (check_zol): Handle nps400.
3193
a9522a21
AB
31942016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
3195
3196 * config/tc-arc.c (arc_select_cpu): Remove use of
3197 EF_ARC_CPU_GENERIC.
3198
24740d83
AB
31992016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
3200
3201 * config/tc-arc.c (arc_target): Delay initialisation until
3202 arc_select_cpu.
3203 (arc_target_name): Likewise.
3204 (arc_features): Likewise.
3205 (arc_mach_type): Likewise.
3206 (cpu_types): Remove "all" entry.
3207 (arc_select_cpu): New function, most of the content is from...
3208 (md_parse_option): ... here. Call new arc_select_cpu.
3209 (md_begin): Call arc_select_cpu if needed, default is now arc700.
3210
62f6f9c2
AB
32112016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
3212
3213 * testsuite/gas/arc/inline-data-1.d: Add target restriction.
3214 * testsuite/gas/arc/inline-data-2.d: New file.
3215
e1fa0163
NC
32162016-03-21 Nick Clifton <nickc@redhat.com>
3217
3218 * atof-generic.c: Replace use of alloca with call to xmalloc.
3219 * cgen.c: Likewise.
3220 * dwarf2dbg.c: Likewise.
3221 * macro.c: Likewise.
3222 * remap.c: Likewise.
3223 * stabs.c: Likewise.
3224 * symbols.c: Likewise.
3225 * config/obj-elf.c: Likewise.
3226 * config/tc-aarch64.c: Likewise.
3227 * config/tc-arc.c: Likewise.
3228 * config/tc-arm.c: Likewise.
3229 * config/tc-avr.c: Likewise.
3230 * config/tc-ia64.c: Likewise.
3231 * config/tc-mips.c: Likewise.
3232 * config/tc-msp430.c: Likewise.
3233 * config/tc-nds32.c: Likewise.
3234 * config/tc-ppc.c: Likewise.
3235 * config/tc-sh.c: Likewise.
3236 * config/tc-tic30.c: Likewise.
3237 * config/tc-tic54x.c: Likewise.
3238 * config/tc-xstormy16.c: Likewise.
3239 * config/te-vms.c: Likewise.
3240 * configure: Regenerate.
3241
bad6e36d
TS
32422016-03-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3243
3244 * tc-i386.c (f32_1): Change type to unsigned char[].
3245 (f32_2): Likewise.
3246 (f32_3): Likewise.
3247 (f32_4): Likewise.
3248 (f32_5): Likewise.
3249 (f32_6): Likewise.
3250 (f32_7): Likewise.
3251 (f32_8): Likewise.
3252 (f32_9): Likewise.
3253 (f32_10): Likewise.
3254 (f32_11): Likewise.
3255 (f32_12): Likewise.
3256 (f32_13): Likewise.
3257 (f32_14): Likewise.
3258 (f16_3): Likewise.
3259 (f16_4): Likewise.
3260 (f16_5): Likewise.
3261 (f16_6): Likewise.
3262 (f16_7): Likewise.
3263 (f16_8): Likewise.
3264 (jump_31): Likewise.
3265 (f32_patt): Likewise.
3266 (f16_patt): Likewise.
3267 (alt_3): Likewise.
3268 (alt_4): Likewise.
3269 (alt_5): Likewise.
3270 (alt_6): Likewise.
3271 (alt_7): Likewise.
3272 (alt_8): Likewise.
3273 (alt_9): Likewise.
3274 (alt_10): Likewise.
3275 (alt_patt): Likewise.
3276
6387924a
NC
32772016-03-18 Nick Clifton <nickc@redhat.com>
3278
30fab421
NC
3279 * doc/c-aarch64.texi (AArch64 Directives): Add descriptions of
3280 .cpu, .dword, .even, .inst. .tlsdescadd, .tlsdesccall,
3281 .tlsdescldr and .xword directives.
3282
8678914f
NC
3283 PR target/19721
3284 * testsuite/gas/aarch64/pr19721.s: New test source file.
3285 * testsuite/gas/aarch64/pr19721.d: New test driver file.
3286
6387924a
NC
3287 * doc/as.texinfo: Place the target specific command line options
3288 into their own man page section.
3289
cc933301
JW
32902016-03-16 Jiong Wang <jiong.wang@arm.com>
3291
3292 * config/tc-arm.c (N_S_32): New.
3293 (N_F_16_32): Likewise.
3294 (N_SUF_32): Support N_F16.
3295 (N_IF_32): Likewise.
3296 (neon_dyadic_misc): Likewise.
3297 (do_neon_cmp): Likewise.
3298 (do_neon_cmp_inv): Likewise.
3299 (do_neon_mul): Likewise.
3300 (do_neon_fcmp_absolute): Likewise.
3301 (do_neon_step): Likewise.
3302 (do_neon_abs_neg): Likewise.
3303 (CVT_FLAVOR_VAR): Likewise.
3304 (do_neon_cvt_1): Likewise.
3305 (do_neon_recip_est): Likewise.
3306 (do_vmaxnm): Likewise.
3307 (do_vrint_1): Likewise.
3308 (neon_check_type): Check architecture support for FP16 extension.
3309 (insns): Update comments.
3310 * testsuite/gas/arm/armv8-2-fp16-simd.s: New test source.
3311 * testsuite/gas/arm/armv8-2-fp16-simd.d: New testcase for arm mode.
3312 * testsuite/gas/arm/armv8-2-fp16-simd-thumb.d: Likewise for thumb mode.
3313 * testsuite/gas/arm/armv8-2-fp16-simd-warning.d: New rejection test for
3314 arm mode.
3315 * testsuite/gas/arm/armv8-2-fp16-simd-warning-thumb.d: Likewise for
3316 thumb mode.
3317 * testsuite/gas/arm/armv8-2-fp16-simd-warning.l: New expected rejection
3318 error file.
3319
5f2b6bc9
NC
33202016-03-16 Nick Clifton <nickc@redhat.com>
3321
3322 * read.c (emit_expr_with_reloc): Add code check a bignum with
3323 nbytes == 1.
3324 * config/rx/rx-parse.y (rx_intop): Accept bignum values for sizes
3325 other than 32-bits.
3326 * testsuite/gas/elf/bignum.s: New test source file.
3327 * testsuite/gas/elf/bignum.d: New test driver file.
3328 * testsuite/gas/elf/elf.exp: Run the new test.
3329
4bde3cdd
UD
33302016-03-15 Ulrich Drepper <drepper@gmail.com>
3331
3332 * doc/c-i386.texi (Register Naming): Update to details of the
abe051ba 3333 latest architecture version.
4bde3cdd 3334
a9f02af8
MG
33352016-03-10 Mickael Guene <mickael.guene@st.com>
3336
3337 PR gas/19744
3338 * config/tc-arm.c (do_arit): Protect against bad relocations usage.
3339 (do_mov): Likewise.
3340 (do_t_add_sub): Allow pcrop relocations for Thumb-2 targets.
3341 (do_t_mov_cmp): Likewise.
3342 (do_t_add_sub): Protect against bad relocations usage.
3343 (do_t_mov_cmp): Likewise.
5dafb246
AM
3344 * testsuite/gas/arm/adds-thumb1-reloc-local-armv7-m.s: New.
3345 * testsuite/gas/arm/adds-thumb1-reloc-local-armv7-m.d: New.
3346 * testsuite/gas/arm/movs-thumb1-reloc-local-armv7-m.s: New.
3347 * testsuite/gas/arm/movs-thumb1-reloc-local-armv7-m.d: New.
a9f02af8 3348
aa8a0863
TS
33492016-03-09 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3350
3351 * config/tc-arm.c (neon_alignment_bit): Rename do_align to
3352 do_alignment.
3353 (do_neon_ld_st_lane): Likewise.
3354 (do_neon_ld_dup): Likewise.
3355
72f3b6aa
CZ
33562016-03-08 Andrew Burgess <andrew.burgess@embecosm.com>
3357
3358 * testsuite/gas/arc/inline-data-1.d: New file.
3359 * testsuite/gas/arc/inline-data-1.s: New file.
3360
5f474010
TP
33612016-03-07 Andre Vieira <andre.simoesdiasvieira@arm.com>
3362
3363 * config/tc-arm.c (arm_cpus): Add cortex-r8.
3364 * doc/c-arm.texi: Add cortex-r8.
3365
f86f5863
TS
33662016-03-07 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3367
3368 * config/tc-arc.c: Add const qualifiers.
3369 * config/tc-h8300.c (md_begin): Likewise.
3370 * config/tc-ia64.c (print_prmask): Likewise.
3371 * config/tc-msp430.c (msp430_operands): Likewise.
3372 * config/tc-nds32.c (struct suffix_name): Likewise.
3373 (struct nds32_parse_option_table): Likewise.
3374 (struct nds32_set_option_table): Likewise.
3375 (do_pseudo_pushpopm): Likewise.
3376 (do_pseudo_pushpop_stack): Likewise.
3377 (nds32_relax_relocs): Likewise.
3378 (nds32_flag): Likewise.
3379 (struct nds32_hint_map): Likewise.
3380 (nds32_find_reloc_table): Likewise.
3381 (nds32_match_hint_insn): Likewise.
3382 * config/tc-s390.c: Likewise.
3383 * config/tc-sh.c (get_specific): Likewise.
3384 * config/tc-tic30.c: Likewise.
3385 * config/tc-tic4x.c (tic4x_inst_add): Likewise.
3386 (tic4x_indirect_parse): Likewise.
3387 * config/tc-vax.c (vax_cons): Likewise.
3388 * config/tc-z80.c (struct reg_entry): Likewise.
3389 * config/tc-epiphany.c (md_assemble): Adjust.
3390 (epiphany_assemble): New function.
3391 (epiphany_elf_section_rtn): Call do_align directly.
3392 (epiphany_elf_section_text): Likewise.
3393 * config/tc-ip2k.c (ip2k_elf_section_rtn): Likewise.
3394 (ip2k_elf_section_text): Likewise.
3395 * read.c (do_align): Make it not static.
3396 * read.h (do_align): New prototype.
3397
9411fd44
MW
33982016-03-04 Matthew Wahab <matthew.wahab@arm.com>
3399
3400 * config/tc-arm.c (aeabi_set_public_attributes): Emit attribute
3401 for ARMv8.1 AdvSIMD use.
3402 * testsuite/gas/arm/attr-march-armv8-a+rdma.d: New.
3403 * testsuite/gas/arm/attr-march-armv8_1-a+simd.d: New.
3404
643afb90
MW
34052016-03-04 Matthew Wahab <matthew.wahab@arm.com>
3406
3407 * config/gas/tc-arm.c (fpu_neon_ext_v8_1): Restrict to the ARMv8.1 RDMA
3408 feature.
3409 (record_feature_use): New.
3410 (mark_feature_used): Use record_feature_use.
3411 (do_neon_qrdmlah): New.
3412 (insns): Use do_neon_qrdmlah for vqrdmlah and vqrdmlsh and
3413 variants.
3414 (arm_extensions): Put into alphabetical order. Re-indent "simd"
3415 and "rdma" entries. Fix the incorrect merge value for "+rdma".
3416 * testsuite/gas/arm/armv8-a+rdma-warning.d: New.
3417 * testsuite/gas/arm/armv8-a+rdma.d: Add assembler command line options.
3418 Make source file explicit.
3419 * testsuite/gas/arm/armv8-a+rdma.l: New.
3420 * testsuite/gas/arm/armv8-a+rdma.s: Remove .arch and .arch_extension
3421 directives. Fix white-space.
3422 * testsuite/gas/arm/armv8_1-a+simd.d: New.
3423
25aa3689
L
34242016-03-02 H.J. Lu <hongjiu.lu@intel.com>
3425
3426 * testsuite/gas/i386/x86_64-intel.d: Adjusted for COFF.
3427
841fdfcd
CZ
34282016-02-29 Cupertino Miranda <cmiranda@synopsys.com>
3429 Claudiu Zissulescu <Claudiu.Zissulescu@synopsys.com>
3430
abe051ba
AM
3431 * config/tc-arc.c (arc_extra_reloc): Change size to 0.
3432 (tc_arc_fix_adjustable): Changed default return value to 1.
3433 * testsuite/gas/arc/j.d: Updated expected symbol
3434 * testsuite/gas/arc/jl.d: Likewise
3435 * testsuite/gas/arc/relax-avoid1.d: Likewise
3436 * testsuite/gas/arc/st.d: Likewise
841fdfcd 3437
7e458899
CZ
34382016-02-29 Claudiu Zissulescu <Claudiu.Zissulescu@synopsys.com>
3439
3440 * config/tc-arc.c: Enable code density instructions for ARC EM.
3441
11e5f1ec
L
34422016-02-26 H.J. Lu <hongjiu.lu@intel.com>
3443
3444 PR ld/19645
3445 * NEWS: Mention --enable-elf-stt-common and --elf-stt-common=
3446 for ELF assemblers.
3447 * as.c (flag_use_elf_stt_common): New.
3448 (show_usage): Add --elf-stt-common=.
3449 (option_values): Add OPTION_ELF_STT_COMMON.
3450 (std_longopts): Add --elf-stt-common=.
3451 (parse_args): Handle --elf-stt-common=.
3452 * as.h (flag_use_elf_stt_common): New.
3453 * config.in: Regenerated.
3454 * configure: Likewise.
3455 * configure.ac: Add --enable-elf-stt-common and define
3456 DEFAULT_GENERATE_ELF_STT_COMMON.
3457 * gas/write.c (write_object_file): Set BFD_CONVERT_ELF_COMMON
3458 and BFD_USE_ELF_STT_COMMON if flag_use_elf_stt_common is set.
3459 * doc/as.texinfo: Document --elf-stt-common=.
3460 * testsuite/gas/elf/common3.s: New file.
3461 * testsuite/gas/elf/common3a.d: Likewise.
3462 * testsuite/gas/elf/common3b.d: Likewise.
3463 * testsuite/gas/elf/common4.s: Likewise.
3464 * testsuite/gas/elf/common4a.d: Likewise.
3465 * testsuite/gas/elf/common4b.d: Likewise.
3466 * testsuite/gas/i386/dw2-compress-3b.d: Likewise.
3467 * testsuite/gas/i386/dw2-compressed-3b.d: Likewise.
3468 * testsuite/gas/elf/elf.exp: Run common3a, common3b, common4a
3469 and common4b.
3470 * testsuite/gas/i386/dw2-compress-3.d: Renamed to ...
3471 * testsuite/gas/i386/dw2-compress-3a.d: This. Pass
3472 --elf-stt-common=no to as.
3473 * testsuite/gas/i386/dw2-compressed-3.d: Renamed to ...
3474 * testsuite/gas/i386/dw2-compressed-3a.d: This. Pass
3475 --elf-stt-common=no to as.
3476 * testsuite/gas/i386/i386.exp: Run dw2-compress-3a,
3477 dw2-compress-3b, dw2-compressed-3a and dw2-compressed-3b instead
3478 of dw2-compress-3 and dw2-compressed-3.
3479
e0471c16
TS
34802016-02-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3481
3482 * as.c (select_emulation_mode): Add const qualifiers.
3483 * as.h: Likewise.
3484 * config/bfin-defs.h: Likewise.
3485 * config/bfin-parse.y: Likewise.
3486 * config/rx-parse.y: Likewise.
3487 * config/tc-aarch64.c (struct aarch64_option_table): Likewise.
3488 (struct aarch64_cpu_option_table): Likewise.
3489 (struct aarch64_arch_option_table): Likewise.
3490 (struct aarch64_option_cpu_value_table): Likewise.
3491 (struct aarch64_long_option_table): Likewise.
3492 (struct aarch64_option_abi_value_table): Likewise.
3493 * config/tc-arm.c (struct reloc_entry): Likewise.
3494 (tc_gen_reloc): Likewise.
3495 (struct arm_option_table): Likewise.
3496 (struct arm_legacy_option_table): Likewise.
3497 (struct arm_cpu_option_table): Likewise.
3498 (struct arm_arch_option_table): Likewise.
3499 (struct arm_option_extension_value_table): Likewise.
3500 (struct arm_option_fpu_value_table): Likewise.
3501 (struct arm_option_value_table): Likewise.
3502 (struct arm_long_option_table): Likewise.
3503 * config/tc-avr.c (struct avr_opcodes_s): Likewise.
3504 (struct mcu_type_s): Likewise.
3505 (struct exp_mod_s): Likewise.
3506 (avr_operand): Likewise.
3507 (avr_operands): Likewise.
3508 * config/tc-d10v.c (md_begin): Likewise.
3509 * config/tc-dlx.c: Likewise.
3510 * config/tc-fr30.c (fr30_is_colon_insn): Likewise.
3511 * config/tc-ft32.c (parse_condition): Likewise.
3512 * config/tc-h8300.c (do_a_fix_imm): Likewise.
3513 * config/tc-hppa.c (pa_ip): Likewise.
3514 (hppa_regname_to_dw2regnum): Likewise.
3515 * config/tc-i370.c (i370_elf_suffix): Likewise.
3516 * config/tc-i960.c (struct tabentry): Likewise.
3517 * config/tc-m32r.c: Likewise.
3518 * config/tc-m68k.c: Likewise.
3519 * config/tc-m68k.h: Likewise.
3520 * config/tc-mcore.c (parse_psrmod): Likewise.
3521 * config/tc-metag.c (struct metag_core_option): Likewise.
3522 (struct metag_long_option): Likewise.
3523 * config/tc-microblaze.c: Likewise.
3524 * config/tc-mips.c (macro): Likewise.
3525 * config/tc-mn10200.c: Likewise.
3526 * config/tc-mn10300.c: Likewise.
3527 * config/tc-msp430.c (struct rcodes_s): Likewise.
3528 (struct hcodes_s): Likewise.
3529 (md_parse_option): Likewise.
3530 * config/tc-ns32k.c (struct ns32k_option): Likewise.
3531 (optlist): Likewise.
3532 * config/tc-ppc.c (ppc_elf_suffix): Likewise.
3533 (tc_ppc_regname_to_dw2regnum): Likewise.
3534 * config/tc-ppc.h: Likewise.
3535 * config/tc-rl78.c: Likewise.
3536 * config/tc-rx.c (struct cpu_type): Likewise.
3537 * config/tc-sh.c (sh_regname_to_dw2regnum): Likewise.
3538 * config/tc-sparc.c (struct priv_reg_entry): Likewise.
3539 (sparc_ip): Likewise.
3540 * config/tc-spu.c (insn_fmt_string): Likewise.
3541 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
3542 * config/tc-v850.c: Likewise.
3543 * config/tc-visium.c (struct visium_arch_option_table): Likewise.
3544 (struct visium_long_option_table): Likewise.
3545 * config/tc-xgate.c: Likewise.
3546 * config/tc-z8k.c: Likewise.
3547 * read.c (add_include_dir): Likewise.
3548 * read.h: Likewise.
3549
e6e7b7c4
AB
35502016-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
3551
3552 * testsuite/gas/all/gas.exp: Change target pattern to cover
3553 arceb-*.
3554 * testsuite/gas/all/redef3.d: Likewise.
3555 * testsuite/gas/elf/elf.exp: Likewise.
3556
9db2f6b4
RL
35572016-02-24 Renlin Li <renlin.li@arm.com>
3558
3559 * config/tc-arm.c (BAD_FP16): New error message macro.
3560 (do_scalar_fp16_v82_encode): Change the coproc field to 9 for armv8.2
3561 fp16 scalar instructions.
3562 (neon_check_type): Allow different size from key.
3563 (do_vfp_nsyn_add_sub): Add support SE_H shape support.
3564 (try_vfp_nsyn): Likewise.
3565 (do_vfp_nsyn_mla_mls): Likewise.
3566 (do_vfp_nsyn_fma_fms): Likewise.
3567 (do_vfp_nsyn_ldm_stm): Likewise
3568 (do_vfp_nsyn_sqrt): Likewise
3569 (do_vfp_nsyn_div): Likewise
3570 (do_vfp_nsyn_nmul): Likewise.
3571 (do_vfp_nsyn_cmp): Likewise.
3572 (do_neon_shll): Likewise.
3573 (do_vfp_nsyn_cvt_fpv8): Likewise.
3574 (do_neon_cvttb_2): Likewise.
3575 (do_neon_mov): Likewise.
3576 (do_neon_rshift_round_imm): Likewise.
3577 (do_neon_ldr_str): Likewise.
3578 (do_vfp_nsyn_fpv8): Likewise.
3579 (do_vmaxnm): Likewise.
3580 (do_vrint_1): Likewise.
3581 (insns): New entry for vins, vmovx.
3582 (md_apply_fix): Left shift 1 bit for fp16 vldr/vstr.
3583 * testsuite/gas/arm/armv8-2-fp16-scalar-thumb.d: New.
3584 * testsuite/gas/arm/armv8-2-fp16-scalar.d: New.
3585 * testsuite/gas/arm/armv8-2-fp16-scalar.s: New.
3586 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.s: New
3587 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.d: New
3588 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.l: New
3589
d54af2d0
RL
35902016-02-24 Renlin Li <renlin.li@arm.com>
3591
3592 * config/tc-arm.c (NEON_ENC_TAB): Add fp16 instruction shape.
3593 (neon_shape_class): New SC_HALF.
3594 (neon_shape_el): New SE_H.
3595 (neon_shape_el_size): New size for SE_H.
3596 (N_F_ALL): New macro to aggregate N_F16, N_F32, N_64.
3597 (neon_select_shape): Add SE_H support code.
3598 (el_type_of_type_chk): Use N_F_ALL.
3599 (do_vfp_nsyn_cvt): Add SE_H shape support.
3600 (do_neon_cvtz): Likewise.
3601 (do_neon_cvt_1): Likewise.
3602 (do_neon_cvttb_1): Likewise.
3603
b0c11777
RL
36042016-02-24 Renlin Li <renlin.li@arm.com>
3605
3606 * testsuite/gas/arm/copro.d: Adjust output.
3607 * testsuite/gas/arm/copro.s: Adjust co-processor num.
3608
3e309328
RL
36092016-02-24 Renlin Li <renlin.li@arm.com>
3610
3611 * testsuite/gas/arm/mask_1.d: New.
3612 * testsuite/gas/arm/mask_1.s: New.
3613
8afc7bea
RL
36142016-02-24 Renlin Li <renlin.li@arm.com>
3615
3616 * testsuite/gas/arm/copro.s: Use coprocessor other than 10, 11.
3617 * testsuite/gas/arm/copro.d: Update.
3618
6735952f
KT
36192016-02-24 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
3620
3621 * config/tc-arm.c (arm_cpus): Add entry for cortex-a32.
3622 * doc/c-arm.texi (ARM Options): Document cortex-a32.
3623
ed5491b9
KT
36242016-02-24 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
3625
abe051ba 3626 * doc/c-arm.texi (ARM Options): Document cortex-a17.
ed5491b9 3627
742e5034
L
36282016-02-23 H.J. Lu <hongjiu.lu@intel.com>
3629
3630 * testsuite/gas/elf/elf.exp: Skip tests for common directive on
3631 hpux.
3632
3b4dbbbf
TS
36332016-02-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3634
3635 * output-file.c (output_file_create): Make file name argument const.
3636 (output_file_close): Likewise.
3637 * output-file.h (output_file_create): Adjust.
3638 (output_file_close): Likewise.
3639 * depend.c (quote_string_for_make): Make src argument const char *.
3640 (register_dependency): Likewise.
3641 (wrap_output): Likewise.
3642 * as.h (register_dependency): Adjust.
3643 * config/tc-xtensa.c (finish_vinsn): Remove unnecessary calls to
3644 as_where ();
3645 * symbols.c (S_SET_EXTERNAL): Likewise.
3646 * input-scrub.c (as_where): Return the file name.
3647 * as.h (as_where): Adjust prototype.
3648 * app.c (do_scrub_chars): Adjust.
3649 * cond.c (s_elseif): Likewise.
3650 (s_else): Likewise.
3651 (initialize_cframe): Likewise.
3652 * config/obj-coff.c (obj_coff_init_stab_section): Likewise.
3653 * config/obj-elf.c (obj_elf_init_stab_section): Likewise.
3654 * config/obj-som.c (obj_som_init_stab_section): Likewise.
3655 * config/tc-aarch64.c (output_info): Likewise.
3656 * config/tc-ia64.c (md_assemble): Likewise.
3657 (dot_alias): Likewise.
3658 * config/tc-m68k.c (m68k_frob_label): Likewise.
3659 * config/tc-mmix.c (s_bspec): Likewise.
3660 (mmix_handle_mmixal): Likewise.
3661 * config/tc-rx.c (rx_include): Likewise.
3662 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
3663 (tic54x_adjust_symtab): Likewise.
3664 * config/tc-xtensa.c (directive_push): Likewise.
3665 (xtensa_sanity_check): Likewise.
3666 (xtensa_relax_frag): Likewise.
3667 (md_convert_frag): Likewise.
3668 (tinsn_to_slotbuf): Likewise.
3669 * dwarf2dbg.c (dwarf2_where): Likewise.
3670 * ecoff.c (add_file): Likewise.
3671 (ecoff_generate_asm_lineno): Likewise.
3672 * expr.c (make_expr_symbol): Likewise.
3673 * frags.c (frag_new): Likewise.
3674 (frag_var_init): Likewise.
3675 * listing.c (listing_newline): Likewise.
3676 * messages.c (identify): Likewise.
3677 (as_show_where): Likewise.
3678 (as_warn_internal): Likewise.
3679 (as_bad_internal): Likewise.
3680 * read.c (s_irp): Likewise.
3681 (s_macro): Likewise.
3682 (s_reloc): Likewise.
3683 * stabs.c (stabs_generate_asm_file): Likewise.
3684 (stabs_generate_asm_lineno): Likewise.
3685 (stabs_generate_asm_func): Likewise.
3686 * write.c (fix_new_internal): Likewise.
3687 * as.h (PRINTF_WHERE_LIKE): Make file name argument const.
3688 (as_warn_value_out_of_range): Adjust prototype.
3689 (as_bad_value_out_of_range): Adjust prototype.
3690 * messages.c (identify): Make file name argument const char *.
3691 (as_warn_internal): Likewise.
3692 (as_warn_where): Likewise.
3693 (as_bad_internal): Likewise.
3694 (as_bad_where): Likewise.
3695 (as_internal_value_out_of_range): Likewise.
3696 (as_warn_value_out_of_range): Likewise.
3697 (as_bad_value_out_of_range): Likewise.
3698 * as.h (found_comment_file): Change type to const char *.
3699 * cond.c (file_line::file): Likewise.
3700 * config/obj-coff.c (obj_coff_init_stab_section): Make variable const.
3701 * config/obj-elf.c (obj_elf_init_stab_section): Likewise.
3702 * config/obj-som.c (obj_som_init_stab_section): Likewise.
3703 * config/tc-aarch64.c (output_info): Likewise.
3704 * config/tc-alpha.c (insert_operand): Likewise.
3705 * config/tc-arc.c (insert_operand): Likewise.
3706 * config/tc-d30v.c (check_size): Likewise.
3707 * config/tc-ia64.c (struct alias): Likewise.
3708 * config/tc-m68k.c (struct label_line): Likewise.
3709 * config/tc-mcore.c (md_apply_fix): Likewise.
3710 * config/tc-microblaze.c (md_estimate_size_before_relax): Likewise.
3711 * config/tc-mips.c (mips16_immed): Likewise.
3712 * config/tc-mmix.c (mmix_handle_mmixal): Likewise.
3713 * config/tc-ppc.c (ppc_insert_operand): Likewise.
3714 * config/tc-rx.c (rx_include): Likewise.
3715 * config/tc-s390.c (s390_insert_operand): Likewise.
3716 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
3717 (tic54x_adjust_symtab): Likewise.
3718 * config/tc-tilegx.c (insert_operand): Likewise.
3719 (apply_special_operator): Likewise.
3720 * config/tc-tilepro.c (insert_operand): Likewise.
3721 * config/tc-xtensa.c (directive_push): Likewise.
3722 * ecoff.c (add_file): Likewise.
3723 (ecoff_generate_asm_lineno): Likewise.
3724 * listing.c (listing_newline): Likewise.
3725 * read.c (s_irp): Likewise.
3726 * write.c (install_reloc): Likewise.
3727 * write.h (struct fix): Likewise.
3728 * input-file.c (file_name): Change type to const char *.
3729 (saved_file::file_name): Likewise.
3730 (input_file_open): Change type of argument to const char *.
3731 * input-file.h (input_file_open): Adjust.
3732 * input-scrub.c (logical_input_file): change type to const char *.
3733 (physical_input_file): Likewise.
abe051ba 3734 (struct input_save): Adjust.
3b4dbbbf
TS
3735 (input_scrub_push): Adjust.
3736 (input_scrub_begin): Adjust.
3737 (as_where): Adjust.
3738 * input-scrub.c (input_scrub_new_file): Make file name argument const.
3739 (input_scrub_include_file): Likewise.
3740 (new_logical_line_flags): Likewise.
3741 (new_logical_line): Likewise.
3742 * as.h: Adjust.
3743 * frags.h (struct frag): Change type of fr_file to const char *.
3744 * expr.c (expr_symbol_where): Change type of file argument to
3745 const char **.
3746 * expr.h (expr_symbol_where): Likewise.
3747 * config/tc-i370.c (md_apply_fix): adjust.
3748 * config/tc-mmix.c (mmix_md_end): Likewise.
3749 * config/tc-ppc.c (md_apply_fix): Likewise.
3750 * config/tc-s390.c (md_apply_fix): Likewise.
3751 * symbols.c (report_op_error): Likewise.
3752 (resolve_symbol_value): Likewise.
3753 * config/tc-ia64.c (slot::src_file): Change type to const char *.
3754 (rsrc::file): Likewise.
3755 * config/tc-xtensa.c (xtensa_sanity_check): Change type of variable to
3756 const char *.
3757 (xtensa_relax_frag): Likewise.
3758 (md_convert_frag): Likewise.
3759 (tinsn_to_slotbuf): Likewise.
3760 * expr.c (expr_symbol_line): Likewise.
3761 * macro.c (define_macro): Likewise.
3762 * macro.h (macro_struct): Likewise.
3763 * messages.c (as_show_where): Likewise.
3764 * read.c (s_macro): Likewise.
3765 * stabs.c (stabs_generate_asm_file): Likewise.
3766 (generate_asm_file): Likewise.
3767 (stabs_generate_asm_lineno): Likewise.
3768 * write.h (struct reloc_list): Likewise.
3769 * input-scrub.c (as_where): Change return type to const char *.
3770 * as.h (as_wheree): Adjust.
3771
8ecb73dd
L
37722016-02-21 H.J. Lu <hongjiu.lu@intel.com>
3773
3774 * write.c (compress_debug): Move BFD compression bits setting
3775 to ...
3776 (write_object_file): Here.
3777
200cbe0f
L
37782016-02-20 H.J. Lu <hongjiu.lu@intel.com>
3779
3780 * config/tc-i386.c (register_number): Check RegVRex.
3781 * testsuite/gas/i386/x86-64-avx512f.s: Add a test for vgatherqpd
3782 with %zmm19 and %zmm3.
3783 * testsuite/gas/i386/x86-64-avx512f-intel.d: Updated.
3784 * testsuite/gas/i386/x86-64-avx512f.d: Likewise.
3785
b8ec4e87
JW
37862016-02-19 Matthew Wahab <matthew.wahab@arm.com>
3787 Jiong Wang <jiong.wang@arm.com>
3788
3789 * config/tc-arm.c (arm_ext_fp16): New.
3790 (arm_extensions): New entry for "fp16".
3791
3be64886
NC
37922016-02-19 Nick Clifton <nickc@redhat.com>
3793
3794 PR 19630
3795 * read.c (read_a_source_file): Check for assemble_one returning
3796 with input_line_pointer set to NULL.
3797
3b4dbbbf 37982016-02-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
cd0bbe6e 3799
3d13c647
TS
3800 * listing.c (rebuffer_line): Change return type to void.
3801
cd0bbe6e
TS
3802 * symbols.c (decode_local_label_name): Make type a const char *.
3803 * listing.c (print_source): Make type of p const char *.
3804 (print_line): Make type of string const char *.
3805 (buffer_line): Return const char *.
3806 (title): Make type const char *.
3807 (subtitle): Likewise.
3808 (listing_listing): Make type of p const char *.
3809 * messages.c (as_internal_value_out_of_range): Make type of prefix
3810 const char *.
3811 * stabs.c (s_stab_generic): make type of stab_secname, stabstr_secname
3812 and string const char *.
3813 * read.c (_bfd_rel): Make type of name const char *.
3814 * app.c (out_string): Change type to const char *.
abe051ba 3815 (struct app_save::out_string): Likewise.
cd0bbe6e 3816
9136aa49
DG
38172016-02-18 Dan Gisselquist <dgisselq@verizon.net>
3818 Nick Clifton <nickc@redhat.com>
3819
3820 * read.c (finish_bundle): Avoid recording a negative alignment.
3821 (do_align): Use unsigned values for n, len and max. Only create
3822 a frag if the alignment requirement is greater than the minimum
3823 byte alignment. Avoid recording a negative alignment.
3824 (s_align): Use unsigned values where appropriate.
3825 (bss_alloc): Use an unsigned value for the alignment.
3826 (sizeof_sleb128): Add a comment noting that we encode one octet
3827 per byte, regardless of the value of OCTETS_PER_BYTE_POWER.
3828 (emit_leb129_expr): Abort if the emitted encoding was longer than
3829 expected.
3830 * read.h (output_leb128): Update prototype.
3831 (sizeof_leb128): Update prototype.
3832 (bss_alloc): Update prototype.
3833 * write.c (record_alignment): Use an unsigned value for the
3834 alignment. Do not record alignments less than the minimum
3835 alignment for a byte.
3836 * write.h (record_alignment): Update prototype.
3837
4111950f
MF
38382016-02-17 Max Filippov <jcmvbkbc@gmail.com>
3839
3840 * config/tc-xtensa.c (xtensa_move_literals): Fix check for
3841 .init.literal/.fini.literal section name.
3842 * testsuite/gas/xtensa/all.exp: Add init-fini-literals to the
3843 list of xtensa tests.
3844 * testsuite/gas/xtensa/init-fini-literals.d: New file:
3845 init-fini-literals test result patterns.
3846 * testsuite/gas/xtensa/init-fini-literals.s: New file:
3847 init-fini-literals test.
3848
b27c40ec
NC
38492016-02-17 Nick Clifton <nickc@redhat.com>
3850
3851 * config/tc-msp430.c (msp430_mcu_data): Sync with data from TI's
3852 devices.csv file as of March 2016.
3853
726c18e1
CZ
38542016-02-16 Claudiu Zissulescu <claziss@synopsys.com>
3855
3856 * config/tc-arc.c (tc_arc_frame_initial_instructions): New
3857 function.
3858 (tc_arc_regname_to_dw2regnum): Likewise.
3859 * config/tc-arc.h (TARGET_USE_CFIPOP): Define
3860 (tc_cfi_frame_initial_instructions): Likewise.
3861 (tc_regname_to_dw2regnum): Likewise.
5dafb246
AM
3862 * testsuite/gas/cfi/cfi-arc-1.d: New file.
3863 * testsuite/gas/cfi/cfi-arc-1.s: Likewise.
3864 * testsuite/gas/cfi/cfi.exp: Allow running tests for arc.
726c18e1 3865
9406ee73
TS
38662016-02-16 Trevor Saunders <tbsaunde@tbsaunde.org>
3867
3868 * doc/internals.texi (S_IS_EXTERN): Remove.
3869
eda683bb
NC
38702016-02-16 Nick Clifton <nickc@redhat.com>
3871
3872 * doc/as.texinfo (Section): Fix up texinfo snafus in previous
3873 update.
3874
671eeb28
RL
38752016-02-16 Renlin Li <renlin.li@arm.com>
3876
3877 PR gas/19620
3878 * config/tc-aarch64.c (parse_half): Remove restrictions on symbol name.
3879 * testsuite/gas/aarch64/movw_label.d: New.
3880 * testsuite/gas/aarch64/movw_label.s: New.
3881
804021fb 38822016-02-15 Vinay Kumar G. <Vinay.G@kpit.com>
6439ea1a 3883
58cda018 3884 PR gas/19556
6439ea1a
VK
3885 * config/rx-parse.y (MOV): Opcode generation for index
3886 register addressing mode.
3887 * testsuite/gas/rx/rx.exp: Updated for new testcase.
3888 * testsuite/gas/rx/pr19665.s: New file.
3889 * testsuite/gas/rx/pr19665.s: New file.
3890 * testsuite/gas/rx/mov.d: Update expected output.
3891
804021fb 38922016-02-15 Nick Clifton <nickc@redhat.com>
9fb71ee4
NC
3893
3894 * doc/as.texinfo (.section): Document that numeric values can now
3895 be used for the flags and type fields of the ELF target's .section
3896 directive. Add notes about the restrictions on setting flags and
3897 types.
3898 * config/obj-elf.c (obj_elf_change_section): Allow known sections
3899 to be given processor specific section types. Allow processor and
3900 application specific flags of a section to be set after
3901 definition.
3902 (obj_elf_parse_section_letters): Handle parsing numeric values.
3903 (obj_elf_section_type): Handle parsing numeric values.
3904 (obj_elf_section): Allow numeric type values.
3905 * config/obj-elf.h (obj_elf_change_section): Update prototype.
3906 * testsuite/gas/elf/section10.d: New test.
3907 * testsuite/gas/elf/section10.s: Source file for new test.
3908 * testsuite/gas/elf/elf.exp: Run the new test.
3909 * testsuite/gas/i386/ilp32/x86-64-unwind.d: Remove dependency upon
3910 the description of the flags produced by readelf.
3911 * testsuite/gas/tic6x/scomm-directive-4.d: Likewise.
3912 * NEWS: Mention the new feature.
3913
bd5608dc
NC
39142016-02-11 Nick Clifton <nickc@redhat.com>
3915
3916 PR gas/19614
3917 * dw2gencfi.c (cfi_sections_set): Delay setting this variable
3918 until it is actually used.
3919 (cfi_set_sections): Set cfi_sections_set to true.
3920 (dot_cfi_startproc): Likewise.
3921 (dot_cfi_endproc): Likewise.
3922 (dot_cfi_fde_data): Likewise.
3923 (cfi_finish): Likewise.
3924 (dot_cfi_sections): Do not set cfi_sections_set.
3925 * doc/as.texinfo (.cfi_sections): Note that targets can provide
3926 their own cfi section name. Also note that the directive can be
3927 reissued provided that CFI generation has not started.
3928 * testsuite/gas/mips/compact-eh-err2.s: Add .cfi_startproc and
3929 .cfi_endproc directives so that the redefinition of .cfi_sections
3930 will trigger the generation of the error message.
3931 * testsuite/gas/mips/compact-eh-err2.l: Update expected line
3932 number of error message.
3933
4670103e
CZ
39342016-02-10 Claudiu Zissulescu <claziss@synopsys.com>
3935 Janek van Oirschot <jvanoirs@synopsys.com>
3936
3937 * config/tc-arc.h (TC_FRAG_TYPE, TC_PCREL_ADJUST, MAX_INSN_ARGS)
3938 (MAX_INSN_FLGS, MAX_FLAG_NAME_LENGHT, TC_GENERIC_RELAX_TABLE):
3939 Define.
3940 (arc_flags, arc_relax_type): New structure.
3941 * config/tc-arc.c (FRAG_MAX_GROWTH, RELAX_TABLE_ENTRY)
3942 (RELAX_TABLE_ENTRY_MAX): New define.
3943 (relaxation_state, md_relax_table, arc_relaxable_insns)
3944 (arc_num_relaxable_ins): New variable.
3945 (rlx_operand_type, arc_rlx_types): New enums.
3946 (arc_relaxable_ins): New structure.
3947 (OPTION_RELAX): New option.
3948 (arc_insn): New relax member.
3949 (arc_flags): Remove.
3950 (relax_insn_p): New function.
3951 (apply_fixups): Likewise.
3952 (relaxable_operand): Likewise.
3953 (may_relax_expr): Likewise.
3954 (relaxable_flag): Likewise.
3955 (arc_pcrel_adjust): Likewise.
3956 (md_estimate_size_before_relax): Implement.
3957 (md_convert_frag): Likewise.
3958 (md_parse_option): Handle new mrelax option.
3959 (md_show_usage): Likewise.
3960 (assemble_insn): Set relax member.
3961 (emit_insn0): New function.
3962 (emit_insn1): Likewise.
3963 (emit_insn): Handle relaxation case.
3964 * NEWS: Mention the new relaxation option.
3965 * doc/c-arc.texi (ARC Options): Document new mrelax option.
3966 * doc/as.texinfo (Target ARC Options): Likewise.
3967 * testsuite/gas/arc/relax-avoid1.d: New file.
3968 * testsuite/gas/arc/relax-avoid1.s: Likewise.
3969 * testsuite/gas/arc/relax-avoid2.d: Likewise.
3970 * testsuite/gas/arc/relax-avoid2.s: Likewise.
3971 * testsuite/gas/arc/relax-avoid3.d: Likewise.
3972 * testsuite/gas/arc/relax-avoid3.s: Likewise.
3973 * testsuite/gas/arc/relax-b.d: Likewise.
3974 * testsuite/gas/arc/relax-b.s: Likewise.
3975
9264d325
NC
39762016-02-08 Nick Clifton <nickc@redhat.com>
3977
3978 * config/tc-ia64.c (dot_prologue): Fix formatting.
3979
39306124
NC
39802016-02-04 Nick Clifton <nickc@redhat.com>
3981
3982 * config/obj-elf.c (obj_elf_change_section): Remove support for
3983 ARM NOREAD sections.
3984 * config/tc-arm.c (arm_elf_section_letter): Delete.
3985 * config/tc-arm.h (md_elf_section_letter): Delete.
3986 * doc/c-arm.texi (ARM Section Attribute): Delete section.
3987 * testsuite/gas/arm/section-execute-only.d: Delete.
3988 * testsuite/gas/arm/section-execute-only.s: Delete.
3989
c1d9289f
NC
39902016-02-04 Nick Clifton <nickc@redhat.com>
3991
3992 PR target/19561
3993 * config/tc-msp430.c (msp430_operands): Remove case 7. Use case 2
3994 to handle encoding of RRUX instruction.
3995 * testsuite/gas/msp430/msp430x.s: Add more tests of the extended
3996 shift instructions.
3997 * testsuite/gas/msp430/msp430x.d: Update expected disassembly.
3998
ea173078
MF
39992016-02-03 Max Filippov <jcmvbkbc@gmail.com>
4000
4001 * config/tc-xtensa.c (md_apply_fix): Mark BFD_RELOC_XTENSA_DIFF*
4002 substitutions for BFD_RELOC_* as unsigned.
c1d9289f
NC
4003 * testsuite/gas/xtensa/all.exp: Add loc to list of xtensa tests.
4004 * testsuite/gas/xtensa/loc.d: New file: loc test result patterns.
4005 * testsuite/gas/xtensa/loc.s: New file: loc test.
ea173078 4006
3d8efabf
KB
40072016-02-03 Kevin Buettner <kevinb@redhat.com>
4008
abe051ba 4009 * config/tc-msp430.h (DWARF2_ADDR_SIZE): Set to 4.
3d8efabf 4010
0cb4071e
L
40112016-02-03 H.J. Lu <hongjiu.lu@intel.com>
4012
4013 PR gas/19520
4014 * NEWS: Mention new command line option -mrelax-relocations and
4015 new configure option --enable-x86-relax-relocations for x86
4016 target.
4017 * config.in: Regenerated.
4018 * configure.ac: Add --enable-x86-relax-relocations.
4019 (ac_default_x86_relax_relocations): New. Default to 1 except
4020 for x86 Solaris targets older than Solaris 12.
4021 (DEFAULT_GENERATE_X86_RELAX_RELOCATIONS): Define.
4022 * configure: Likewise.
4023 * config/tc-i386.c (generate_relax_relocations): New.
4024 (OPTION_MRELAX_RELOCATIONS): Likewise.
4025 (output_disp): Don't generate relax relocations if
4026 generate_relax_relocations is 0.
4027 (md_longopts): Add -mrelax-relocations.
4028 (md_show_usage): Likewise.
4029 (md_parse_option): Handle OPTION_MRELAX_RELOCATIONS.
4030 * doc/c-i386.texi: Document -mrelax-relocations=.
4031 * testsuite/gas/i386/got-no-relax.d: New file.
4032 * testsuite/gas/i386/x86-64-gotpcrel-no-relax.d: Likewise.
4033 * testsuite/gas/i386/got.d: Pass -mrelax-relocations=yes to as.
4034 * testsuite/gas/i386/localpic.d: Likewise.
4035 * testsuite/gas/i386/mixed-mode-reloc32.d: Likewise.
4036 * testsuite/gas/i386/reloc32.d: Likewise.
4037 * testsuite/gas/i386/x86-64-gotpcrel.d: Likewise.
4038 * testsuite/gas/i386/x86-64-localpic.d: Likewise.
4039 * testsuite/gas/i386/ilp32/x86-64-gotpcrel.d: Likewise.
4040 * testsuite/gas/i386/ilp32/x86-64-localpic.d: Likewise.
4041 * testsuite/gas/i386/i386.exp: Run got-no-relax and
4042 x86-64-gotpcrel-no-relax.
4043
9d3fc4e1
L
40442016-02-03 H.J. Lu <hongjiu.lu@intel.com>
4045
4046 * NEWS: Mention new command line option -mfence-as-lock-add=yes
4047 for x86 target.
4048
ab71ce86
L
40492016-02-03 H.J. Lu <hongjiu.lu@intel.com>
4050
4051 * NEWS: Remove duplicated marker for 2.26.
4052
46d70d04
RL
40532016-02-02 Renlin Li <renlin.li@arm.com>
4054
4055 * testsuite/gas/arm/thumb2_it_search.d: Skip non-elf targets.
4056
0f99255d
AB
40572016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
4058
4059 * testsuite/gas/ip2k/allinsn.d: New file.
4060 * testsuite/gas/ip2k/allinsn.s: New file.
4061 * testsuite/gas/ip2k/ip2k-allinsn.exp: New file.
4062
5d7a9011
AB
40632016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
4064
4065 * testsuite/gas/epiphany/addr-syntax.d: Add explicit 0 offset to
4066 some load instructions.
4067 * testsuite/gas/epiphany/allinsn.d: Likewise.
4068 * testsuite/gas/epiphany/regression.d: Likewise.
4069
a012b298
AB
40702016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
4071
4072 * testsuite/gas/epiphany/addr-syntax.d: Remove unneeded '.l'
4073 suffixes from instruction mnemonics in expected output.
4074 * testsuite/gas/epiphany/allinsn.d: Likewise.
4075 * testsuite/gas/epiphany/regression.d: Likewise.
4076 * testsuite/gas/epiphany/sample.d: Likewise.
4077
2f74d480
AB
40782016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
4079
4080 * testsuite/gas/epiphany/addr-syntax.d: Update expected register
4081 names.
4082 * testsuite/gas/epiphany/allinsn.d: Likewise.
4083 * testsuite/gas/epiphany/sample.d: Likewise.
4084
b89807c6
AB
40852016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
4086
4087 * testsuite/gas/epiphany/sample.d: Update expected output.
4088
b125bd17
CZ
40892016-01-26 Claudiu Zissulescu <claziss@synopsys.com>
4090
abe051ba
AM
4091 * config/tc-arc.c (md_apply_fix): Allow addendum.
4092 (arc_reloc_op): Allow complex expressions for tpoff.
4093 (md_apply_fix): Handle resolved TLS local symbol.
b125bd17
CZ
4094 * testsuite/gas/arc/tls-relocs1.d: New file.
4095 * testsuite/gas/arc/tls-relocs1.s: Likewise.
4096
4f1d6205
L
40972016-02-01 Loria <Loria@phantasia.org>
4098
4099 PR target/19311
4100 * config/tc-arm.c (encode_arm_immediate): Recode to improve
4101 efficiency and avoid an LLVM loop optimization bug.
4102
ac0d427f
NC
41032016-02-01 Nick Clifton <nickc@redhat.com>
4104
4105 * config/tc-microblaze.c (parse_imm): Fix compile time warning
4106 message extending a negative 32-bit value into a larger signed
4107 value on a 32-bit host.
4108
348ef89a
L
41092016-01-29 H.J. Lu <hongjiu.lu@intel.com>
4110
4111 PR gas/19532
4112 * configure.ac (compressed_debug_sections): Replace == with =.
4113 * configure: Regenerated.
4114
e4e00185
AS
41152016-01-29 Andrew Senkevich <andrew.senkevich@intel.com>
4116 H.J. Lu <hongjiu.lu@intel.com>
4117
4118 * config/tc-i386.c (avoid_fence): New.
4119 (output_insn): Encode as lock addl $0x0, (%{r,e}sp) if avoid_fence
4120 is true.
4121 (OPTION_FENCE_AS_LOCK_ADD): New.
4122 (md_longopts): Add -mfence-as-lock-add.
4123 (md_parse_option): Handle -mfence-as-lock-add.
4124 (md_show_usage): Add -mfence-as-lock-add=[no|yes].
4125 * doc/c-i386.texi (-mfence-as-lock-add): Document.
ac2789d7
L
4126 * testsuite/gas/i386/i386.exp: Run new tests.
4127 * testsuite/gas/i386/fence-as-lock-add.s: New.
4128 * testsuite/gas/i386/fence-as-lock-add-yes.d: Likewise.
4129 * testsuite/gas/i386/fence-as-lock-add-no.d: Likewise.
4130 * testsuite/gas/i386/x86-64-fence-as-lock-add-yes.d: Likewise.
4131 * testsuite/gas/i386/x86-64-fence-as-lock-add-no.d: Likewise.
e4e00185 4132
27ba7c94
L
41332016-01-27 H.J. Lu <hongjiu.lu@intel.com>
4134
4135 * configure.ac (compressed_debug_sections): Remove trailing `]'.
4136 * configure: Regenerated.
4137
d1982f93
L
41382016-01-25 H.J. Lu <hongjiu.lu@intel.com>
4139
4140 * config/tc-i386.c (OPTION_OMIT_LOCK_PREFIX): Renamed to ...
4141 (OPTION_MOMIT_LOCK_PREFIX): This.
4142 (md_longopts): Updated.
4143 (md_parse_option): Likewise.
4144
00acd688
CM
41452016-01-25 Catherine Moore <clm@codesourcery.com>
4146
4147 * config/mips/tc-mips.c (md_begin): Avoid gp-relative addressing
4148 if abicalls are in effect.
4149 * testsuite/gas/mips/sdata-gp.s: New test.
4150 * testsuite/gas/mips/sdata-gp.d: New expected output
4151 * testsuite/gas/mips/mips.exp: Run new test.
4152
5bc5ae88
RL
41532016-01-25 Renlin Li <renlin.li@arm.com>
4154
4155 * testsuite/gas/arm/thumb2_it_search.d: New.
4156 * testsuite/gas/arm/thumb2_it_search.s: New.
4157
61e137e2
NC
41582016-01-21 Nick Clifton <nickc@redhat.com>
4159
4160 PR gas/19454
4161 * testsuite/gas/arm/mapshort-elf.d: Fix expected output to cope
4162 with arm-netbsdelf target.
4163 * testsuite/gas/arm/blx-bl-convert.d: Skip for netbsdelf.
4164
aed5fc75
NC
41652016-01-20 Nick Clifton <nickc@redhat.com>
4166
74b92a5c
NC
4167 PR 19456
4168 * testsuite/gas/arm/weakdef-1.d: Skip for VxWorks.
4169 * testsuite/gas/arm/blx-bl-convert.d
4170 * testsuite/gas/arm/plt-1.d: Likewise.
4171 * testsuite/gas/arm/reloc-bad.d: Likewise.
4172 * testsuite/gas/arm/thumb-w-good.d: Likewise.
4173 * testsuite/gas/arm/thumb2_pool.d: Likewise.
4174 * testsuite/gas/arm/ldconst.d: Adjust so that it works with VxWorks
4175 * testsuite/gas/arm/tls_vxworks.d: Update expected output.
4176
72e0b254
NC
4177 PR 19499
4178 * doc/as.texinfo (Errors): Correct documentation describing the
4179 interaction of .file and .line with warning and error messages.
4180
aed5fc75
NC
4181 PR 19458
4182 * testsuite/gas/arm/armv8_2-a.d: Skip for COFF based targets.
4183 * testsuite/gas/arm/archv8m-main.d: Likewise.
4184 * testsuite/gas/arm/archv8m-base.d: Likewise.
4185
0bff6e2d
MW
41862016-01-20 Matthew Wahab <matthew.wahab@arm.com>
4187
4188 * testsuite/gas/aarch64/armv8_2-a-illegal.d: New.
4189 * testsuite/gas/aarch64/armv8_2-a-illegal.l: New.
4190 * testsuite/gas/aarch64/armv8_2-a-illegal.s: New.
4191
91f68a68
MG
41922016-01-20 Mickael Guene <mickael.guene@st.com>
4193 Terry Guo <terry.guo@arm.com>
4194
4195 * config/obj-elf.c (obj_elf_change_section) : Allow arm section with
4196 SHF_ARM_NOREAD section flag.
4197 * config/tc-arm.h (md_elf_section_letter) : Implement this hook to
4198 handle letter 'y'.
4199 (arm_elf_section_letter) : Declare it.
4200 * config/tc-arm.c (arm_elf_section_letter): Handle letter 'y' to set
4201 SHF_ARM_NOREAD section flag.
4202 * doc/c-arm.texi (ARM section attribute): Document the 'y' attribute.
4203
4204 * testsuite/gas/arm/section-execute-only.s: New test case.
4205 * testsuite/gas/arm/section-execute-only.d: Expected output.
4206
100b4f2e
MR
42072016-01-18 Maciej W. Rozycki <macro@imgtec.com>
4208
4209 * config/tc-mips.c (micromips_insn_length): Remove the mention
4210 of 48-bit microMIPS instructions.
4211
3d961d0d
AM
42122016-01-18 Alan Modra <amodra@gmail.com>
4213
4214 * configure: Regenerate.
4215
5c14705f
AM
42162016-01-17 Alan Modra <amodra@gmail.com>
4217
4218 * configure: Regenerate.
4219
b3066ae8
AM
42202016-01-17 Alan Modra <amodra@gmail.com>
4221
4222 * testsuite/gas/cfi/cfi.exp: Exclude m68hc11/12 from m68k test.
4223
4d82fe66
NC
42242016-01-14 Nick Clifton <nickc@redhat.com>
4225
4226 * testsuite/gas/rl78/sp-relative-movw.s: New test.
4227 * testsuite/gas/rl78/sp-relative-movw.d: Expected disassembly.
4228 * testsuite/gas/rl78/rl78.exp: Run the new test.
4229
651657fa
MW
42302016-01-14 Matthew Wahab <matthew.wahab@arm.com>
4231
4232 * testsuite/gas/aarch64/illegal-sysreg-2.l: New.
4233 * testsuite/gas/aarch64/illegal-sysreg-2.d: New.
4234
3facb0e9
MR
42352016-01-13 Maciej W. Rozycki <macro@imgtec.com>
4236
4237 * config/tc-nios2.c (output_movia): Preset `code' to 0.
4238
8a4c2869
YS
42392016-01-13 Yoshinori Sato <ysato@users.sourceforge.jp>
4240
4241 * config/tc-h8300.c (get_operand): Remove spurious condition in
4242 test for closing parenthesis.
4243
105bde57
MW
42442016-01-12 Matthew Wahab <matthew.wahab@arm.com>
4245
4246 * config/tc-arm.c (arm_ext_v8_2): New.
4247 (insns): Add "esb".
4248 * testsuite/gas/arm/armv8_2-a.d: New.
4249 * testsuite/gas/arm/armv8_2-a.s: New.
4250
5230aa4d
AM
42512016-01-12 Alan Modra <amodra@gmail.com>
4252
4253 * testsuite/gas/ppc/vsx3.d: Accept nop padding.
4254
afa8d405
PB
42552016-01-11 Peter Bergner <bergner@vnet.ibm.com>
4256
4257 * testsuite/gas/ppc/power9.d <xscmpnedp, xvcmpnedp, xvcmpnedp.,
4258 xvcmpnesp, xvcmpnesp.>: Delete tests.
4259 * testsuite/gas/ppc/power9.s: Likewise.
4260 * testsuite/gas/ppc/vsx3.d: Likewise.
4261 * testsuite/gas/ppc/vsx3.s: Likewise.
4262
83c3256e
AS
42632016-01-08 Andreas Schwab <schwab@linux-m68k.org>
4264
4265 PR gas/13050
4266 * testsuite/gas/m68k/all.exp: Add tests p13050-1 and p13050-2.
4267 * testsuite/gas/m68k/p13050-1.s: New file.
4268 * testsuite/gas/m68k/p13050-2.d: New file.
4269 * testsuite/gas/m68k/p13050-2.s: New file.
4270
b05a65d0
AB
42712016-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
4272
4273 * testsuite/gas/arc/adc.d: Add 'R_' prefix to relocation names.
4274 * testsuite/gas/arc/add.d: Likewise.
4275 * testsuite/gas/arc/and.d: Likewise.
4276 * testsuite/gas/arc/asl.d: Likewise.
4277 * testsuite/gas/arc/asr.d: Likewise.
4278 * testsuite/gas/arc/bic.d: Likewise.
4279 * testsuite/gas/arc/extb.d: Likewise.
4280 * testsuite/gas/arc/extw.d: Likewise.
4281 * testsuite/gas/arc/j.d: Likewise.
4282 * testsuite/gas/arc/jl.d: Likewise.
4283 * testsuite/gas/arc/ld2.d: Likewise.
4284 * testsuite/gas/arc/lsr.d: Likewise.
4285 * testsuite/gas/arc/mov.d: Likewise.
4286 * testsuite/gas/arc/or.d: Likewise.
4287 * testsuite/gas/arc/pcl-relocs.d: Likewise.
4288 * testsuite/gas/arc/pcrel-relocs.d: Likewise.
4289 * testsuite/gas/arc/pic-relocs.d: Likewise.
4290 * testsuite/gas/arc/plt-relocs.d: Likewise.
4291 * testsuite/gas/arc/rlc.d: Likewise.
4292 * testsuite/gas/arc/ror.d: Likewise.
4293 * testsuite/gas/arc/rrc.d: Likewise.
4294 * testsuite/gas/arc/sbc.d: Likewise.
4295 * testsuite/gas/arc/sda-relocs.d: Likewise.
4296 * testsuite/gas/arc/sda-relocs2.d: Likewise.
4297 * testsuite/gas/arc/sexb.d: Likewise.
4298 * testsuite/gas/arc/sexw.d: Likewise.
4299 * testsuite/gas/arc/st.d: Likewise.
4300 * testsuite/gas/arc/sub.d: Likewise.
4301 * testsuite/gas/arc/tls-relocs.d: Likewise.
4302 * testsuite/gas/arc/xor.d: Likewise.
4303
6f2750fe
AM
43042016-01-01 Alan Modra <amodra@gmail.com>
4305
4306 Update year range in copyright notice of all files.
4307
3499769a
AM
4308For older changes see ChangeLog-2015 and testsuite/ChangeLog-2015
4309\f
4310Copyright (C) 2016 Free Software Foundation, Inc.
4311
4312Copying and distribution of this file, with or without modification,
4313are permitted in any medium without royalty provided the copyright
4314notice and this notice are preserved.
4315
4316Local Variables:
4317mode: change-log
4318left-margin: 8
4319fill-column: 74
4320version-control: never
4321End:
This page took 0.290691 seconds and 4 git commands to generate.