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