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