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