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