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