983acfe54cdd05b87bf7b06345f6273075e4f06d
[platform/upstream/binutils.git] / gas / ChangeLog
1 2013-06-22  Richard Sandiford  <rdsandiford@googlemail.com>
2
3         * doc/as.texinfo: Use MIPS rather than @sc{mips} throughout.
4         Use "CPU" instead of "cpu".
5         * doc/c-mips.texi: Likewise.
6         (MIPS Opts): Rename to MIPS Options.
7         (MIPS option stack): Rename to MIPS Option Stack.
8         (MIPS ASE instruction generation overrides): Rename to
9         MIPS ASE Instruction Generation Overrides (for now).
10         (MIPS floating-point): Rename to MIPS Floating-Point.
11
12 2013-06-22  Richard Sandiford  <rdsandiford@googlemail.com>
13
14         * doc/c-mips.texi (MIPS Macros): New section.
15         (MIPS Object): Replace with...
16         (MIPS Small Data): ...this new section.
17
18 2013-06-22  Richard Sandiford  <rdsandiford@googlemail.com>
19
20         * doc/c-mips.texi (MIPS symbol sizes): Move section further up file.
21         Capitalize name.  Use @kindex instead of @cindex for .set entries.
22
23 2013-06-22  Richard Sandiford  <rdsandiford@googlemail.com>
24
25         * doc/c-mips.texi (MIPS Stabs): Remove section.
26
27 2013-06-20  Richard Sandiford  <rdsandiford@googlemail.com>
28
29         * config/tc-mips.c (ISA_SUPPORTS_SMARTMIPS, ISA_SUPPORTS_DSP_ASE)
30         (ISA_SUPPORTS_DSP64_ASE, ISA_SUPPORTS_DSPR2_ASE, ISA_SUPPORTS_EVA_ASE)
31         (ISA_SUPPORTS_MT_ASE, ISA_SUPPORTS_MCU_ASE, ISA_SUPPORTS_VIRT_ASE)
32         (ISA_SUPPORTS_VIRT64_ASE): Delete.
33         (mips_ase): New structure.
34         (mips_ases): New table.
35         (FP64_ASES): New macro.
36         (mips_ase_groups): New array.
37         (mips_isa_rev, mips_ase_mask, mips_check_isa_supports_ase)
38         (mips_check_isa_supports_ases, mips_set_ase, mips_lookup_ase): New
39         functions.
40         (is_opcode_valid): Use mips_ases to get the 64-bit ASE flags.
41         (md_parse_option): Use mips_ases and mips_set_ase instead of
42         separate case statements for each ASE option.
43         (mips_after_parse_args): Use FP64_ASES.  Use
44         mips_check_isa_supports_ases to check the ASEs against
45         other options.
46         (s_mipsset): Use mips_ases and mips_set_ase instead of
47         separate if statements for each ASE option.  Use
48         mips_check_isa_supports_ases, even when a non-ASE option
49         is specified.
50
51 2013-06-19  Greta Yorsh  <Greta.Yorsh@arm.com>
52
53         * config/tc-arm.c (arm_cpus): Add support for Cortex-A12.
54
55 2013-06-18  Richard Sandiford  <rdsandiford@googlemail.com>
56
57         * config/tc-mips.c (md_shortopts, options, md_longopts)
58         (md_longopts_size): Move earlier in file.
59
60 2013-06-18  Richard Sandiford  <rdsandiford@googlemail.com>
61
62         * config/tc-mips.c (mips_set_options): Replace separate "ase_*" fields
63         with a single "ase" bitmask.
64         (mips_opts): Update accordingly.
65         (file_ase, file_ase_explicit): New variables.
66         (file_ase_mips3d, file_ase_mdmx, file_ase_smartmips, file_ase_dsp)
67         (file_ase_dspr2, file_ase_eva, file_ase_mt, file_ase_virt): Delete.
68         (ISA_HAS_ROR): Adjust for mips_set_options change.
69         (is_opcode_valid): Take the base ase mask directly from mips_opts.
70         (mips_ip): Adjust for mips_set_options change.
71         (md_parse_option): Likewise.  Update file_ase_explicit.
72         (mips_after_parse_args): Adjust for mips_set_options change.
73         Use bitmask operations to select the default ASEs.  Set file_ase
74         rather than individual per-ASE variables.
75         (s_mipsset): Adjust for mips_set_options change.
76         (mips_elf_final_processing): Test file_ase rather than
77         file_ase_mdmx.  Remove commented-out code.
78
79 2013-06-18  Richard Sandiford  <rdsandiford@googlemail.com>
80
81         * config/tc-mips.c (mips_cpu_info): Add an "ase" field.
82         (MIPS_CPU_ASE_SMARTMIPS, MIPS_CPU_ASE_DSP, MIPS_CPU_ASE_MT)
83         (MIPS_CPU_ASE_MIPS3D, MIPS_CPU_ASE_MDMX, MIPS_CPU_ASE_DSPR2)
84         (MIPS_CPU_ASE_MCU, MIPS_CPU_ASE_VIRT, MIPS_CPU_ASE_EVA): Delete.
85         (mips_after_parse_args): Use the new "ase" field to choose
86         the default ASEs.
87         (mips_cpu_info_table): Move ASEs from the "flags" field to the
88         "ase" field.
89
90 2013-06-18  Richard Earnshaw  <rearnsha@arm.com>
91
92         * config/tc-arm.c (symbol_preemptible): New function.
93         (relax_branch): Use it.
94
95 2013-06-17  Catherine Moore  <clm@codesourcery.com>
96             Maciej W. Rozycki  <macro@codesourcery.com>
97             Chao-Ying Fu  <fu@mips.com>
98
99         * config/tc-mips.c (mips_set_options): Add ase_eva.
100         (mips_set_options mips_opts): Add ase_eva.
101         (file_ase_eva): Declare.
102         (ISA_SUPPORTS_EVA_ASE): Define.
103         (IS_SEXT_9BIT_NUM): Define.
104         (MIPS_CPU_ASE_EVA): Define.
105         (is_opcode_valid): Add support for ase_eva.
106         (macro_build): Likewise.
107         (macro): Likewise.
108         (validate_mips_insn): Likewise.
109         (validate_micromips_insn): Likewise.
110         (mips_ip): Likewise.
111         (options): Add OPTION_EVA and OPTION_NO_EVA.
112         (md_longopts): Add -meva and -mno-eva.
113         (md_parse_option): Process new options.
114         (mips_after_parse_args): Check for valid EVA combinations.
115         (s_mipsset): Likewise.
116
117 2013-06-14  Richard Sandiford  <rsandifo@linux.vnet.ibm.com>
118
119         * dwarf2dbg.h (dwarf2_move_insn): Declare.
120         * dwarf2dbg.c (line_subseg): Add pmove_tail.
121         (get_line_subseg): Add create_p argument.  Initialize pmove_tail.
122         (dwarf2_gen_line_info_1): Update call accordingly.
123         (dwarf2_move_insn): New function.
124         * config/tc-mips.c (append_insn): Use dwarf2_move_insn.
125
126 2013-06-14  Richard Sandiford  <rsandifo@linux.vnet.ibm.com>
127
128         Revert:
129
130         2011-09-05  Richard Sandiford  <rdsandiford@googlemail.com>
131
132         PR gas/13024
133         * dwarf2dbg.c (pending_lines, pending_lines_tail): New variables.
134         (dwarf2_gen_line_info_1): Delete.
135         (dwarf2_push_line, dwarf2_flush_pending_lines): New functions.
136         (dwarf2_gen_line_info, dwarf2_emit_label): Use them.
137         (dwarf2_consume_line_info): Call dwarf2_flush_pending_lines.
138         (dwarf2_directive_loc): Push previous .locs instead of generating
139         them immediately.
140
141 2013-06-13  Chao-ying Fu  <Chao-ying.Fu@imgtec.com>
142
143         * config/tc-mips.c (ISA_SUPPORTS_VIRT_ASE): Support micromips.
144         (ISA_SUPPORTS_VIRT64_ASE): Support 64-bit micromips.
145
146 2013-06-13  Nick Clifton  <nickc@redhat.com>
147
148         PR gas/15602
149         * config/tc-m68k.h (TC_CHECK_ADJUSTED_BROKEN_DOT_WORD): Define.
150         * config/tc-m68k.c (tc_m68k_check_adjusted_broken_word): New
151         function.  Generates an error if the adjusted offset is out of a
152         16-bit range.
153
154 2013-06-12  Sandra Loosemore  <sandra@codesourcery.com>
155
156         * config/tc-nios2.c (md_apply_fix):  Mask constant
157         BFD_RELOC_NIOS2_HIADJ16 value to 16 bits.
158
159 2013-06-10  Maciej W. Rozycki  <macro@codesourcery.com>
160
161         * config/tc-mips.c (append_insn): Don't do branch relaxation for
162         MIPS-3D instructions either.
163         (md_convert_frag): Update the COPx branch mask accordingly.
164
165         * config/tc-mips.c (md_show_usage): Document --[no-]relax-branch
166         option.
167         * doc/as.texinfo (Overview): Add --relax-branch and
168         --no-relax-branch.
169         * doc/c-mips.texi (MIPS Opts): Document --relax-branch and
170         --no-relax-branch.
171
172 2013-06-09  Sandra Loosemore  <sandra@codesourcery.com>
173
174         * config/tc-nios2.c (nios2_parse_args):  Allow trap argument to
175         omitted.
176
177 2013-06-08  Catherine Moore  <clm@codesourcery.com>
178
179         * config/tc-mips.c (is_opcode_valid):  Build ASE mask.
180         (is_opcode_valid_16): Pass ase value to opcode_is_member.
181         (append_insn): Change INSN_xxxx to ASE_xxxx.
182
183 2013-06-01  George Thomas <george.thomas@atmel.com>
184
185         * gas/config/tc-avr.c: Change ISA for devices with USB support to
186         AVR_ISA_XMEGAU
187
188 2013-05-31  H.J. Lu  <hongjiu.lu@intel.com>
189
190         * config/tc-i386.c (md_begin): Don't align text/data/bss sections
191         for ELF.
192
193 2013-05-31  Paul Brook  <paul@codesourcery.com>
194
195         gas/
196         * config/tc-mips.c (s_ehword): New.
197
198 2013-05-30  Paul Brook  <paul@codesourcery.com>
199
200         * config/tc-mips.c (md_apply_fix): Support BFD_RELOC_MIPS_EH.
201
202 2013-05-29  Maciej W. Rozycki  <macro@codesourcery.com>
203
204         * write.c (resolve_reloc_expr_symbols): On REL targets don't
205         convert relocs who have no relocatable field either.  Rephrase
206         the conditional so that the PC-relative check is only applied
207         for REL targets.
208
209 2013-05-28  Chao-ying Fu  <Chao-ying.Fu@imgtec.com>
210
211         * config/tc-mips.c (macro) <ld>: Don't use $zero for address
212         calculation.
213
214 2013-05-28  Yufeng Zhang  <yufeng.zhang@arm.com>
215
216         * config/tc-aarch64.c (reloc_table): Update to use
217         BFD_RELOC_AARCH64_TLSDESC_ADR_PAGE21 instead of 
218         BFD_RELOC_AARCH64_TLSDESC_ADR_PAGE.
219         (md_apply_fix): Likewise.
220         (aarch64_force_relocation): Likewise.
221
222 2013-05-28  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
223
224         * config/tc-arm.c (it_fsm_post_encode): Improve
225         warning messages about deprecated IT block formats.
226
227 2013-05-28  Marcus Shawcroft  <marcus.shawcroft@arm.com>
228
229         * config/tc-aarch64.c (md_apply_fix): Move value range checking
230         inside fx_done condition.
231
232 2013-05-22  Jürgen Urban  <JuergenUrban@gmx.de>
233
234         * config/tc-mips.c (macro): Handle M_LQC2_AB and M_SQC2_AB.
235
236 2013-05-20  Peter Bergner <bergner@vnet.ibm.com>
237
238         * config/tc-ppc.c (ppc_setup_opcodes): Use new_seg to fix error
239         and clean up warning when using PRINT_OPCODE_TABLE.
240
241 2013-05-20  Alan Modra  <amodra@gmail.com>
242
243         * config/tc-ppc.c (md_apply_fix): Hoist code common to insn
244         and data fixups performing shift/high adjust/sign extension on
245         fieldval.  Sink fx_pcrel handling and checks.  Use fixP->fx_size
246         when writing data fixups rather than recalculating size.
247
248 2013-05-16  Jan-Benedict Glaw  <jbglaw@lug-owl.de>
249
250         * doc/c-msp430.texi: Fix typo.
251
252 2013-05-16  Tristan Gingold  <gingold@adacore.com>
253
254         * config/tc-ppc.c (ppc_is_toc_sym): Symbols of class XMC_TC
255         are also TOC symbols.
256
257 2013-05-16  Nick Clifton  <nickc@redhat.com>
258
259         * config/tc-msp430.c: Make -mmcu recognise more part numbers.
260         Add -mcpu command to specify core type.
261         * doc/c-msp430.texi: Update documentation.
262
263 2013-05-09  Andrew Pinski  <apinski@cavium.com>
264
265         * config/tc-mips.c (struct mips_set_options): New ase_virt field.
266         (mips_opts): Update for the new field.
267         (file_ase_virt): New variable.
268         (ISA_SUPPORTS_VIRT_ASE): New macro.
269         (ISA_SUPPORTS_VIRT64_ASE): New macro.
270         (MIPS_CPU_ASE_VIRT): New define.
271         (is_opcode_valid): Handle ase_virt.
272         (macro_build): Handle "+J".
273         (validate_mips_insn): Likewise.
274         (mips_ip): Likewise.
275         (enum options): Add OPTION_VIRT and OPTION_NO_VIRT.
276         (md_longopts): Add mvirt and mnovirt
277         (md_parse_option): Handle OPTION_VIRT and OPTION_NO_VIRT.
278         (mips_after_parse_args): Handle ase_virt field.
279         (s_mipsset): Handle "virt" and "novirt".
280         (mips_elf_final_processing): Add a comment about virt ASE might need
281         a new flag.
282         (md_show_usage): Print out the usage of -mvirt and mno-virt options.
283         * doc/c-mips.texi: Document -mvirt and -mno-virt.
284         Document ".set virt" and ".set novirt".
285
286 2013-05-09  Alan Modra  <amodra@gmail.com>
287
288         * config/tc-ppc.c (md_apply_fix): Sign extend fieldval under
289         control of operand flag bits.
290
291 2013-05-07  Alan Modra  <amodra@gmail.com>
292
293         * config/tc-ppc.c (PPC_VLE_SPLIT16A): Delete unused macro.
294         (PPC_VLE_SPLIT16D, PPC_VLE_LO16A, PPC_VLE_LO16D): Likewise.
295         (PPC_VLE_HI16A, PPC_VLE_HI16D): Likewise.
296         (PPC_VLE_HA16A, PPC_VLE_HA16D): Likewise.
297         (md_apply_fix): Set fx_no_overflow for assorted relocations.
298         Shift and sign-extend fieldval for use by some VLE reloc
299         operand->insert functions.
300
301 2013-05-06  Paul Brook  <paul@codesourcery.com>
302             Catherine Moore  <clm@codesourcery.com>
303
304         * config/tc-mips.c (md_pcrel_from): Handle BFD_RELOC_32_PCREL.
305         (limited_pcrel_reloc_p): Likewise.
306         (md_apply_fix): Likewise.
307         (tc_gen_reloc): Likewise.
308
309 2013-05-06  Richard Sandiford  <rdsandiford@googlemail.com>
310
311         * config/tc-mips.c (limited_pcrel_reloc_p): New function.
312         (mips_fix_adjustable): Adjust pc-relative check to use
313         limited_pc_reloc_p.
314
315 2013-05-02  Richard Sandiford  <rdsandiford@googlemail.com>
316
317         * config/tc-mips.c (mips_pseudo_table): Add stabd and stabs entries.
318         (s_mips_stab): Do not restrict to stabn only.
319
320 2013-05-02  Nick Clifton  <nickc@redhat.com>
321
322         * config/tc-msp430.c: Add support for the MSP430X architecture.
323         Add code to insert a NOP instruction after any instruction that
324         might change the interrupt state.
325         Add support for the LARGE memory model.
326         Add code to initialise the .MSP430.attributes section.
327         * config/tc-msp430.h: Add support for the MSP430X architecture.
328         * doc/c-msp430.texi: Document the new -mL and -mN command line
329         options.
330         * NEWS: Mention support for the MSP430X architecture.
331
332 2013-05-01  Maciej W. Rozycki  <macro@codesourcery.com>
333
334         * configure.tgt: Replace alpha*-*-linuxecoff* pattern with
335         alpha*-*-linux*ecoff*.
336
337 2013-04-30  Chao-ying Fu  <Chao-ying.Fu@imgtec.com>
338
339         * config/tc-mips.c (mips_ip): Add sizelo.
340         For "+C", "+G", and "+H", set sizelo and compare against it.
341
342 2013-04-29  Nick Clifton  <nickc@redhat.com>
343
344         * as.c (Options): Add -gdwarf-sections.
345         (parse_args): Likewise.
346         * as.h (flag_dwarf_sections): Declare.
347         * dwarf2dbg.c (emit_fixed_inc_line_addr): Skip section changes.
348         (process_entries): When -gdwarf-sections is enabled generate
349         fragmentary .debug_line sections.
350         (out_debug_line): Set the section for the .debug_line section end
351         symbol.
352         * doc/as.texinfo: Document -gdwarf-sections.
353         * NEWS: Mention -gdwarf-sections.
354
355 2013-04-26  Christian Groessler  <chris@groessler.org>
356
357         * config/tc-z8k.c (md_parse_option): Set z8k_target_from_cmdline
358         according to the target parameter.  Don't call s_segm since s_segm
359         calls bfd_set_arch_mach using stdoutput, but stdoutput isn't
360         initialized yet.
361         (md_begin): Call s_segm according to target parameter from command
362         line.
363
364 2013-04-25  Alan Modra  <amodra@gmail.com>
365
366         * configure.in: Allow little-endian linux.
367         * configure: Regenerate.
368
369 2013-04-24  Sandra Loosemore  <sandra@codesourcery.com>
370
371         * config/tc-nios2.c (nios2_control_register_arg_p): Rename
372         "fstatus" control register to "eccinj".
373
374 2013-04-19  Kai Tietz  <ktietz@redhat.com>
375
376         * configure.tgt (i386-*-cygwin): Handle x86_64 cygwin.
377
378 2013-04-15  Julian Brown  <julian@codesourcery.com>
379
380         * expr.c (add_to_result, subtract_from_result): Make global.
381         * expr.h (add_to_result, subtract_from_result): Add prototypes.
382         * config/tc-sh.c (sh_optimize_expr): Use add_to_result,
383         subtract_from_result to handle extra bit of precision for .sleb128
384         directive operands.
385
386 2013-04-10  Julian Brown  <julian@codesourcery.com>
387
388         * read.c (convert_to_bignum): Add sign parameter. Use it
389         instead of X_unsigned to determine sign of resulting bignum.
390         (emit_expr): Pass extra argument to convert_to_bignum.
391         (emit_leb128_expr): Use X_extrabit instead of X_unsigned. Pass
392         X_extrabit to convert_to_bignum.
393         (parse_bitfield_cons): Set X_extrabit.
394         * expr.c (make_expr_symbol, expr_build_uconstant, operand):
395         Initialise X_extrabit field as appropriate.
396         (add_to_result): New.
397         (subtract_from_result): New.
398         (expr): Use above.
399         * expr.h (expressionS): Add X_extrabit field.
400
401 2013-04-10  Jan Beulich <jbeulich@suse.com>
402
403         * gas/config/tc-arm.c (encode_arm_addr_mode_3): Only reject base
404         register being PC when is_t or writeback, and use distinct
405         diagnostic for the latter case.
406
407 2013-04-10  Jan Beulich <jbeulich@suse.com>
408
409         * gas/config/tc-arm.c (parse_operands): Re-write
410         po_barrier_or_imm().
411         (do_barrier): Remove bogus constraint().
412         (do_t_barrier): Remove.
413
414 2013-04-09 Joerg Wunsch <joerg.wunsch@atmel.com>
415
416         * gas/config/tc-avr.c (mcu_types): Add ATmega64RFR2,
417         ATmega644RFR2, ATmega128RFR2, ATmega1284RFR2, ATmega256RFR2,
418         ATmega2564RFR2
419         * gas/doc/c-avr.texi (-mmcu documentation): Likewise.
420
421 2013-04-09  Jan Beulich <jbeulich@suse.com>
422
423         * gas/config/tc-arm.c (do_vmrs): Accept all control registers.
424         Use local variable Rt in more places.
425         (do_vmsr): Accept all control registers.
426
427 2013-04-09  Jan Beulich <jbeulich@suse.com>
428
429         * gas/config/tc-arm.c (do_neon_mov): Fake an instruction suffix
430         if there was none specified for moves between scalar and core
431         register.
432
433 2013-04-09  Jan Beulich <jbeulich@suse.com>
434
435         * gas/config/tc-arm.c (do_neon_ldx_stx): Reject VSTn in the
436         NEON_ALL_LANES case.
437
438 2013-04-08  Jan Beulich <jbeulich@suse.com>
439
440         * gas/config/tc-arm.c (do_neon_ldr_str): Correct disgnostics for
441         PC-relative VSTR.
442
443 2013-04-08  Jan Beulich <jbeulich@suse.com>
444
445         * gas/config/tc-arm.c (reg_names): Convert duplicate SP_fiq
446         entry to sp_fiq.
447
448 2013-04-03  Alan Modra  <amodra@gmail.com>
449
450         * doc/as.texinfo: Add support to generate man options for h8300.
451         * doc/c-h8300.texi: Likewise.
452
453 2013-03-28  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
454
455         * config/tc-arm.c (arm_cpus): Add support for Cortex-A53 and
456         Cortex-A57.
457
458 2013-03-27  Alexis Deruelle  <alexis.deruelle@gmail.com>
459
460         PR binutils/15068
461         * config/tc-tic6x.c (tic6x_try_encode): Add use of bitfields array.
462
463 2013-03-26  Nick Clifton  <nickc@redhat.com>
464
465         PR gas/15295
466         * listing.c (rebuffer_line): Rewrite to avoid seeking back to the
467         start of the file each time.
468
469         PR gas/15178
470         * config/tc-sparc.h (ELF_TARGET_FORMAT): Set to elf32-sparc for
471         FreeBSD targets.
472
473 2013-03-26  Douglas B Rupp  <rupp@gnat.com>
474
475         * config/tc-ia64.c (emit_one_bundle): Move last_slot adjustment
476         after fixup.
477
478 2013-03-21  Will Newton  <will.newton@linaro.org>
479
480         * config/tc-arm.c (encode_thumb32_addr_mode): Emit an error for all
481         pc-relative str instructions in Thumb mode.
482
483 2013-03-21  Michael Schewe  <michael.schewe@gmx.net>
484
485         * config/tc-h8300.c (do_a_fix_imm): Add relaxation of mov
486         @(disp:32,ERx) to mov @(disp:16,ERx) insns by new reloc
487         R_H8_DISP32A16.
488         * config/tc-h8300.h: Remove duplicated defines.
489
490 2013-03-21  Senthil Kumar Selvaraj  <senthil_kumar.selvaraj@atmel.com>
491
492         PR gas/15282
493         * tc-avr.c (mcu_has_3_byte_pc): New function.
494         (tc_cfi_frame_initial_instructions): Call it to find return
495         address size.
496
497 2013-03-20  Alexis Deruelle  <alexis.deruelle@gmail.com>
498
499         PR gas/15095
500         * config/tc-tic6x.c (tic6x_try_encode): Handle
501         tic6x_coding_dreg_(msb|lsb) field coding types and use it to
502         encode register pair numbers when required.
503
504 2013-03-15  Will Newton  <will.newton@linaro.org>
505
506         * config/tc-arm.c (do_neon_ldr_str): Fix error check for PC register
507         in vstr in Thumb mode for pre-ARMv7 cores.
508
509 2013-03-14  Andreas Schwab  <schwab@suse.de>
510
511         * doc/c-arc.texi (ARC Directives): Revert last change and use
512         @itemize instead of @table.
513         * doc/c-arm.texi (ARM-Instruction-Set): Likewise.
514
515 2013-03-14  Nick Clifton  <nickc@redhat.com>
516
517         PR gas/15273
518         * config/tc-arm.c (do_co_reg): Do not call check_obsolete with a
519         NULL message, instead just check ARM_CPU_IS_ANY directly.
520
521 2013-03-14  Nick Clifton  <nickc@redhat.com>
522
523         PR gas/15212
524         * doc/c-arc.texi (ARC Directives): Use @code instead of @bullet
525         for table format.
526         * doc/c-arm.texi (ARM-Instruction-Set): Likewise.  Also add text
527         to the @item directives.
528         (ARM-Neon-Alignment): Move to correct place in the document.
529         * doc/c-cr16.texi (CR16 Operand Qualifiers): Fix up table
530         formatting.
531         * doc/c-tic54x.texi (TIC54X-Subsyms): Correct use of
532         @smallexample.
533
534 2013-03-12  Sebastian Huber <sebastian.huber@embedded-brains.de>
535
536         * config/tc-nios2.c (nios2_consume_arg): Delete 'k' case.  Add 'o'
537         case.  Add default BAD_CASE to switch.
538
539 2013-03-11  Sebastian Huber <sebastian.huber@embedded-brains.de>
540
541         * config/tc-nios2.c (nios2_assemble_args_ds): New function.
542         (nios2_arg_info_structs): Add "d,s" and "d,s,E" entries.
543
544 2013-03-11  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
545
546         * config/tc-arm.c (crc_ext_armv8): New feature set.
547         (UNPRED_REG): New macro.
548         (do_crc32_1): New function.
549         (do_crc32b, do_crc32h, do_crc32w, do_crc32cb,
550         do_crc32ch, do_crc32cw): Likewise.
551         (TUEc): New macro.
552         (insns): Add entries for crc32 mnemonics.
553         (arm_extensions): Add entry for crc.
554
555 2013-03-08  Chung-Lin Tang  <cltang@codesourcery.com>
556
557         * write.h (struct fix): Add fx_dot_frag field.
558         (dot_frag): Declare.
559         * write.c (dot_frag): New variable.
560         (fix_new_internal): Set fx_dot_frag field with dot_frag.
561         (fixup_segment): Base calculation of fx_offset with fx_dot_frag.
562         * expr.c (expr): Save value of frag_now in dot_frag when setting
563         dot_value.
564         * read.c (emit_expr): Likewise. Delete comments.
565
566 2013-03-07  H.J. Lu  <hongjiu.lu@intel.com>
567
568         * config/tc-i386.c (flag_code_names): Removed.
569         (i386_index_check): Rewrote.
570
571 2013-03-05  Yufeng Zhang  <yufeng.zhang@arm.com>
572
573         * config/tc-aarch64.c (aarch64_imm_float_p): Rename 'e' to 'pattern';
574         add comment.
575         (aarch64_double_precision_fmovable): New function.
576         (parse_aarch64_imm_float): Add parameter 'dp_p'; call the new
577         function; handle hexadecimal representation of IEEE754 encoding.
578         (parse_operands): Update the call to parse_aarch64_imm_float.
579
580 2013-02-28  H.J. Lu  <hongjiu.lu@intel.com>
581
582         * config/tc-i386.c (_i386_insn): Replace have_hle with hle_prefix.
583         (check_hle): Updated.
584         (md_assemble): Likewise.
585         (parse_insn): Likewise.
586
587 2013-02-28  H.J. Lu  <hongjiu.lu@intel.com>
588
589         * config/tc-i386.c (_i386_insn): Add rep_prefix.
590         (md_assemble): Check if REP prefix is OK.
591         (parse_insn): Remove expecting_string_instruction.  Set
592         i.rep_prefix.
593
594 2013-02-28  Yufeng Zhang  <yufeng.zhang@arm.com>
595
596         * config/tc-aarch64.c (aarch64_features): Add the 'crc' option.
597
598 2013-02-28  Yufeng Zhang  <yufeng.zhang@arm.com>
599
600         * config/tc-aarch64.c (parse_sys_reg): Allow the full range of CRn
601         for system registers.
602
603 2013-02-27  DJ Delorie  <dj@redhat.com>
604
605         * config/tc-rl78.c (reloc_function): Add %code -> BFD_RELOC_RL78_CODE.
606         (rl78_op): Handle %code().
607         (rl78_cons_fix_new): Likewise, but ignore for 20-bit operands.
608         (tc_gen_reloc): Likwise; convert to a computed reloc.
609         (md_apply_fix): Likewise.
610
611 2013-02-25  Kaushik Phatak  <Kaushik.Phatak@kpitcummins.com>
612
613         * config/rl78-parse.y: Fix encoding of DIVWU insn.
614
615 2013-02-25  Terry Guo  <terry.guo@arm.com>
616
617         * config/tc-arm.c (arm_cpus): Add cortex-r7 entry.
618         * doc/c-arm.texi: Add cortex-r7 and missing cortex-r5 to
619         list of accepted CPUs.
620
621 2013-02-19  H.J. Lu  <hongjiu.lu@intel.com>
622
623         PR gas/15159
624         * config/tc-i386.c (cpu_arch): Add ".smap".
625
626         * doc/c-i386.texi: Document smap.
627
628 2013-02-18  Maciej W. Rozycki  <macro@codesourcery.com>
629
630         * config/tc-mips.c (s_cpload): Call mips_mark_labels and set
631         mips_assembling_insn appropriately.
632         (s_cpsetup, s_cprestore, s_cpreturn, s_cpadd): Likewise.
633
634 2013-02-18  Maciej W. Rozycki  <macro@codesourcery.com>
635
636         * config/tc-mips.c (append_insn): Correct indentation, remove
637         extraneous braces.
638
639 2013-02-15  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
640
641         * config/tc-arm.c (do_neon_mov): Break on NS_NULL.
642
643 2013-02-15  Sebastian Huber  <sebastian.huber@embedded-brains.de>
644
645         * configure.tgt: Add nios2-*-rtems*.
646
647 2013-02-14  Yufeng Zhang  <yufeng.zhang@arm.com>
648
649         * config/tc-aarch64.c (md_begin): Change to check if 'name' is
650         NULL.
651
652 2013-02-09  Jürgen Urban  <JuergenUrban@gmx.de>
653
654         * config/tc-mips.c (CPU_HAS_LDC1_SDC1): New macro.
655         (macro): Use it.  Assert that trunc.w.s is not used for r5900.
656
657 2013-02-08  Yi-Hsiu, Hsu  <ahsu@marvell.com>
658
659         * gas/config/tc-arm.c (arm_cpus): Add support for mcpu=marvell-pj4
660         core.
661
662 2013-02-06  Sandra Loosemore  <sandra@codesourcery.com>
663             Andrew Jenner <andrew@codesourcery.com>
664
665         Based on patches from Altera Corporation.
666
667         * Makefile.am (TARGET_CPU_CFILES): Add config/tc-nios2.c.
668         (TARGET_CPU_HFILES): Add config/tc-nios2.h.
669         * Makefile.in: Regenerated.
670         * configure.tgt: Add case for nios2*-linux*.
671         * config/obj-elf.c: Conditionally include elf/nios2.h.
672         * config/tc-nios2.c: New file.
673         * config/tc-nios2.h: New file.
674         * doc/Makefile.am (CPU_DOCS): Add c-nios2.texi.
675         * doc/Makefile.in: Regenerated.
676         * doc/all.texi: Set NIOSII.
677         * doc/as.texinfo (Overview): Add Nios II options.
678         (Machine Dependencies): Include c-nios2.texi.
679         * doc/c-nios2.texi: New file.
680         * NEWS: Note Altera Nios II support.
681
682 2013-02-06  Alan Modra  <amodra@gmail.com>
683
684         PR gas/14255
685         * config/tc-avr.h (TC_VALIDATE_FIX): Mark symbol used by reloc.
686         Don't skip fixups with fx_subsy non-NULL.
687         * config/tc-avr.c (tc_gen_reloc): Don't specially handle fixups
688         with fx_subsy non-NULL.
689
690 2013-02-04  H.J. Lu  <hongjiu.lu@intel.com>
691
692         * doc/c-metag.texi: Add "@c man" markers.
693
694 2013-02-04  Alan Modra  <amodra@gmail.com>
695
696         * write.c (fixup_segment): Return void.  Delete seg_reloc_count
697         related code.
698         (TC_ADJUST_RELOC_COUNT): Delete.
699         * config/tc-i960.h (TC_ADJUST_RELOC_COUNT): Delete.
700
701 2013-02-04  Alan Modra  <amodra@gmail.com>
702
703         * po/POTFILES.in: Regenerate.
704
705 2013-01-30  Markos Chandras  <markos.chandras@imgtec.com>
706
707         * config/tc-metag.c: Make SWAP instruction less permissive with
708         its operands.
709
710 2013-01-29  DJ Delorie  <dj@redhat.com>
711
712         * config/tc-rl78.c (rl78_cons_fix_new): Handle user-specified
713         relocs in .word/.etc statements.
714
715 2013-01-29  Roland McGrath  <mcgrathr@google.com>
716
717         * config/tc-arm.c (md_apply_fix): Use as_bad_where for "bad
718         immediate value for 8-bit offset" error so it shows line info.
719
720 2013-01-24  Joseph Myers  <joseph@codesourcery.com>
721
722         * config/tc-ppc.c (md_assemble): Do not generate APUinfo sections
723         for 64-bit output.
724
725 2013-01-24  Nick Clifton  <nickc@redhat.com>
726
727         * config/tc-v850.c: Add support for e3v5 architecture.
728         * doc/c-v850.texi: Mention new support.
729
730 2013-01-23  Nick Clifton  <nickc@redhat.com>
731
732         PR gas/15039
733         * config/tc-avr.c: Include dwarf2dbg.h.
734
735 2013-01-18  H.J. Lu  <hongjiu.lu@intel.com>
736
737         * config/tc-i386.c (reloc): Support size relocation only for ELF.
738         (tc_i386_fix_adjustable): Likewise.
739         (lex_got): Likewise.
740         (tc_gen_reloc): Likewise.
741
742 2013-01-17  Yufeng Zhang  <yufeng.zhang@arm.com>
743
744         * config/tc-aarch64.c (output_operand_error_record): Change to output
745         the out-of-range error message as value-expected message if there is
746         only one single value in the expected range.
747         (programmer_friendly_fixup): Remove the handling of 8-bit MOVI with
748         LSL #0 as a programmer-friendly feature.
749
750 2013-01-16  H.J. Lu  <hongjiu.lu@intel.com>
751
752         * config/tc-i386.c (reloc): Support BFD_RELOC_SIZE32.
753         (tc_i386_fix_adjustable): Keep symbol for BFD_RELOC_32_SIZE and
754         BFD_RELOC_64_SIZE relocations.
755         (lex_got): Support "symbol@SIZE" and don't create GOT symbol
756         for it.
757         (tc_gen_reloc): Resolve BFD_RELOC_SIZE32 and BFD_RELOC_SIZE64
758         relocations against local symbols.
759
760 2013-01-16  Alan Modra  <amodra@gmail.com>
761
762         * config/tc-ppc.c (md_assemble <TE_PE>): Ignore line after
763         finding some sort of toc syntax error, and break to avoid
764         compiler uninit warning.
765
766 2013-01-15  H.J. Lu  <hongjiu.lu@intel.com>
767
768         PR gas/15019
769         * config/tc-i386.c (lex_got): Increment length by 1 if the
770         relocation token is removed.
771
772 2013-01-15  Nick Clifton  <nickc@redhat.com>
773
774         * config/tc-v850.c (md_assemble): Allow signed values for
775         V850E_IMMEDIATE.
776
777 2013-01-11  Sean Keys  <skeys@ipdatasys.com>
778
779         * config/tc-xgate.c (md_begin): Fix mistake made when going from
780         git to cvs.
781
782 2013-01-10  Peter Bergner <bergner@vnet.ibm.com>
783
784         * doc/as.texinfo (Target PowerPC): Document -mpower8 and -mhtm.
785         * doc/c-ppc.texi (PowerPC-Opts):  Likewise.
786         * config/tc-ppc.c (md_show_usage): Likewise.
787         (ppc_handle_align): Handle power8's group ending nop.
788
789 2013-01-10  Sean Keys  <skeys@ipdatasys.com>
790
791         * config/tc-xgate.c (md_begin): Fix the printing of opcodes so
792         that the assember exits after the opcodes have been printed.
793
794 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
795
796         * app.c: Remove trailing white spaces.
797         * as.c: Likewise.
798         * as.h: Likewise.
799         * cond.c: Likewise.
800         * dw2gencfi.c: Likewise.
801         * dwarf2dbg.h: Likewise.
802         * ecoff.c: Likewise.
803         * input-file.c: Likewise.
804         * itbl-lex.h: Likewise.
805         * output-file.c: Likewise.
806         * read.c: Likewise.
807         * sb.c: Likewise.
808         * subsegs.c: Likewise.
809         * symbols.c: Likewise.
810         * write.c: Likewise.
811         * config/tc-i386.c: Likewise.
812         * doc/Makefile.am: Likewise.
813         * doc/Makefile.in: Likewise.
814         * doc/c-aarch64.texi: Likewise.
815         * doc/c-alpha.texi: Likewise.
816         * doc/c-arc.texi: Likewise.
817         * doc/c-arm.texi: Likewise.
818         * doc/c-avr.texi: Likewise.
819         * doc/c-bfin.texi: Likewise.
820         * doc/c-cr16.texi: Likewise.
821         * doc/c-d10v.texi: Likewise.
822         * doc/c-d30v.texi: Likewise.
823         * doc/c-h8300.texi: Likewise.
824         * doc/c-hppa.texi: Likewise.
825         * doc/c-i370.texi: Likewise.
826         * doc/c-i386.texi: Likewise.
827         * doc/c-i860.texi: Likewise.
828         * doc/c-m32c.texi: Likewise.
829         * doc/c-m32r.texi: Likewise.
830         * doc/c-m68hc11.texi: Likewise.
831         * doc/c-m68k.texi: Likewise.
832         * doc/c-microblaze.texi: Likewise.
833         * doc/c-mips.texi: Likewise.
834         * doc/c-msp430.texi: Likewise.
835         * doc/c-mt.texi: Likewise.
836         * doc/c-s390.texi: Likewise.
837         * doc/c-score.texi: Likewise.
838         * doc/c-sh.texi: Likewise.
839         * doc/c-sh64.texi: Likewise.
840         * doc/c-tic54x.texi: Likewise.
841         * doc/c-tic6x.texi: Likewise.
842         * doc/c-v850.texi: Likewise.
843         * doc/c-xc16x.texi: Likewise.
844         * doc/c-xgate.texi: Likewise.
845         * doc/c-xtensa.texi: Likewise.
846         * doc/c-z80.texi: Likewise.
847         * doc/internals.texi: Likewise.
848
849 2013-01-10  Roland McGrath  <mcgrathr@google.com>
850
851         * hash.c (hash_new_sized): Make it global.
852         * hash.h: Declare it.
853         * macro.c (define_macro): Use hash_new_sized instead of hash_new,
854         pass a small size.
855
856 2013-01-10  Will Newton <will.newton@imgtec.com>
857
858         * Makefile.am: Add Meta.
859         * Makefile.in: Regenerate.
860         * config/tc-metag.c: New file.
861         * config/tc-metag.h: New file.
862         * configure.tgt: Add Meta.
863         * doc/Makefile.am: Add Meta.
864         * doc/Makefile.in: Regenerate.
865         * doc/all.texi: Add Meta.
866         * doc/as.texiinfo: Document Meta options.
867         * doc/c-metag.texi: New file.
868
869 2013-01-09  Steve Ellcey  <sellcey@mips.com>
870
871         * config/tc-i386.c (md_begin): Remove 'internal Error' from as_fatal
872         calls.
873         * config/tc-mips.c (internalError): Remove, replace with abort.
874
875 2013-01-08  Yufeng Zhang  <yufeng.zhang@arm.com>
876
877         * config/tc-aarch64.c (parse_operands): Change to compare the result
878         of function call 'parse_sys_reg' with 'PARSE_FAIL' instead of 'FALSE'.
879
880 2013-01-07  Nick Clifton  <nickc@redhat.com>
881
882         PR gas/14887
883         * config/tc-arm.c (skip_past_char): Skip whitespace before the
884         anticipated character.
885         * config/tc-arm.c (parse_address_main): Delete skip of whitespace
886         here as it is no longer needed.
887
888 2013-01-06  Andreas Schwab  <schwab@linux-m68k.org>
889
890         * doc/c-mips.texi (MIPS Opts): Fix use of @itemx.
891         * doc/c-score.texi (SCORE-Opts): Likewise.
892         * doc/c-tic54x.texi (TIC54X-Directives): Likewise.
893
894 2013-01-04  Juergen Urban <JuergenUrban@gmx.de>
895
896         * config/tc-mips.c: Add support for MIPS r5900.
897         Add M_LQ_AB and M_SQ_AB to support large values for instructions
898         lq and sq.
899         (can_swap_branch_p, get_append_method): Detect some conditional
900         short loops to fix a bug on the r5900 by NOP in the branch delay
901         slot.
902         (M_MUL): Support 3 operands in multu on r5900.
903         (M_TRUNCWS): Support trunc.w.s on r5900 in MIPS ISA I.
904         (s_mipsset): Force 32 bit floating point on r5900.
905         (mips_ip): Check parameter range of instructions mfps and mtps on
906         r5900.
907         * configure.in: Detect CPU type when target string contains r5900
908         (e.g. mips64r5900el-linux-gnu).
909
910 2013-01-02  H.J. Lu  <hongjiu.lu@intel.com>
911
912         * as.c (parse_args): Update copyright year to 2013.
913
914 2013-01-02  Yufeng Zhang  <yufeng.zhang@arm.com>
915
916         * config/tc-aarch64.c (aarch64_cpus): Add entries for "cortex-a53"
917         and "cortex57".
918
919 2013-01-02  Nick Clifton  <nickc@redhat.com>
920
921         PR gas/14987
922         * config/tc-arm.c (parse_address_main): Skip whitespace before a
923         closing bracket.
924
925 For older changes see ChangeLog-2012
926 \f
927 Copyright (C) 2013 Free Software Foundation, Inc.
928
929 Copying and distribution of this file, with or without modification,
930 are permitted in any medium without royalty provided the copyright
931 notice and this notice are preserved.
932
933 Local Variables:
934 mode: change-log
935 left-margin: 8
936 fill-column: 74
937 version-control: never
938 End: