Add AVX512IFMA instructions
[platform/upstream/binutils.git] / gas / ChangeLog
1 2014-11-17  Ilya Tocar  <ilya.tocar@intel.com>
2
3         * config/tc-i386.c (cpu_arch): Add .avx512ifma.
4         * doc/c-i386.texi: Document it.
5
6 2014-11-17  Ilya Tocar  <ilya.tocar@intel.com>
7
8         * config/tc-i386.c (cpu_arch): Add .pcommit.
9         * doc/c-i386.texi: Document it.
10
11 2014-11-17  Ilya Tocar  <ilya.tocar@intel.com>
12
13         * config/tc-i386.c (cpu_arch): Add .clwb.
14         * doc/c-i386.texi: Document it.
15
16 2014-11-14  H.J. Lu  <hongjiu.lu@intel.com>
17
18         * config/tc-i386.c (cpu_arch): Re-arrange avx512* and xsave*
19         items.
20
21         * doc/c-i386.texi: Re-arrange avx512* and xsave*.  Add
22         clflushopt and se1.  Remove duplicated entries.
23
24 2014-11-13  Marcus Shawcroft  <marcus.shawcroft@arm.com>
25
26         Apply trunk patch:
27         * config/tc-aarch64.c (aarch64_cpus): Add CRC feature for
28         cortex-A53 and cortex-A57.
29
30 2014-11-12  Alan Modra  <amodra@gmail.com>
31
32         PR ld/17482
33         * config/tc-i386.c (output_insn): Don't test x86_elf_abi when
34         not ELF.
35
36 2014-11-11  Nick Clifton  <nickc@redhat.com>
37
38         * po/uk.po: Updated Ukranian translation.
39
40 2014-11-10  Matthew Fortune  <matthew.fortune@imgtec.com>
41
42         Apply trunk patch:
43         * config/tc-mips.c (mips_elf_final_processing): Add INSN_ISA32R6
44         and INSN_ISA64R6 support.
45
46 2014-11-07  H.J. Lu  <hongjiu.lu@intel.com>
47
48         Apply trunk patch:
49         2014-11-07  H.J. Lu  <hongjiu.lu@intel.com>
50
51         PR ld/17482
52         * config/tc-i386.c (output_insn): Add a dummy REX_OPCODE prefix
53         for structions with R_X86_64_GOTTPOFF relocation for x32 if needed.
54
55 2014-11-03  Nick Clifton  <nickc@redhat.com>
56
57         Apply trunk patch:
58         2014-11-03  Nick Clifton  <nickc@redhat.com>
59         * config/tc-msp430.c (msp430_srcoperand): Fix range test for
60         20-bit values.
61
62 2014-10-30  Nick Clifton  <nickc@redhat.com>
63
64         Apply trunk patches
65         2014-10-30  Dr Philipp Tomsich  <philipp.tomsich@theobroma-systems.com>
66         * config/tc-aarch64.h (MAX_MEM_FOR_RS_ALIGN_CODE): Define to 7.
67         * config/tc-aarch64.c (aarch64_handle_align): Rewrite to handle
68         large alignments with a constant fragment size of
69         MAX_MEM_FOR_RS_ALIGN_CODE.
70
71 2014-10-29  Nick Clifton  <nickc@redhat.com>
72
73         * po/uk.po: New Ukranian translation.
74
75 2014-10-28  Matthew Fortune  <matthew.fortune@imgtec.com>
76
77         Apply trunk patches
78         2014-10-22  Matthew Fortune  <matthew.fortune@imgtec.com>
79         * doc/as.texinfo: Update the MIPS FP ABI descriptions.
80         * doc/c-mips.texi: Spell check and correct throughout.
81
82 2014-10-28  Matthew Fortune  <matthew.fortune@imgtec.com>
83
84         Apply trunk patches
85         2014-10-21  Maciej W. Rozycki  <macro@codesourcery.com>
86         * config/tc-mips.c (s_insn): Set file options.
87
88 2014-10-28  Matthew Fortune  <matthew.fortune@imgtec.com>
89
90         Apply trunk patches
91         2014-10-17  Matthew Fortune  <matthew.fortune@imgtec.com>
92         * doc/c-mips.texi: Fix bad @value references.
93
94 2014-10-28  Alan Modra  <amodra@gmail.com>
95         Apply trunk patches
96         2014-10-18  Alan Modra  <amodra@gmail.com>
97         PR 17493
98         * write.c (adjust_reloc_syms): Don't allow symbols in reg_section
99         to be reduced to reg_section section symbol.
100         * gas/config/tc-i386.c (i386_finalize_immediate): Reject all
101         reg_section immediates.
102
103         2014-10-15  Chen Gang  <gang.chen.5i5j@gmail.com>
104         * config/tc-tic4x.c (md_assemble): Correct strncat size.
105
106 2014-10-15  Tristan Gingold  <gingold@adacore.com>
107
108         * configure: Regenerate.
109
110 2014-10-14  Tristan Gingold  <gingold@adacore.com>
111
112         * NEWS: Add marker for 2.25.
113
114 2014-10-14  Alan Modra  <amodra@gmail.com>
115
116         PR 17453
117         * config/tc-i386.c (fits_in_signed_long): Use unsigned param and
118         expression to avoid signed overflow.
119         (fits_in_signed_byte, fits_in_unsigned_byte, fits_in_unsigned_word,
120         fits_in_signed_word, fits_in_unsigned_long): Similarly.
121         * expr.c (operand <'-'>): Avoid signed overflow.
122         * read.c (s_comm_internal): Likewise.
123
124 2014-10-14  Alan Modra  <amodra@gmail.com>
125
126         * config/tc-sparc.c (sparc_md_end): Fix unused variable warnings.
127
128 2014-10-09  Jose E. Marchesi  <jose.marchesi@oracle.com>
129
130         * config/tc-sparc.c (v9a_asr_table): Entry for %cps removed.
131         (sparc_arch_table): Remove the HWCAP_RANDOM, HWCAP_TRANS and
132         HWCAP_ASI_CACHE_SPARING from the architectures using them.
133         (HWS_V8): New define.
134         (HWS_V9): Likewise.
135         (HWS_VA): Likewise.
136         (HWS_VB): Likewise.
137         (HWS_VC): Likewise.
138         (HWS_VD): Likewise.
139         (HWS_VE): Likewise.
140         (HWS_VV): Likewise.
141         (sparc_arch): Use the HWS_* macros.  Fix the `sparc4' architecture
142         to cover the HWCAP_ASI_BLK_INIT and HWCAP_IMA capabilities.
143         (hwcap_seen): Variable widened to 64 bits.
144         (hwcap_allowed): Likewise.
145         (sparc_arch): new field `hwcap2_allowed'.
146         (sparc_arch_table): provide hwcap2_allowed values for existing
147         archs.
148         (sparc_md_end): Add a HWCAPS2 object attribute to the elf object
149         in case any of the HWCAP2_* caps are used.
150         (sparc_ip): Take into account the new hwcaps2 bitmap to build the
151         list of seen/allowed hwcaps.
152         (get_hwcap_name): Argument widened to 64 bits to handle HWCAP2
153         bits.
154         (HWS_VM): New define.
155         (HWS2_VM): Likewise.
156         (sparc_arch): New architectures `sparc5', `v9m' and `v8plusm'.
157         (v9a_asr_table): Add the %mwait (%asr28) ancillary state register
158         to the table.
159         (sparc_ip): Handle the %mcdper ancillary state register as an
160         operand.
161         (sparc_ip): Handle } arguments as fdrd floating point registers
162         (double) that are the same than frs1.
163         * doc/c-sparc.texi (Sparc-Opts): Document the -Av9e, -Av8pluse and
164         -xarch=v9e command line options.  Also fix the description of the
165         -Av9v and -Av8plusv command line options.
166         Document the -Av9m, -Av8plusm,-Asparc5, -xarch=v9m and
167         -xarch=sparc5 command line options.
168
169 2014-09-29  Terry Guo  <terry.guo@arm.com>
170
171         * as.c (create_obj_attrs_section): Move it and call it from ...
172         * write.c (create_obj_attrs_section): ... here.
173         (subsegs_finish_section): Refactored.
174
175 2014-09-27  Alan Modra  <amodra@gmail.com>
176
177         * dwarf2dbg.c (all_segs_hash): Delete.
178         (get_line_subseg): Delete last_seg, last_subseg, last_line_subseg.
179         Retrieve line_seg for section via seg_info.
180         * subsegs.h (segment_info_typet): Add dwarf2_line_seg.
181
182 2014-09-23  H.J. Lu  <hongjiu.lu@intel.com>
183
184         PR gas/17421
185         * config/tc-i386.c (md_assemble): Disallow VEX/EVEX encoded
186         instructions in 16-bit mode.
187
188 2014-09-22  Alan Modra  <amodra@gmail.com>
189
190         * config/tc-m68k.c (md_assemble): Add assert to work around
191         bogus trunk gcc warning.
192         * config/tc-pj.h (md_convert_frag): Warning fix.
193         * config/tc-xtensa.c (xg_assemble_vliw_tokens): Warning fix.
194
195 2014-09-17  Tristan Gingold  <gingold@adacore.com>
196
197         * config/tc-arm.c (move_or_literal_pool, add_to_lit_pool): Use
198         bfd_int64_t instead of int64_t.
199
200 2014-09-16  Ilya Tocar  <ilya.tocar@intel.com>
201
202         * config/tc-i386.c (evexrcig): New.
203         (build_evex_prefix): Force rounding bits.
204         (OPTION_MEVEXRCIG): New.
205         (md_longopts): Add mevexrcig.
206         (md_parse_option): Handle OPTION_MEVEXRCIG.
207         (md_show_usage): Document mevexrcig.
208         * doc/c-i386.texi (mevexrcig): Document new option.
209
210 2014-09-16  Kuan-Lin Chen  <kuanlinchentw@gmail.com>
211
212         * config/tc-nds32.c (nds32_fsrs, nds32_fdrs, nds32_gprs): Remove.
213         (relax_table): Add new relaxation pattern.
214         (do_pseudo_la_internal, do_pseudo_ls_bhw): Expand for PIC suffix.
215         (do_pseudo_move, do_pseudo_neg, do_pseudo_pushpopm): Fix.
216         (get_range_type, nds32_elf_record_fixup_exp, nds32_get_align,
217         nds32_elf_build_relax_relation, md_assemble, invalid_prev_frag,
218         nds32_relax_frag, md_estimate_size_before_relax): Adjust relaxation.
219         (relocation_table): Remove.
220         (relax_ls_table): Load-store relaxation pattern.
221         (hint_map): Define-use chain pattern.
222         (nds32_find_reloc_table, nds32_match_hint_insn): Analysis
223         relaxation pattern.
224         (nds32_parse_name): Parse PIC suffix.
225         * config/tc-nds32.h: Declare.
226
227 2014-09-15  H.J. Lu  <hongjiu.lu@intel.com>
228
229         * config/tc-i386.c (OPTION_omit_lock_prefix): Renamed to ...
230         (OPTION_OMIT_LOCK_PREFIX): This.
231         (md_longopts): Updated.
232         (md_parse_option): Likewise.
233
234 2014-09-15  Andrew Bennett  <andrew.bennett@imgtec.com>
235             Matthew Fortune  <matthew.fortune@imgtec.com>
236
237         * config/tc-mips.c (mips_nan2008): New static global.
238         (mips_flag_nan2008): Removed.
239         (LL_SC_FMT): New define.
240         (COP12_FMT): Updated.
241         (ISA_IS_R6): New define.
242         (ISA_HAS_64BIT_REGS): Add mips64r6.
243         (ISA_HAS_DROR): Likewise.
244         (ISA_HAS_64BIT_FPRS): Add mips32r6 and mips64r6.
245         (ISA_HAS_ROR): Likewise.
246         (ISA_HAS_ODD_SINGLE_FPR): Likewise.
247         (ISA_HAS_MXHC1): Likewise.
248         (hilo_interlocks): Likewise.
249         (md_longopts): Likewise.
250         (ISA_HAS_LEGACY_NAN): New define.
251         (options): Add OPTION_MIPS32R6 and OPTION_MIPS64R6.
252         (mips_ase): Add field rem_rev.
253         (mips_ases): Updated to add which ISA an ASE was removed in.
254         (mips_isa_rev): Add support for mips32r6 and mips64r6.
255         (mips_check_isa_supports_ase): Add support to check if an ASE
256         has been removed in the specified MIPS ISA revision.
257         (validate_mips_insn): Skip '-' character.
258         (macro_build): Likewise.
259         (mips_check_options): Prevent R6 working with fp32, mips16,
260         micromips, or branch relaxation.
261         (file_mips_check_options): Set R6 floating point registers to
262         64 bit.  Also deal with the nan2008 option.
263         (limited_pcrel_reloc_p): Add relocs: BFD_RELOC_MIPS_21_PCREL_S2,
264         BFD_RELOC_MIPS_26_PCREL_S2, BFD_RELOC_MIPS_18_PCREL_S3,
265         BFD_RELOC_MIPS_19_PCREL_S2, BFD_RELOC_HI16_S_PCREL and
266         BFD_RELOC_LO16_PCREL.
267         (operand_reg_mask): Add support for OP_SAME_RS_RT, OP_CHECK_PREV
268         and OP_NON_ZERO_REG.
269         (match_check_prev_operand): New static function.
270         (match_same_rs_rt_operand): New static function.
271         (match_non_zero_reg_operand): New static function.
272         (match_operand): Added entries for: OP_SAME_RS_RT, OP_CHECK_PREV
273         and OP_NON_ZERO_REG.
274         (insns_between): Added case to deal with forbidden slots.
275         (append_insn): Added support for relocs: BFD_RELOC_MIPS_21_PCREL_S2
276         and BFD_RELOC_MIPS_26_PCREL_S2.
277         (match_insn): Add support for operands -A, -B, +' and +".  Also
278         skip '-' character.
279         (mips_percent_op): Add entries for %pcrel_hi and %pcrel_lo.
280         (md_parse_option): Add support for mips32r6 and mips64r6.  Also
281         update the nan option handling.
282         (md_pcrel_from): Add cases for relocs: BFD_RELOC_MIPS_21_PCREL_S2,
283         BFD_RELOC_MIPS_26_PCREL_S2.
284         (mips_force_relocation): Prevent forced relaxation for MIPS r6.
285         (md_apply_fix): Add support for relocs: BFD_RELOC_MIPS_21_PCREL_S2,
286         BFD_RELOC_MIPS_26_PCREL_S2, BFD_RELOC_MIPS_18_PCREL_S3,
287         BFD_RELOC_MIPS_19_PCREL_S2, BFD_RELOC_HI16_S_PCREL and
288         BFD_RELOC_LO16_PCREL.
289         (s_mipsset): Add support for mips32r6 and mips64r6.
290         (s_nan): Update to support the new nan2008 framework.
291         (tc_gen_reloc): Add relocs: BFD_RELOC_MIPS_21_PCREL_S2,
292         BFD_RELOC_MIPS_26_PCREL_S2, BFD_RELOC_MIPS_18_PCREL_S3,
293         BFD_RELOC_MIPS_19_PCREL_S2, BFD_RELOC_HI16_S_PCREL and
294         BFD_RELOC_LO16_PCREL.
295         (mips_elf_final_processing): Updated to use the mips_nan2008.
296         (mips_cpu_info_table): Add entries for mips32r6 and mips64r6.
297         (macro): Enable ldc2, sdc2, ll, lld, swc2, sc, scd, cache, pref
298         macros for R6.
299         (mips_fix_adjustable): Make PC relative R6 relocations relative
300         to the symbol and not the section.
301         * configure.ac: Add support for mips32r6 and mips64r6.
302         * configure: Regenerate.
303         * doc/c-mips.texi: Document the -mips32r6 and -mips64r6 command line
304         options.
305         * doc/as.texinfo: Likewise.
306
307 2014-09-15  Matthew Fortune  <matthew.fortune@imgtec.com>
308
309         * tc-mips.c (check_fpabi): Move softfloat and singlefloat
310         checks higher.
311
312 2014-09-12  Jose E. Marchesi  <jose.marchesi@oracle.com>
313
314         * config/tc-sparc.c (sparc_ip): Update the set of allowed hwcaps
315         when bumping the current architecture.
316         (md_begin): Adjust the highetst architecture level also when a
317         specific architecture is not requested.
318
319 2014-09-12  Andrew Bennett  <andrew.bennett@imgtec.com>
320
321         * configure.tgt: Add mips*-img-elf* target triple.
322
323 2014-09-12  Alan Modra  <amodra@gmail.com>
324
325         * config/tc-i386.c (match_template): Remove redundant "!!" testing
326         single-bit bitfields.
327         (build_modrm_byte): Don't compare single-bit bitfields to "1".
328
329 2014-09-09  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
330
331         * config/tc-arm.c (arm_cpus): Add cortex-a17.
332
333 2014-09-03  Jiong Wang  <jiong.wang@arm.com>
334
335         * config/tc-aarch64.c (parse_sys_reg): Remove the restriction on op0
336         field.
337
338 2014-09-03  Jiong Wang  <jiong.wang@arm.com>
339
340         * config/tc-aarch64.c (parse_operands): Recognize PAIRREG.
341         (aarch64_features): Add entry for lse extension.
342
343 2014-08-26  Jiong Wang  <jiong.wang@arm.com>
344
345         * config/tc-arm.c (aeabi_set_public_attributes): Update selected_cpu
346         based on the info we got during parsing.
347         (arm_handle_align): Make sure the p2align expanding logic under thumb
348         unchanged.
349
350 2014-08-26  Maciej W. Rozycki  <macro@codesourcery.com>
351
352         * config/tc-mips.c (macro) <M_SAA_AB>: Remove duplicate code and
353         jump to...
354         <M_SAAD_AB>: ... here.  Assert that !microMIPS.
355
356 2014-08-26  Jan-Benedict Glaw  <jbglaw@lug-owl.de>
357
358         * config/tc-moxie.h (md_convert_frag): Silence warning.
359
360 2014-08-22  Richard Henderson  <rth@redhat.com>
361
362         * config/tc-aarch64.c (tc_aarch64_regname_to_dw2regnum): Fix
363         register number for vector register types.
364         * config/tc-aarch64.h (DWARF2_LINE_MIN_INSN_LENGTH): Set to 4.
365         (DWARF2_CIE_DATA_ALIGNMENT): Set to -8.
366
367 2014-08-22  Maciej W. Rozycki  <macro@codesourcery.com>
368
369         * config/tc-ppc.c (md_assemble): Only set the PPC_APUINFO_VLE
370         flag if both the processor and opcode flags match.
371
372 2014-08-22  Maciej W. Rozycki  <macro@codesourcery.com>
373
374         * config/tc-arm.c (add_to_lit_pool): Preinitialize `imm1'.
375
376 2014-08-20  Maciej W. Rozycki  <macro@codesourcery.com>
377
378         * dw2gencfi.c (make_debug_seg): Replace leading spaces with tabs.
379         (dot_cfi_val_encoded_addr, output_cfi_insn): Likewise.
380         (output_cie, cfi_change_reg_numbers, cfi_finish): Likewise.
381
382 2014-08-20  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
383
384         * config/tc-arm.c (parse_ifimm_zero): New function.
385         (enum operand_parse_code): Add OP_RSVD_FI0 value.
386         (parse_operands): Handle OP_RSVD_FI0.
387         (asm_opcode_insns): Use RSVD_FI0 for second operand of vcmp, vcmpe.
388
389 2014-08-20  Alan Modra  <amodra@gmail.com>
390
391         * Makefile.am: Typo fix.
392         * Makefile.in: Regenerate.
393         * po/POTFILES.in: Regenerate.
394
395 2014-08-19  Andreas Tobler  <andreast@fgznet.ch>
396
397         * Makefile.am: Add FreeBSD ARM support.
398         * Mafefile.in: Regenerate.
399         * configure.tgt: Add FreeBSD ARM support.
400         * config/te-armfbsdeabi.h: New file.
401         * config/te-armfbsdvfp.h: Likewise.
402
403 2014-08-19  Alan Modra  <amodra@gmail.com>
404
405         * configure: Regenerate.
406
407 2014-08-18  Nick Clifton  <nickc@redhat.com>
408
409         * config/tc-rl78.c (md_apply_fix): Correct handling of small sized
410         RELOC_RL78_DIFF fixups.
411
412 2014-08-18  Alan Modra  <amodra@gmail.com>
413
414         * read.c (parse_mri_cons): Warning fix.
415
416 2014-08-14  Alan Modra  <amodra@gmail.com>
417
418         * configure.ac: Move ACX_LARGEFILE after LT_INIT.
419         * config.in: Regenerate.
420         * configure: Regenerate.
421
422 2014-08-06  Ilya Tocar  <ilya.tocar@intel.com>
423
424         * config/tc-i386.c (omit_lock_prefix): New.
425         (output_insn): Omit lock prefix if omit_lock_prefix is true.
426         (OPTION_omit_lock_prefix): New.
427         (md_longopts): Add momit-lock-prefix.
428         (md_parse_option): Handle momit-lock-prefix.
429         (md_show_usage): Add momit-lock-prefix=[no|yes].
430         * doc/c-i386.texi (momit-lock-prefix): Document.
431
432 2014-08-01  Takashi Yoshii  <yoshii.takashi@renesas.com>
433
434         PR 10378
435         * config/tc-sh.c (tc_gen_reloc): Fix initialization of addend in
436         SWITCH_TABLE case.
437
438 2014-07-29  Matthew Fortune  <matthew.fortune@imgtec.com>
439
440         * config/tc-mips.c: Rename INSN_LOAD_COPROC_DELAY to INSN_LOAD_COPROC
441         and INSN_COPROC_MOVE_DELAY to INSN_COPROC_MOVE throughout.
442
443 2014-07-29  Matthew Fortune  <matthew.fortune@imgtec.com>
444
445         * config/tc-mips.c (mips_flags_frag): New static global.
446         (struct mips_set_options): Add oddspreg field.
447         (file_mips_opts, mips_opts): Initialize oddspreg.
448         (ISA_HAS_ODD_SINGLE_FPR): Add CPU argument and update for R5900 and
449         Loongson-3a.
450         (enum options, md_longopts, md_parse_option): Add -mfpxx, -modd-spreg
451         and -mno-odd-spreg options.
452         (md_begin): Create .MIPS.abiflags section.
453         (fpabi_incompatible_with, fpabi_requires): New static function.
454         (check_fpabi): Likewise.
455         (mips_check_options): Handle fp=xx and oddspreg restrictions.
456         (file_mips_check_options): Set oddspreg by default for fp=xx.
457         (mips_oddfpreg_ok): Re-write function.
458         (check_regno): Check odd numbered registers regardless of FPR size.
459         For fp != 32 use as_bad instead of as_warn.
460         (match_float_constant): Rewrite check regarding FP register width.  Add
461         support for generating constants when MXHC1 is present.  Handle fp=xx
462         to comply with the ABI.
463         (macro): Update M_LI_DD similarly to match_float_constant.  Generate
464         MTHC1 when available.  Check that correct code can be generated for
465         fp=xx and fp=64 ABIs.
466         (parse_code_option, s_mipsset): Add fp=xx, oddspreg and nooddspreg
467         options.
468         (mips_convert_ase_flags): New static function.
469         (mips_elf_final_processing): Use fpabi == Val_GNU_MIPS_ABI_FP_OLD_64
470         to determine when to add the EF_MIPS_FP64 flag.  Populate the
471         .MIPS.abiflags section.
472         (md_mips_end): Update .gnu_attribute based on command line and .module
473         as applicable.  Use check_fpabi to ensure .gnu.attribute and command
474         line/.module options are consistent.
475         * doc/as.texinfo: Add missing -mgp64/-mfp64 options and document new
476         -mfpxx, -modd-spreg and -mno-odd-spreg options.
477         * doc/c-mips.texi: Document -mfpxx, -modd-spreg, -mno-odd-spreg,
478         gnu_attribute values and FP ABIs.
479
480 2014-07-27  Joel Sherrill <joel.sherrill@oarcorp.com>
481
482         Add RTEMS target support and simplify matching
483
484         * gas/configure.tgt (or1k*-*-rtems*): Ensure a match.
485         (or1k*-*-*): Use or1k* to match or1knd and or1kZ.
486
487 2014-07-27  Anthony Green  <green@moxielogic.com>
488
489         * configure.tgt (generic_target): Add moxie-*-moxiebox*
490         * config/tc-moxie.c: Remove moxie_target_format.
491         (md_begin): Set default target_big_endian.
492         * config/tc-moxie.h: Only set TARGET_BYTES_BIG_ENDIAN if unset.
493         (TARGET_FORMAT): Set based on target_big_endian.
494
495 2014-07-26  Alan Modra  <amodra@gmail.com>
496
497         * config/bfin-parse.y: Don't include obstack.h.
498         * config/obj-aout.c: Likewise.
499         * config/obj-coff.c: Likewise.
500         * config/obj-som.c: Likewise.
501         * config/tc-bfin.c: Likewise.
502         * config/tc-i960.c: Likewise.
503         * config/tc-rl78.c: Likewise.
504         * config/tc-rx.c: Likewise.
505         * config/tc-tic4x.c: Likewise.
506         * expr.c: Likewise.
507         * listing.c: Likewise.
508         * config/obj-elf.c (elf_file_symbol): Make name_length a size_t.
509         * config/tc-aarch64.c (symbol_locate): Likewise.
510         * config/tc-arm.c (symbol_locate): Likewise.
511         * config/tc-mmix.c (mmix_handle_mmixal): Make len_0 a size_t.
512         * config/tc-score.c (s3_build_score_ops_hsh): Make len a size_t.
513         (s3_build_dependency_insn_hsh): Likewise.
514         * config/tc-score7.c (s7_build_score_ops_hsh): Likewise.
515         (s7_build_dependency_insn_hsh): Likewise.
516         * frags.c (frag_grow): Make parameter a size_t, and use size_t locals.
517         (frag_new): Make parameter a size_t.
518         (frag_var_init): Make max_chars and var parameters size_t.
519         (frag_var, frag_variant): Likewise.
520         (frag_room): Return a size_t.
521         (frag_align_pattern): Make n_fill parameter a size_t.
522         * frags.h: Update function prototypes.
523         * symbols.c (save_symbol_name): Make name_length a size_t.
524
525 2014-07-22  Sergey Guriev  <sergey.s.guriev@intel.com>
526             Alexander Ivchenko  <alexander.ivchenko@intel.com>
527             Maxim Kuznetsov  <maxim.kuznetsov@intel.com>
528             Sergey Lega  <sergey.s.lega@intel.com>
529             Anna Tikhonova  <anna.tikhonova@intel.com>
530             Ilya Tocar  <ilya.tocar@intel.com>
531             Andrey Turetskiy  <andrey.turetskiy@intel.com>
532             Ilya Verbin  <ilya.verbin@intel.com>
533             Kirill Yukhin  <kirill.yukhin@intel.com>
534             Michael Zolotukhin  <michael.v.zolotukhin@intel.com>
535
536         * config/tc-i386.c (cpu_arch): Add .avx512dq, CPU_AVX512DQ_FLAGS.
537         * doc/c-i386.texi: Document avx512dq/.avx512dq.
538
539 2014-07-22  Sergey Guriev  <sergey.s.guriev@intel.com>
540             Alexander Ivchenko  <alexander.ivchenko@intel.com>
541             Maxim Kuznetsov  <maxim.kuznetsov@intel.com>
542             Sergey Lega  <sergey.s.lega@intel.com>
543             Anna Tikhonova  <anna.tikhonova@intel.com>
544             Ilya Tocar  <ilya.tocar@intel.com>
545             Andrey Turetskiy  <andrey.turetskiy@intel.com>
546             Ilya Verbin  <ilya.verbin@intel.com>
547             Kirill Yukhin  <kirill.yukhin@intel.com>
548             Michael Zolotukhin  <michael.v.zolotukhin@intel.com>
549
550         * config/tc-i386.c (cpu_arch): Add .avx512bw, CPU_AVX512BW_FLAGS.
551         * doc/c-i386.texi: Document avx512bw/.avx512bw.
552
553 2014-07-22  Sergey Guriev  <sergey.s.guriev@intel.com>
554             Alexander Ivchenko  <alexander.ivchenko@intel.com>
555             Maxim Kuznetsov  <maxim.kuznetsov@intel.com>
556             Sergey Lega  <sergey.s.lega@intel.com>
557             Anna Tikhonova  <anna.tikhonova@intel.com>
558             Ilya Tocar  <ilya.tocar@intel.com>
559             Andrey Turetskiy  <andrey.turetskiy@intel.com>
560             Ilya Verbin  <ilya.verbin@intel.com>
561             Kirill Yukhin  <kirill.yukhin@intel.com>
562             Michael Zolotukhin  <michael.v.zolotukhin@intel.com>
563
564         * config/tc-i386.c (cpu_arch): Add .avx512vl, CPU_AVX512VL_FLAGS.
565         (build_vex_prefix): Don't abort on VEX.W.
566         (check_VecOperands): Support BROADCAST_1TO4 and BROADCAST_1TO2.
567         (check_VecOperations): Ditto.
568         * doc/c-i386.texi: Document avx512vl/.avx512vl.
569
570 2014-07-21  Joel Sherrill  <joel.sherrill@oarcorp.com>
571
572         Add or reactivate or1k-*-rtems*
573         * gas/configure.tgt (or1k-*-rtems*): Add.
574
575 2014-07-17  Ilya Tocar  <ilya.tocar@intel.com>
576
577         * config/tc-i386.c (parse_register): Set need_vrex.
578
579 2014-07-15  Jiong Wang  <jiong.wang@arm.com>
580
581         * config/tc-arm.c (add_to_lit_pool): Use "inst.operands[1].imm" for
582         sign extension.  Casting the type of imm1 and imm2 to offsetT.  Fix
583         one logic error when checking X_op.
584
585 2014-07-14  Andreas Schwab  <schwab@linux-m68k.org>
586
587         * config/tc-m68k.c (md_convert_frag_1): Don't complain with
588         --pcrel about TAB (DBCCLBR, LONG) conversion.
589
590 2014-07-12  David Majnemer  <david.majnemer@gmail.com>
591
592         * read.c (assign_symbol): Don't force "set" symbols local for PE.
593
594 2014-07-08  Jiong Wang  <jiong.wang@arm.com>
595
596         * config/tc-arm.c (literal_pool): New field "alignment".
597         (find_or_make_literal_pool): Initialize "alignment" to 2.
598         (s_ltorg): Align the pool using value of "alignment"
599         (parse_big_immediate): New parameter "in_exp". Return
600         parsed expression if "in_exp" is not null.
601         (parse_address_main): Invoke "parse_big_immediate" for
602         constant parameter.
603         (add_to_lit_pool): Add one parameter 'nbytes'.
604         Split 8 byte entry into two 4 byte entry.
605         Add padding to align 8 byte entry to 8 byte boundary.
606         (encode_arm_cp_address): Generate literal pool entry if possible.
607         (move_or_literal_pool): Generate entry for vldr case.
608         (enum lit_type): New enum type.
609         (do_ldst): Use new enum type.
610         (do_ldstv4): Likewise.
611         (do_t_ldst): Likewise.
612         (neon_write_immbits): Support Thumb-2 mode.
613
614 2014-07-07  Barney Stratford  <barney_stratford@fastmail.fm>
615
616         * config/tc-avr.c (avr_operand): Permit referring to r26-r31 by
617         name as [xyz][hl].  Permit using a symbol whoes name begins with
618         â€˜r’ to refer to a register.
619         Allow arbitrary expressions for the P and p operators.
620         (md_apply_fix): Check the BFD_RELOC_AVR_PORT5 and
621         BFD_RELOC_AVR_PORT6 relocations.
622
623 2014-07-04  Alan Modra  <amodra@gmail.com>
624
625         * doc/internals.texi: Update "configure.in" comments.
626         * acinclude.m4: Likewise.
627         * config/tc-sparc.c: Likewise.
628
629 2014-07-04  Alan Modra  <amodra@gmail.com>
630
631         * configure.ac: Rename from configure.in.
632         * Makefile.in: Regenerate.
633         * config.in: Regenerate.
634         * doc/Makefile.in: Regenerate.
635
636 2014-07-04  Alan Modra  <amodra@gmail.com>
637
638         * doc/Makefile.am (CONFIG_STATUS_DEPENDENCIES): Delete.
639         * doc/Makefile.in: Regenerate.
640
641 2014-07-04  Alan Modra  <amodra@gmail.com>
642
643         * configure.in: Include bfd/version.m4.
644         (AC_INIT, AM_INIT_AUTOMAKE): Use modern form.
645         (BFD_VERSION): Delete.
646         * configure.com: Get bfd version from bfd/version.m4.
647         * Makefile.am (CONFIG_STATUS_DEPENDENCIES): Remove bfd/configure.in.
648         * configure: Regenerate.
649         * Makefile.in: Regenerate.
650         * doc/Makefile.in: Regenerate.
651
652 2014-07-01  Barney Stratford   <barney_stratford@fastmail.fm>
653             Senthil Kumar Selvaraj  <senthil_kumar.selvaraj@atmel.com>
654             Pitchumani Sivanupandi  <pitchumani.s@atmel.com>
655             Soundararajan  <Sounderarajan.D@atmel.com>
656
657         * config/tc-avr.c (mcu_types): Add avrtiny arch.
658         Add avrtiny arch devices attiny4, attiny5, attiny9, attiny10, attiny20
659         and attiny40.
660         (md_show_usage): Add avrtiny arch in usage message.
661         (avr_operand): validate and issue error for invalid register for
662         avrtiny.
663         add new reloc exp for 16 bit lds/sts instruction.
664         (md_apply_fix): check 16 bit lds/sts operand for out of range and
665         encode.
666         (md_assemble): check ISA for arch and issue diagnostic.
667         * NEWS: Mention new support.
668         * doc/c-avr.texi: Document support for avrtiny architecture.
669
670 2014-06-27  Alan Modra  <amodra@gmail.com>
671
672         * config/obj-macho.c (obj_mach_o_set_symbol_qualifier): Don't set
673         SYM_MACHO_FIELDS_NOT_VALIDATED after reporting an error.
674         (obj_mach_o_frob_label): Avoid cascading errors.
675         (obj_mach_o_frob_symbol): Don't set SYM_MACHO_FIELDS_NOT_VALIDATED.
676
677 2014-06-18  DJ Delorie  <dj@redhat.com>
678
679         * config/rx-parse.y (BSET, BCLR, BTST, BNOT, BMCMD): Make .B
680         suffix optional.
681
682 2014-06-17  Hans-Peter Nilsson  <hp@bitrange.com>
683
684         * config/tc-mmix.c (loc_assert_s): New member frag.
685         (s_loc): Set it.
686         (mmix_md_end): If an error is reported for a LOC expression, patch
687         up the related frag.
688
689 2014-06-17  Chris Metcalf  <cmetcalf@tilera.com>
690
691         PR gas/16908
692         * macro.c (buffer_and_nest): Honour #line directives inside
693         macros.
694
695 2014-06-17 Jiong Wang <jiong.wang@arm.com>
696
697         * config/tc-arm.c (depr_it_insns): New check for inc/dec sp.
698
699 2014-06-17  Hans-Peter Nilsson  <hp@axis.com>
700
701         * config/tc-cris.c (cris_bad): New function.
702         (cris_process_instruction): Where applicable, use it instead of
703         as_bad.
704
705 2014-06-16  Nick Clifton  <nickc@redhat.com>
706
707         * config/tc-aarch64.c (md_apply_fix): Ignore unused relocs.
708
709 2014-06-16  Jiong Wang  <jiong.wang@arm.com>
710
711         * config/tc-aarch64.c (END_OF_INSN): New macro.
712         (parse_operands): Handle operand given and in wrong format when
713         operand is optional.
714
715 2014-06-16  Alan Modra  <amodra@gmail.com>
716
717         * write.h (subsegs_finish): Delete declaration.
718         * write.c (subsegs_finish): Make static.
719         (write_object_file): Call subsegs_finish from here.  Don't print
720         warning and error count here..
721         * as.c (main): ..do so here instead.  Remove dead code for "no
722         object file generated".  Split out count strings to better support
723         internationalisation.  Don't call subsegs_finish. Tidy setting of
724         "keep_it".  Run write_object_file even after errors.
725         (keep_it): Make static.
726         * config/obj-elf.c (elf_frob_symbol): Remove assert.
727         (elf_frob_file_before_adjust): Likewise.
728
729 2014-06-16  Alan Modra  <amodra@gmail.com>
730
731         * config/tc-dlx.c (machine_ip): Move initialisation of the_insn
732         earlier.
733
734 2014-06-16  Alan Modra  <amodra@gmail.com>
735
736         * config/tc-i386.c (reloc): Don't avoid pcrel check for
737         BFD_RELOC_SIZE64.  Return NO_RELOC on failing pcrel check.
738
739 2014-06-16  Alan Modra  <amodra@gmail.com>
740
741         * config/tc-tic6x.c (s_tic6x_ehtype): Clear after frag_more.
742         (tic6x_output_exidx_entry): Likewise.
743         (md_apply_fix): Simplify 1 byte md_number_to_chars.
744
745 2014-06-16  Alan Modra  <amodra@gmail.com>
746
747         * config/tc-tic54x.c (tic54x_mlib): Don't write garbage past
748         end of archive to temp file.
749         (tic54x_start_line_hook): Start scan for parallel on next line,
750         not one char into next line (which may overrun the buffer).
751
752 2014-06-16  Alan Modra  <amodra@gmail.com>
753
754         * config/tc-vax.c (md_apply_fix): Rewrite.
755         (tc_gen_reloc, vax_cons, vax_cons_fix_new): Style: Use NO_RELOC
756         define rather than the equivalent BFD_RELOC_NONE.
757
758 2014-06-16  Alan Modra  <amodra@gmail.com>
759
760         * config/tc-arm.c (s_arm_elf_cons): Initialise after frag_more.
761         (md_apply_fix): Delete now unnecessary zeroing for BFD_RELOC_ARM_GOT*
762         and BFD_RELOC_ARM_TLS* relocs.  Simplify BFD_RELOC_8 case.
763
764 2014-06-16  Alan Modra  <amodra@gmail.com>
765
766         * config/tc-cris.c (md_create_long_jump): Follow "short" jump
767         with a nop rather than leaving uninitialised.
768
769 2014-06-13  Chen Gang  <gang.chen.5i5j@gmail.com>
770
771         * config/tc-score7.c: Replace sprintf with strcpy where
772         appropriate.
773         (s7_b32_relax_to_b16): Use symbol_get_frag() to access a symbol's
774         frag.
775         * config/tc-score.c (s3_relax_branch_inst16): Likewise.
776         (s3_relax_cmpbranch_inst32): Likewise.
777
778 2014-06-07  Alan Modra  <amodra@gmail.com>
779
780         * config/tc-ppc.c (ppc_insert_operand): Handle PPC_OPERAND_SIGNOPT
781         on unsigned fields.  Comment on PPC_OPERAND_SIGNOPT signed fields
782         in 64-bit mode.
783
784 2014-06-02  Martin Storsjo  <martin@martin.st>
785
786         * doc/c-aarch64.texi: Fix the documentation on :pg_hi21:.
787
788 2014-06-05  Joel Brobecker  <brobecker@adacore.com>
789
790         * Makefile.am (CONFIG_STATUS_DEPENDENCIES): Add dependency on
791         bfd's development.sh.
792         * Makefile.in, configure: Regenerate.
793
794 2014-06-03  Nick Clifton  <nickc@redhat.com>
795
796         * config/tc-msp430.c (OPTION_WARN_INTR_NOPS): Use y instead of z.
797         (OPTION_NO_WARN_INTR_NOPS): Use Y instead of Z.
798         * doc/c-msp430.texi: Update command line option description.
799
800 2014-05-22  Alan Modra  <amodra@gmail.com>
801
802         * listing.c (listing_warning, listing_error): Add space after colon.
803         * messages.c (as_warn_internal, as_bad_internal): Use the same
804         string as above.
805
806 2014-05-20  Matthew Fortune  <matthew.fortune@imgtec.com>
807
808         * config/tc-mips.c (file_mips_opts_checked): New static global.
809         (s_module): New static function.
810         (file_ase): Remove.
811         (mips_pseudo_table): Add .module handler.
812         (mips_set_ase): Add opts argument and use instead of mips_opts.
813         (md_assemble): Use file_mips_check_options.
814         (md_parse_option): Update to use file_mips_opts instead of mips_opts.
815         (mips_set_architecture): Delete function.  Moved to...
816         (mips_after_parse_args): Here.  All logic now applies to
817         file_mips_opts first and then copies the final state to mips_opts.
818         Move error checking and defaults inference to mips_check_options and
819         file_mips_check_options.
820         (mips_check_options): New static function.  Common option checking for
821         command line, .module and .set.  Use .module values in error messages
822         instead of refering to command line options.
823         (file_mips_check_options): New static function.  A wrapper for
824         mips_check_options with file_mips_opts.  Updates BFD arch based on
825         final options.
826         (s_mipsset): Split into s_mipsset and parse_code_option.  Settings
827         supported by both .set and .module are moved to parse_code_option.
828         Warnings and errors are kept in s_mipsset because when
829         parse_code_option is used with s_module the warnings are deferred
830         until code is generated.  Any setting supporting 'default' value is
831         kept in s_mipsset as it is not applicable to s_module. Inferred
832         settings are also kept in s_mipsset as s_module does not infer any
833         settings.  Use mips_check_options.
834         (parse_code_option): New static function derived from s_mipsset.
835         (s_module): New static function that implements .module.  Allows file
836         level settings to be changed until code is generated.
837         (s_cpload, s_cpsetup, s_cplocal): Use file_mips_check_options.
838         (s_cprestore, s_cpreturn, s_cpadd, mips_address_bytes): Likewise.
839         (mips_elf_final_processing): Update file_ase to file_mips_opts.ase.
840         (md_mips_end): Use file_mips_check_options.
841         * doc/c-mips.texi: Document .module.
842
843 2014-05-20  Matthew Fortune  <matthew.fortune@imgtec.com>
844
845         * messages.c (as_warn_internal): Remove extra whitespace from
846         warning messages.
847
848 2014-05-20  Matthew Fortune  <matthew.fortune@imgtec.com>
849
850         * config/tc-mips.c (FP64_ASES): Add ASE_MSA.
851         (mips_after_parse_args): Do not select ASE_MSA without -mfp64.
852
853 2014-05-20  Mike Stump  <mikestump@comcast.net>
854
855         * messages.c (as_warn_internal): Ensure we don't interleave output
856         within a single line when make -j is used.
857         (as_bad_internal): Likewise.
858
859 2014-05-20  Richard Sandiford  <rdsandiford@googlemail.com>
860
861         * config/obj-elf.h (obj_elf_seen_attribute): Declare.
862         * config/obj-elf.c (recorded_attribute_info): New structure.
863         (recorded_attributes): New variable.
864         (record_attribute, obj_elf_seen_attribute): New functions.
865         (obj_elf_vendor_attribute): Record which attributes have been seen.
866
867 2014-05-20  Nick Clifton  <nickc@redhat.com>
868
869         * config/tc-msp430.c (CHECK_RELOC_MSP430): Add OP parameter.
870         Generate BFD_RELOC_MSP430_ABS_HI16 if vshift is 1.
871         (msp430_srcoperand): Store vshift value in operand.
872
873 2014-05-19  Nick Clifton  <nickc@redhat.com>
874
875         PR gas/16858
876         * config/tc-i386.c (md_apply_fix): Improve the detection of code
877         symbols for 32-bit PE targets.
878
879 2014-05-18  Richard Sandiford  <rdsandiford@googlemail.com>
880
881         * config/tc-mips.c (md_obj_begin): Delete.
882         (md_obj_end): Fold into...
883         (md_mips_end): ...here.  Move to end of file.
884
885 2014-05-17  Nick Clifton  <nickc@redhat.com>
886
887         PR gas/16946
888         * config/tc-v850.c (handle_ctoff): Generate an error if called
889         when using the RH850 ABI.
890
891 2014-05-16  Kaushik Phata  <Kaushik.Phatak@kpit.com>
892
893         * config/tc-rl78.c (enum options): Add OPTION_32BIT_DOUBLES
894         and OPTION_64BIT_DOUBLES.
895         (md_longopts): Add -m32bit-doubles and -m64bit-doubles.
896         (md_parse_option): Parse -m32bit-doubles and -m64bit-doubles.
897         (md_show_usage): Show all of the RL78 options.
898         (rl78_float_cons): New static functions.
899         (md_pseudo_table): Update handler for "double".
900         * doc/c-rl78.texi: Document new options.
901         * doc/as.texinfo: Likewise.
902
903 2014-05-13  Matthew Fortune  <matthew.fortune@imgtec.com>
904
905         * config/tc-mips.c (mips_set_options): Rename gp32 to gp throughout.
906         (HAVE_32BIT_GPRS, HAVE_64BIT_GPRS): Remove. Re-implement via GPR_SIZE.
907         (HAVE_32BIT_FPRS, HAVE_64BIT_FPRS): Remove. Re-implement via FPR_SIZE.
908         (GPR_SIZE, FPR_SIZE): New macros. Use throughout.
909
910 2014-05-08  Matthew Fortune  <matthew.fortune@imgtec.com>
911
912         * config/tc-mips.c (md_parse_option): Update missed file_mips_isa
913         references.
914
915 2014-05-08  Matthew Fortune  <matthew.fortune@imgtec.com>
916
917         * config/tc-mips.c (mips_set_options): Rename fp32 field to fp.
918         Update fp32 == 0 to fp == 64 and fp32 == 1 to fp != 64 throughout.
919         (file_mips_gp32, file_mips_fp32, file_mips_soft_float,
920         file_mips_single_float, file_mips_isa, file_mips_arch): Merge into
921         one struct...
922         (file_mips_opts): Here. New static global. Update throughout.
923         (mips_opts): Update defaults for gp32 and fp.
924
925 2014-05-08  Matthew Fortune  <matthew.fortune@imgtec.com>
926
927         * config/tc-mips.c (streq): Define.
928         (mips_convert_symbolic_attribute): New function.
929         * config/tc-mips.h (CONVERT_SYMBOLIC_ATTRIBUTE): Define.
930         (mips_convert_symbolic_attribute): New prototype.
931
932 2014-05-02  Max Filippov  <jcmvbkbc@gmail.com>
933
934         * config/tc-xtensa.c (md_apply_fix): mark BFD_RELOC_XTENSA_DIFF*
935         fixups as signed.
936
937 2014-05-07  Andrew Bennett  <andrew.bennett@imgtec.com>
938
939         * tc-mips.c (ISA_SUPPORTS_MIPS16E): Add mips32r3, mips32r5, mips64r3
940         and mips64r5.
941         (ISA_HAS_64BIT_FPRS): Likewise.
942         (ISA_HAS_ROR): Likewise.
943         (ISA_HAS_ODD_SINGLE_FPR): Likewise.
944         (ISA_HAS_MXHC1): Likewise.
945         (hilo_interlocks): Likewise.
946         (md_longopts): Likewise.
947         (ISA_HAS_64BIT_REGS): Add mips64r3 and mips64r5.
948         (ISA_HAS_DROR): Likewise.
949         (options): Add OPTION_MIPS32R3, OPTION_MIPS32R5, OPTION_MIPS64R3, and
950         OPTION_MIPS64R5.
951         (mips_isa_rev): Add support for mips32r3, mips32r5, mips64r3 and
952         mips64r5.
953         (md_parse_option): Likewise.
954         (s_mipsset): Likewise.
955         (mips_cpu_info_table): Add entries for mips32r3, mips32r5, mips64r3
956         and mips64r5.  Also change p5600 entry to be mips32r5.
957         * configure.in: Add support for mips32r3, mips32r5, mips64r3 and
958         mips64r5.
959         * configure: Regenerate.
960         * doc/c-mips.texi: Document the -mips32r3, -mips32r5, -mips64r3 and
961         -mips64r5 command line options.
962         * doc/as.texinfo: Likewise.
963
964 2014-04-28  Nick Clifton  <nickc@redhat.com>
965
966         PR gas/16858
967         * config/tc-i386.c (md_apply_fix): Do not adjust value of
968         pc-relative fixes against weak symbols.
969
970 2014-04-26  Alan Modra  <amodra@gmail.com>
971
972         * po/POTFILES.in: Regenerate.
973
974 2014-04-24  Nick Clifton  <nickc@redhat.com>
975
976         * config/tc-arm.c (s_ltorg): Only create a mapping symbol for ELF
977         based targets.
978
979 2014-04-23  Will Newton  <will.newton@linaro.org>
980
981         * config/tc-arm.c (s_ltorg): Call make_mapping_symbol
982         directly instead of mapping_state.
983
984 2014-04-23  Andrew Bennett  <andrew.bennett@imgtec.com>
985
986         * config/tc-mips.c (options): Add OPTION_XPA and OPTION_NO_XPA.
987         (md_longopts): Add xpa and no-xpa command line options.
988         (mips_ases): Add MIPS XPA ASE.
989         (mips_cpu_info_table): Update p5600 entry to allow the XPA ASE.
990         * doc/as.texinfo: Document the MIPS XPA command line options.
991         * doc/c-mips.texi: Document the MIPS XPA command line options,
992         and assembler directives.
993
994 2014-04-22  Sandra Loosemore  <sandra@codesourcery.com>
995
996         * config/tc-nios2.c (nios2_consume_arg): Add case for 'E' to
997         unbreak self-test mode.
998
999 2014-04-22  Max Filippov  <jcmvbkbc@gmail.com>
1000
1001         * config/tc-xtensa.c (xtensa_handle_align): record alignment for the
1002         first section frag.
1003
1004 2014-04-22  Christian Svensson  <blue@cmd.nu>
1005
1006         * Makefile.am: Remove openrisc and or32 support.  Add support for or1k.
1007         * configure.in: Likewise.
1008         * configure.tgt: Likewise.
1009         * doc/as.texinfo: Likewise.
1010         * config/obj-coff.h: Likewise.
1011         * config/tc-or1k.c: New file.
1012         * config/tc-or1k.h: New file.
1013         * config/tc-openrisc.c: Delete.
1014         * config/tc-openrisc.h: Delete.
1015         * config/tc-or32.c: Delete.
1016         * config/tc-or32.h: Delete.
1017         * Makefile.in: Regenerate.
1018         * configure: Regenerate.
1019
1020 2014-04-16  Alan Modra  <amodra@gmail.com>
1021
1022         * config/tc-tilegx.h (TC_CONS_FIX_NEW): Add RELOC arg.
1023         * config/tc-tilepro.h (TC_CONS_FIX_NEW): Likewise.
1024
1025 2014-04-10  Senthil Kumar Selvaraj  <senthil_kumar.selvaraj@atmel.com>
1026
1027         * config/tc-avr.c: Add new flag mlink-relax.
1028         (md_show_usage): Add flag and help text.
1029         (md_parse_option): Record whether link relax is turned on.
1030         (relaxable_section): New.
1031         (avr_validate_fix_sub): New.
1032         (avr_force_relocation): New.
1033         (md_apply_fix): Generate DIFF reloc.
1034         (avr_allow_local_subtract): New.
1035
1036         * config/tc-avr.h (TC_LINKRELAX_FIXUP): Define to 0.
1037         (TC_FORCE_RELOCATION): Define.
1038         (TC_FORCE_RELOCATION_SUB_SAME): Define.
1039         (TC_VALIDATE_FIX_SUB): Define.
1040         (avr_force_relocation): Declare.
1041         (avr_validate_fix_sub): Declare.
1042         (md_allow_local_subtract): Define.
1043         (avr_allow_local_subtract): Declare.
1044
1045 2014-04-10  Andrew Bennett  <andrew.bennett@imgtec.com>
1046
1047         * config/tc-mips.c (mips_cpu_info_table): Add P5600
1048         configuation.
1049         * doc/c-mips.texi: Document p5600.
1050
1051 2014-04-09  Nick Clifton  <nickc@redhat.com>
1052
1053         * config/tc-rl78.h (TC_CONS_FIX_NEW): Add RELOC parameter.
1054         * config/tc-z80.h (TC_CONS_FIX_NEW): Discard RELOC parameter.
1055         * config/tc-aarch64.h (TC_CONS_FIX_NEW): Discard RELOC parameter.
1056         * read.c (emit_expr_fix): Mark the r parameter as potentially
1057         unused.
1058
1059 2014-04-09  Alan Modra  <amodra@gmail.com>
1060
1061         * config/tc-ppc.c (warn_476, last_insn, last_seg, last_subseg):
1062         New static vars.
1063         (md_longopts, md_parse_option, md_show_usage): Add --ppc476-workaround.
1064         (ppc_elf_cons_fix_check): New function.
1065         (md_assemble): Set last_insn, last_seg, last_subseg.
1066         (ppc_byte, md_apply_fix): Handle warn_476.
1067         * config/tc-ppc.h (TC_CONS_FIX_CHECK): Define.
1068         (ppc_elf_cons_fix_check): Declare.
1069         * read.c (cons_worker): Invoke TC_CONS_FIX_CHECK.
1070
1071 2014-04-09  Alan Modra  <amodra@gmail.com>
1072
1073         * gas/config/tc-alpha.h (TC_CONS_FIX_NEW): Add RELOC parameter.
1074         * gas/config/tc-arc.c (arc_cons_fix_new): Add reloc parameter.
1075         * gas/config/tc-arc.h (arc_cons_fix_new): Update prototype.
1076         (TC_CONS_FIX_NEW): Add RELOC parameter.
1077         * gas/config/tc-arm.c (cons_fix_new_arm): Similarly
1078         * gas/config/tc-arm.h (cons_fix_new_arm, TC_CONS_FIX_NEW): Similarly.
1079         * gas/config/tc-cr16.c (cr16_cons_fix_new): Similarly.
1080         * gas/config/tc-cr16.h (cr16_cons_fix_new, TC_CONS_FIX_NEW): Similarly.
1081         * gas/config/tc-crx.h (TC_CONS_FIX_NEW): Similarly.
1082         * gas/config/tc-m32c.c (m32c_cons_fix_new): Similarly.
1083         * gas/config/tc-m32c.h (m32c_cons_fix_new, TC_CONS_FIX_NEW): Similarly.
1084         * gas/config/tc-mn10300.c (mn10300_cons_fix_new): Similarly.
1085         * gas/config/tc-mn10300.h (mn10300_cons_fix_new, TC_CONS_FIX_NEW):
1086         Similarly.
1087         * gas/config/tc-ns32k.c (cons_fix_new_ns32k): Similarly.
1088         * gas/config/tc-ns32k.h (cons_fix_new_ns32k): Similarly.
1089         * gas/config/tc-pj.c (pj_cons_fix_new_pj): Similarly.
1090         * gas/config/tc-pj.h (pj_cons_fix_new_pj, TC_CONS_FIX_NEW): Similarly.
1091         * gas/config/tc-rx.c (rx_cons_fix_new): Similarly.
1092         * gas/config/tc-rx.h (rx_cons_fix_new, TC_CONS_FIX_NEW): Similarly.
1093         * gas/config/tc-sh.c (sh_cons_fix_new): Similarly.
1094         * gas/config/tc-sh.h (sh_cons_fix_new, TC_CONS_FIX_NEW): Similarly.
1095         * gas/config/tc-tic54x.c (tic54x_cons_fix_new): Similarly.
1096         * gas/config/tc-tic54x.h (tic54x_cons_fix_new, TC_CONS_FIX_NEW):
1097         Similarly.
1098         * gas/config/tc-tic6x.c (tic6x_cons_fix_new): Similarly.
1099         * gas/config/tc-tic6x.h (tic6x_cons_fix_new, TC_CONS_FIX_NEW):
1100         Similarly.
1101         * gas/config/tc-arc.c (arc_parse_cons_expression): Return reloc.
1102         * gas/config/tc-arc.h (arc_parse_cons_expression): Update proto.
1103         * gas/config/tc-avr.c (exp_mod_data): Make global.
1104         (pexp_mod_data): Delete.
1105         (avr_parse_cons_expression): Return exp_mod_data pointer.
1106         (avr_cons_fix_new): Add exp_mod_data_t pointer param.
1107         (exp_mod_data_t): Move typedef..
1108         * gas/config/tc-avr.h: ..to here.
1109         (exp_mod_data): Declare.
1110         (TC_PARSE_CONS_RETURN_TYPE, TC_PARSE_CONS_RETURN_NONE): Define.
1111         (avr_parse_cons_expression, avr_cons_fix_new): Update prototype.
1112         (TC_CONS_FIX_NEW): Update.
1113         * gas/config/tc-hppa.c (hppa_field_selector): Delete static var.
1114         (cons_fix_new_hppa): Add hppa_field_selector param.
1115         (fix_new_hppa): Adjust.
1116         (parse_cons_expression_hppa): Return field selector.
1117         * gas/config/tc-hppa.h (parse_cons_expression_hppa): Update proto.
1118         (cons_fix_new_hppa): Likewise.
1119         (TC_PARSE_CONS_RETURN_TYPE, TC_PARSE_CONS_RETURN_NONE): Define.
1120         * gas/config/tc-i386.c (got_reloc): Delete static var.
1121         (x86_cons_fix_new): Add reloc param.
1122         (x86_cons): Return got reloc.
1123         * gas/config/tc-i386.h (x86_cons, x86_cons_fix_new): Update proto.
1124         (TC_CONS_FIX_NEW): Add RELOC param.
1125         * gas/config/tc-ia64.c (ia64_cons_fix_new): Add reloc param.  Adjust
1126         calls.
1127         * gas/config/tc-ia64.h (ia64_cons_fix_new): Update prototype.
1128         (TC_CONS_FIX_NEW): Add reloc param.
1129         * gas/config/tc-microblaze.c (parse_cons_expression_microblaze):
1130         Return reloc.
1131         (cons_fix_new_microblaze): Add reloc param.
1132         * gas/config/tc-microblaze.h: Formatting.
1133         (parse_cons_expression_microblaze): Update proto.
1134         (cons_fix_new_microblaze): Likewise.
1135         * gas/config/tc-nios2.c (nios2_tls_ldo_reloc): Delete static var.
1136         (nios2_cons): Return ldo reloc.
1137         (nios2_cons_fix_new): Delete.
1138         * gas/config/tc-nios2.h (nios2_cons): Update prototype.
1139         (nios2_cons_fix_new, TC_CONS_FIX_NEW): Delete.
1140         * gas/config/tc-ppc.c (md_pseudo_table): Remove quad, long, word,
1141         short.  Make llong use cons.
1142         (ppc_elf_suffix): Return BFD_RELOC_NONE rather than BFD_RELOC_UNUSED.
1143         (ppc_elf_cons): Delete.
1144         (ppc_elf_parse_cons): New function.
1145         (ppc_elf_validate_fix): Don't check for BFD_RELOC_UNUSED.
1146         (md_assemble): Use BFD_RELOC_NONE rather than BFD_RELOC_UNUSED.
1147         * gas/config/tc-ppc.h (TC_PARSE_CONS_EXPRESSION): Define
1148         (ppc_elf_parse_cons): Declare.
1149         * gas/config/tc-sparc.c (sparc_cons_special_reloc): Delete static var.
1150         (sparc_cons): Return reloc specifier.
1151         (cons_fix_new_sparc): Add reloc specifier param.
1152         (sparc_cfi_emit_pcrel_expr): Use emit_expr_with_reloc.
1153         * gas/config/tc-sparc.h (TC_PARSE_CONS_RETURN_TYPE): Define.
1154         (TC_PARSE_CONS_RETURN_NONE): Define.
1155         (sparc_cons, cons_fix_new_sparc): Update prototype.
1156         * gas/config/tc-v850.c (hold_cons_reloc): Delete static var.
1157         (v850_reloc_prefix): Use BFD_RELOC_NONE rather than BFD_RELOC_UNUSED.
1158         (md_assemble): Likewise.
1159         (parse_cons_expression_v850): Return reloc.
1160         (cons_fix_new_v850): Add reloc parameter.
1161         * gas/config/tc-v850.h (parse_cons_expression_v850): Update proto.
1162         (cons_fix_new_v850): Likewise.
1163         * gas/config/tc-vax.c (vax_cons_special_reloc): Delete static var.
1164         (vax_cons): Return reloc.
1165         (vax_cons_fix_new): Add reloc parameter.
1166         * gas/config/tc-vax.h (vax_cons, vax_cons_fix_new): Update proto.
1167         * gas/config/tc-xstormy16.c (xstormy16_cons_fix_new): Add reloc param.
1168         * gas/config/tc-xstormy16.h (xstormy16_cons_fix_new): Update proto.
1169         * gas/dwarf2dbg.c (TC_PARSE_CONS_RETURN_NONE): Provide default.
1170         (emit_fixed_inc_line_addr): Adjust exmit_expr_fix calls.
1171         * gas/read.c (TC_PARSE_CONS_EXPRESSION): Return value.
1172         (do_parse_cons_expression): Adjust.
1173         (cons_worker): Pass return value from TC_PARSE_CONS_EXPRESSION
1174         to emit_expr_with_reloc.
1175         (emit_expr_with_reloc): New function handling reloc, mostly
1176         extracted from..
1177         (emit_expr): ..here.
1178         (emit_expr_fix): Add reloc param.  Adjust TC_CONS_FIX_NEW invocation.
1179         Handle reloc.
1180         (parse_mri_cons): Convert to ISO.
1181         * gas/read.h (TC_PARSE_CONS_RETURN_TYPE): Define.
1182         (TC_PARSE_CONS_RETURN_NONE): Define.
1183         (emit_expr_with_reloc): Declare.
1184         (emit_expr_fix): Update prototype.
1185         * gas/write.c (write_object_file): Update TC_CONS_FIX_NEW invocation.
1186
1187 2014-04-03  Ilya Tocar  <ilya.tocar@intel.com>
1188
1189         * config/tc-i386.c (cpu_arch): Add .se1.
1190         * doc/c-i386.texi: Document .se1/se1.
1191
1192 2014-04-02  DJ Delorie  <dj@redhat.com>
1193
1194         * config/tc-rl78.c (md_apply_fix): Add overflow warnings for
1195         pc-relative branches.
1196
1197 2014-04-02  Nick Clifton  <nickc@redhat.com>
1198
1199         PR gas/16765
1200         * config/tc-arm.c (create_unwind_entry): Report an error if an
1201         attempt to recreate an unwind directive is encountered.
1202
1203 2014-03-27  Nick Clifton  <nickc@redhat.com>
1204
1205         * config/tc-score.c (s3_parse_pce_inst): Add "%s" parameter to
1206         sprintf in order to avoid a compile time warning.
1207
1208 2014-03-26  Nick Clifton  <nickc@redhat.com>
1209
1210         * config/tc-rl78.c (rl78_op): Issue an error message if a 16-bit
1211         relocation is used on an 8-bit operand or vice versa.
1212         (tc_gen_reloc): Use the RL78_16U relocation for RL78_CODE.
1213         (md_apply_fix): Add support for RL78_HI8, RL78_HI16 and RL78_LO16.
1214
1215 2014-03-25  Nick Clifton  <nickc@redhat.com>
1216
1217         * config/obj-coff-seh.c (obj_coff_seh_code): New function -
1218         switches the current segment back to the code segment recorded
1219         when seh_proc was last invoked.
1220         * config/obj-coff-seh.h (SEH_CMDS): Add seh_code.
1221
1222 2014-03-25  Alan Modra  <amodra@gmail.com>
1223
1224         * config/tc-ppc.c (ppc_is_toc_sym): Revert 2014-03-05.
1225         (md_assemble): Likewise.  Warn.
1226
1227 2014-03-21  David Weatherford <weath@cadence.com>
1228             Max Filippov <jcmvbkbc@gmail.com>
1229
1230         * config/tc-xtensa.c (xtensa_check_frag_count)
1231         xtensa_create_trampoline_frag,
1232         xtensa_maybe_create_trampoline_frag, init_trampoline_frag,
1233         find_trampoline_seg, search_trampolines, get_best_trampoline,
1234         check_and_update_trampolines, add_jump_to_trampoline,
1235         dump_trampolines): New functions.
1236         (md_parse_option): Add cases for --[no-]trampolines options.
1237         (md_assemble, finish_vinsn, xtensa_end): Add call to
1238         xtensa_check_frag_count.
1239         (xg_assemble_vliw_tokens): Add call to
1240         xtensa_maybe_create_trampoline_frag.
1241         (xtensa_relax_frag): Relax fragments with RELAX_TRAMPOLINE state.
1242         (relax_frag_immed): Relax jump instructions that cannot reach its
1243         target.
1244         * config/tc-xtensa.h (xtensa_relax_statesE::RELAX_TRAMPOLINE): New
1245         relax state.
1246         * doc/as.texinfo: Document --[no-]trampolines command-line options.
1247         * doc/c-xtensa.texi: Document trampolines relaxation and command
1248         line options.
1249         * frags.c (get_frag_count, clear_frag_count): New function.
1250         (frag_alloc): Increment totalfrags counter.
1251         * frags.h (get_frag_count, clear_frag_count): New function.
1252
1253 2014-03-20  DJ Delorie  <dj@redhat.com>
1254
1255         * config/rl78-defs.h (RL78_RELAX_NONE, RL78_RELAX_BRANCH): Add.
1256         * config/rl78-parse.y (BC, BNC, BZ, BNZ, BH, BHZ, bt_bf): Call
1257         rl78_relax().
1258         * config/tc-rl78.h (md_relax_frag): Define.
1259         (rl78_relax_frag): Declare.
1260         * config/tc-rl78.c (rl78_relax): Add.
1261         (md_assemble): Set up the variable frags also when relaxing.
1262         (op_type_T): New.
1263         (rl78_opcode_type): New.
1264         (rl78_frag_fix_value): New.
1265         (md_estimate_size_before_relax): New-ish.
1266         (rl78_relax_frag): New.
1267         (md_convert_frag): New-ish.
1268
1269 2014-03-20  Richard Sandiford  <rdsandiford@googlemail.com>
1270
1271         * config/tc-mips.h (DIFF_EXPR_OK, CFI_DIFF_EXPR_OK): Define.
1272         * config/tc-mips.c (md_pcrel_from): Remove error message.
1273         (md_apply_fix): Convert PC-relative BFD_RELOC_32s to
1274         BFD_RELOC_32_PCREL.  Report a specific error message for unhandled
1275         PC-relative expressions.  Handle BFD_RELOC_8.
1276
1277 2014-03-19  Jose E. Marchesi  <jose.marchesi@oracle.com>
1278
1279         * config/tc-sparc.c (hpriv_reg_table): Added entries for
1280         %hstick_offset and %hstick_enable.
1281         * doc/c-sparc.texi (Sparc-Regs): Document the %hstick_offset and
1282         %hstick_enable hyperprivileged registers.
1283
1284 2014-03-19  Daniel Gutson <daniel.gutson@tallertechnologies.com>
1285             Nick Clifton  <nickc@redhat.com>
1286
1287         * config/tc-arm.c (codecomposer_syntax): New flag that states whether the
1288         CCS syntax compatibility mode is on or off.
1289         (asmfunc_states): New enum to represent the asmfunc directive state.
1290         (asmfunc_state): New variable holding the asmfunc directive state.
1291         (comment_chars): Rename to arm_comment_chars.
1292         (line_separator_chars): Rename to arm_line_separator_chars.
1293         (s_ccs_ref): New function that handles the .ref directive.
1294         (asmfunc_debug): New function.
1295         (s_ccs_asmfunc): New function that handles the .asmfunc directive.
1296         (s_ccs_endasmfunc): New function that handles the .endasmfunc directive.
1297         (s_ccs_def): New function that handles the .def directive.
1298         (tc_start_label_without_colon): New function.
1299         (md_pseudo_table): Added new CCS directives.
1300         (arm_ccs_mode): New function that handles the -mccs command line option.
1301         (arm_long_opts): Added new -mccs command line option.
1302         * config/tc-arm.h (LABELS_WITHOUT_COLONS): New macro.
1303         (TC_START_LABEL_WITHOUT_COLON): New macro.
1304         (tc_start_label_without_colon): Added extern function declaration.
1305         (tc_comment_chars): Define.
1306         (tc_line_separator_chars): Define.
1307         * app.c (do_scrub_begin): Use tc_line_separator_chars, if defined.
1308         * read.c (read_begin): Likewise.
1309         * doc/as.texinfo: Add documentation for the -mccs command line
1310         option.
1311         * doc/c-arm.texi: Likewise.
1312         * doc/internals.texi: Document tc_line_separator_chars.
1313         * NEWS: Mention the new feature.
1314
1315 2014-03-18  Jiong Wang  <jiong.wang@arm.com>
1316
1317         * config/tc-aarch64.c (aarch64_opts): Add new option
1318         "mno-verbose-error".
1319         (verbose_error_p): Initialize to 1.
1320         * doc/c-aarch64.texi (AArch64 Options): Document -mverbose-error
1321         and -mno-verbose-error.
1322
1323 2014-03-17  Nick Clifton  <nickc@redhat.com>
1324
1325         PR gas/16694
1326         * config/tc-arm.c (tc_arm_regname_to_dw2regnum): Parse VFP
1327         registers as well.
1328
1329 2014-03-13  Richard Earnshaw  <rearnsha@arm.com>
1330             Jiong Wang  <Jiong.Wang@arm.com>
1331
1332         * doc/c-aarch64.texi: Clean up some formatting issues.
1333         (AArch64 Options): Document -mcpu and -march.
1334         (AArch64 Extensions): New node.
1335
1336 2014-03-13  Tristan Gingold  <gingold@adacore.com>
1337
1338         * config/tc-i386.c (use_big_obj): Declare.
1339         (OPTION_MBIG_OBJ): Define.
1340         (md_longopts): Add -mbig-obj option.
1341         (md_parse_option): Handle it.
1342         (md_show_usage): Display help for this option.
1343         (i386_target_format): Use bigobj for x86-64 if -mbig-obj.
1344         * doc/c-i386.texi: Document the option.
1345
1346 2014-03-12  Nick Clifton  <nickc@redhat.com>
1347
1348         PR gas/16688
1349         * config/tc-aarch64.c (literal_expression): New structure.
1350         (literal_pool): Replace exp array with literal_expression array.
1351         (add_to_lit_pool): When adding a bignum cache the big value.
1352         (s_ltorg): When emitting a bignum initialise the global bignum
1353         array from the cached value.
1354
1355 2014-03-12  Alan Modra  <amodra@gmail.com>
1356
1357         * Makefile.in: Regenerate.
1358         * config.in: Regenerate.
1359         * doc/Makefile.in: Regenerate.
1360
1361 2014-03-06  Pitchumani Sivanupandi  <pitchumani.s@atmel.com>
1362         Vishnu KS <Vishnu.k_s@atmel.com>
1363         Senthil Kumar Selvaraj  <senthil_kumar.selvaraj@atmel.com>
1364         Soundararajan <Soundararajan.dhakshinamoorthy@atmel.com>
1365
1366         * gas/tc-avr.c: Add new devices
1367         avr25: ata5272, attiny828
1368         avr35: ata5505, attiny1634
1369         avr4: atmega8a, ata6285, ata6286, atmega48pa
1370         avr5: at90pwm161, ata5790, ata5795, atmega164pa, atmega165pa,
1371         atmega168pa, atmega32a, atmega64rfr2, atmega644rfr2, atmega64a,
1372         atmega16hva2
1373         avr51: atmega128a, atmega1284
1374         avrxmega2: atxmega16a4u, atxmega16c4, atxmega32a4u, atxmega32c4,
1375         atxmega32e5, atxmega16e5, atxmega8e5
1376         avrxmega4: atxmega64a3u, atxmega64a4u, atxmega64b1, atxmega64b3,
1377         atxmega64c3, atxmega64d4
1378         avrxmega6: atxmega128a3u, atxmega128b3, atxmega128c3,
1379         atxmega128d4, atxmega192a3u, atxmega192c3, atxmega256a3u,
1380         atxmega256c3, atxmega384c3, atxmega384d3
1381         avrxmega7: atxmega128a4u
1382         * doc/c-avr.texi: Ditto.
1383
1384 2014-03-05  Alan Modra  <amodra@gmail.com>
1385
1386         Update copyright years.
1387
1388 2014-03-05  Alan Modra  <amodra@gmail.com>
1389
1390         * config/tc-ppc.c (ppc_elf_suffix): Support @localentry.
1391         (md_apply_fix): Support R_PPC64_ADDR64_LOCAL.
1392
1393 2014-03-05  Alan Modra  <amodra@gmail.com>
1394
1395         * config/tc-ppc.c (md_assemble): Move code adjusting reloc types
1396         later.  Merge absolute and relative branch reloc selection.
1397         Generate 16-bit relocs for most 16-bit insn fields given a
1398         non-constant expression.
1399
1400 2014-03-05  Alan Modra  <amodra@gmail.com>
1401
1402         * config/tc-ppc.c (ppc_is_toc_sym): Remove OBJ_ELF support.
1403         (md_assemble): Don't call ppc_is_toc_sym for ELF.
1404
1405 2014-03-04  Heiher  <r@hev.cc>
1406
1407         * config/tc-mips.c (mips_cpu_info_table): Use ISA_MIPS64R2 for
1408         Loongson-3A.
1409
1410 2014-03-03  Nick Clifton  <nickc@redhat.com>
1411
1412         * config/msp430/msp430.c: Replace known mcu array with known
1413         msp430 ISA mcu name array.
1414         Accept any name for -mmcu option.
1415         Add -mz option to warn about missing NOP following an interrupt
1416         status change.
1417         (check_for_nop): New.
1418         (msp430_operands): Emit a warning, if requested, when an interrupt
1419         changing instruction is not followed by a NOP.
1420         * doc/c-msp430.c: Document -mz option.
1421
1422 2014-03-03  Alan Modra  <amodra@gmail.com>
1423
1424         * config/bfin-lex-wrapper.c: Correct copyright date.
1425         * config/obj-fdpicelf.c: Likewise.
1426         * config/obj-fdpicelf.h: Likewise.
1427         * config/tc-frv.c: Correct copyright punctuation.
1428         * config/tc-ip2k.c: Likewise.
1429         * config/tc-iq2000.c: Likewise.
1430         * config/tc-mep.c: Likewise.
1431         * config/tc-tic4x.c: Likewise.
1432         * config/tc-tic4x.h: Likewise.
1433
1434 2014-03-01  Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
1435
1436         * config/tc-avr.c: Remove atxmega16x1.
1437
1438 2014-02-28  Alan Modra  <amodra@gmail.com>
1439
1440         * dwarf2dbg.c (out_debug_line): Correct .debug_line header_length
1441         field for 64-bit dwarf.
1442
1443 2014-02-21  Ilya Tocar  <ilya.tocar@intel.com>
1444
1445         * config/tc-i386.c (cpu_arch): Add .prefetchwt1.
1446         * doc/c-i386.texi: Document .prefetchwt1/prefetchwt1.
1447
1448 2014-02-12  Ilya Tocar  <ilya.tocar@intel.com>
1449
1450         * config/tc-i386.c (cpu_arch): Add .clflushopt, .xsavec, .xsaves.
1451         * doc/c-i386.texi: Document .xsavec/xsavec/.xsaves/xsaves/
1452         clflushopt/.clfushopt.
1453
1454 2014-02-10  Alan Modra  <amodra@gmail.com>
1455
1456         * po/POTFILES.in: Regenerate.
1457         * po/gas.pot: Regenerate.
1458
1459 2014-02-03  Sandra Loosemore  <sandra@codesourcery.com>
1460
1461         * config/tc-nios2.c (md_apply_fix): Test for new relocs.
1462         (nios2_special_reloc): Add %call_lo, %call_hiadj, %got_lo,
1463         %got_hiadj relocation operators.  Sort table and add comment
1464         to explain ordering.
1465         (nios2_fix_adjustable): Test for new relocs.
1466         * doc/c-nios2.texi (Nios II Relocations): Document new relocation
1467         operators.
1468
1469 2014-01-30  Sandra Loosemore  <sandra@codesourcery.com>
1470
1471         * config/tc-nios2.c (md_apply_fix): Handle BFD_RELOC_NIOS2_CALL26_NOAT.
1472         (nios2_assemble_args_m): Likewise.
1473         (md_assemble): Likewise.
1474
1475 2014-01-24  DJ Delorie  <dj@redhat.com>
1476
1477         * config/tc-msp430.c (msp430_section): Always flag data sections,
1478         regardless of -md.
1479         (msp430_frob_section): New.  Make sure all sections are noticed if
1480         they have content.
1481         (msp430_lcomm): New.  Flag bss if .lcomm is seen.
1482         (msp430_comm): New.  Likewise.
1483         (md_pseudo_table): Add them.
1484         * config/tc-msp430.h (msp430_frob_section): Declare.
1485         (tc_frob_section): Define.
1486
1487 2014-01-23  Nick Clifton  <nickc@redhat.com>
1488
1489         * config/tc-msp430.c (show_mcu_list): Delete.
1490         (md_parse_option): Accept any MCU name.  Accept several more
1491         variants for the -mcpu option.
1492         (md_show_usage): Do not call show_mcu_list.
1493
1494 2014-01-22  DJ Delorie  <dj@redhat.com>
1495
1496         * config/tc-msp430.c (msp430_refsym): New: ".refsym <symbol>"
1497         * doc/c-msp430.texi (MSP430 Directives): Document it.
1498
1499 2014-01-22  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
1500
1501         * config/tc-i386.c (check_VecOperands): Remove regzmm from AVX2
1502         gather assert.
1503
1504 2014-01-22  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
1505
1506         PR gas/16489
1507         * config/tc-i386.c (check_VecOperands): Add check for invalid
1508         register set in AVX512 gathers.
1509
1510 2014-01-22  Alan Modra  <amodra@gmail.com>
1511
1512         * config/tc-tic4x.c (md_shortopts): s/CONST/const/.
1513
1514 2014-01-21  DJ Delorie  <dj@redhat.com>
1515
1516         * config/tc-rl78.c (require_end_of_expr): New.
1517         (md_operand): Call it.
1518         (rl78_cons_fix_new): Mark LO16, HI16, ahd HI8 internal relocations
1519         as not overflowing.
1520
1521 2014-01-17  Will Newton  <will.newton@linaro.org>
1522
1523         * config/tc-arm.c (do_vfp_nsyn_cvt_fpv8): Set OP to 1
1524         for the s32.f64 flavours of VCVT.
1525
1526 2014-01-14  Nick Clifton  <nickc@redhat.com>
1527
1528         PR gas/16434
1529         * config/tc-z80.c (wrong_match): Provide format string to
1530         as_warn.
1531         (parse_exp_not_indexed): Delete unused variable dummy.
1532         (emit_byte): Delete unused variable fixp.
1533
1534 2014-01-08  H.J. Lu  <hongjiu.lu@intel.com>
1535
1536         * config/tc-i386.c (regbnd): Removed.
1537         (vec_disp8): Likewise.
1538
1539 2014-01-08  H.J. Lu  <hongjiu.lu@intel.com>
1540
1541         * as.c (parse_args): Update copyright year to 2014.
1542
1543 2014-01-07  Tom Tromey  <tromey@redhat.com>
1544
1545         * config/tc-tic30.c (debug): Avoid old VA_* compatibility
1546         wrappers.
1547
1548 2014-01-07  Tom Tromey  <tromey@redhat.com>
1549
1550         * config/tc-microblaze.h (parse_cons_expression_microblaze): Don't
1551         use PARAMS.
1552
1553 2014-01-07  Tom Tromey  <tromey@redhat.com>
1554
1555         * config/tc-xc16x.h: Don't use ANSI_PROTOTYPES.
1556
1557 2013-01-07  Philipp Tomsich  <philipp.tomsich@theobroma-systems.com>
1558
1559         * config/tc-aarch64.c (aarch64_cpus): Add entry for "xgene-1"
1560
1561 For older changes see ChangeLog-2013
1562 \f
1563 Copyright (C) 2014 Free Software Foundation, Inc.
1564
1565 Copying and distribution of this file, with or without modification,
1566 are permitted in any medium without royalty provided the copyright
1567 notice and this notice are preserved.
1568
1569 Local Variables:
1570 mode: change-log
1571 left-margin: 8
1572 fill-column: 74
1573 version-control: never
1574 End: