* gas/config/tc-avr.c (mcu_types): Add ATmega64RFR2,
[platform/upstream/binutils.git] / gas / ChangeLog
1 2013-04-09 Joerg Wunsch <joerg.wunsch@atmel.com>
2
3         * gas/config/tc-avr.c (mcu_types): Add ATmega64RFR2,
4         ATmega644RFR2, ATmega128RFR2, ATmega1284RFR2, ATmega256RFR2,
5         ATmega2564RFR2
6         * gas/doc/c-avr.texi (-mmcu documentation): Likewise.
7
8 2013-04-09  Jan Beulich <jbeulich@suse.com>
9
10         * gas/config/tc-arm.c (do_vmrs): Accept all control registers.
11         Use local variable Rt in more places.
12         (do_vmsr): Accept all control registers.
13
14 2013-04-09  Jan Beulich <jbeulich@suse.com>
15
16         * gas/config/tc-arm.c (do_neon_mov): Fake an instruction suffix
17         if there was none specified for moves between scalar and core
18         register.
19
20 2013-04-09  Jan Beulich <jbeulich@suse.com>
21
22         * gas/config/tc-arm.c (do_neon_ldx_stx): Reject VSTn in the
23         NEON_ALL_LANES case.
24
25 2013-04-08  Jan Beulich <jbeulich@suse.com>
26
27         * gas/config/tc-arm.c (do_neon_ldr_str): Correct disgnostics for
28         PC-relative VSTR.
29
30 2013-04-08  Jan Beulich <jbeulich@suse.com>
31
32         * gas/config/tc-arm.c (reg_names): Convert duplicate SP_fiq
33         entry to sp_fiq.
34
35 2013-04-03  Alan Modra  <amodra@gmail.com>
36
37         * doc/as.texinfo: Add support to generate man options for h8300.
38         * doc/c-h8300.texi: Likewise.
39
40 2013-03-28  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
41
42         * config/tc-arm.c (arm_cpus): Add support for Cortex-A53 and
43         Cortex-A57.
44
45 2013-03-27  Alexis Deruelle  <alexis.deruelle@gmail.com>
46
47         PR binutils/15068
48         * config/tc-tic6x.c (tic6x_try_encode): Add use of bitfields array.
49
50 2013-03-26  Nick Clifton  <nickc@redhat.com>
51
52         PR gas/15295
53         * listing.c (rebuffer_line): Rewrite to avoid seeking back to the
54         start of the file each time.
55
56         PR gas/15178
57         * config/tc-sparc.h (ELF_TARGET_FORMAT): Set to elf32-sparc for
58         FreeBSD targets.
59
60 2013-03-26  Douglas B Rupp  <rupp@gnat.com>
61
62         * config/tc-ia64.c (emit_one_bundle): Move last_slot adjustment
63         after fixup.
64
65 2013-03-21  Will Newton  <will.newton@linaro.org>
66
67         * config/tc-arm.c (encode_thumb32_addr_mode): Emit an error for all
68         pc-relative str instructions in Thumb mode.
69
70 2013-03-21  Michael Schewe  <michael.schewe@gmx.net>
71
72         * config/tc-h8300.c (do_a_fix_imm): Add relaxation of mov
73         @(disp:32,ERx) to mov @(disp:16,ERx) insns by new reloc
74         R_H8_DISP32A16.
75         * config/tc-h8300.h: Remove duplicated defines.
76
77 2013-03-21  Senthil Kumar Selvaraj  <senthil_kumar.selvaraj@atmel.com>
78
79         PR gas/15282
80         * tc-avr.c (mcu_has_3_byte_pc): New function.
81         (tc_cfi_frame_initial_instructions): Call it to find return
82         address size.
83
84 2013-03-20  Alexis Deruelle  <alexis.deruelle@gmail.com>
85
86         PR gas/15095
87         * config/tc-tic6x.c (tic6x_try_encode): Handle
88         tic6x_coding_dreg_(msb|lsb) field coding types and use it to
89         encode register pair numbers when required.
90
91 2013-03-15  Will Newton  <will.newton@linaro.org>
92
93         * config/tc-arm.c (do_neon_ldr_str): Fix error check for PC register
94         in vstr in Thumb mode for pre-ARMv7 cores.
95
96 2013-03-14  Andreas Schwab  <schwab@suse.de>
97
98         * doc/c-arc.texi (ARC Directives): Revert last change and use
99         @itemize instead of @table.
100         * doc/c-arm.texi (ARM-Instruction-Set): Likewise.
101
102 2013-03-14  Nick Clifton  <nickc@redhat.com>
103
104         PR gas/15273
105         * config/tc-arm.c (do_co_reg): Do not call check_obsolete with a
106         NULL message, instead just check ARM_CPU_IS_ANY directly.
107
108 2013-03-14  Nick Clifton  <nickc@redhat.com>
109
110         PR gas/15212
111         * doc/c-arc.texi (ARC Directives): Use @code instead of @bullet
112         for table format.
113         * doc/c-arm.texi (ARM-Instruction-Set): Likewise.  Also add text
114         to the @item directives.
115         (ARM-Neon-Alignment): Move to correct place in the document.
116         * doc/c-cr16.texi (CR16 Operand Qualifiers): Fix up table
117         formatting.
118         * doc/c-tic54x.texi (TIC54X-Subsyms): Correct use of
119         @smallexample.
120
121 2013-03-12  Sebastian Huber <sebastian.huber@embedded-brains.de>
122
123         * config/tc-nios2.c (nios2_consume_arg): Delete 'k' case.  Add 'o'
124         case.  Add default BAD_CASE to switch.
125
126 2013-03-11  Sebastian Huber <sebastian.huber@embedded-brains.de>
127
128         * config/tc-nios2.c (nios2_assemble_args_ds): New function.
129         (nios2_arg_info_structs): Add "d,s" and "d,s,E" entries.
130
131 2013-03-11  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
132
133         * config/tc-arm.c (crc_ext_armv8): New feature set.
134         (UNPRED_REG): New macro.
135         (do_crc32_1): New function.
136         (do_crc32b, do_crc32h, do_crc32w, do_crc32cb,
137         do_crc32ch, do_crc32cw): Likewise.
138         (TUEc): New macro.
139         (insns): Add entries for crc32 mnemonics.
140         (arm_extensions): Add entry for crc.
141
142 2013-03-08  Chung-Lin Tang  <cltang@codesourcery.com>
143
144         * write.h (struct fix): Add fx_dot_frag field.
145         (dot_frag): Declare.
146         * write.c (dot_frag): New variable.
147         (fix_new_internal): Set fx_dot_frag field with dot_frag.
148         (fixup_segment): Base calculation of fx_offset with fx_dot_frag.
149         * expr.c (expr): Save value of frag_now in dot_frag when setting
150         dot_value.
151         * read.c (emit_expr): Likewise. Delete comments.
152
153 2013-03-07  H.J. Lu  <hongjiu.lu@intel.com>
154
155         * config/tc-i386.c (flag_code_names): Removed.
156         (i386_index_check): Rewrote.
157
158 2013-03-05  Yufeng Zhang  <yufeng.zhang@arm.com>
159
160         * config/tc-aarch64.c (aarch64_imm_float_p): Rename 'e' to 'pattern';
161         add comment.
162         (aarch64_double_precision_fmovable): New function.
163         (parse_aarch64_imm_float): Add parameter 'dp_p'; call the new
164         function; handle hexadecimal representation of IEEE754 encoding.
165         (parse_operands): Update the call to parse_aarch64_imm_float.
166
167 2013-02-28  H.J. Lu  <hongjiu.lu@intel.com>
168
169         * config/tc-i386.c (_i386_insn): Replace have_hle with hle_prefix.
170         (check_hle): Updated.
171         (md_assemble): Likewise.
172         (parse_insn): Likewise.
173
174 2013-02-28  H.J. Lu  <hongjiu.lu@intel.com>
175
176         * config/tc-i386.c (_i386_insn): Add rep_prefix.
177         (md_assemble): Check if REP prefix is OK.
178         (parse_insn): Remove expecting_string_instruction.  Set
179         i.rep_prefix.
180
181 2013-02-28  Yufeng Zhang  <yufeng.zhang@arm.com>
182
183         * config/tc-aarch64.c (aarch64_features): Add the 'crc' option.
184
185 2013-02-28  Yufeng Zhang  <yufeng.zhang@arm.com>
186
187         * config/tc-aarch64.c (parse_sys_reg): Allow the full range of CRn
188         for system registers.
189
190 2013-02-27  DJ Delorie  <dj@redhat.com>
191
192         * config/tc-rl78.c (reloc_function): Add %code -> BFD_RELOC_RL78_CODE.
193         (rl78_op): Handle %code().
194         (rl78_cons_fix_new): Likewise, but ignore for 20-bit operands.
195         (tc_gen_reloc): Likwise; convert to a computed reloc.
196         (md_apply_fix): Likewise.
197
198 2013-02-25  Kaushik Phatak  <Kaushik.Phatak@kpitcummins.com>
199
200         * config/rl78-parse.y: Fix encoding of DIVWU insn.
201
202 2013-02-25  Terry Guo  <terry.guo@arm.com>
203
204         * config/tc-arm.c (arm_cpus): Add cortex-r7 entry.
205         * doc/c-arm.texi: Add cortex-r7 and missing cortex-r5 to
206         list of accepted CPUs.
207
208 2013-02-19  H.J. Lu  <hongjiu.lu@intel.com>
209
210         PR gas/15159
211         * config/tc-i386.c (cpu_arch): Add ".smap".
212
213         * doc/c-i386.texi: Document smap.
214
215 2013-02-18  Maciej W. Rozycki  <macro@codesourcery.com>
216
217         * config/tc-mips.c (s_cpload): Call mips_mark_labels and set
218         mips_assembling_insn appropriately.
219         (s_cpsetup, s_cprestore, s_cpreturn, s_cpadd): Likewise.
220
221 2013-02-18  Maciej W. Rozycki  <macro@codesourcery.com>
222
223         * config/tc-mips.c (append_insn): Correct indentation, remove
224         extraneous braces.
225
226 2013-02-15  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
227
228         * config/tc-arm.c (do_neon_mov): Break on NS_NULL.
229
230 2013-02-15  Sebastian Huber  <sebastian.huber@embedded-brains.de>
231
232         * configure.tgt: Add nios2-*-rtems*.
233
234 2013-02-14  Yufeng Zhang  <yufeng.zhang@arm.com>
235
236         * config/tc-aarch64.c (md_begin): Change to check if 'name' is
237         NULL.
238
239 2013-02-09  Jürgen Urban  <JuergenUrban@gmx.de>
240
241         * config/tc-mips.c (CPU_HAS_LDC1_SDC1): New macro.
242         (macro): Use it.  Assert that trunc.w.s is not used for r5900.
243
244 2013-02-08  Yi-Hsiu, Hsu  <ahsu@marvell.com>
245
246         * gas/config/tc-arm.c (arm_cpus): Add support for mcpu=marvell-pj4
247         core.
248
249 2013-02-06  Sandra Loosemore  <sandra@codesourcery.com>
250             Andrew Jenner <andrew@codesourcery.com>
251
252         Based on patches from Altera Corporation.
253
254         * Makefile.am (TARGET_CPU_CFILES): Add config/tc-nios2.c.
255         (TARGET_CPU_HFILES): Add config/tc-nios2.h.
256         * Makefile.in: Regenerated.
257         * configure.tgt: Add case for nios2*-linux*.
258         * config/obj-elf.c: Conditionally include elf/nios2.h.
259         * config/tc-nios2.c: New file.
260         * config/tc-nios2.h: New file.
261         * doc/Makefile.am (CPU_DOCS): Add c-nios2.texi.
262         * doc/Makefile.in: Regenerated.
263         * doc/all.texi: Set NIOSII.
264         * doc/as.texinfo (Overview): Add Nios II options.
265         (Machine Dependencies): Include c-nios2.texi.
266         * doc/c-nios2.texi: New file.
267         * NEWS: Note Altera Nios II support.
268
269 2013-02-06  Alan Modra  <amodra@gmail.com>
270
271         PR gas/14255
272         * config/tc-avr.h (TC_VALIDATE_FIX): Mark symbol used by reloc.
273         Don't skip fixups with fx_subsy non-NULL.
274         * config/tc-avr.c (tc_gen_reloc): Don't specially handle fixups
275         with fx_subsy non-NULL.
276
277 2013-02-04  H.J. Lu  <hongjiu.lu@intel.com>
278
279         * doc/c-metag.texi: Add "@c man" markers.
280
281 2013-02-04  Alan Modra  <amodra@gmail.com>
282
283         * write.c (fixup_segment): Return void.  Delete seg_reloc_count
284         related code.
285         (TC_ADJUST_RELOC_COUNT): Delete.
286         * config/tc-i960.h (TC_ADJUST_RELOC_COUNT): Delete.
287
288 2013-02-04  Alan Modra  <amodra@gmail.com>
289
290         * po/POTFILES.in: Regenerate.
291
292 2013-01-30  Markos Chandras  <markos.chandras@imgtec.com>
293
294         * config/tc-metag.c: Make SWAP instruction less permissive with
295         its operands.
296
297 2013-01-29  DJ Delorie  <dj@redhat.com>
298
299         * config/tc-rl78.c (rl78_cons_fix_new): Handle user-specified
300         relocs in .word/.etc statements.
301
302 2013-01-29  Roland McGrath  <mcgrathr@google.com>
303
304         * config/tc-arm.c (md_apply_fix): Use as_bad_where for "bad
305         immediate value for 8-bit offset" error so it shows line info.
306
307 2013-01-24  Joseph Myers  <joseph@codesourcery.com>
308
309         * config/tc-ppc.c (md_assemble): Do not generate APUinfo sections
310         for 64-bit output.
311
312 2013-01-24  Nick Clifton  <nickc@redhat.com>
313
314         * config/tc-v850.c: Add support for e3v5 architecture.
315         * doc/c-v850.texi: Mention new support.
316
317 2013-01-23  Nick Clifton  <nickc@redhat.com>
318
319         PR gas/15039
320         * config/tc-avr.c: Include dwarf2dbg.h.
321
322 2013-01-18  H.J. Lu  <hongjiu.lu@intel.com>
323
324         * config/tc-i386.c (reloc): Support size relocation only for ELF.
325         (tc_i386_fix_adjustable): Likewise.
326         (lex_got): Likewise.
327         (tc_gen_reloc): Likewise.
328
329 2013-01-17  Yufeng Zhang  <yufeng.zhang@arm.com>
330
331         * config/tc-aarch64.c (output_operand_error_record): Change to output
332         the out-of-range error message as value-expected message if there is
333         only one single value in the expected range.
334         (programmer_friendly_fixup): Remove the handling of 8-bit MOVI with
335         LSL #0 as a programmer-friendly feature.
336
337 2013-01-16  H.J. Lu  <hongjiu.lu@intel.com>
338
339         * config/tc-i386.c (reloc): Support BFD_RELOC_SIZE32.
340         (tc_i386_fix_adjustable): Keep symbol for BFD_RELOC_32_SIZE and
341         BFD_RELOC_64_SIZE relocations.
342         (lex_got): Support "symbol@SIZE" and don't create GOT symbol
343         for it.
344         (tc_gen_reloc): Resolve BFD_RELOC_SIZE32 and BFD_RELOC_SIZE64
345         relocations against local symbols.
346
347 2013-01-16  Alan Modra  <amodra@gmail.com>
348
349         * config/tc-ppc.c (md_assemble <TE_PE>): Ignore line after
350         finding some sort of toc syntax error, and break to avoid
351         compiler uninit warning.
352
353 2013-01-15  H.J. Lu  <hongjiu.lu@intel.com>
354
355         PR gas/15019
356         * config/tc-i386.c (lex_got): Increment length by 1 if the
357         relocation token is removed.
358
359 2013-01-15  Nick Clifton  <nickc@redhat.com>
360
361         * config/tc-v850.c (md_assemble): Allow signed values for
362         V850E_IMMEDIATE.
363
364 2013-01-11  Sean Keys  <skeys@ipdatasys.com>
365
366         * config/tc-xgate.c (md_begin): Fix mistake made when going from
367         git to cvs.
368
369 2013-01-10  Peter Bergner <bergner@vnet.ibm.com>
370
371         * doc/as.texinfo (Target PowerPC): Document -mpower8 and -mhtm.
372         * doc/c-ppc.texi (PowerPC-Opts):  Likewise.
373         * config/tc-ppc.c (md_show_usage): Likewise.
374         (ppc_handle_align): Handle power8's group ending nop.
375
376 2013-01-10  Sean Keys  <skeys@ipdatasys.com>
377
378         * config/tc-xgate.c (md_begin): Fix the printing of opcodes so
379         that the assember exits after the opcodes have been printed.
380
381 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
382
383         * app.c: Remove trailing white spaces.
384         * as.c: Likewise.
385         * as.h: Likewise.
386         * cond.c: Likewise.
387         * dw2gencfi.c: Likewise.
388         * dwarf2dbg.h: Likewise.
389         * ecoff.c: Likewise.
390         * input-file.c: Likewise.
391         * itbl-lex.h: Likewise.
392         * output-file.c: Likewise.
393         * read.c: Likewise.
394         * sb.c: Likewise.
395         * subsegs.c: Likewise.
396         * symbols.c: Likewise.
397         * write.c: Likewise.
398         * config/tc-i386.c: Likewise.
399         * doc/Makefile.am: Likewise.
400         * doc/Makefile.in: Likewise.
401         * doc/c-aarch64.texi: Likewise.
402         * doc/c-alpha.texi: Likewise.
403         * doc/c-arc.texi: Likewise.
404         * doc/c-arm.texi: Likewise.
405         * doc/c-avr.texi: Likewise.
406         * doc/c-bfin.texi: Likewise.
407         * doc/c-cr16.texi: Likewise.
408         * doc/c-d10v.texi: Likewise.
409         * doc/c-d30v.texi: Likewise.
410         * doc/c-h8300.texi: Likewise.
411         * doc/c-hppa.texi: Likewise.
412         * doc/c-i370.texi: Likewise.
413         * doc/c-i386.texi: Likewise.
414         * doc/c-i860.texi: Likewise.
415         * doc/c-m32c.texi: Likewise.
416         * doc/c-m32r.texi: Likewise.
417         * doc/c-m68hc11.texi: Likewise.
418         * doc/c-m68k.texi: Likewise.
419         * doc/c-microblaze.texi: Likewise.
420         * doc/c-mips.texi: Likewise.
421         * doc/c-msp430.texi: Likewise.
422         * doc/c-mt.texi: Likewise.
423         * doc/c-s390.texi: Likewise.
424         * doc/c-score.texi: Likewise.
425         * doc/c-sh.texi: Likewise.
426         * doc/c-sh64.texi: Likewise.
427         * doc/c-tic54x.texi: Likewise.
428         * doc/c-tic6x.texi: Likewise.
429         * doc/c-v850.texi: Likewise.
430         * doc/c-xc16x.texi: Likewise.
431         * doc/c-xgate.texi: Likewise.
432         * doc/c-xtensa.texi: Likewise.
433         * doc/c-z80.texi: Likewise.
434         * doc/internals.texi: Likewise.
435
436 2013-01-10  Roland McGrath  <mcgrathr@google.com>
437
438         * hash.c (hash_new_sized): Make it global.
439         * hash.h: Declare it.
440         * macro.c (define_macro): Use hash_new_sized instead of hash_new,
441         pass a small size.
442
443 2013-01-10  Will Newton <will.newton@imgtec.com>
444
445         * Makefile.am: Add Meta.
446         * Makefile.in: Regenerate.
447         * config/tc-metag.c: New file.
448         * config/tc-metag.h: New file.
449         * configure.tgt: Add Meta.
450         * doc/Makefile.am: Add Meta.
451         * doc/Makefile.in: Regenerate.
452         * doc/all.texi: Add Meta.
453         * doc/as.texiinfo: Document Meta options.
454         * doc/c-metag.texi: New file.
455
456 2013-01-09  Steve Ellcey  <sellcey@mips.com>
457
458         * config/tc-i386.c (md_begin): Remove 'internal Error' from as_fatal
459         calls.
460         * config/tc-mips.c (internalError): Remove, replace with abort.
461
462 2013-01-08  Yufeng Zhang  <yufeng.zhang@arm.com>
463
464         * config/tc-aarch64.c (parse_operands): Change to compare the result
465         of function call 'parse_sys_reg' with 'PARSE_FAIL' instead of 'FALSE'.
466
467 2013-01-07  Nick Clifton  <nickc@redhat.com>
468
469         PR gas/14887
470         * config/tc-arm.c (skip_past_char): Skip whitespace before the
471         anticipated character.
472         * config/tc-arm.c (parse_address_main): Delete skip of whitespace
473         here as it is no longer needed.
474
475 2013-01-06  Andreas Schwab  <schwab@linux-m68k.org>
476
477         * doc/c-mips.texi (MIPS Opts): Fix use of @itemx.
478         * doc/c-score.texi (SCORE-Opts): Likewise.
479         * doc/c-tic54x.texi (TIC54X-Directives): Likewise.
480
481 2013-01-04  Juergen Urban <JuergenUrban@gmx.de>
482
483         * config/tc-mips.c: Add support for MIPS r5900.
484         Add M_LQ_AB and M_SQ_AB to support large values for instructions
485         lq and sq.
486         (can_swap_branch_p, get_append_method): Detect some conditional
487         short loops to fix a bug on the r5900 by NOP in the branch delay
488         slot.
489         (M_MUL): Support 3 operands in multu on r5900.
490         (M_TRUNCWS): Support trunc.w.s on r5900 in MIPS ISA I.
491         (s_mipsset): Force 32 bit floating point on r5900.
492         (mips_ip): Check parameter range of instructions mfps and mtps on
493         r5900.
494         * configure.in: Detect CPU type when target string contains r5900
495         (e.g. mips64r5900el-linux-gnu).
496
497 2013-01-02  H.J. Lu  <hongjiu.lu@intel.com>
498
499         * as.c (parse_args): Update copyright year to 2013.
500
501 2013-01-02  Yufeng Zhang  <yufeng.zhang@arm.com>
502
503         * config/tc-aarch64.c (aarch64_cpus): Add entries for "cortex-a53"
504         and "cortex57".
505
506 2013-01-02  Nick Clifton  <nickc@redhat.com>
507
508         PR gas/14987
509         * config/tc-arm.c (parse_address_main): Skip whitespace before a
510         closing bracket.
511
512 For older changes see ChangeLog-2012
513 \f
514 Copyright (C) 2013 Free Software Foundation, Inc.
515
516 Copying and distribution of this file, with or without modification,
517 are permitted in any medium without royalty provided the copyright
518 notice and this notice are preserved.
519
520 Local Variables:
521 mode: change-log
522 left-margin: 8
523 fill-column: 74
524 version-control: never
525 End: