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