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