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