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