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